vlachoudis / bCNC

GRBL CNC command sender, autoleveler and g-code editor
GNU General Public License v2.0
1.58k stars 534 forks source link

Autoleveling/Digitizing does not need to go all the way to the safe Z every time #956

Open Harvie opened 6 years ago

Harvie commented 6 years ago

It's possible to speed the 3D probing by big time, if you don't go to safe Z between measuring points. However you still need to move using probe, so you don't crash.

https://www.youtube.com/watch?v=LvSeUWyTnCU

walterwissmann commented 6 years ago

Yes it is wery nice! And nicer with this: https://www.youtube.com/watch?v=4a44KysPykg

Harvie commented 6 years ago

@walterwissmann impressive build for DIY project. However bCNC should work with whatever hardware you have.

walterwissmann commented 6 years ago

Yes. The mosts have a digitizer under the spindelmotor. But my thoughts are around the rotating mechanics as in the example video of me...

bCNC should have a function to take into account that the digitizer can be mounted to another position. Similar to the 'Probe Camera Alignment'...

Here a cheap digitizer for testing (Sorry in German, but scroll down and see the foto's)

MARIOBASZ commented 6 years ago

Can you use an optical sensor like the CNY70 or another, and then not raise Z between one point and another?

walterwissmann commented 6 years ago

@MARIOBASZ: For me it is not a problem to design a optical Sensor for scanning... Can you generate the program code for scanning?

Harvie commented 6 years ago

@MARIOBASZ There is no need for aditional sensor, because you already have probe, which can be used even in XY movements. This can be done purely in software (see the first video, they only use regular probe). @walterwissmann Having two sensors is overcomplicated, but it would be very cool if you could use optical sensor ONLY instead of touch probe. But i've been doing some tests and i didn't manage to come up with something precise enough... It's hard to focus optical sensors to tiny spot (eg. 0.1mm) in way that it would not be affected by ambient light, reflectiveness of probed part and surrounding shapes.

walterwissmann commented 6 years ago

Now @Harvie We have found, that is not a problem for the physical hardware to scan anything else ;-) Optical Sensor or a mechanical switch is not the problem... The Problem is: have bCNC the program code... ;-)

MARIOBASZ commented 6 years ago

My idea was a single probe. When using autolevel for pcb, going up and down requires a lot of time. I do not know how to program it, but my idea is this: if you can acquire the distance Z from an optical sensor or another type for each determined XY, that process would be optimized and much. Such a product would be valued commercially. If the solution is novel, patentable. Considerations: 1- For Pcb, with a small range it could be enough (few millimeters) 2-Can you achieve good precision and linearity or function between measured distance and voltage? 3- The interference problem of light I have the idea of how to solve it

walterwissmann commented 6 years ago

@MARIOBASZ Laser DistanceSensor, TypicalResolution 0,04mm : https://www.sensopart.com/en/products/distance-sensors/distance-sensors/ft-50-rla-20-f-l4s.html

Harvie commented 6 years ago

@walterwissmann i've been looking at these sensors. correct me if i am wrong, but i think that the 0.04 resolution applies when the sensor is moving towards the flat surface with constant reflectivity (eg. distance from sensor to the wall). you can't use it to scan shapes with complex details (eg. coins), because the cone of light used to measure is not focused to single tiny spot.

Harvie commented 6 years ago

This is more hardware issue than bCNC's. But when we're at it, i've just filled issue at grbl, which might enable more complex sensor setups: https://github.com/grbl/grbl/issues/1433

walterwissmann commented 6 years ago

@MARIOBASZ Yes, i am thinking also... The DataSheet sayed: Size of light spot : < 1 mm at 50 mm For a PCB it should be enough... The Price: 399,-€ :-(

MARIOBASZ commented 6 years ago

I thought of something like CNY70. Maybe it's better VL5310 or VL6180

Harvie commented 6 years ago

@MARIOBASZ i've been already looking on these exactly. also i was thinking about attaching optical fiber to CNY70, so i can direct the light to the tiny tip. I've been trying this approach, i've cleaved fiber and i've been shining the laser into it and watching for reflection that goes back to the fiber from probed surface, but i've found that it's not focused enough to be precise. Maybe some lenses might make this work. dunno.

walterwissmann commented 6 years ago

Hmm, @MARIOBASZ and @Harvie should we discuss this on an other Place...?

MARIOBASZ commented 6 years ago

@ HARVIE, witty thought, I am reasoning by another way.