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

    High frequency noise from Duet board

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    6
    1.0k
    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.
    • Jamesundefined
      James
      last edited by

      I am seeing a lot of noise coming from the Duet board, severe enough to interfere with external circuits. If I put the z_probe_in pin on an oscilloscope, I see a ~75Khz sinusoidal signal that reaches almost +/- 1 volt (shouldn't this pin be dead, as it's just for reading input?). This is without the motors on. When the motors turn on (even if idle – movement versus idle seems to make no difference), this changes to about 180Khz at the z_probe_in pin, and noise of 75Khz - 116Khz is measured on external circuits that I have hooked up for z probing. It seems that some of this noise is coming straight from the board, and some is EMI from the motors or stepper drivers, since other circuits do not have to be physically connected to be affected.

      I note that none of these frequencies are anywhere near the clock speed of the processor (120 Mhz) or the stepper drivers (Trinamic TMC2660 at 15 Mhz). Do the frequencies I am seeing ring any bells? Should the board pins have this noise on them? Any idea why stopped (but energized) motors would give off this type of EMI?

      I'm thinking about putting a low pass filter in front of the circuit that is experiencing the problems, but I'd like to better understand what is going on first.

      1 Reply Last reply Reply Quote 0
      • Jamesundefined
        James
        last edited by

        I tried a low pass filter in front of my external circuit using a 2K resistor and a 22 pF capacitor.

        This does seem to cut down the noise a bit. That's actually a little strange to me because those values are calculated to have a frequency cutoff of 3.45 MHz – far higher than either the signal or the noise. But, if I up the capacitor to 104 pF, which theoretically has a cutoff of 765 KHz (still far higher than the signal or the noise), then the circuit doesn't work at all.

        Any thoughts on how to cut down the noise more effectively would be great. As would knowing if this noise should be there at all!

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

          James

          The other source of high frequency noise on the board is the 5V BUCK circuit. It might be worth a test diabling this using the jumper and powering the 5V on the board externally or via USB (just to test).

          I am very surprised you are seeing enough electrical noise to cause problems away from the board though.

          www.duet3d.com

          1 Reply Last reply Reply Quote 0
          • Jamesundefined
            James
            last edited by

            Thanks for the input – I'll try disabling that if I end up needing to. With some changes to the resistor and capacitor values, I have the noise down to about +/- 0.2V, which I think is ok. I can easily discriminate the piezo signal from the noise with my eye -- now I just need to make sure the circuit can.

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

              Your "104pF" capacitor is actually a 0.1uF capacitor. The 104 marking means 10e4.

              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

              1 Reply Last reply Reply Quote 0
              • Jamesundefined
                James
                last edited by

                Yeah… How do I make an embarrassed face lol.

                I figured the 104 thing out last night. Once you choose proper values (I ended up using a 1 nF capacitor), such a simple circuit is quite effective at filtering the high frequency noise with almost no impact on the signal.

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