CNC Machine displacement error

More
06 Mar 2019 00:00 #127839 by giantstone
CNC Machine displacement error was created by giantstone
Hi, the cnc machine i built does not move exactly the distance it's commanded to move.
It's XYZA, 4 axis cnc machine (milling machine config) , and the issue is the Y axis.
I'm using AC servo motors with 5:1 speed gear, controlled in position mode.
the controller board is LPT-CNC-H parllel board ( AL-ZARD, 2013) , which is very cheap, only 14 US$.
Linuxcnc version is 2.7.12

The puzzle is, under python interface,Y axis moves to the exact location, whereas in gcode auto-run mode,
it does not.

and, straight line movement commands tend to have different error scale with arc movement commands,
also different error scales for forward movement and for backward movement.

to solve the issue, I performed many tests to find the correct offsets for straight line movement and for arc movement respectively,

I wonder if someone could hint me about the underlying reason that's causing the issue,
so that i can solve the issue once and for all.

Also, I'm planning to upgrade my controller board, is there any recommendation for a parellel controller board, 4 axis. ?

Please Log in or Create an account to join the conversation.

More
06 Mar 2019 01:27 #127845 by giantstone
Replied by giantstone on topic CNC Machine displacement error
the error scale is different for different arc-radius,
i'm guessing acceleration-deceleration is a factor to the error, but I don't know how to cope with this error.

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
06 Mar 2019 01:47 #127848 by tommylight
Replied by tommylight on topic CNC Machine displacement error

the controller board is LPT-CNC-H parllel board ( AL-ZARD, 2013) , which is very cheap, only 14 US$.

Honestly, get rid of it ! They tend to be so slow and unreliable i just stopped using them and wire everything directly to parallel port.
Servo drives have isolated inputs, VFD has isolated inputs, so why bother with a BOB ?
Hell, i have plenty of plasma cutters with no BOB, i just add relays to the inputs for isolation.

Please Log in or Create an account to join the conversation.

More
06 Mar 2019 02:11 #127851 by giantstone
Replied by giantstone on topic CNC Machine displacement error
so, for example, relay the signal from the parellel port via a ULN2803APG with a 5V power supply to the motor driver, let me have a try =)

Please Log in or Create an account to join the conversation.

More
06 Mar 2019 02:55 #127858 by giantstone
Replied by giantstone on topic CNC Machine displacement error
by checking the test data, the error scale is very consistent in each different case,
thus i suppose the error is due to physical intrinsic attributes of the machine, instead of the controller board.
a photo of the machine is attached. the machine has two layers, the bottom layer has a sponge covered upon it.

right now the upper layer and bottom layer share the same motor scale config although the bottom layer has radius larger than the upper layer due to the sponge. During operation, the two layers squeeze together and move coordinatedly.
Attachments:

Please Log in or Create an account to join the conversation.

More
06 Mar 2019 07:45 #127866 by pl7i92
Replied by pl7i92 on topic CNC Machine displacement error
the layers are not equal in Thickness as the Sponche can squeeze
youmay consider 2 ROT encoders to the moving Band to get a feedback of movement

Please Log in or Create an account to join the conversation.

More
06 Mar 2019 14:21 #127886 by Mike_Eitel
Replied by Mike_Eitel on topic CNC Machine displacement error
Do I guess correct that your axis with the green "belt" is the one that gives you an error?
If you do not measure the real surface, I'm confinced that you will never get it precise.
One effect/reason is called trum ( in German... No chance to translate to English as word always replaced by a.....) other are thickness error, slipping, tention changes...

The only way would be some kind of roller, but that will have a slight slop or you go the marking way. Means you identify position on belt by either magnetic or optic strip.

I did a lot in that Metier when industrialized the digitran digital printing process. ( nope, not Kammann; they only bought the rest after we got broke)
Mike

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
06 Mar 2019 23:18 #127923 by tommylight
Replied by tommylight on topic CNC Machine displacement error
Circumference of a round is 2RPi or DPi i.e.
you have a round shape that is 100mm in diameter, multiply that by Pi or 3.1415 and you get the distance of the surface of that round, so 314.15mm
You need to do some math there to have the spin at the same speed.
Or do you intentionally need them to be separated and at different speeds ? I can not think of any idea why.

Please Log in or Create an account to join the conversation.

More
07 Mar 2019 02:45 #127940 by giantstone
Replied by giantstone on topic CNC Machine displacement error
i believe you made a great point,
the motor spin speed should always be the same for both the upper and the bottom layer.

That's probably why I'm having a error when ploting arc/circles using G02, G03 commands. I set the bottom layer Y axis, and the upper layer B axis, probably, G02/G03 only coordinates Y axis with X axis, thus B axis moves independently.

So, if there is a simple way to make G02 commands treat B-axis the same as Y-axis.

Please Log in or Create an account to join the conversation.

Time to create page: 0.159 seconds
Powered by Kunena Forum