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

    Anybody wants a stepper motor analyzer?

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

          @nyaru, I calibrated the sensors with DC current from a power supply, using the current reading on the NRF52 microcontroller. With the TI TMCS1108A4BQDT I am getting 400mv/A, with the CC6920BSO 5A I am getting only 280 mv/A, presumeably because of the loading by the MCU's analog input.

          You may want to do the same with the RPI PIco, I don't know how its' compares to the NRF52.

          JoergS5undefined 1 Reply Last reply Reply Quote 1
          • JoergS5undefined
            JoergS5 @zapta
            last edited by

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

            CC6920BSO

            according to datasheet https://datasheet.lcsc.com/lcsc/2108201830_Cross-chip-CC6920BSO-20A_C2880432.pdf page 4 it is about 270 mV/A.

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

              @joergs5 , yes you are right. That's good news because it's not impedance sensitive as I thought. Also makes sense since +/-5A at 400mv/a will require 4V span on a 3.3v IC.

              The PCB has room for optional config resistors R4, R5. Can be used to select the range base on the IC installed.

              https://github.com/zapta/simple_stepper_motor_analyzer/blob/main/kicad/stepper_analyzer.pdf

              https://github.com/zapta/simple_stepper_motor_analyzer/blob/main/platformio/src/misc/hardware_config.cpp#L53

              ctilley79undefined zaptaundefined 2 Replies Last reply Reply Quote 1
              • ctilley79undefined
                ctilley79 @zapta
                last edited by

                @zapta I'm dying to get one of these. Are you still producing batches? EU only or US as well?

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

                  @ctilley79, I don' t produce them any more but other here do.

                  I am working now on a different version that uses a computer to show the data using a bluetooth link. So far it's promising. Here is a video with a screen shot.

                  https://github.com/zapta/ble_stepper_monitor/blob/main/docs/screen_capture_video.mp4?raw=true

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

                    Here is an interesting observation that I recorded today on the A stepper while my V2.4 was printing.

                    While resting, the stepper current is reduced from 1.4A to 1A. This is before the standby stepper current that is even lower, and it protects the driver when the peak coil current may become also the RMS current. IIRC there is a default setting for it.

                    (Open for full resolution)
                    89677c7f-3dc1-4cb0-ad37-10c0a2fa98d6-image.png

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

                      Sorry to revive an older thread. I finally got my stuff together and posted what I have left of the OG stepper motor analyzers on Etsy. If you're still interested in the original version have a look: https://www.etsy.com/tArrayEngineering/listing/1359496786/stepper-motor-analyzer

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

                      1 Reply Last reply Reply Quote 0
                      • mesacrashundefined
                        mesacrash
                        last edited by

                        I would like one of these.

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

                          @mesacrash I have the original version in my etsy shop (linked above). You can order them right from there.

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

                          1 Reply Last reply Reply Quote 0
                          • jay_s_ukundefined jay_s_uk referenced this topic
                          • rjenkinsgbundefined
                            rjenkinsgb
                            last edited by

                            Hi all,

                            I've assembled another unit from the original parts I got, but I am having serious problems trying to build the program for it..

                            I've changed machines since I did the original so its a fresh install of VS Code & platformio etc.

                            I cannot get the Wizio stuff to work; it looks like some part of that project has been either removed or renamed?

                            I never normally use Visual Studio & the only experience I've had with platformio was in one day, for the last one of these I built.

                            Any clues or fixes to get it to build properly would be greatly appreciated!

                            Working on Win 10 64, with all updates etc.

                            (I normally program such as PICs using MPLab & CCS compiler, or industrial controls - never visual studio stuff).

                            Robert J.

                            Printers: Overlord pro, Kossel XL+ with Duet 6HC and "Frankentron", TronXY X5SA Pro converted to E3D toolchange with Duet 6HC and 1LC toolboards.

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

                              @rjenkinsgb, IIRC, @Th0mpy mentioned that he encountered a change in Wizio's repository (some stuff was moved or deleted) and he fixed it somehow. Hopefully he will chime in here. If it will not resolve, please let me know.

                              rjenkinsgbundefined 1 Reply Last reply Reply Quote 0
                              • rjenkinsgbundefined
                                rjenkinsgb @zapta
                                last edited by

                                @zapta
                                Hi,
                                OK, thanks for that, hopefully Th0mpy is around!

                                I can't find anything relevant in his posts in this topic, unfortunately.

                                Robert J.

                                Printers: Overlord pro, Kossel XL+ with Duet 6HC and "Frankentron", TronXY X5SA Pro converted to E3D toolchange with Duet 6HC and 1LC toolboards.

                                Th0mpyundefined 2 Replies Last reply Reply Quote 0
                                • Th0mpyundefined
                                  Th0mpy @rjenkinsgb
                                  last edited by

                                  @rjenkinsgb Yeah I'm around 🙂

                                  I will need to double check but I do have a repo which does work. Give me the morning to look it over and I'll link it here.

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

                                  rjenkinsgbundefined 1 Reply Last reply Reply Quote 0
                                  • rjenkinsgbundefined
                                    rjenkinsgb @Th0mpy
                                    last edited by

                                    @Th0mpy
                                    Excellent, thank you

                                    Robert J.

                                    Printers: Overlord pro, Kossel XL+ with Duet 6HC and "Frankentron", TronXY X5SA Pro converted to E3D toolchange with Duet 6HC and 1LC toolboards.

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

                                      @rjenkinsgb

                                      You can update your code to point to these two repositories:
                                      https://github.com/th0mpy/wizio-pico
                                      and
                                      https://github.com/th0mpy/framework-wizio-pico

                                      As I recall, that's all I had to do. Let me know if that works and I can double check my DEV VM when I get home later.

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

                                      rjenkinsgbundefined 1 Reply Last reply Reply Quote 1
                                      • rjenkinsgbundefined
                                        rjenkinsgb @Th0mpy
                                        last edited by

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

                                        You can update your code to point to these two repositories:

                                        That's got it working, thank you!

                                        Robert J.

                                        Printers: Overlord pro, Kossel XL+ with Duet 6HC and "Frankentron", TronXY X5SA Pro converted to E3D toolchange with Duet 6HC and 1LC toolboards.

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