Welcome! Log In Create A New Profile

Advanced

Piezoelectric disks for Z contact detect and bed levelling

Posted by leadinglights 
Re: Piezoelectric disks for Z contact detect and bed levelling
April 18, 2019 02:57AM
Hi frankvdh,

I may yet take you up on your offer of help but at this moment I am pursuing a different goal. The aim is not to extract a good contact from a bad background but to show up when a bad background has made the integrity of a signal unreliable. The method I use on both the slope and the baseline is to do a version of a running average (Savitsky Golay) which does provide filtering but I then use MAD (Mean Absolute Deviation) to pick up that those two parts were close to straight lines. If the signal does not pass a few sequential tests then it needs to be repeated.

The example that a friend used to describe it is that LIGO uses sophisticated filtering methods extract a signal from two colliding black holes as it is hard to get the black holes to do it again. With a 3d printer we can clean the nozzle before re-probing or try again without a small child banging the table the printer is one etc..

Mike

Edited 1 time(s). Last edit at 04/18/2019 03:50AM by leadinglights.
Re: Piezoelectric disks for Z contact detect and bed levelling
May 14, 2019 05:00AM
I have been working on a modification of a piezoelectric bed leveling sensor and conditioner which is able to distinguish between a good nozzle contact and one made unreliable by virtue of plastic between the nozzle and the bed, dirt under the nozzle, external vibration and even loose glass plate on the print bed.It does this by distinguishing the signature of a good nozzle contact from a bad one: A good contact is shown by having a sharp onset followed by a very linear rise in output at a predictable rate.

Other useful features are that the contact speed can be less than 2mm per second and contact will be detected within less than 20µm. A secondary contact output shows that contact has occurred but may be unreliable - this contact being within 100µm. The secondary contact is to prevent bed damage in the result of a good contact not being received.

Although this will meet my own needs, it has become obvious that developing this to meet the needs of others will need a considerable investment in both time and money and this means that I will not be able to make it an open source project.

My question is, will there be sufficient interest to make the further development worth my while? Although I can't at the moment price the whole thing, I think that a target of "competitive" is very achievable - assuming that anything that sells in reasonable quantity such as BL Touch is the competition.

A bit of info on [reprap.org] and [reprap.org]

Mike
Re: Piezoelectric disks for Z contact detect and bed levelling
May 14, 2019 12:21PM
You have some kind of 350Hz'ish pick up on your ADC values leadinglights (going by your graph) which you for sure has noticed. Wonder what that is ?

If your piezo sensor leads aren't a twisted pair, then maybe try twisting them (or use screened lead), that super-imposed HF should then go away I'd have thought.

Anyway, good work, thank you for sharing !

