Welcome! Log In Create A New Profile

Advanced

Controller for XY-Stage - parameters and behaviour?

Posted by Elmi 
Controller for XY-Stage - parameters and behaviour?
April 24, 2015 07:00AM
Hi,

I'm currently developing a software for a small microcontroller to be used to drive an XY-stage/gantry/table/whatever. The whole software is already working smoothly with single axes (referencing, linear/s-shaped acceleration, limit switches). Now I want to extend it to be a real CNC-like, XY-controller but I'm not sure what features it needs to have (also comparing to professional controllers). So a few questions:

1. The controller will concatenate also complex geometries out of short, straight lines. So e.g. a circle may consist of several short lines small enough to let the result appear smooth and round. But how about acceleration/deceleration ramps? I will do ramping on the beginning and end of the whole motion - but is it necessary between segments too when speed changes? Or is it better to define a break angle where such ramping will be done only when an angle between two segments is larger than the given value?

2. What about direction change of an axis (e.g. when an acute angle has to be drawn) - there I will do ramping to slow it down to 0 and start movement in opposite direction with a ramp too. Is there an additional delay necessary at the stopping point?

3. What else is important for such a XY-controller, what parameters and functions should be there that are not needed when moving separate, single axes?

So as one can see these are more or less noob-questions, so every hint and idea is welcome!

Cheers

Elmi
VDX
Re: Controller for XY-Stage - parameters and behaviour?
April 24, 2015 07:24AM
... read about "look-ahead" for acc-/decceleration options between line segments - here modern controllers reads some ten to hundred of the following coordinates into a buffer and calculate the changing angles between connected lines to define decceleration or full stop depending on the included angle.

The other essentila aspect is synchronizing two or more axes for smooth XY or 3D movement - read here for "Bresenham" and "3D-Bresenham" algorhythms ...


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Re: Controller for XY-Stage - parameters and behaviour?
April 24, 2015 07:47AM
Quote
VDX
calculate the changing angles between connected lines to define decceleration or full stop depending on the included angle

Speed change and therefore acceleration/deceleration happens on every new vector, that's clear so far. But how about these angles, where a full stop is necessary because at least one axis changes direction - is there an additional delay necessary at the point where motion stops? When using galvos such a delay has to be done, is it necessary for motion stages too?

Thanks
Re: Controller for XY-Stage - parameters and behaviour?
May 01, 2015 05:19AM
Elmi,

I don't have specific advice, only the two following documents I found while researching my next machine to build. Maybe they'll give you some deeper insight.

www.inspire.ethz.ch ~ MODELING AND MEASUREMENT OF H-BOT KINEMATIC SYSTEMS

multimechatronics.com ~ H-Bot Web Site Slides 205-11-2011.pdf


Cheers,
Hamish
Sorry, only registered users may post in this forum.

Click here to login