non-squareness compensation

314 views
Skip to first unread message

Sebastian Pichelhofer

unread,
Feb 11, 2017, 12:10:02 PM2/11/17
to ope...@googlegroups.com
I pushed a small code commit (https://github.com/openpnp/openpnp/pull/446) yesterday and added a wiki section about non-squareness compensation with the GCode Driver today. (https://github.com/openpnp/openpnp/wiki/GcodeDriver#user-content-non-squareness-compensation).

With the liteplacer this made a significant difference. I would be interested to know if your machines are all perfect squares or if you had issues before.

Regards Sebastian


Cri S

unread,
Feb 11, 2017, 2:19:33 PM2/11/17
to OpenPnP
I have it square. Even if machine is not square, this get corrected automatically thanks to fiducial code and manual feeder/camera position setup. As nozzle offsets are checked using camera and flour even if Z axis is not 90 deg , only controllable using laser pointer, even that cancels out. Legacy strip feeder code have the option to correct pick position on every pick in case . the only limitation is, error must be lesser or equal 3mm for 220x160 mm PCB, that is plenty room for allowed missaligment.

Sebastian Pichelhofer

unread,
Feb 11, 2017, 3:50:01 PM2/11/17
to ope...@googlegroups.com
On Sat, Feb 11, 2017 at 8:19 PM, Cri S <phon...@gmail.com> wrote:
I have it square. Even if machine is not square, this get corrected automatically thanks to fiducial code and manual feeder/camera position setup.

I actually noticed the problem because my fiducials would be recognized correctly during the fid measurement run but had a significant error offset afterwards when moving the camera to FIDs manually. This was already noticeable with boards around 60mm height. My machines non-squareness factor is 0.006

Regards Sebastian

 
As nozzle offsets are checked using camera and flour even if Z axis is not 90 deg , only controllable using laser pointer, even that cancels out. Legacy strip feeder code have the option to correct pick position on every pick in case . the only limitation is, error must be lesser or equal 3mm for 220x160 mm PCB,  that is plenty room for allowed missaligment.

--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+unsubscribe@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/9b66a725-4b79-4af7-a4b2-e79eac88a6c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Lisandro B

unread,
Feb 11, 2017, 6:03:35 PM2/11/17
to OpenPnP
This is a great feature that will allow people on cheap machines and/or built without experience to work properly
Also, on big machines, like mine 600*600mm it is a lot of work to square perfectly. I have done it, but lots of hours

Jason von Nieda

unread,
Feb 12, 2017, 9:28:55 AM2/12/17
to OpenPnP
Nice work Sebastian! Thank you for this contribution!

Jason


On Sat, Feb 11, 2017 at 5:03 PM 'Lisandro B' via OpenPnP <ope...@googlegroups.com> wrote:
This is a great feature that will allow people on cheap machines and/or built without experience to work properly
Also,  on big machines, like mine 600*600mm it is a lot of work to square perfectly.  I have done it,  but lots of hours

--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.

To post to this group, send email to ope...@googlegroups.com.

Morteza Kh.n

unread,
Feb 14, 2017, 10:19:28 AM2/14/17
to OpenPnP

Greetings,

Where can I find GcodeDriver.java in a windows machine?

Jason von Nieda

unread,
Feb 14, 2017, 10:22:47 AM2/14/17
to OpenPnP
Hi Morteza,

Are you looking for the source code, or do you just want to use GcodeDriver? If you want the source code you have to clone that from Github at https://github.com/openpnp/openpnp. There is more information about getting started with development at https://github.com/openpnp/openpnp/wiki/Developers-Guide.

If you just want to use GcodeDriver with your machine, it's already included in the download. Just select GcodeDriver in the driver selection dropdown: https://github.com/openpnp/openpnp/wiki/Setup-and-Calibration%3A-Driver-Setup

Jason




On Tue, Feb 14, 2017 at 9:19 AM Morteza Kh.n <morte...@gmail.com> wrote:

Greetings,

Where can I find GcodeDriver.java in a windows machine?

--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.

Zeljko Zed

unread,
Feb 14, 2017, 11:05:33 AM2/14/17
to OpenPnP
Hi,

I have plan to make first start of my machine next days. X,Y travel is about 600x600mm and I am little afraid that's not in square. After read this post  I think that this possibility is excellent. Please help me to understand where I must exactly enter formula for non square (and exactly which form of formula). I read carefully from this page: https://github.com/openpnp/openpnp/wiki/GcodeDriver#user-content-non-squareness-compensation   
and point 5. is not clear for me... is that from g-code control panel MOVE_TO_COMMAND or...? 

Thank you

Zeljko

Jason von Nieda

unread,
Feb 14, 2017, 11:15:21 AM2/14/17
to ope...@googlegroups.com
Hi Zeljko,

In step 4 you should come up with a mm measurement. You are measuring the distance from the line. If you come up with 0.5mm and you moved 100mm along Y before measuring then you calculate 0.5mm / 100mm = 0.005 and you enter 0.005 here:

Screen Shot 2017-02-14 at 10.12.51 AM.png

Jason


--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.

Zeljko Zed

unread,
Feb 14, 2017, 11:27:40 AM2/14/17
to OpenPnP
"From the forest I can not see the wood" it is so clear,  I can't see this... OMG.

THANK YOU and I'm sorry to bother you...

Zeljko

On Saturday, February 11, 2017 at 6:10:02 PM UTC+1, Sebastian Pichelhofer wrote:

Jason von Nieda

unread,
Feb 14, 2017, 11:28:41 AM2/14/17
to OpenPnP
It's no bother at all. Good luck! :)

Jason


--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.

Lisandro B

unread,
Feb 14, 2017, 1:46:14 PM2/14/17
to OpenPnP
The awesomeness this software finds no limits
Reply all
Reply to author
Forward
0 new messages