Which endstop. Microswitch or stall detection?
-
Trying to decide which way to go for endstops on x and y. Microswitch, stall detection or other? Has stall detection proven to be reliable? This will be on a core x-y.
-
I use stall detection on my HEVO corexy for the x/y axises and it works great for me. I do reduce the steppers currents during the homing just in case. My homeall.g file looks like this
; homeall.g ; ; Make sure we don't have leftover changes. M98 P"/sys/mode_normal.g" G29 S2 ; disable bed mesh compensation G91 ; relative positioning M400 M913 Z20 ; Z motors to 20% current G1 Z5 F1000 S2 ; drop bed Z relative to current position M400 M913 Z100 ; Z motors to 100% current M280 P3 S160 I1 ; Reset bltouch in case it didn't have vertical clearance for self test. ; Reduce accelleration for the stall detection to be more reliable. ; We restore it later via configstd.g M98 P"/sys/mode_stall.g" ; Home X M400 M913 X30 Y30 ; XY motors to 30% current G1 S1 X-320 F2600 ; move until motors hit X min and stall G1 X10 F6000 ; go back a few mm on X M400 M913 X100 Y100 ; XY motors to 100% current ; Home Y M400 M913 X30 Y30 ; XY motors to 30% current G1 S1 Y-320 F2600 ; move until motors hit Y min and stall G1 Y10 F6000 ; go back a few mm on Y M400 M913 X100 Y100 ; XY motors to 100% current ; Restore standard config M98 P"/sys/mode_normal.g" ; Home Z M400 G90 ; absolute positioning G1 X140 Y140 F6000 ; go to probing point (close to edge, for better support if bltouch fails) M400 M913 Z60 ; Z motors to 60% current, in case something goes wrong with bltouch M558 A1 F800 ; Set for probing at fast speed, single probe G30 ; Probe and home Z (pass 1) M400 M913 Z100 ; Z motors to 100% current M558 A5 F100 ; Set for probing at slow speed, allow multiple trys G30 ; Probe and home Z G1 X0 Y-5 F3000 ; Move X,Y to rest position G1 Z40 F700 ; Move Z to rest position
BTW, the syntax coloring above is wrong for lines 4-13, as if ';' is not recognized as a comment prefix.
-
Consensus seens to be that stall detection is not as accurate as s switch.
If I was building a new printer I would use a switch. -
I agree, a microswitch is more reliable and more accurate.
-
Hi,
Microswitch - simple, reliable and accurate.
Frederick
-
I've recently gone from microswitches to optical endstops. The particular ones I am using have LEDs that light up when they are triggered, making it especially easy to set them up - you don't have to listen for the quiet "click" of the switch or look at the controller/computer to check status. They operate reliably from the 3.3V that the Duet boards provide. It may not matter much for X and Y, but in Z the opto endstop has less hysteresis making it easier to set up and get repeatable results.
I've seen microswitch modules that have LEDs, too.
-
This is what happens when you rehome X and Y on each layer change without having "retract on layer change" turned on...
Rerunning it now with retraction turned on.
-
OK, both prints done.
Standard print:
Re-homed print:
standard print:
re-homed print:
standard print:
re-homed print:
For all practical purposes, the prints are identical. That's a bit of a surprise. I guess the opto endstops are quite high precision parts.
-
The first pair are not anywhere near identical. The "standard" is MUCH better. More even. Less layer shifting. At least to my eye.
Not as clear on the others... but they don't seem to have the same hard edges/corners.
-
I don't understand what is going on here. X and y is homed once before the print. Why would there be a difference between the two prints (not that I can see any)
-
@jens55 said in Which endstop. Microswitch or stall detection?:
I don't understand what is going on here.
X and y is homed once before the print. Why would there be a difference between the two prints (not that I can see any)This was a test of a theory. The "re homed" prints home both X and Y at every layer change.
-
I wouldn't call it much better. Maybe slightly better. These are 0.2mm layers and without looking at it under magnification, there's no appreciable difference between them. The difference in the pictures may just be the angle of the lighting.
I didn't think about running this kind of test before I installed the opto endstops. If someone has snap-switch endstops it would be very interesting if you could run a test of this sort to compare the results.
-
You see them as the same (in overall quality). I see them as quite different. No magnification. Lighting angle doesn't enter into it at all. I see "lumps" of uneven layers in the bottom photo that are not present in the top. In at least three places. I am ignoring the elephant's foot that is a little different between the two.
I also agree that print two and three are too close to call. No clear advantage.
Having said that, ALL of them are better prints than I see posted as "good prints" every day on various forums.
And...
If every one else sees them as the same, and one person sees the re-home as worse (and basic stats calls for ignoring outliers), it all still clearly proves there is no advantage to re-home. Which is, I believe, where you started?
Edit: I just looked again, and OP asked about stall detection v switches. IMHO, SD is OK-ish for X and Y if you are willing to tune it. Not for Z. And not for Deltas (unless they probe the bed before every print).
-
@Danal The photos are from just two prints here, one "normal" and one re-homed at layer change. For the re-homed print I made a small adjustment to the Z=0 position when I saw the elephant's foot on the first print. I recently changed the Z axis endstop to an optical type and this is the first print I have run since making the change. With prints in front of me, if it weren't for the elephant's foot I probably couldn't tell them apart. Of course, I'm getting old and my eyes aren't what they used to be...
I would say the result is much better than I expected. Those optical endstops are pretty good.
Oh yeah, I forgot to mention- the "normal" print took about 1 hour and the re-homed print 1:42. I probably won't be using this technique very often! It might be useful to slow a print down to let layers cool a bit instead of printing a sacrificial object.
-
I just use a straight hall effect sensors (not a board so there isn't any pot adjustments so they're were only like $1 wa for the sensors) and a magnet glued to the carriages on my delta, repeatability is spot on and it's contactless. although I don't have a heated enclosure. When I tested repeatability on micro switches many years ago though, the highest repeatability came from some micro switches I pulled out of some arcade buttons (I think they were sanwa shrug) which also happen to be inexpensive.
-
@jens55 I just noticed a bit higher up that a post I had intended to be there isn't. I must have hit "discard" instead of "submit". Anyway, this was a test of the precision of the optical endstops in my printer. I ran two identical prints, one "normal"- homed only at the start of the print- and the other re-homed at every layer change. By re-homing at each layer change, imprecision in the endstops would show up as error in the way the layers stack because the position of each layer would change a little (or a lot if the endstops are really sloppy). It looks like there's very little slop...
-
@mrehorstdmd said in Which endstop. Microswitch or stall detection?:
The photos are from just two prints here
Got it. Multiple photos of only two prints.
Let me rephrase: The photo set comparing the two prints, the first set, that includes a sharp edge, looks different to me. Photo set two and three are way too close to call. Effectively identical. I suspect that's because they contain curved surfaces.
Anyway, you've gathered some excellent physical data here. Seems to show that re-homing has no measurable advantage. Cool stuff.
-
@Danal Photography is/was one of my other hobbies. I think that the difference you perceived may be just due to the fact that they are different photographs. In one picture, the item is positioned in such a way that more of the light coloured back wall is visible. This would mean that the overall exposure might be different. Which means that the camera aperture setting would be different. This in turn means that the depth of field is different, so parts of the object close to the camera would be either more or less sharply focused than parts of the object that are further away. All of this also assumes that there was zero camera shake. If Mark hand held the camera, then it is also possible that there might have been some slight blurring due to this (note that I am not implying that Mark has any underlying health issues)
-
@deckingman Photos were taken with a Canon 50 mm macro lens on my Samsung NX500 camera, print held in a vise, camera on a short tripod, both on top of a pool table, 5 second timer used to let shake settle out, manual exposure - both shots at ISO 400, f11, 0.3 sec.
I think the difference in the angle of the print/lighting accounts for most of the miniscule difference in the appearance.
-
@mrehorstdmd Oh well done. I'm impressed! If I was in a pedantic mood, I would say that the angle of the parts in relation to the background shows some sort of positional difference between pictures. But I'm not in a pedantic mood, so I won't say that.
Edit. What I'm trying to say is that there may be differences in the photos, so your opinion based on your observations of the real objects, will be more valid than other peoples opinions based on the images.