Piezo20 probe and piezo kit now available
-
I'm writing up documentation for these new boards, does anyone know whether the inputs of the Duet are 5V tolerant?
Idris
Edit: Tuning instructions for the Z-probe v2 board are here https://www.dropbox.com/sh/3q38ew98kt7f8sq/AAB_uA6tQL2ETlGcnfdijm2Ra?dl=0, feedback would be very welcome, particularly from anyone whose using a v1 board.
-
Although they are fairly tolerant of over-voltage, the Duet inputs should not be fed more than 3.3V under normal operating conditions. If you power your interface board from the 3.3V supply provided on the Z probe connector, all will be well.
-
I thought that would be the case. The reason I ask is that I'm using a Smoothieboard which uses 5v IO. The board specifies 5v power so I'd hate for someone to give it 5v then plug it into the Duet and fry something. I don't have a 3.3v powersupply so I can't test the boards on 3.3v, nobody reported any problems with the v1 at 3.3v.
Idris
-
Moriquendi, I'm using your one-Piezo board at 3.3v on duetwifi with no issue.
-
Got my piezos today, a test fit is perfect, though I may need to get creative to insulate the edges of the copper from the retaining screws. I plan to use some nylon washers to insulate it from the mount plates, we'll see what I can come up with there.
I'll probably cut some small notches in the copper plate and put an insulator around the m3 screws.
Looking forward to getting the board from Moriquendi so I can try it out.
-
What are the chances of this sensor also being used as a crash sensor during prints?
-
What are the chances of this sensor also being used as a crash sensor during prints?
That depends on whether the sensor has any tendency to trigger during normal printing.
-
As most firmware does not look at the sensor other than when probing this does not normally create a problem. However, the LED on the piezo sensor boards on my 3D printers flash a lot during printing so there is signal to work with. If the amplifier put out an analogue signal instead of a logic one then perhaps the firmware could be set to look for error indicating values.
Mike
-
Well whether it's designed to or not it does put out an analogue signal. I can read from 216 to 1000 on the duet web control depending on rate of pressure change on the piezo. It's goes to around 500 during rapid moves or over rough previous layers. I set 600-700 as a trigger level for probing.
But even then what would we use as a stop trigger? 1000? Maybe a slowdown to half speed at 700 then gradual increase back to normal at the next layer? It would be interesting to develop as its not been done before that I am aware of.
700 equate to 15g of force on probing, I'll set 1000 (or 999) probing threshold and stick the scales under the nozzle.
-
I'm on holiday at the moment but when I get home I'll dig out the protoboard version of the circuit and have a look at the output of the differentiator section on an oscilloscope during a print. The output of the differentiator should be an analog signal proportional to, in my case, movement of the bed.
If anyone has access to a 'scope you're looking at either pin 1or pin 9 of the IC or the centre most end of either C1 or R3
Idris
-
So a bit of experimenting.
Set the probe to digital in config.g using
M558 P5 I1 F500 X0 Y0 Z0
G31 X0 Y0 Z0 P100And in this mode (I am using inverted setup for piezo board (active low), if you are using active high then remove I1) the G31 P100 is the debounce which filters the signal, so using this config I can probe at normal speed/jerk/accel which brings the probe performance into line with that on smoothieware, which has debounce parameter also.
However in this mode I think it would be less easy/not possible to use data from the probe for crash detection/quality improvement as discussed above by briangilbert, unless we take a feed from the pins Moriquendi suggested above and connect them to a spare analogue input on the duet. And then there is some coding required.
Here is it probing at normal speed:
https://youtu.be/MURqDTL9oVA -
Piezo endstops? Don't mind if I do
Idris
-
Idris How repeatable it it? I have a few of them 10.5mm ones now
Doug
-
I've only just got it together but it seems to be pretty good, not sure exactly how I'll measure repeatability but I'll have a look at it tomorrow.
Idris
-
I realise that in my excitement to show off the piezo endstops working I didn't actually show how they were working and how they were set up, I'll try to rectify that now.
Very simply I have a 10.5mm (also very thin, 0.2mm) piezo element centred below an 8mm hole in the mount, the head of the bolt in the carriage touches dead centre in the bottom of the piezo.
One of these at the top of each axis connects to the three channel endstop board. The sensitivity and threshold of each channel is linked so they all trigger at the same force.
I think I've reached the limits of rigidity of my printer as I'm not seeing any improvement in z-leveling. I think that DJdemonD's printer is rather more robust so hopefully when he gets round to playing with the board I sent him we'll get better data on accuracy and repeatability.
I've got six more of these endstop boards on their way from OSHpark and hopefully they'll be here within two weeks.
I'm still working on the best way to organise piezos as endstops and their signal conditioning requirements, I could use some feedback here.
One option I'm looking at is an integrated board that has a piezo soldered on as well as the signal conditioning circuit, you'd then need one of these per axis. The issue with this is that you wouldn't be able to tune them, or if you could you couldn't guarantee that they were all tuned the same, I don't know how much of a problem this would be. This is likely to be the simplest, mount it, plug it in and forget about it. the difficulty is I'd have to find tuning values that work reliably for everyone.
Option two is the same as one but the piezo mount part of the board can be snapped off and mounted separately, this gives more flexibility without having the have multiple board types.
Option three is what I have at the moment, one board handling three separate piezos, the issue here is that long wires may pick up interference and in the app note we're warned against long wires due to the capacitance affecting the strength of the signal. How long does the cable have to be before this is a problem, no idea, may need further investigation.
Opinions most welcome, or if you've got other ideas I'd love to hear them.
Idris
-
Wiki page http://reprap.org/wiki/Piezo-electric_sensors
Feel free to edit if you have the access or let me know if you want something changed.
-
That's actually very helpful, DjDemonD.
Made me realize I need to change my mount idea a little bit.
-
Idris - Haven't tried them yet, though I will. The first and second options sound good but, you/we will have to supply and pretest the piezo discs, the sensitivity etc shouldn't be a problem we'll just find the optimum for whichever Piezo can be reliably sourced into the future. Same as opto/IR sensor they're pre-calibrated.
Option 3 sounds less exciting but currently we all have long wires running to each endstop terminating at the controller. So it would be a case of using the same wires just terminating them at the 3-Piezo board which can be installed next to the controller. So that's less change for existing machines.
Just some thoughts which will probably change after I've tried them, I wondered about supporting the disc at one side and having my carriages hit the other side for maximum flex (and signal).
-
That's actually very helpful, DjDemonD.
Made me realize I need to change my mount idea a little bit.
Maybe but if it's not too difficult try it then change it if it doesn't work, as these things are very versatile, most designs work but some are slightly better signal to mechanical noise ratio. Let us know either way.
-
Will do. Trivial to change either way.