Skip to main content
U.S. flag

An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

PIECS - A Software Program for Machine Tool Process-Intermittent Error Compensation

Published

Author(s)

Herbert T. Bandy, David E. Gilsinn

Abstract

This report documents software, called PIECS, that performs process-intermittent error compensation for a turning center. The program is a part of a larger three loop control architecture that includes a real-time geometric-thermal error compensation loop and a post-process loop. In process-intermittent error compensation, a part is measured by on-machine gauging after a semifinish cut which uses the same cutting parameters (speed, feed and depth of cut) as are used in the finish cut, to reproduce process-dependent errors such as cutting-force induced tool or part deflection. During gauging a touch-trigger probe signal indicates that the part surface has been contacted. The coordinates of the points are then transformed to the part coordinate system and compared to the corresponding nominal coordinates so that errors may be determined. The error vector is defined as having its head at the measured coordinates of the gauged point and its tail at the nominal coordinate for that point. Since the philosophy chosen in this program is to compensate process-intermittent errors by changing the position and orientation of features, least squares curve fitting through the ends of the error vectors is used to determine the adjusted tool path curve. The compensation curve becomes the tool path for the corresponding feature for the finish cut. The adjusted position and orientation of the feature are thus determined. Based on this information, errors may be compensted using either of two options: (1) an error specification file may be used to compensate the detected errors in real-time by adjusting the machine-tool servo commands or (2) an adjustment of the programmed tool path can be made by changing the part program. The report includes a description of the program algorithm, the input and output data sets as well as descriptions of each of the C-programming language functions that compose PIECS. A listing of the program is included in the appendix.
Citation
NIST Interagency/Internal Report (NISTIR) - 5797
Report Number
5797

Keywords

Error compensation, Machine tool, Machine tool modeling, Machining, Manufacturing Equipment, Part program

Citation

Bandy, H. and Gilsinn, D. (1996), PIECS - A Software Program for Machine Tool Process-Intermittent Error Compensation, NIST Interagency/Internal Report (NISTIR), National Institute of Standards and Technology, Gaithersburg, MD (Accessed April 26, 2024)
Created May 1, 1996, Updated February 19, 2017