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

    Duet3 v3.3 6HC Magnetic Filament Sensor = 'sensorError'

    Scheduled Pinned Locked Moved Unsolved
    Filament Monitor
    9
    36
    1.8k
    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.
    • dc42undefined
      dc42 administrators @Preischl3D
      last edited by

      @preischl3d thanks for the update. Was the cable close to or crossing a stepper motor cable?

      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

      PetrKroupaundefined 1 Reply Last reply Reply Quote 0
      • verdeelundefined
        verdeel
        last edited by

        I think I am having the same problems, albeit with the laser sensor. Constantly getting extruder "sensorError".

        Result of M122: Extruder 0: pos 0.02, errs: frame 22 parity 0 ovrun 0 pol 0 ovdue 0

        I did redo some wiring right before it started occurring, so I'll be looking at the positions of the cables and making sure the sensor wires do not cross the stepper wires. How much space would be recommended for clearance between the wires? Or are there any other methods of shielding the sensor wires from the stepper wires?

        1 Reply Last reply Reply Quote 0
        • PetrKroupaundefined
          PetrKroupa @dc42
          last edited by

          @dc42 I found out that the MFM is very sensitive to interference and power fluctuations. Just a slight drop in power supply and the sensor will either restart or report an error. I will say that I solved it because it has been working without problems for a some time. I apologize in advance for the "ugly" solution but it works. At least it works for me.

          I connected two capacitors directly to the sensor. 220uF and 100nF.

          IMG_20220125_175815.jpg

          BigOne:Duet3 6HC +1LC + Rpi5 +SSD, mosquito hotend, 400x400x420
          SmallOne : Duet3 6HC +1LC + Rpi5 +SSD, mosquito hotend, 210x250x210

          Petr

          verdeelundefined 1 Reply Last reply Reply Quote 1
          • verdeelundefined
            verdeel @PetrKroupa
            last edited by

            @petrkroupa Where did you install those?

            alankilianundefined PetrKroupaundefined 2 Replies Last reply Reply Quote 0
            • alankilianundefined
              alankilian @verdeel
              last edited by

              @verdeel You can see the yellow and red wires soldered to the power and ground pads on the programming header going to the two capacitors.

              SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

              verdeelundefined 1 Reply Last reply Reply Quote 1
              • verdeelundefined
                verdeel @alankilian
                last edited by

                @alankilian Thank you. I'm going to give it a try once I manage to get my hands on some capacitors that are roughly the same capacity. I've already tried to get the sensor cable away from the stepper cables, but it keeps happening. The sensor cable is bundled together with the z-probe from the smart effector and the fans, heater.

                1 Reply Last reply Reply Quote 0
                • PetrKroupaundefined
                  PetrKroupa @verdeel
                  last edited by PetrKroupa

                  @verdeel You can solder capacitor directly to sensor. But you will probably lose waranty. Just for info. My waranty is also gone BUT sensor works. 🙂

                  BigOne:Duet3 6HC +1LC + Rpi5 +SSD, mosquito hotend, 400x400x420
                  SmallOne : Duet3 6HC +1LC + Rpi5 +SSD, mosquito hotend, 210x250x210

                  Petr

                  verdeelundefined 1 Reply Last reply Reply Quote 0
                  • verdeelundefined
                    verdeel @PetrKroupa
                    last edited by

                    Before starting with soldering capacitors to anything I decided to investigate further. Before making any changes I sometimes had 20 or more sensorErrors just during mesh leveling.

                    First I installed a new wire for the sensor, completely outside of the machine, away from all other cables incl. the other cables going to the smart effector. Test print of about 45 minutes, no errors.

                    So my issue was being caused by the wiring. I still had some cable for analog sensors, with braided shielding. But because those wires were pretty thick I just removed the shield from that wire, and put it around my new filament sensor wire, guided it through the nylon sleeving that goes to the smart effector and did another test print. Again, no sensorErrors!

                    I'll have to see how it behaves the next couple of weeks, but to me it seems that the error was caused by my own wiring being to close to the other wiring for the smart effector.

                    1 Reply Last reply Reply Quote 1
                    • Surgikillundefined
                      Surgikill
                      last edited by

                      I'm having the same issue, I'm on a Duet 2 WiFi. I'll try the capacitors to see if it is fixed.

                      Surgikillundefined 1 Reply Last reply Reply Quote 0
                      • Surgikillundefined
                        Surgikill @Surgikill
                        last edited by

                        @surgikill said in Duet3 v3.3 6HC Magnetic Filament Sensor = 'sensorError':

                        I'm having the same issue, I'm on a Duet 2 WiFi. I'll try the capacitors to see if it is fixed.

                        Didn't fix it. I put a 50V 10uf capacitor on the sensor, no dice, still getting sensor error sporadically.

                        PetrKroupaundefined 1 Reply Last reply Reply Quote 0
                        • PetrKroupaundefined
                          PetrKroupa @Surgikill
                          last edited by

                          @surgikill - 10uF is small. I have two. 1x 100nF and 1x 220uF.

                          BigOne:Duet3 6HC +1LC + Rpi5 +SSD, mosquito hotend, 400x400x420
                          SmallOne : Duet3 6HC +1LC + Rpi5 +SSD, mosquito hotend, 210x250x210

                          Petr

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

                            @petrkroupa I don't believe the sensor is very sensitive to power supply fluctuations, unless your sensor is faulty. I think it more likely that you have a bad connection in the +3.3V or ground feed to the sensor, or you are getting static discharge from the hot end to the sensor connections.

                            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

                            PetrKroupaundefined 1 Reply Last reply Reply Quote 0
                            • PetrKroupaundefined
                              PetrKroupa @dc42
                              last edited by

                              @dc42 - Two sensors on two different printers? I'm not saying it's not possible but it's unlikely. Capacitors have resolved the issue on both printers. If the cause is elsewhere, I really have no idea where. However, since then, both sensors have worked perfectly. See for yourself. For 23 hours of printing, the tolerance is 97-104%. I do not think it is possible to achieve better values. 🙂

                              Duet3D rotating magnet filament monitor v4 on pin 121.io1.in, enabled, sensitivity 25.00mm/rev, allow 50% to 200%, check printing moves every 10.0mm, version 4, mag 131 agc 96, measured sensitivity 24.62mm/rev, min 97% max 104% over 42855.6mm
                              

                              BigOne:Duet3 6HC +1LC + Rpi5 +SSD, mosquito hotend, 400x400x420
                              SmallOne : Duet3 6HC +1LC + Rpi5 +SSD, mosquito hotend, 210x250x210

                              Petr

                              alankilianundefined 1 Reply Last reply Reply Quote 0
                              • alankilianundefined
                                alankilian @PetrKroupa
                                last edited by

                                @petrkroupa

                                It's great that adding capacitors to your sensor PCB get you working sensors.

                                Adding a large cap to the PCB helps when your 3.3 Volt supply is not continuous or low-impedance.

                                It's possible (I'm not saying it is, but for others...) that you've got marginal crimps on your wiring to the sensor. This can cause very short outages in power which would be compensated by the large cap on the sensor. This is a good thing to have if you have marginal connections in power or ground. Also good to have "Just in case."

                                • Do you use wiring that is crimped from the factory or do you make your own?
                                • If you make your own, do you crimp? Do you have an expensive crimp tool or an inexpensive one?
                                • Do you crimp AND solder?

                                Anyway, this is great that you've got it working and should help others if they also have wiring that somehow is not able to power the sensor continuously.

                                SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

                                PetrKroupaundefined Surgikillundefined 2 Replies Last reply Reply Quote 0
                                • PetrKroupaundefined
                                  PetrKroupa @alankilian
                                  last edited by

                                  @alankilian - I crimp and then solder it for sure. I don't have the original tool. I changed the whole line several times. Subsequently, I shortened it to the shortest possible distance. Twisted together and used shielding. Even so, sometimes the sensor made "sensor error". I read the datasheet for the sensor used, looked at the overall wiring on the github, and found nothing wrong. When I had no other idea and tested 5 sensors, I tried capacitors. Well, finally it worked.

                                  I'm not sure why. And since the sensor is directly on the extruder and powered by 1LC, I can't even check what's going on there with the oscilloscope.

                                  It is true that adding a capacitor was probably the last attempt. Then I would give it up. It cost me a lot of time, but the idea of such a precise sensor is simply tempting. It may not always help and if someone has another problem with the sensor BUT as I say, it helped to me. 🙂

                                  BigOne:Duet3 6HC +1LC + Rpi5 +SSD, mosquito hotend, 400x400x420
                                  SmallOne : Duet3 6HC +1LC + Rpi5 +SSD, mosquito hotend, 210x250x210

                                  Petr

                                  1 Reply Last reply Reply Quote 0
                                  • Surgikillundefined
                                    Surgikill @alankilian
                                    last edited by Surgikill

                                    @alankilian I used a good crimp tool as well, EDM jaws. I do not solder seeing as that is usually not recommended for crimp connections.

                                    @PetrKroupa I'll try adding some different capacitors. I just ordered shielded wire for it, so maybe that helps.

                                    It also looks like there are some filament monitor fixes in 3.4 https://github.com/Duet3D/RepRapFirmware/commit/2ee6b1a26dcf7fd0b6037c519ac3e056f1e15c62

                                    0 dc42 committed to Duet3D/RepRapFirmware
                                    Bug fixes to filament monitors
                                    1 Reply Last reply Reply Quote 0
                                    • Surgikillundefined
                                      Surgikill
                                      last edited by

                                      Well I found 1 issue. Part of the shaft was rubbing on the filament monitor. I resin printed the case and all the dimensions came out perfect, but apparently there is tolerance in there made for FDM, so the sensor was way too close. I'm going to try some test prints and see what happens.

                                      alankilianundefined PetrKroupaundefined 2 Replies Last reply Reply Quote 0
                                      • alankilianundefined
                                        alankilian @Surgikill
                                        last edited by

                                        @surgikill You can just add a paper shim in the case and increase the spacing to 0.25mm as recommended.

                                        SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

                                        1 Reply Last reply Reply Quote 0
                                        • PetrKroupaundefined
                                          PetrKroupa @Surgikill
                                          last edited by

                                          @surgikill -
                                          If the magnet is too close, it can easily happen. Then you will often have "too litle mowement" and if the scratches are quite deep, then probably "sensor error". I did it too 😞 . If you can solder well, only the sensor can be replaced. It is relatively cheap.

                                          I recommend assembling the MFM really carefully. Take your time. Do not be afraid to use sandpaper and, if possible, define the axial clearance of the shaft minimum as possible.

                                          as @alankilian writes, feel free to put under electronics a piece of paper to get the ideal AGC value. smaller, better but too small meant potential contact between the shaft and the sensor.

                                          BigOne:Duet3 6HC +1LC + Rpi5 +SSD, mosquito hotend, 400x400x420
                                          SmallOne : Duet3 6HC +1LC + Rpi5 +SSD, mosquito hotend, 210x250x210

                                          Petr

                                          Surgikillundefined 1 Reply Last reply Reply Quote 0
                                          • Surgikillundefined
                                            Surgikill @PetrKroupa
                                            last edited by Surgikill

                                            @petrkroupa Yea the scratches are pretty deep. At this point I'll probably just use a microswitch. The magnet has caused more issues than it has fixed. I should have just done that from the beginning. The laser one didn't work worth a damn, and now the magnet one, which I thought would fix all my issues, doesn't work worth a damn. $100 gone.

                                            Do you have a PN for the sensor? I can solder a new one on.

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