Search All

How to understand the coordinate system of a vision dispensing machine?

people who have just started using a dispensing machine are often confused by the words ”coordinate system”, ”origin” and ”offset”. In fact, once you understand the coordinate system, the logic of dispensing-machine programming and debugging becomes clear. This article uses plain language to clearly explain the machine coordinate system, the workpiece coordinate system and the origin offset.

I. why a dispensing machine needs a coordinate system

for a dispensing machine to precisely place adhesive at a specified position on a plane or in 3D space, it must have a set of ”address system” to describe the position of each point - this is the coordinate system. without a coordinate system, the machine does not know where the needle is now or where to go. Dispensing machines commonly use a rectangular coordinate system,X axis left and right, Y axis front and back, Z axis up and down— three directions locate any point in space.

II. machine coordinate system: the machine's own ”home”

the machine coordinate system is fixed when the equipment leaves the factory; the origin is usually set at the mechanical limit position of each axis. the first thing to do after each machine startup -homing, is to bring each axis back to this mechanical origin and establish the coordinate datum.

why return to zero? Because after the machine is turned off, the machine does not know where the needle stopped. The return-to-zero operation brings each axis back to a physically fixed position, usually where it touches the limit switch; this position has a fixed coordinate in the machine coordinate system. With this datum, all subsequent motion coordinates make sense.

3. The Workpiece Coordinate System: Product-Based Coordinates

The workpiece coordinate system is built on the product or fixture.its origin can be set at a corner of the product, a locating hole or a Mark point; the coordinate direction is consistent with the machine coordinate system, but the origin position is different.

for example: suppose the product is a 50mm x 50mm square placed in the middle of the worktable. In the machine coordinate system, the coordinates of the product's lower-left corner might be X=125, Y=100. But if a workpiece coordinate system is established with the origin at the product's lower-left corner, then the coordinates of all dispensing positions on the product can be counted from 0 - the lower-left is (0,0) and the upper-right is (50,50), which is much more intuitive when programming.

this is the value of the workpiece coordinate system: the coordinate values during programming correspond to the dimensions on the product drawing, without converting to machine coordinates. When changing a batch of products, just reset the workpiece coordinate-system origin; the same program can be used without modification.

IV. Z-axis height compensation and Vision coordinate mapping

besides the XY-plane coordinate system, the Z axis also needs attention. Different products have different thicknesses, and the distance from the needle to the product surface needs corresponding adjustment. Setting Z-axis height compensation in the software lets the needle automatically adjust the Z position when dispensing products of different heights, avoiding collisions or excessive distance.

for a dispensing machine with a Vision system, there is also one between the camera coordinate system and the motion coordinate system. Image coordinates and motion coordinates are linked by a fixed transformation. During vision alignment, the camera images Mark points and computes the deviation; the software converts it into a motion-coordinate compensation and commands the axes to move the corresponding distance. That is why calibration matters — if calibration is off, the vision-computed deviation will not match the compensation actually required.. there is a fixed conversion relationship between the image coordinates captured by the camera and the actual motion coordinates. During Vision alignment, the camera shoots the Mark point to calculate the deviation; the software converts the deviation into a compensation amount for the motion coordinates and instructs the motion axis to move the corresponding distance. This is why calibration is important - if calibration is inaccurate, the deviation calculated by Vision and the actually needed compensation will not match.

5. Summary

the core of a dispensing machine's coordinate system is distinguishing the machine coordinate system and the workpiece coordinate system. The machine coordinate system is based on the mechanical origin and is the absolute reference of the equipment itself; the workpiece coordinate system is based on the product, making the programming coordinates correspond to the drawing dimensions. The two are related through origin offset; when changing products, just reset the workpiece origin. Z-axis height compensation handles different product thicknesses, and Vision coordinate mapping establishes the correspondence between the camera and motion through calibration.

How to Adjust the Z-Axis Height of a Dispensing Machine? Previous: