Computing device and method for compensating coordinates of position device
AssigneeScienBiziP Consulting(Shenzhen)Co., Ltd.
InventorsChih-Kuang Chang, Xin-Yuan Wu, Lu Yang
Life of this patent
Estimating the term…
Abstract
A computing device compensates a coordinate of a position device for a computerized numerical control (CNC) machine. The computing device generates a point cloud according to contour points of the position device. The computing device deletes selected contour points from the point cloud upon the condition that the distance corresponding to each selected contour point exceeds a predetermined threshold. The computing device calculates an average coordinate of the contour points which are remained in the point cloud.
Claims16
A computing device, comprising:
- at least one processor;
- and
- a storage device that stores one or more programs, which when executed by the at least one processor, cause the at least one processor to:
- process images of a position device for a computerized numerical control (CNC) machine to obtain contour points of the position device;
- generate a point cloud according to the contour points of the position device;
- select a contour point from the point cloud;
- calculate a distance between the contour point selected from the point cloud and each unselected contour point in a predetermined area corresponding to the contour point;
- delete the contour point from the point cloud upon the condition that the distance corresponding to each of the selected contour points exceeds a predetermined threshold;
- and
- calculate an average coordinate of contour points remaining in the point cloud and confirm the average coordinate as a coordinate of a gravity point of the position device.
A computer-based method for compensating a coordinate of a position device of a computerized numerical control (CNC) machine using a computing device, the method comprising:
- a) processing images of a position device for the CNC machine to obtain contour points of the position device;
- (b) generating a point cloud according to the contour points of the position device;
- (c) selecting a contour point from the point cloud;
- (d) calculating a distance between the contour point selected from the point cloud and each of unselected contour points in a predetermined area corresponding to the contour point;
- (e) deleting the selected contour point from the point cloud upon the condition that the distance exceeds a predetermined threshold, and repeating step (c) to step (e) until all of the contour points in the point cloud are selected;
- and
- (f) calculating an average coordinate of contour points remaining in the point cloud, and confirming the average coordinate as a coordinate of a gravity point of the position device.
Dependencies are inferred from the claim text.