Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: polargraphcontroller setup
alpal
Newbie
Posts: 19
Permalink
Post polargraphcontroller setup
on: January 21, 2016, 19:16
Quote

Hello,

i have some questions regarding the Setup of my polargraph machine in the polargraphcontroller. There are numerous Parameters which seam to influence the Image. Most of them i have played around with...however without success.
The machine width and home Point i have measured numerous times and are positive they are correct. I have 2xnema 0.9deg stepper Motors and have plastic beads with corresponding gear, Diameter of which i have also measured...so im pretty sure that These Parameters are correct.
Parameters which i am not sure about are the:
- steps per rev (why is this double the Motor steps per rev?)
- steps Multiplier (i currently have it set at 8) i draw the outline of an Image ranging from 1-10 and found that the one set at 8 gives the best results for A4 sized Images.

whats the perfect Setup configuration? for These Motors?
any ideas would be helpful. thank you.

also, i start drawing from my home Point. After the square is completed and i click return to home it Returns home with an Offset..any reason for this/fix. I quess ist due to inaccuracies in the Setup 🙁

Image
Image

sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: polargraphcontroller setup
on: January 21, 2016, 19:31
Quote

Do you want to tell us what kind of hardware / motor driver you have?

alpal
Newbie
Posts: 19
Permalink
Post Re: polargraphcontroller setup
on: January 21, 2016, 20:12
Quote

oh yes sorry
adafruit motorshield v2.3
adruino uno

sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: polargraphcontroller setup
on: January 22, 2016, 07:07
Quote

AFMSv2 is set up to use microstepping by default (https://github.com/euphy/polargraph_server_a1/blob/master/configuration.ino#L31), so I recommend

step multiplier = 16 (because the AFMSv2 has 16 microsteps per full step)
steps per rev = 400 (because your motors have 400 steps)

(On an AFMSv1, the steps per rev are doubled, because it uses an INTERLEAVED step style that effectively doubles the motor steps. You don't need to worry about this, but just to answer your question.)

Re return to home problem:
Nothing to do with your settings. Your two smallest rectangles in your test drawing are distorted - this indicates that steps are dropped during these runs, and once a step is dropped then the machine is uncalibrated. So the machine thinks the motor has moved the pen, but in fact something prevented it (physically) from doing so. Often this is a mechanical problem (pen or counterweight getting caught on something), or too much weight on either pen or counterweight. Related to the second one is torque and speed: Not enough torque or too high a speed.

Try again but at half speed. Just watch it while it's moving, and you'll normally see the erratic movements when the steps skip.

The physical cord slipping is also possible, but it's usually much more obvious, and happens in big jerks rather than this fairly subtle distortion.

sn

alpal
Newbie
Posts: 19
Permalink
Post Re: polargraphcontroller setup
on: January 22, 2016, 08:15
Quote

Awesome, thanks so much for the speedy reply. Ill give that a try and Report back. cheers

alpal
Newbie
Posts: 19
Permalink
Post Re: polargraphcontroller setup
on: January 22, 2016, 11:12
Quote

just curious but what max Speed and acceleration can i be using with my Hardware. Goal is to have the drawing as accurate as possible.
currently i have them set at:
max Speed 802
motor acceleration 729

sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: polargraphcontroller setup
on: January 22, 2016, 22:19
Quote

If your goal is to have drawing as accurate as possible, then you should not need to consider the maximum speed. All else being equal, slower is safer, and more accurate.

sn

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.031 seconds.