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

    Anybody wants a stepper motor analyzer?

    Scheduled Pinned Locked Moved
    General Discussion
    56
    281
    32.7k
    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 @zapta
      last edited by zapta

      Here is a sample screenshot of a Windows/python client that talks with the experimental BLE stepper monitor and displays the data in real time. In this example the stepper runs on 12V which causes current reduction in higher speed (shown by the arrows). This is reflected in the current graph, the current vs speed histogram, and the oscilloscope view.

      The Python client is here https://github.com/zapta/ble_stepper_monitor/tree/main/python . Hopefully somebody can write a similar one for mobile devices.

      The probe is powered from the stepper signals and thus can be left embedded in the printer and be connected to any time. Each probe has a unique address which is shown at the upper left part of the picture.

      7d05b3fd-4260-4f2b-925d-11bafe2fa438-image.png

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

        @nyaru said in Anybody wants a stepper motor analyzer?:

        There appears noises on the signal. But I think It is not a problem to get rough forms of waveform.

        Here is a noise comparison between the Alegro ACS70331EOLCTR-2P5B3 (blue) and the TI TMCS1108A4BQDT (yellow). I don't have yet the JLCPCB CC6920BSO-5A sensor to compare, but may guess is that it's similar to the TI.

        I tested it by disconnecting the stepper connectors, on the new BLE stepper probe which samples at 40khz instead of 100khz.

        50a88695-4378-48cf-a094-3dd4f7b21f05-image.png

        The Alegro datasheet says " It incorporates giant magneto-resistive (GMR) technology that is 25 times more sensitive than traditional Hall-effect sensors to sense the magnetic field generated by the current flowing through the low resistance, integrated primary conductor. " such that is needs less gain and thus has less noise.

        nyaruundefined 1 Reply Last reply Reply Quote 0
        • nyaruundefined
          nyaru @zapta
          last edited by

          @zapta
          Thanks for letting me know.

          The Alegro datasheet says " It incorporates giant magneto-resistive (GMR) technology that is 25 times more sensitive than traditional Hall-effect sensors to sense the magnetic field generated by the current flowing through the low resistance, integrated primary conductor. " such that is needs less gain and thus has less noise.

          It seems that a large part of the problem is the performance of the IC.

          I have also built an analyzer with the TMCS1108A4B, but I think the CC6920BSO is noisier.

          @nyaru said in Anybody wants a stepper motor analyzer?:

          Hi.
          I have made the analyzer using TMCS1101A4B.

          When using the CC6920BSO for an analyzer, it may be better to set LPF stronger.

          zaptaundefined 2 Replies Last reply Reply Quote 0
          • gnydickundefined
            gnydick
            last edited by

            definitely interested to know more. what are the practical uses, etc.? I'm keen to build my own if your production run is over.

            1 Reply Last reply Reply Quote 0
            • Doc'sundefined
              Doc's
              last edited by

              Greetings, I know I'm late to the thread but I must ask if your still offering the stepper motor analyzer? If you are how do I get in line for one.
              In addition do you know if Thingiverse has the STL file for the case. Again thank you for your efforts.
              Doc'

              zaptaundefined Th0mpyundefined nyaruundefined 3 Replies Last reply Reply Quote 0
              • zaptaundefined
                zapta @Doc's
                last edited by

                @doc-s, the model for the case is available here https://github.com/zapta/simple_stepper_motor_analyzer/tree/main/3d

                I don't provide them but others may do. Let's see if anybody will respond here.

                Doc'sundefined 1 Reply Last reply Reply Quote 0
                • Th0mpyundefined
                  Th0mpy @Doc's
                  last edited by

                  @doc-s I have a few of the touch screen version. If you are interested send me a direct message.

                  Usually the team that scores the most points wins the game.

                  T-Printerundefined Doc'sundefined 2 Replies Last reply Reply Quote 0
                  • T-Printerundefined
                    T-Printer @Th0mpy
                    last edited by

                    @th0mpy Hello, I am very interested in one, how, with payment, and shipment?

                    Th0mpyundefined 1 Reply Last reply Reply Quote 0
                    • nyaruundefined
                      nyaru @Doc's
                      last edited by

                      @doc-s I have a small amout of analyzer kits using the CC6920BSO-5A shown here.

                      @nyaru said in Anybody wants a stepper motor analyzer?:

                      Hi.
                      I am planning to sell a small quantity of this analyzer in Japan for CNC users.

                      I sell it in Japan at the following page .
                      https://nyarurato.booth.pm/items/4025304

                      If you need them with international shipping, you can order them from the web page using a proxy service or by sending direct message to me on this forum.
                      Payment would be made by PayPal or T/T transfer.

                      If anyone else is interested, please send me a direct message.

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

                        @nyaru said in Anybody wants a stepper motor analyzer?:

                        I sell it in Japan at the following page .
                        https://nyarurato.booth.pm/items/4025304

                        Is it ok to link it in the page below, saying that people can buy it from your site?

                        https://github.com/zapta/simple_stepper_motor_analyzer

                        nyaruundefined 1 Reply Last reply Reply Quote 0
                        • nyaruundefined
                          nyaru @zapta
                          last edited by

                          @zapta said in Anybody wants a stepper motor analyzer?:

                          Is it ok to link it in the page below, saying that people can buy it from your site?
                          https://github.com/zapta/simple_stepper_motor_analyzer

                          Of course it is OK.

                          I hope other sellers will appear for users in other countries, because shipping from Japan is expensive to non-Asian countries.

                          zaptaundefined 1 Reply Last reply Reply Quote 1
                          • Th0mpyundefined
                            Th0mpy @T-Printer
                            last edited by

                            @t-printer I sent you a chat message to discuss further. 🙂

                            Usually the team that scores the most points wins the game.

                            1 Reply Last reply Reply Quote 0
                            • Doc'sundefined
                              Doc's @Th0mpy
                              last edited by

                              @th0mpy ,
                              Greetings and thank you for your reply. I have an I.O. error on my end regarding a direct message. How is that done?
                              Doc'

                              Th0mpyundefined 1 Reply Last reply Reply Quote 0
                              • Doc'sundefined
                                Doc's @zapta
                                last edited by

                                @zapta Greetings and thank you for your reply and thingiverse link.
                                Doc'

                                1 Reply Last reply Reply Quote 0
                                • Th0mpyundefined
                                  Th0mpy @Doc's
                                  last edited by

                                  @doc-s You should be able to just click the message icon in the upper right of the forum:

                                  Screen Shot 2022-08-14 at 9.47.55 AM.png

                                  Usually the team that scores the most points wins the game.

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

                                    @nyaru said in Anybody wants a stepper motor analyzer?:

                                    I have also built an analyzer with the TMCS1108A4B, but I think the CC6920BSO is noisier.

                                    I run a steps noise analysis for the TMCS1108A4B. It was done on the bluetooth version which samples at 40Khz instead of 100Khz but I believe the results would be the same.

                                    Test methodology:

                                    1. Energize the stepper. (I used ~1A at an arbitrary stepper micro step position).
                                    2. Reset steps to zero. This resets the full steps but maintains the steps fraction.
                                    3. Sample the steps reading at ~1sec interval, for a total of ~150 samples.
                                    4. Compute peak to peak and RMS noise (in steps units) using the spreadsheet here https://github.com/zapta/ble_stepper_monitor/tree/main/analysis

                                    The noise results I got were 0.09 steps peak to peak and 0.0166 steps RMS. This is much better than I expected so I hope my methodology and match are correct. 😉

                                    c3679d85-fb31-4ff0-90fa-83e04e57470b-image.png

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

                                      @nyaru said in Anybody wants a stepper motor analyzer?:

                                      I hope other sellers will appear for users in other countries, because shipping from Japan is expensive to non-Asian countries.

                                      @nyaru, added your link at the top here https://github.com/zapta/simple_stepper_motor_analyzer

                                      @Th0mpy, if you sell and have a link, I can add it as well.

                                      Th0mpyundefined 1 Reply Last reply Reply Quote 0
                                      • Th0mpyundefined
                                        Th0mpy @zapta
                                        last edited by

                                        @zapta Well, I suppose I need to get a site now 😄

                                        Stand by...

                                        Usually the team that scores the most points wins the game.

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

                                          @nyaru, got today a few CC6920BSO's so installed one on one channel (blue) and the TI sensor on the other (yellow).

                                          Noise with stepper disconnected seems to be about the same.

                                          03ecaaee-abb4-4c9b-a45a-56c2d4224dd4-image.png

                                          The CC6920BSO seems to have much higher output impedance, when I loaded it with 100ohms to ground Vout went down significantly while the TI didn't change.

                                          Also, it's sensitivity seems to be lower, maybe because the input of the NRF52 MCU I am using have low impedance, didn't try with a Pico. You may want to calibrate its sensitivity in the your system and adjust its mv/A accordingly.

                                          8977e3b6-ae79-4d4b-9e59-7a68e5c64838-image.png

                                          Overall it looks as a reasonable replacement. I have on order 5 BLE boards that have it preinstalled by JLCPCB.

                                          nyaruundefined 1 Reply Last reply Reply Quote 2
                                          • nyaruundefined
                                            nyaru @zapta
                                            last edited by nyaru

                                            @zapta
                                            thanks for the nice report 😊

                                            @zapta said in Anybody wants a stepper motor analyzer?:

                                            The CC6920BSO seems to have much higher output impedance, when I loaded it with 100ohms to ground Vout went down significantly while the TI didn't change.

                                            I checked the datasheet and it shows "Output resistance load": probably output impedance, is 1.5k ohms.
                                            365a5536-e052-4041-985d-83d46322aaed-image.png

                                            Does this mean that the following should be considered in such a case?

                                            • MPU needs high input impedance than sensor
                                            • It is better not to use an electrical LPF filter
                                            zaptaundefined 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA