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

    For anyone still using endstop switches...

    Scheduled Pinned Locked Moved
    General Discussion
    16
    66
    7.3k
    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.
    • JoergS5undefined
      JoergS5 @mrehorstdmd
      last edited by JoergS5

      @mrehorstdmd Something like https://www.youtube.com/watch?v=prb60JoxQSQ but as endstop. The three red pairs (often steel balls) are electrically connected with the shaft, a small movement lifts the shaft, disconnecting. I find it interesting because it doesn't bend anything at contact, should be repeatable.

      1 Reply Last reply Reply Quote 0
      • 3DPMicroundefined
        3DPMicro @fcwilt
        last edited by 3DPMicro

        @fcwilt I have not. Might look on Omrons site, see if they offer one and then check eBay.

        Duet controlled Jet Lathe, scratch built micro mill and 3d printer. 1992 Haas VF2 VMC retrofit

        1 Reply Last reply Reply Quote 0
        • AJ Quickundefined
          AJ Quick
          last edited by

          Have any similar tests been done on the Prusa i3 MK3 with the layer shift detection and homing, without using any limit switches?

          (I'm in favor of limit switches, but think it is pretty cool if it works without them!)

          1 Reply Last reply Reply Quote 0
          • imrjundefined
            imrj
            last edited by

            wouldnt optical anything be a problem given we usually dont have printers in a super clean area? I mean mine isnt dirty, but sure not dust free....
            my home water treatment system used an optical sensor for something (forgot what it was) but it used to go out like once every 6 months....it uses something else now.....

            1 Reply Last reply Reply Quote 0
            • laelundefined
              lael
              last edited by

              @mrehorstdmd - I'm looking at your optical end stop video where you test and show the repeatability. Very impressive! Are you taking the Z axis to home, and then dropping down 5mm or so? Is that your homing routine, or just for the video?

              mrehorstdmdundefined 1 Reply Last reply Reply Quote 0
              • mrehorstdmdundefined
                mrehorstdmd @lael
                last edited by

                @lael The gauge would not fit on the printer at the normal home location, so I moved home down to where the gauge would work. When the bed moves down in the video, it moved randomly chosen distances between about 20 and 150 mm, then rehomed. The test is measuring both the Z axis motion precision and the endstop. The Z axis moves 20 um per full step of the motor in my printer.

                For anyone concerned about dust interfering with the optical endstops- quit worrying. The optical endstops have been in the printer for over a year with no attention whatsoever and work as well as the day they were installed. 3D printers are pretty clean and I suspect it takes quite a lot of crud to interfere with the function of opto interruptors. Those things are used in industrial machines operating in dirty environments all the time.

                I ran a print test to check the precision of the XY optical endstops here: https://drmrehorst.blogspot.com/2020/03/testing-ummds-xy-optical-endstops.html It, too, was excellent. In that test I ran two identical prints, except I rehomed the printer in X and Y at every layer change. If the X and Y precision were off, the layers would not stack properly and the Z axis print quality would suffer. The prints are all but identical under magnification.

                https://drmrehorst.blogspot.com/

                1 Reply Last reply Reply Quote 2
                • laelundefined
                  lael
                  last edited by

                  Thanks! love your work on your printers and your write ups. They've been very helpful.

                  1 Reply Last reply Reply Quote 0
                  • A Former User?
                    A Former User
                    last edited by

                    Hi,

                    thanks for the efforts! Can you please say if anything and if yes what is writton on the optosensor itself (not the pcb, but what sensor from which company it is)?

                    Lucas

                    mrehorstdmdundefined 1 Reply Last reply Reply Quote 0
                    • mrehorstdmdundefined
                      mrehorstdmd @A Former User
                      last edited by

                      @LB There are no markings on the opto parts at all unless they are on the side that is down on the PCB.

                      https://drmrehorst.blogspot.com/

                      A Former User? 1 Reply Last reply Reply Quote 0
                      • A Former User?
                        A Former User @mrehorstdmd
                        last edited by A Former User

                        @mrehorstdmd said in For anyone still using endstop switches...:

                        @LB There are no markings on the opto parts at all unless they are on the side that is down on the PCB.

                        Then I have to buy a bunch and desect one... or do you have 1 more then needed that I can buy from you? (Want to upgrade one day the endstops on one of the printers I build a while ago but would love to keep track of what sensor from which company gave me which results)

                        Edit: Product description points to that the LM393 is part of the precision?

                        mrehorstdmdundefined 1 Reply Last reply Reply Quote 0
                        • mrehorstdmdundefined
                          mrehorstdmd @A Former User
                          last edited by

                          @LB These are cheapo $3 each opto sensors from China. You'll never know where any of the parts come from, and if you order them on different days the parts may come from different suppliers. Fortunately, these things are so simple that it doesn't really matter who makes the parts or assembles the boards. There's not much to go wrong.

                          These aren't like bed proximity sensors that are going to be sensitive to temperature or metallic composition of the bed or optical properties of the bed. It's an opaque blade blocking an IR light beam. It's hard to screw that up.

                          These are the ones I used in my printer and in the sand table: https://www.amazon.com/Biaobiao-Optical-Switches-Endstop-Comparison/dp/B07JMDLD84/ref=sr_1_9?dchild=1&keywords=optical+endstop&qid=1610988408&sr=8-9

                          https://drmrehorst.blogspot.com/

                          A Former User? 1 Reply Last reply Reply Quote 0
                          • Adamfilipundefined
                            Adamfilip
                            last edited by

                            I have been having layer shift issues, and the idea of homing XY on each layer is something i never considered but is brilliant.

                            I just have regular switch endstops.

                            mrehorstdmdundefined 1 Reply Last reply Reply Quote 0
                            • A Former User?
                              A Former User @mrehorstdmd
                              last edited by A Former User

                              @mrehorstdmd

                              I fast-read (not all and not slowly) your blog and I like very much your idea to have some possibility to have the printer print a layer and not only home after/before each layer BUT to "record" the values of deviation to tell the pinter-machinist if there is a problem in one of the axis. I could imagine this in for of e.g. an "error-evaluation-macro" (or call it what you want) or option so to e.g. once in a month or so take the extra-time that takes into account to see if belts or gears or who knows what has to be tightend, loosend, slowed, etc. pp. on the printer because the error is bigger then what one wants for the printer.

                              In contrast to a G28 between each layer what can be done in almost any slicer I can think of, this recording-feature would have to be part of the duet-firmware, because it has to compare should-axis-position with real-trigger-position and write that deviation down in a *.txt or *.csv file or so.

                              What do you think? Could this done by any sort of macro? (Maybe good to avoid a firmware-wish in the first attempt to get this working). I think it would be helpful to be able to once in a while check how precise the printer is!

                              mrehorstdmdundefined 1 Reply Last reply Reply Quote 0
                              • mrehorstdmdundefined
                                mrehorstdmd @Adamfilip
                                last edited by

                                @Adamfilip If you have layer shifting problems, rehoming on every layer isn't the solution. You need to find and fix the actual problem and not put a bandage on it.

                                https://drmrehorst.blogspot.com/

                                Adamfilipundefined 1 Reply Last reply Reply Quote 0
                                • mrehorstdmdundefined
                                  mrehorstdmd @A Former User
                                  last edited by

                                  @LB I don't know if the distance traveled during a homing move is captured somewhere by the firmware. You'll have to ask one of the experts.

                                  My printer doesn't seem to get out of adjustment as far as I can tell, but maybe a CNC mill with a lot more force on the tool would benefit from such a check, especially if it is belt driven.

                                  https://drmrehorst.blogspot.com/

                                  1 Reply Last reply Reply Quote 0
                                  • Adamfilipundefined
                                    Adamfilip @mrehorstdmd
                                    last edited by

                                    @mrehorstdmd

                                    Yes an I have tried

                                    I have replaced steppers with longer versions with more torque
                                    adjust current for the steppers (they are slightly warm)
                                    added cooling on stepper drivers
                                    Lubricated linear rails and checked for binding
                                    checked belt tension
                                    Checked Pulley screws
                                    Prints are dimensionally accurate

                                    I am running out of ideas on what to check/fix to reduce the likelyhood of layer shifts.

                                    so now im onto ideas like homing every layer or adding cheap S42B closed loop controllers.

                                    mrehorstdmdundefined A Former User? 2 Replies Last reply Reply Quote 0
                                    • mrehorstdmdundefined
                                      mrehorstdmd @Adamfilip
                                      last edited by

                                      @Adamfilip In addition to all the things you listed, layer shifting is often due to too high jerk and/or acceleration settings. I have also heard of a few cases caused by too much mechanical force required to pull filament from the spool.

                                      There are probably hundreds of posts in this and other forums on the topic of shifted layers.

                                      Does the machine use steel core belts?

                                      https://drmrehorst.blogspot.com/

                                      Adamfilipundefined 1 Reply Last reply Reply Quote 0
                                      • Adamfilipundefined
                                        Adamfilip @mrehorstdmd
                                        last edited by

                                        @mrehorstdmd

                                        My machine is not setup for speed.
                                        I typically print at 40-60mm/sec

                                        here are my acceleration settings

                                        M566 X600 Y600 Z20 E800 ; Set maximum instantaneous speed changes (mm/min) JERK
                                        M203 X9000 Y9000 Z1500 E10000 ; Set maximum speeds (mm/min)
                                        M201 X1000 Y1000 Z250 E5000 ; Set accelerations (mm/s^2)
                                        M906 X1800 Y1800 Z1500 E1300 I30 ; Set motor currents (mA) and motor idle factor in per cent
                                        

                                        I dont use Steel belts., I once tried them but i use regular 6mm GT2 belts.

                                        mrehorstdmdundefined 1 Reply Last reply Reply Quote 0
                                        • mrehorstdmdundefined
                                          mrehorstdmd @Adamfilip
                                          last edited by

                                          @Adamfilip The acceleration and jerk look reasonable. X and Y motor currents look a little high- what type of motors are you using? Sometimes excessive motor current can cause bad behavior...

                                          Is this a corexy machine?

                                          When it shifts is it always at 45/135 degree angle? That would indicate one motor is not turning...

                                          https://drmrehorst.blogspot.com/

                                          1 Reply Last reply Reply Quote 0
                                          • A Former User?
                                            A Former User @Adamfilip
                                            last edited by A Former User

                                            @Adamfilip

                                            1. Do you have "external" steppers -> In that case the cable that transmits the stp/dir/en pulses could be the problem. If only one of the pulses is missed you loose something oviously.

                                            2. Microstepsetting too high -> the ABSOLUT-torque for 1 full-step get´s more and more divided with microsteps into incremental-torque-steps. If your incremental torque drops below of what you need in "extreme"-situations you loose a step. This is realted to the next 3.

                                            3. Edit: already written down here: Check accel/jerk

                                            Have you checked also the above?

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