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

    Laser filament monitor

    Scheduled Pinned Locked Moved
    Filament Monitor
    73
    179
    41.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.
    • dc42undefined
      dc42 administrators
      last edited by

      Yes that occurred to me too. However, the optical sensor would need to be protected from filament dust produced when the hobbed shaft grinds the filament.

      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
      • Qdeathstarundefined
        Qdeathstar
        last edited by

        what about a laser before the reader to etch little lines into the filament?

        nvm, you’d need quite the laser to make that work….

        1 Reply Last reply Reply Quote 0
        • Dougal1957undefined
          Dougal1957
          last edited by

          @dc42:

          Yes that occurred to me too. However, the optical sensor would need to be protected from filament dust produced when the hobbed shaft grinds the filament.

          And it wouldn't work after a RDD like the Nimble or Flex3drive so it has to go before them

          1 Reply Last reply Reply Quote 0
          • Qdeathstarundefined
            Qdeathstar
            last edited by

            You could create something secondary to create the notches, then clean the filament but that likely just creates other issues and failure modes.

            1 Reply Last reply Reply Quote 0
            • S1lencerundefined
              S1lencer
              last edited by

              Anything new about this apparatus?
              Will it be prefered against the old version? and when will we normal (actually maby not so normal) humans be abel to get hold on these things?

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

                At present the laser sensor is not as reliable as the rotating magnet one. We have some more work to do to see whether we can improve it.

                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
                • Markdndundefined
                  Markdnd
                  last edited by

                  Since the laser approach seems to be causing problems the suggestion of using ultrasound may not be as impractical as you think.

                  It is commonly used for highly accurate non-invasive flow measurement of gasses and liquids which you have to admit are pretty smooth. Sensing is based around doppler effects of minor differences in internal density.

                  The main advantage if it could be made to work is that it would work through the feed tube - just clamp on and measure.

                  I don’t know how well it would handle highly homogenous filaments but I suspect there would be suffucient internal structure to make it work.

                  You’d also have to source a suitable transducer / sensor system.

                  I don’t know if you can get transducers small enough, the pipes in a domestic gas meter are around 25mm so our sensor would need a field of operation 10 times smaller though they may be made for lab equipment.

                  1 Reply Last reply Reply Quote 0
                  • dansker61undefined
                    dansker61
                    last edited by

                    Why do we want/need a filament sensor?

                    Me personally, to stop the print if the flow of filament stops for any reason, e.g. due to a clocked nozzle.

                    If the sensor can measure the exact length of filament extruded, that would be totally cool and open the door for dynamically maxing out the feeder speed for any filament. That would be a dream come true…

                    But, how about making that a requirement for filament sensor v2?

                    For starters, detection of that blocked nozzle can probably be accomplished with less fancy measures, and likely cover the immediate needs of most users. How about adding a timer? If no movement is detected within 1-2 seconds of the stepper engaging, then something might be wrong. This should greatly reduce the sensitivity requirement for any type of sensor. Due to the normal pressure between extruder and nozzle, a short period of time should have no significant impact on the ongoing print, as filament will still be flowing.

                    1 Reply Last reply Reply Quote 0
                    • dansker61undefined
                      dansker61
                      last edited by

                      The ultrasound idea from Markdnd is interesting, but isn't it so that ultrasound transducers have problems with linear movement? They detect rotation (not possible in this scenario) and radial movement, but an object passing by in a straight line is not so good.

                      I might be wrong, but believe that an ultrasound solution would require a mechanism to "wobble" the filament on its way past the transducer. If that is accomplished, then a disc type transducer might work. These are used in many applications, e.g. string music instruments, and are available in diameters down to about 10mm. They are also very thin and cheap.

                      1 Reply Last reply Reply Quote 0
                      • RGN01undefined
                        RGN01
                        last edited by

                        The primary reason I want filament monitors is to detect inadequate filament feeding, whether from partially blocked nozzles, clogged hobbed wheels, tangles or some other cause. I have never yet had filament break, and I generally know if there is enough on a reel for the print at hand.

                        I designed and built a filament sensor that worked very well on the Zesty Nimble and e3d Chimera equipped cartesian printer I upgraded from RAMPS to Duet. These used multiple tiny (1mm diameter) magnets and hall effect sensors to provide 12 pulses per revolution (about 7mm filament feed). It was fully reliable and detected filament feed issues of all types and worked with PLA, ABS and PETG filament without issue.

                        Photo shows a dual mount with the right hand sensor installed. The tiny magnets are just visible.

                        Unfortunately these were not compatible with the Duet and I simply don't have the skills to write the necessary code to do this so am keenly awaiting the Duet version.

                        (edited to add) Although I never implemented the second sensor, the boards I used are rotary encoders so can detect forwards or backwards movement and could thus measure retracts and normal feed. I'd be very happy to share the designs if anyone wishes to do the software to enable them to work with the Duet.

                        Richard

                        1 Reply Last reply Reply Quote 0
                        • Markdndundefined
                          Markdnd
                          last edited by

                          For me, a filament sensor would be invaluable for those times when, despite my best efforts, the filament jams on its spool and the printer carries on printing without any extrusion totally messing up any chance of recovery. (Even if I spot it quickly).

                          A simple filament presence sensor wouldn’t work - the filament is still there, its just not moving. Stall detection may pick it up but for softer and flexible filaments the extruder will probably just grind on anyway. (Probably literally!)

                          As for the technology, my knowledge of ultrasonic sensors is limited to say the least but, as I understand it there are two main ways these things operate:

                          The first measures time of flight between a single pulse and its echo and is typically used in range finding and obstacle detection applications. These are the the type commonly sold for robotics and automation and treat the object being monitored as being stationary (which, if the ping rate is high enough, it effectively is)

                          The second uses the doppler effect on multiple echoes to detect movement. This is the kind used to measure flow rates of liquids and fluids in pipes and is also used in some alarm sensors. Unlike TOF sensors, the object doesn’t need to be precisely aligned with the sensor. (Which is good because in our case the “object” is actually minor differences in internal density in the filament)

                          At its simplest, an object approaching the sensor increases the observed echo frequency in proportion to its speed. In theory a sensor pointed at a steep angle will pick up reflections from minor deviations in the internal structure of the filament.

                          I don’t think that a wobble mechanism is needed and, in fact, lateral movement probably needs to be minimised. (Though I’m not familiar with the string instrument application so dansker61 may be making a valid point)

                          I should point out that this is a massive simplification and omits a lot of the “real world” practicalities. For example signal processing of some sort will probably required to extract usable data from the noise but there are microcontrollers such as the dsPIC series of microcontrollers from Microchip that are specifically designed for digital signal processing and have fourier analysis libraries available for them.

                          In short it’s an idea, based on a real world application, intended to encourage a bit of experimentation and maybe offer an alternative solution. (I may even dig around in my electronics junk box this weekend myself)

                          1 Reply Last reply Reply Quote 0
                          • Markdndundefined
                            Markdnd
                            last edited by

                            If the doppler solution proves impractical I don’t know if a contact microphone has been considered.

                            The arrangement i have in mind is something along the lines of the filament running through a felt pad. A small microphone attached to the pad would pick up the sound produced as the filament moves, once again frequency would be proportional to speed.

                            A side benefit would be the cleaning of the filament, though unfortunately this would also require periodic pad replacement (though an upstream sacrificial pad could minimise this).

                            A second microphone may also be necessary for noise cancelling but this is well established technology.

                            For my application, precision speed measurement is less important than reliable movement detection so even a crude method like this may actually be sufficient.

                            1 Reply Last reply Reply Quote 0
                            • LumberjackEngineeringundefined
                              LumberjackEngineering
                              last edited by

                              Throwing in my $0.02 to say that I'd also buy a sensor that detected that movement was happening, but wasn't necessarily able to quantify exactly how much. Just last night I had a print fail due to a jam (still don't know why…), and would certainly love to be able to detect a situation like that.

                              1 Reply Last reply Reply Quote 0
                              • resamundefined
                                resam
                                last edited by

                                I would also agree, the most important failure modes are:

                                • out of filament: spool empty

                                • nozzle jam: no movement at all (at least not forward, retracts do not count)

                                Detecting under-extrusion or skipped steps would be nice, but I there is no real benefit anyway. With the other two cases one can at least pause and continue after fixing the problem. If a super accurate sensor detects under extrusion of 85% - what would one do? automatically bump up the extrusion multiplier? that sounds far too advanced that I would trust it with a 50 hour print…

                                Just for reference, what does Prusa use the laser filament sensor for? AFAIK they also only cover the two big (and easier to detect) issues.

                                1 Reply Last reply Reply Quote 0
                                • botundefined
                                  bot
                                  last edited by

                                  Why not combine the magnet sensor and the laser sensor?

                                  Use a toothed idler, being driven by the filament, with a pattern for the laser to pickup. If you can find the right material and pattern on the idler, once you get it right, every filament will perform identically. It reduces the number of mechanical parts, but gives consistent readings via the laser.

                                  *not actually a robot

                                  1 Reply Last reply Reply Quote 0
                                  • Qdeathstarundefined
                                    Qdeathstar
                                    last edited by

                                    The prussa monitor has mixed reviews….

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

                                      @Qdeathstar:

                                      The prussa monitor has mixed reviews….

                                      Have you a link?

                                      I looked at the code that Prusa uses. It checks that when forward extrusion is commanded, forward filament movement is detected. It doesn't attempt to correlate the amount of movement with the amount of extrusion commanded.

                                      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
                                      • Qdeathstarundefined
                                        Qdeathstar
                                        last edited by

                                        https://shop.prusa3d.com/forum/original-prusa-i3-mk3-f30/filament-sensor-n-a-t12653.html

                                        https://shop.prusa3d.com/forum/original-prusa-i3-mk3-f30/running-out-of-filament-t13536.html

                                        https://shop.prusa3d.com/forum/original-prusa-i3-mk3-f30/filament-sensor-initiate-auto-load-while-printing-t12460.html

                                        https://shop.prusa3d.com/forum/original-prusa-i3-mk3-f30/mk3-asking-me-to-unload-filament-multiple-times-du-t12786.html

                                        1 Reply Last reply Reply Quote 0
                                        • fmaundefined
                                          fma
                                          last edited by

                                          David, to help detect the tricky filaments, what about using a little lens to magnify the image of the filament?

                                          Frédéric

                                          1 Reply Last reply Reply Quote 0
                                          • Markdndundefined
                                            Markdnd
                                            last edited by

                                            Yet another idea (sorry)

                                            From the sound of things the magnetic sensor is based on a magnet and hall effect sensor arrangement which suffers from alignment issues.

                                            Have you considered / tried a resolver solution where you have a magnet rotating inside a coil. Alignment is far less critical and you could create a simple movement detector by smply using a voltage sensor to drive a limit input.

                                            If you want something more complex that could be used to measure speed and extrusion distance there are off the shelf chips to interface with them.

                                            E.g. http://www.analog.com/en/products/analog-to-digital-converters/integrated-special-purpose-converters/synchroresolver-to-digital-converters.html

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