Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login
    1. Home
    2. Peter_O
    3. Posts
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 30
    • Best 1
    • Controversial 0
    • Groups 0

    Posts made by Peter_O

    • RE: Duet 2 Mosfet switch off ringing

      Hi @dc42 ,
      thanks for the explanaitions and your time!

      So, if I would insist in bringing that EMI away, I should probably use a 4 wire fan.
      Otherwise it's just the way 2 wire fans are kind of running by PWM and I should come to terms with it.

      BTW: I never had any doubt, that the duet boards are carefully optimized designs. It's just abount gaining some small understanding on my side.

      Thx again! ๐Ÿ™‚

      posted in Duet Hardware and wiring
      Peter_Oundefined
      Peter_O
    • RE: Duet 2 Mosfet switch off ringing

      @zapta

      Quite sure. The schematics of the Duet 2 seem to be basic:
      https://github.com/Duet3D/Duet-2-Hardware/blob/master/Duet2/Duet2v1.04/Duet2_1.04c_Schematic.pdf

      No gate driver as in your example.

      @alankilian

      Alan, in addition to my last post I think we can see cases within my screenshots, where the inductance effects of the motor are high enough to trigger the gate again and swith the mosfet on for some time. That would be a little more than just flapping around.

      posted in Duet Hardware and wiring
      Peter_Oundefined
      Peter_O
    • RE: Duet 2 Mosfet switch off ringing

      @alankilian

      Ok. I see. That's a strong argument indeed. Thx.

      The argument should be the same, when measuring the "Fan -" Pin vs. GND with a standard probe and high impedance oscilloscope setting.

      On the other hand I remember, that these effects vanished, when I used a cheap external mosfet board with optocouplers. Have to go back and check and look into that schematics.
      I will fiddle around some time the next days and take your argument into account. Maybe I gain some more understanding. The electronics beginner I am. ๐Ÿ™‚

      posted in Duet Hardware and wiring
      Peter_Oundefined
      Peter_O
    • RE: Duet 2 Mosfet switch off ringing

      For convenience I used an arduino setup with an IRF3708 mosfet in my "lab2".
      Measurement with the differential probe over the fan.

      First the same blower as above with 0.1ยตF again.
      It's a different mosfet, but the pattern ist exactly the same. Changing bewtween patterns:

      alt text

      alt text

      Same setup with 0.47ยตF
      Quite some switching time. I understand your warning, @dc42.

      alt text

      alt text

      A Sunon Maglev 40mm fan without capacitor is not behaving better.
      alt text

      Sunon Maglev with 0.1ยตF

      alt text

      alt text

      Sunon Maglev with 0.47ยตF

      alt text

      alt text

      My conclusion: A more premium fan shows the same problem.
      And a capacitor can improve the situation, but seems not to solve it completely.
      Thanks for the tip, @dc42!

      If there are no other ideas, I will leave it with that for now and do some experiments on breadboards with an optocoupler in front of the gate to have 12V avaiable for the gate. Of course this would be no solution for a given 3D printer board.

      posted in Duet Hardware and wiring
      Peter_Oundefined
      Peter_O
    • RE: Duet 2 Mosfet switch off ringing

      I'll try some different capacitor values on my cheap lab setup to avoid overloading the duet's mosfet and will come back with the best result.

      Thx so far, dc42 and all for spending the time!

      posted in Duet Hardware and wiring
      Peter_Oundefined
      Peter_O
    • RE: Duet 2 Mosfet switch off ringing

      @dc42

      Yes it's one of these cheap 50mm blowers often used in chinese style 3d printers.

      (Sometimes I write for the german hobbyists 3d print forum, e.g. [https://drucktipps3d.de/duet-2-erste-eindruecke/]. That's the main reason, why I'm nerding into things like this, to gain a better understanding. The forum community is using low cost components. It's not that easy to convince them to use higher quality components like premium fans or duet boards. ๐Ÿ˜‰ )

      I've added a 100nF and now it looks like this, again with a changing pattern:

      alt text

      alt text

      posted in Duet Hardware and wiring
      Peter_Oundefined
      Peter_O
    • RE: Duet 2 Mosfet switch off ringing

      @jens55 said in Duet 2 Mosfet switch off ringing:

      @peter_o said in Duet 2 Mosfet switch off ringing:

      You talked 'differential' mode earlier and here you are talking single probe. If you connected the scope ground lead to one side of the fan, unless your scope is running on battery power and not connected to AC or grounded any other way, you can cause all manor of havoc.

      Yes, thanks for giving the warning. I've learned that from Daves Eevblog videos.

      Sorry, that I didn't write this clear enough:
      I used a diffentical probe with resistor chains and amplifier. (Micsig DP 10007)

      As dc42 suggests, the proper way of doing the measurement is referenced against the Duet ground.

      See last post. That is now standard x10 probe.

      Also since the Duet switches the ground line, that introduces some unexpected things in your measurements and you really need to be aware of what is happening.

      N-type mosfets, yes. That was the reason for me to use a "real" differential probe except for the last two shots. Sorry for not clarifying this enough.

      posted in Duet Hardware and wiring
      Peter_Oundefined
      Peter_O
    • RE: Duet 2 Mosfet switch off ringing

      @dc42 said in Duet 2 Mosfet switch off ringing:

      @peter_o, please can you post a trace using a single x10 probe connected to the negative fan wire, with oscilloscope ground connected to Duet ground. I will find that easier to interpret.

      @dc42, here as requested: Standard probe x10, ground connected to "always on fan GND" and probe to PWM fan 2 "-" in question.

      The pattern is changing from pulse to pulse, I've shot two different ones:

      alt text

      alt text

      posted in Duet Hardware and wiring
      Peter_Oundefined
      Peter_O
    • RE: Duet 2 Mosfet switch off ringing

      @jens55 said in Duet 2 Mosfet switch off ringing:

      @peter_o, just to clarify, when the mosfet output goes low, the fan is switched on and when it goes high the fan switches off.

      Thanks for clarification. The probe is connected across the fan, So it's "fan off", not "mosfet off". I will correct that above.

      I am not sure what you are referring to when you say 'sine ripple with the heater off'.
      2nd screenshot in the first post

      If I was in your situation and super curious, I would hook up a different fan and look at the signal again. Chances are you will see something pretty similar. Beyond that I would forget about it.

      I already did with my desk test setup. Different blower, premium sunon fans, 120mm PC case fan, all the same.

      Ok. Then I will move ahead and leave this topic as it is: Some common noise from 3d printers. ๐Ÿ™‚

      Re caps on the fan outputs ... that's a good way to blow the mosfet(s)
      Thanks for corfirming that thougth.
      (I've already killed one of the fan mosfets of the duet 2 with a simple short some month ago. Better fix that one first. ๐Ÿ™‚ )

      posted in Duet Hardware and wiring
      Peter_Oundefined
      Peter_O
    • RE: Duet 2 Mosfet switch off ringing

      @jens55 said in Duet 2 Mosfet switch off ringing:

      Did you calibrate your probe (adjust probe capacitance) before you started your experimentation? Did you use a proper 10X probe or a straight wire hooked to your measuring point? If properly adjusted, the second trace should show a much cleaner signal.

      Hi Jens,
      thank you for your feedback and questions.

      I'm using a diffential probe in 10x-mode.
      Here is the same probe with same probe connectors, connected to a function generator providing a comparable 10V 50% duty cycle square puls:

      alt text

      Timebase is 50ns/div in zoom window, so the probe seems to be sufficient for the job above.

      Besides that, switching an inductive load will always result in some ringing and can be reduced with a flyback diode as alankilian mentions but short of some major circuit design effort you will not get rid of the ringing.

      I somehow was expecting this kind of answer, but was not shure due to lack of electronics experience.

      I played with an external mosfet module on the desk some time ago. That module had an optocoupler between control and power circuit, and it works much cleaner.

      But it would be difficult to change the gate side of the mosfet on a 3d printing main board.

      Also, the hotend is not purely resistive .... it is a wire wound element so it experiences some (very small) inductive effects.

      That would explain the sine ripple with the heater switch off, maybe together with the 1m wire from board to heater.

      I wonder if this ringing would be present at all 3d printers, if I should just get used to it, or if there is anything in addition that might be considered.

      Is it a good idea to add a capacitor to the fan like 100ยตF or 1000ยตF, or is there a risk that the initial current overloads the mosfet?

      posted in Duet Hardware and wiring
      Peter_Oundefined
      Peter_O
    • RE: Duet 2 Mosfet switch off ringing

      @alankilian said in Duet 2 Mosfet switch off ringing:

      @peter_o What signal is your probe connected to?
      Do you have a "flyback" diode connected across the fan?

      Hi Alan, thanks for your feedback and questions.

      The probe is connected to the print head connectors with about 1m cable length to the board and 10cm to the fan.

      I had connected a flyback diode several times with a desk lab setup and never saw a real difference. Te be sure, I've just connected a flyback diode to the print head connector. Here's the screenshot:

      alt text

      posted in Duet Hardware and wiring
      Peter_Oundefined
      Peter_O
    • Duet 2 Mosfet switch off ringing

      Hi all,

      I observe an strong mosfet switch off ringing with fans and a Duet3d 2 Ethernet.

      Connected is a standard blower, running at PWM 50% duty cycle.
      The scope screenshot shows even a "re-ignition" of the mosfet due to inductive/capacitive effects.

      Edit: All oscilloscope charts shows voltage across the load, i.e. fan or heater. (Thx @jens55 for clarification)

      Duet fan mosfet switch off ringing

      (A simple arduino based creality board shows similar behaviors btw. and also a simple "lab" setup with an Arduino and a Mosfet on pinboard.)

      I'm starting with electronics only, so I'd liketo get some hints how to avoid this ringing.

      For comparison, the hotend heater (pure resistive load) PWM switching shows a quite normal small ringing only.

      alt text

      posted in Duet Hardware and wiring
      Peter_Oundefined
      Peter_O
    • RE: Maestro LCD-12864 RepRapD1scount config

      Ok. Maybe I'll swap the encoder for a quality part sometime. Thanks!

      posted in Firmware installation
      Peter_Oundefined
      Peter_O
    • RE: Maestro LCD-12864 RepRapD1scount config

      @Veti, now I've updated to latest FW set of version 2, 2.05 and latest release 1.8 of mudcruzr's menus.
      That makes no difference.

      @David, Ok. So E-4 be it.
      Overall it's usable. Thanks. ๐Ÿ™‚

      Just for information:
      It misses a click or steps backward maybe 1 in 5 clicks.
      With E-2 it was stepping two positions per click reliably. And hoovering between steps make the position in between acessible.

      Mainly I'm using the web interface of course.
      But the LCD comes handy for homing or having a look at the temperatures.

      Wishing you a relaxed and quiet Holiday season and a happy and peaceful New Year!

      posted in Firmware installation
      Peter_Oundefined
      Peter_O
    • RE: Maestro LCD-12864 RepRapD1scount config

      Did. Jumps erratically.

      posted in Firmware installation
      Peter_Oundefined
      Peter_O
    • Maestro LCD-12864 RepRapD1scount config

      I'm running a Maestro 1.0 with Firmware 2.03 (2019-06-13b2).
      A tronxy "LCD-12864 RepRapD1scount" is connected and works with mudcruzr's setup. (Thanks for that!)
      Best config seems to be

      M918 P1 E-2 F2000000

      Display and rotary are working fine so far.

      But moving the knob one notch moves the cursor two menu positions. Balancing the rotary between notches makes available the menu position in between.
      E-1 should be right, but with E-1 the cursor blurrs and marks two menu positions.

      Any idea?

      posted in Firmware installation
      Peter_Oundefined
      Peter_O
    • RE: Fan Port 0 damaged. Any chance to repair?

      @dc42

      That was fast! Perfect! Thanks a lot!
      I might not be the first one ... ๐Ÿ™‚

      posted in Duet Hardware and wiring
      Peter_Oundefined
      Peter_O
    • Fan Port 0 damaged. Any chance to repair?

      I seem to have damaged PWM fan port 0 by short cutting it (small spark ๐Ÿ˜‰ ).
      After that a voltmeters shows 9V instead of 12V when setting port to 255, but the fan is not running at all.

      Fortunately all other ports work fine. So I remapped the parts cooling fan to port 2 and the printer is running again.

      Question: Is there any possibility to repair pwm port 0?

      posted in Duet Hardware and wiring
      Peter_Oundefined
      Peter_O
    • RE: Cyclops+ with Titans shows strange Extrusions

      @deckingman: ... so it's nice to know that sharing my experiences has been helpful to someone.

      Oh, it is ideed. Be sure of that!
      From our small local Blog (www.drucktipps3d.de) we know that most of the people are silent readers.

      BTW: Here's a first traffic cone (https://www.thingiverse.com/thing:21773) with 100/0 - 0/100 mixing extrusion. Far from perfect, but it's a point to start from.

      alt text

      posted in Tuning and tweaking
      Peter_Oundefined
      Peter_O
    • RE: Cyclops+ with Titans shows strange Extrusions

      @deckingman: BTW, this is all from my years of battling with Diamond hot ends - both 3 colour and 5 colour. You might find some useful info in my blog (linked in my sig).

      I found your blog right from the beginning, when I started to read about dual hotends in this forum. I read all your posts there alrady and found it very educating. It might be the best source on the net about dual extrusion. Thanks for writing it down!

      As soon as my defective calipers are up and running again, I will check the diameter consistency of the yellow filament. Further research on the strange extrusion will be postponed until it comes up again. ๐Ÿ™‚

      My next step will be to test PETG, then try to run the Cyclops as an color switching hotend. Already got the idea of 95/5 configs to avoid filament grinding.

      posted in Tuning and tweaking
      Peter_Oundefined
      Peter_O