Am just working out what the best way is to build in a piezo disc (I bought five 26mm (I think) disc's off ebay) into the hotend/extruder assy I'm currently doing. I'll be doing the same with a little CPU once I have it sorted out.

Edited 1 time(s). Last edit at 05/14/2019 12:22PM by Pippy.
Re: Piezoelectric disks for Z contact detect and bed levelling
May 15, 2019 12:04PM
@Pippy A somewhat similar noise is visible on the scope here [reprap.org] In the case of that trace it was the mechanical noise from the Z stepper motor. I assumend that this was the case with the 350Hz noise but it doesn't tie up with the stepper frequency. I can't investigate at the moment as I have dismantled the rig to use it for milling my new heated build stage but it is on my "wierd things to be checked" list.

For the circuit I have switched to a PIC16F1703 which has two useful Op-amps built in and enough mojo to do some fairly complex data processing. For piezo discs Murata are best but most of the Chinese ones are perfectly good although you should be aware that sometimes the polarity varies even within a batch

Mike
Re: Piezoelectric disks for Z contact detect and bed levelling
May 15, 2019 01:21PM
Have you considered something like a bandpass filter? A smallish circuit to attenuate unwanted frequencies to single out the desired frequencies so that you get fewer false positives? This is how glass break sensors for alarm systems work, a mic (Oh look, a piezo one!) is filtered to attenuate sounds outside of the frequency that glass breaking makes, so that it can very sensitively report when the window is broken.

You get a distincitve "sound" from nozzle contact with something solid, so you just need to pick up on those frequencies.

A bandpass filter can be done for a single channel with 24dB/octave with a single quad op-amp and supporting resistors and capacitors. This should get you a fairly narrow range of frequency to listen for, and ought to allow you to make the thing much more sensitive, without triggering false alarms, or at least let you know if you're getting good contact.


MBot3D Printer
MakerBot clone Kit from Amazon
Added heated bed.

Leadscrew self-built printer (in progress)
Duet Wifi, Precision Piezo parts
Re: Piezoelectric disks for Z contact detect and bed levelling
May 15, 2019 02:37PM
@SupraGuy,
A lot of work was done by many people on sensing the vibration from the contact but much of it was based on false assumptions. The piezo in almost all of the sucessful Z probes does not sense a vibration but a pressure change. the fact that the initial contact signal decays away through leakage in the element and amplifier is irrelevant as it has done its job by then. Similarly, trying to "tune" the circuit based on frequency is going to be so printer/hotend/bed specific that it will become unreliable if there is a change; for example, temperature causing a frequency drift.

My very early circuits even dispensed with a potentiometer to adjust for the trigger point but were dependant on the hardware of the sensor going from full pressure to no pressure within a short distance - see the firs post in this thread. My present circuit/software is sufficently immune to unwanted stimulus that it can even ignore one "British Standard Child Banging on Printer Table" of unwantedness.

Mike
Re: Piezoelectric disks for Z contact detect and bed levelling
May 16, 2019 06:19AM
Looking forward to seeing your final gubbings leadinglights !
Re: Piezoelectric disks for Z contact detect and bed levelling
June 11, 2019 04:00PM
Just reporting that I have been running some early tests in a "semi-real-world" situation that shows repeatability of well better than 0.5 gram at 2 grams of nozzle contact pressure.



10 microns of movement of the nozzle gives 0.60 Newtons ( say 62 grams or 2¼ ounce) of force in the middle of the bed.so 2 grams should equate to 0.067 micron. As my Z axis is 1mm/rev and ¼ step on a 1.8° stepper there is sledome even one step difference in trigger points.

Mike.
VDX
Re: Piezoelectric disks for Z contact detect and bed levelling
June 12, 2019 05:12AM
... are you interested in even finer resolutions and/or "non-contact" force measuring?

Developed some sensing methodes in my "active" time, when working in the micro/nanotech industry cool smiley


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Re: Piezoelectric disks for Z contact detect and bed levelling
June 12, 2019 07:38AM
Hi Viktor,

I am very interested in any possible technology for sensing in 3D printers. Finer resolutions are nice, but only insofar as a finer ultimate resolution will point to a likely better reliability.

At the moment I am convinced that piezo sensing is the best available technology but even it is imperfect as it doesn't lead itself to a sensor which can be strapped to any printer - as can the BLTouch or various non-contact sensors.
The most interesting of the non-contact types is using the nozzle as a capacitative probe: The non-linear relationship between distance and capacitance can be used to indicate an approach in the 10 microns region - the shape of the approach curve can likely even predict things like clean nozzle, hard plastic on the nozzle or soft plastic on the nozzle.

I look forward to hearing of other potential sensing technologies from you.

Mike
VDX
Re: Piezoelectric disks for Z contact detect and bed levelling
June 12, 2019 09:07AM
Hi Mike,

a pretty simple non-contact sensing can be achieved by a fine nozzle, blowing air, and measuring the pressure change inside the nozzle when moving toward a surface -- the pressure change rises nearly exponentially shortly before contact.

Another non-contact sensor can be done by focussing a beam of white(!) light with a lens with "high chromatic error" and a colour sensor nearby - with the colour aberation the spot area will be "more blue" in the top and "more red" in the bottom. This is used with the "Chrocodile"-Sensor

A simple but pretty precise and reliable "contact" sensing can be done by fixing a piezo buzzer to the nozzle and a microphone to the bed (or the other way around).

Made some others too with different methodes, but cold be too complex for common use ...


*** EDIT ***
- for the "Chrocodile"-sensor - this is best done with a fiber bundle, where the "feedback sensor"-fiber is in the middle and the light-emitting fibers arranged concentrically around - have some "image-feeding" fiber-bundles with 3000 or 10000 parallel fibers with bundle diameter of up to 1mm, where a 0.2mm fiber can be placed in the middle of the light entry end, so it will receive the reflection from the sensor-end ... and around the 0.2mm fiber there is enough place/volume to feed the white light through.

This could be used even without a chroma sensor - fix a short FL lens to the sensor end and measure the reflected brightness - when the focus is exactly on the surface, the reflection is stronger ... above or below it will weaken ...

Edited 2 time(s). Last edit at 06/12/2019 09:20AM by VDX.


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Re: Piezoelectric disks for Z contact detect and bed levelling
June 12, 2019 10:42AM
I have actually tried the pressure drop method when deployable microswitches were the only common hight sensors used on RepRaps. I used a small nozzle of 2mm diameter feeding cooling air into a larger tubewith a 10mm diameter opening at the build stage end - when the area of the gap was less than the 2mm nozzle the pressure rose rapidly. The outer tube was lowered and the pressure for the sensing nozzle were both taken from the "near field cooling" air from an aquarium pump.

The Chrocodile sensor is very intriguing. I have come across confocal distance sensing before but with two different color light sources - deliberately using chromatic aberation is genius.

My trials with a piezo buzzer were not succesful as I was not able to make it insensitive to noise pickup. Although I never tried a fixed frequency and narrow band filter I abbandoned this as I thought it likely that getting a good noise immunity would probably mean that getting a confirmed signal would take several milliseconds and give a poor sensitivity.

On my trials of the new piezo sensor I have found that the difference between a nozzle contact on the aluminium of the bed and a bed with 130 micron thick overhead projector transparancy film is clearly picked up. This bodes well for the detection of dirty nozzles.

Mike
VDX
Re: Piezoelectric disks for Z contact detect and bed levelling
June 12, 2019 11:25AM
... for the sonic contact measuring you should optimize it to solely "structure-borne sound" (? - in German "Körperschall") - so the sound transmitted trough air is negligible, but instantly sensed with contact ...


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Re: Piezoelectric disks for Z contact detect and bed levelling
October 03, 2019 06:45AM
I thought that I would just update you on the progress of my new piezoelectric controller. The controller is one that gives two signals to the controlling device (Arduino, Duet etc..) One signal is to show that a nozzle contact has been seen while the other signal shows that the signal is good - not noise or contamination on the nozzle.
The latest software and hardware working, although showing that more work is needed. The circuit and program are very sensitive to a good bed contact, responding in 4ms and about 15µm of travel after the nozzle first touches the bed. It also detects plastic on the nozzle which I simulated with a 0.25mm rubber gasket. Although it rejects some mechanical noise, such as most finger taps on the bed or dropping 8mm balls on the bed, it can be fooled with careful finger taps. Worse though is that detects noise through the workbench and frame. This was most unexpected as it 100% immune to rattling from the end of an X or Y movement or the beginning of the Z probe down move.

I am presently rewriting the software to modify the windows that a contact event must be within to improve this. Hopefully, I can beat the noise through the workbench problem as I can see what it is doing. It may be more difficult to beat the calibrated finger tap though.

I have put the hardware on [circuitmaker.com] but because circuitmaker is less common than say Eagle, I have the circuit diagram below. I will put Gerber and NC files on the same site once the latest changes have been done (improved EMC and test points)







Software is on [github.com]

Beware though, the software is written in Microchip assembler both for speed and because I prefer it to high-level languages. I am given to understand that assembly language causes terror in the unwary and may cause brain rot.

I will not be pursuing this beyond the point where it works to my satisfaction so anybody who wants to copy is most welcome. MIT license applies so even commercial as long as attribution is given.

Mike
Re: Piezoelectric disks for Z contact detect and bed levelling
October 12, 2019 03:12PM
After a lot of testing, I have found that this conditioner works acceptably well for my printer. Having said that, it does seem that the recognition of the nice linear ramp will not give a universal conditioner that needs no adjustment. The signal to show that a contact event is or is not good will have to have some provision for adjustment. The things that have made ramp recognition less reliable than hoped for include a bounce in the signal [reprap.org] and greater than expected compliance at the corners of the build stage and variability between piezos.

Originally I had designed in some communication (I2C) between the conditioner and the controller (RAMPS/Arduino etc..) to effect adjustments but my excitement about how well a nozzle contact ramp is recognized led me to hope that no adjustment would be needed.

Present plans are to ignore the printer controller altogether for adjustments, doing them instead with a PC or laptop by way of the original I2C pins and a USB to I2C module such as this [www.robot-electronics.co.uk]

Mike

Edited 1 time(s). Last edit at 10/12/2019 03:14PM by leadinglights.
Re: Piezoelectric disks for Z contact detect and bed levelling
November 16, 2019 12:37PM
I received a flurry of PMs and emails a few days ago asking what progress there had been on the new piezo conditioner circuit so this is a report on the present status. There is some good news and some not so good news first.
The reliability and sensitivity remain good and new techniques have been introduced that help to reduce false "good nozzle contact" signals. Other good news is that it is looking more possible to discriminate particular reasons for reporting a bad contact event, in particular, the signal from a dirty nozzle should be detectable.
Principal bad news is that the goal of not needing to be tuned seems to be becoming more remote. A Delta printer with 3 underbed sensors mounted to a solid platform can likely be tuned by nothing more than selecting the Z probe speed. Mounting geometries for square beds on cartesian printers, particularly those with 3 point mounting are less tunable. 4 point mounting is ugly and prone to maladjustment, but may also not need tuning.
The problem here comes in two parts, The movement of the bed under the force of the nozzle is more than expected on the corner and, even at speeds as low as 2mm/sec, the plate bounces back giving rise to a hump in the contact response. The effect is shown in the attached diagram although this is not in the corner (even more messy) but about 2/3 of the way to the corner.



The upshot of all of this is that since the hump is dependent on the mass and the elasticity of the bed and other mechanical parts, controllers based on this will need tuning. If the bed is predictable then it should need no tuning and is almost a replacement for a microswitch - albeit with additional dirty nozzle detection.

Mike
Re: Piezoelectric disks for Z contact detect and bed levelling
January 17, 2020 10:58AM
Hi Mike!
Shall I tune asm code or at least some defines for the piezo sensor type ? or do you have some kind of calibration proc ?
Re: Piezoelectric disks for Z contact detect and bed levelling
January 17, 2020 02:43PM
Hi b0ba,
This project is going quite badly at the moment: I must have been psychic with the earlier comment about the bed being predictable - one of my printers is showing that this may be is a problem. There is a bit of a write-up in [reprap.org] In short, it is possible to get the sort of accuracy and predictability that would allow very accurate sensing directly over the sensors as long as they are a matched set. away from the sensors and with miss-matched piezos it becomes a bit messy and a drop-in "microswitch replacement" is unlikely.

I have not given up completely though and will be converting my Delta printer to use the MCU conditioner hopefully in the near future. A good feature that has not gone away is that it is very good at detecting plastic on the nozzle - even the difference between contact with the metal of the bed and with a Kapton layer is easy to spot.

So as far as the software goes, it is a bit out of date and I will need to do some serious updating. Watch this space but don't expect anything for a couple of weeks as I am trying to get some of the other parts of my new printer working.

Mike
Re: Piezoelectric disks for Z contact detect and bed levelling
January 17, 2020 03:33PM
Thanks Mike for the fast and advanced answer. I am looking right now z-probe solution for my Delta robot and found your idea very innovative. Typical solution has different kind of analog comparators with piezo sensor. Do you have under the bed sensors or solution like this [www.thingiverse.com] ?
Anyway, I would like to order PCBs in China and try. I am not sure only how is sensitive your source code for mechanical part of solution. Asm for this kind of controllers is not my key skill.
Looking forward for your progress.
EDIT: understand, you have under bed sensors. May be your solution will work better for the extruder mounted sensor.

Edited 1 time(s). Last edit at 01/19/2020 06:52AM by b0ba.
Re: Piezoelectric disks for Z contact detect and bed levelling
April 07, 2020 12:30AM
Mike, I know you have been busy with other projects but I'm curious if you have done any more on the piezo.controller. I'm at frustration city with my orion e3dv6 on a cartesian. I'm not ready to quit on it but I see where others have gone down a very deep rabbit hole with their piezo's with some having success and others giving up in frustration. Having tried the things that others have tried such as jens53 in the big piezo thread with no real success I feel that to get good repeatable results with a hotend based piezo probe requires more signal conditioning options and possibly an improved piezo mount. This is an opinion only since I'm not an expert. I have been playing around with these piezo sensors for about a year now and have had some success with under bed sensing but I would like a reliable hot end piezo . I love the piezo concept but hope and wish for a solution that is closer to plug and play, but that may not be possible.
Thanks
Re: Piezoelectric disks for Z contact detect and bed levelling
April 20, 2020 05:10AM
Hi luckyflyer,
I am sorry that I have taken so long to respond but things have been difficult lately.
I have not made much progress with the controller as I have not found any way to reliably get around the dynamic behaviour of under-bed sensors I do not think they are a good solution for DIY. I did some experiments on my Delta printer where I moved one of the 3 sensors only 30mm from its original position and found that the trip force increased from about 10 grams to nearly 50 grams - and this varied with nozzle (Z) speed.

I have done some initial investigation with a view to making a very small piezo sensor which would be part of the printer hot-end. This would be based on a purpose-made piezo and would completely replace the hot-end mount - instead of being an intermediate adaptor. The design would not be easily made by DIYers and makers but the intention was to have them made in quantity (in China) and built into hot-ends by the hot-end manufacturer. This would make it principally a commercial item although likely could be fitted by competent makers. Unfortunately, the turmoil that the world is in means that communications and supply chains have been a bit fractured and I don't know if and when I will look at this again.

Mike.
Re: Piezoelectric disks for Z contact detect and bed levelling
February 11, 2021 06:25AM
Short version for those for whom “Too long: did not read” is a mantra:
I am looking for suggestions for how to get software changes and any other comments or thoughts on my two-headed printer bed leveling method. Video at [www.youtube.com] and pictures below



Some years ago I became convinced that undebed piezoelectric sensors were the best technology for bed leveling in an FFF printer. In particular, the underbed piezos in my Delta printer were, and remain, completely reliable. Two other printers, both loosely based on the early Prusa Mendel design, had underbed piezos of the same design which were mostly reliable, though not bulletproof: I thought that the occasional less than sparkling result was down to the lack of rigidity of the unbraced sides of the design.

With my newest printer, I placed three underbed sensors well inboard from the edges. This was because the design of the bed gave only limited space for the placement of the sensors. It was only when I fully characterized the behavior of the sensors across the whole of the bed that I realized that there was a dynamic problem that gave rise to areas of insensitivity and that these areas were pretty much unpredictable – they also ended any hopes of getting the very accurate bed leveling that had been almost within my grasp. The effect was much like I imagine an early test pilot felt when he discovered that if he increased the angle of attack beyond a certain point that the aircraft would stall and he would plunge to his death.

In the intervening year, progress has been somewhat spasmodic until recently when I have started to get some very good results. The present approach is that there is only one underbed sensor plus one contact sensor mounted near the nozzles. The first nozzle is brought directly above the underbed sensor and a G30 probing operation called. The printing heads are then swapped and the G30 probing operation repeated and the Z distances for each is stored. Then both heads are withdrawn to a halfway position and the bed moved so that the contact sensor is directly above the same point that had just been checked with the nozzles. A third G30 operation is performed to obtain the offset at that point, followed by a G32, also using the contact sensor to obtain a leveling plane.

There is an added complexity in that the underbed sensor and the contact sensor have different outputs, presently wired to a RAMPS board with the underbed sensor being connected to the Z-Min limit switch pin and the contact sensor being connected to the X-Max pin.

Along with the added complexity though, there are some added benefits. The underbed sensor is able to determine if the nozzle has any plastic on the tip which would render a probing operation unreliable. Both of the probes can check that the baseline immediately before the probing operation is flat, not drifting with temperature changes, and is also free of mechanical or electrical noise. This last item can replace the normal necessity of having a delay immediately before the probing operation to allow the XY movement artifacts to die away. The outputs will require additional inputs to the host computer.

Where to next on this project depends on if I can get some features incorporated into one or more of the various firmwares that run on Arduino/RAMPS combinations. The main one is that two distinctly separate inputs to the host are needed for the probing with the nozzles and with the touch sensor. Also nice would be two more inputs, one to suppress probing until after the XY shaking has died away, ane one for the detection of plastic on the nozzle.

Mike
Re: Piezoelectric disks for Z contact detect and bed levelling
August 29, 2022 02:15PM
O.K., I seem to have gone cold turkey for a couple of months now, and, like many before me, I have kicked the RepRap habit: Perhaps now I will be able to sit on the sofa watching TV like any normal person, not dashing out to the workshop to take a measurement or print some new widget. Before I put on a recorded episode of "Drop the Dead Donkey" and break out the good biscuits, I think I should summarize the last project (or "fix" as we addicts call it) that I was working on - the limits of reliability of underbed sensors.

The main takeaway from a lot of research and experimentation that I have done is that the use of underbed sensors to map the flatness of a 3D printer bed is inherently unreliable. While it is possible to have a combination of bed, sensor(s) and mountings that is reliable, any change in any of the parts can result in unpredictable performance - possibly to the point of unusability.

A fairly recent set of tests was with a couple of sensors supplied to me by rq3. These tests showed a variation in initial nozzle contact to detection of contact from 12 microns to 50 microns with the sensor mounted dead centre and the nozzle making contact at each 10mm point on a 180mm square bed. While these figures are very acceptable, this is for a small, very well mounted bed and sensor. It is safe to say that larger and more flexible beds would give figures which are not acceptable.

Multi-sensor setups also have their own version of this dynamic problems along with sensor sensitivity matching - there is a lot of info on three sensor setups earlier in this thread and also on [reprap.org]

In summary, while underbed sensors can work quite well, there are too many variables that make success unpredictable for new setups which do not closely copy known working ones. This does not only apply to piezoelectric sensors, but also to FSRs, strain gauges, and even microswitches.

I shall now retire to a position of a once-a-month lurker.

Mike
VDX
Re: Piezoelectric disks for Z contact detect and bed levelling
August 29, 2022 03:18PM
... yes, RepRap is grown pretty "old" now (or better "matured") -- could be par with the oldest forums/communities in the web (or is it maybe?) - but still alife! smileys with beer

I'm normally "swooping" several times a day through all of my forums (here mostly for "maintaining" like removing spam or approving posts or new users).

But my interests too are somehow "distracted" to more modern areas, like high power lasers, material processing and such ... something of them related to 3D-printing too smoking smiley

Edited 2 time(s). Last edit at 08/29/2022 03:20PM by VDX.


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
rq3
Re: Piezoelectric disks for Z contact detect and bed levelling
August 29, 2022 06:13PM
Quote
leadinglights
O.K., I seem to have gone cold turkey for a couple of months now, and, like many before me, I have kicked the RepRap habit: Perhaps now I will be able to sit on the sofa watching TV like any normal person, not dashing out to the workshop to take a measurement or print some new widget. Before I put on a recorded episode of "Drop the Dead Donkey" and break out the good biscuits, I think I should summarize the last project (or "fix" as we addicts call it) that I was working on - the limits of reliability of underbed sensors.

The main takeaway from a lot of research and experimentation that I have done is that the use of underbed sensors to map the flatness of a 3D printer bed is inherently unreliable. While it is possible to have a combination of bed, sensor(s) and mountings that is reliable, any change in any of the parts can result in unpredictable performance - possibly to the point of unusability.

A fairly recent set of tests was with a couple of sensors supplied to me by rq3. These tests showed a variation in initial nozzle contact to detection of contact from 12 microns to 50 microns with the sensor mounted dead centre and the nozzle making contact at each 10mm point on a 180mm square bed. While these figures are very acceptable, this is for a small, very well mounted bed and sensor. It is safe to say that larger and more flexible beds would give figures which are not acceptable.

Multi-sensor setups also have their own version of this dynamic problems along with sensor sensitivity matching - there is a lot of info on three sensor setups earlier in this thread and also on [reprap.org]

In summary, while underbed sensors can work quite well, there are too many variables that make success unpredictable for new setups which do not closely copy known working ones. This does not only apply to piezoelectric sensors, but also to FSRs, strain gauges, and even microswitches.

I shall now retire to a position of a once-a-month lurker.

Mike

Mike, that's because you're stuck on using the piezo as an accelerometer, or microphone. We've discussed this before. I use one jerk detector (NOT acceleration detector) under the bed of my delta for probe repeatabilty, delta calibration, and bed leveling. It's sensitive to nanometers, so it can and does detect nozzle or bed contamination. Cleanliness and temperature stability is on the user. I typically get a standard deviation of 0.000000 on an M48 repeatability test, and a delta calibration sigma of better than 0.003.

About a dozen folks have replicated my design, report similar results, and that it works better than any other probe on various CoreXY, Prusa's, and other bed slingers. No moving parts, levers, springs, multiple sensors, and it works on any bed.

I suspect that you may be chasing Marlin or RRF artifacts, rather than real sensor performance? I know for a fact that there are still issues with Marlin's kinematics when you get to the micron level.
Attachments:
open | download - TAP-20.zip (369.9 KB)
Re: Piezoelectric disks for Z contact detect and bed levelling
August 30, 2022 05:56AM
The problem is not repeatability. I can confirm repeatability for your sensor in the order of 3 microns or better. The problem is whether the reported contact is accurate.
I use a contact plate and dummy nozzle, both plated with silver, and cleaned every 5 or 6 contact operations to determine where contact occurs. A high impedance amplifier and a source voltage of only 1.5V reports contact very accurately indeed. Whatever sensor is being tested will report the contact a short time after the physical contact - I record the time between contact and the sensor responding with an oscilloscope. The distance traveled by the nozzle in the time is what I am reporting as the error
You do say that cleanliness does have an effect, but this will give rise to delays in the signal and hence a lower nozzle position when the contact is reported. The delays can be softness of contact (cleanliness) but also by:-

  • Attenuation is caused by XY distance between nozzle and sensor - that is, the speed of sound for a transverse wave in the bed.
  • Attenuation is also caused by the sensor being closer to a clamping point than the nozzle. - equivalent to being a lever.
  • Most importantly, the interplay between the harmonics on the bed - potentially this may cause a contact not to be reported at all - like the spot on a railway station where you can't hear the announcements.


Very simply, comparing the plate with a guitar string, if the sensor is where it is shown on the drawing above and the string is plucked at position 'B', the sensor would see a reduced signal from the red line.

Mike

p.s., I knew I shouldn't have looked at the forum so soon after having earned my two-month abstention badge.
Re: Piezoelectric disks for Z contact detect and bed levelling
October 26, 2022 01:53PM
Hmm, I seem to have made it for nearly two months since my last posting - perhaps I am nearly cured of my RepRap addicition.

While archiving some old pictures that I had taken I found some that I had never published which shows that I did indeed "do the work" of investigating the response of the TAP sensors. In the picture below I have suspended a 4mm float glass bed over the existing bed of one of my printers. The glass bed is supported at four positions and there are three different positions where the TAP sensor can be connected.



The result of the tests was that the TAP sensor gave a signal output between 12 microns after the nozzle touched the plate when probed directly above the TAP sensor, and about 50 microns when the nozzle probed directly above one of the mountings. The probing across the whole surface did not give any consistent pattern but fell between the limits.

The best place for the sensor seemed to be on a line between the middle of the bed and about 1/3 of the way to one corner.

I admit that using a plain 4mm glass bed is a bit sucky, but that was the idea. If I had made the bed to the highest standards instead of using the assumptions that newbie builders may use then I would have proven very little.

So I stick with what I have said. While it is possible to use underbed sensors for bed leveling, the dynamic behavior is so unpredictable that it should be avoided.

Mike
rq3
Re: Piezoelectric disks for Z contact detect and bed levelling
October 27, 2022 07:24PM
Attached is a 5 micron thick, 30 cm diameter PLA film printed on my delta after Marlin 2.1.2 delta calibration and UBL leveling with my TAP-100 jerk sensor firmly adhered under the center of the textured borosilicate bed. Being too impatient to let the bed cool, the edges tore a bit peeling it off, but at 5 microns, I'm not complaining.

It's the only sensor I use, and has been for well over a year. If the standard deviation of an M48 repeatability test isn't 0.000000, then there is a small blob on the nozzle, or a large bacterium on the bed. And no moving parts, nothing to deploy or disconnect. It's just always ready to go when needed.

So at least there is one piezo sensor that works, and very well at that.
Attachments:
open | download - Film.jpg (121.7 KB)
Re: Piezoelectric disks for Z contact detect and bed levelling
November 18, 2022 10:01AM
I notice that somebody else has decided that separating the automatic setting of bed height and bed mapping is a good idea: Video by LoganLuckLess at [www.youtube.com]

I also see that the Bambu Lab X1 uses under-bed piezo sensors and a LiDAR sensor as part of what they call "Dual-ABL Dissimilar Redundancy" [bambulab.com]

Another commercial printer using piezoelectric sensors is BCN3D. Article at [www.bcn3d.com]

Mike
Sorry, only registered users may post in this forum.

Click here to login