# US 2024/0033913 A1 · Methods for generating a digital twin of a workpiece in finishing processes

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0033913 A1
- Document ID: US20240033913A1
- Status: Published application
- Kind: A1
- Application number: 18/379,121
- Filed: 2023-10-11
- Published: 2024-02-01
- Earliest claimed: 2020-07-31
- Assignees: GrayMatter Robotics Inc.
- Applicants: GrayMatter Robotics Inc.
- Inventors: Avadhoot Ahire; Cheng Gong; Rishav Guha; Satyandra K. Gupta; Ariyan M. Kabir; Michael Marsh, JR.; Brual C. Shah
- Web page: https://patentgrep.com/patent/US20240033913A1

## CPC

- B25J 9/1653: {parameters identification, estimation, stiffness, accuracy, error analysis}
- B24B 49/12: involving optical means
- B24B 51/00: Arrangements for automatic control of a series of individual steps in grinding a workpiece (if applicable to other machine tools, G05B takes precedence)
- B25J 9/163: {learning, adaptive, model based, rule based expert control}
- B25J 9/1633: {compliant, force, torque control, e.g. combined with position control}
- B25J 9/1664: {characterised by motion, path, trajectory planning}
- B25J 9/1679: {characterised by the tasks executed}
- B25J 9/1697: {Vision controlled systems}
- B25J 11/0065: {Polishing or grinding}
- B25J 13/085: {Force or torque sensors (B25J13/082, B25J13/084 take precedence)}
- G06T 1/0014: {Image feed-back for automatic industrial control, e.g. robot with camera (robots B25J19/023)}
- G06T 7/13: Edge detection
- G06T 7/60: Analysis of geometric attributes
- G06T 17/20: Finite element generation, e.g. wire-frame surface description, {tesselation}
- G06T 19/00: Manipulating three-dimensional [3D] models or images for computer graphics
- G05B 2219/36251: Superpose scanned or finished object image on workpiece model for best fitting
- G05B 2219/40586: 6-DOF force sensor
- G06T 2207/10024: Color image
- G06T 2219/004: Annotating, labelling
- B25J: MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES ({manipulators specially adapted for use in surgery A61B34/70; manipulators used in cleaning hollow articles B08B9/04}; manipulators associated with rolling mills B21B39/20; manipulators associated with forging machines B21J13/10; {manipulators associated with picking-up and placing mechanisms B23P19/007}; means for holding wheels or parts thereof B60B30/00; {vehicles with ground-engaging propulsion means, e.g. walking members B62D57/02, B62D57/032; devices for picking-up and depositing articles or materials between conveyors B65G47/90, B65G47/91; manipulators with gripping or holding means for transferring packages B65H67/065}; cranes B66C; {manipulators used in the protection or supervision of pipe-line installations F17D5/00; walking equipment adapted for nuclear steam-generators F22B37/006}; manipulators specially adapted for, or associated with, nuclear reactors G21C; {apparatus used for handling wafers during manufacture or treatment of semiconductor H10P72/50})
- B24B: MACHINES, DEVICES, OR PROCESSES FOR GRINDING OR POLISHING (grinding of gear teeth B23F, of screw-threads B23G1/36; by electro-erosion B23H; abrasive or related blasting B24C; tools for grinding, buffing or sharpening B24D; polishing compositions C09G1/00; abrasives C09K3/14; electrolytic etching or polishing C25F3/00; grinding arrangements for use on assembled railway tracks E01B31/17); DRESSING OR CONDITIONING OF ABRADING SURFACES; FEEDING OF GRINDING, POLISHING, OR LAPPING AGENTS
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)

## Abstract

A method includes: compiling images, captured by an end effector traversing a scan path over a workpiece, into a virtual model of the workpiece; generating a toolpath based on a geometry of the workpiece represented in the virtual model; and assigning a target force to the workpiece. The method also includes, during a processing cycle: navigating a sanding head, arranged on the end effector, across the workpiece according to the toolpath; based on force values output by a force sensor coupled to the sanding head, deviating the sanding head from the toolpath to maintain forces of the sanding head on the workpiece proximal the target force; and tracking a sequence of positions of a reference point on the sanding head, traversing the workpiece, in contact with the workpiece. The method also includes transforming the virtual model into alignment with the sequence of positions of the reference point.

## Claims

### Claim 1

A method comprising:
accessing a virtual model representing a geometry of a workpiece;
accessing a first toolpath defined for a first workpiece region of the workpiece;
accessing a first target force assigned to the first workpiece region;
during a processing cycle:
accessing a first sequence of force values output by a force sensor coupled to a sanding head;
via a set of actuators:
navigating the sanding head across the first workpiece region according to the first toolpath; and
based on the first sequence of force values, deviating the sanding head from the first toolpath to maintain forces of the sanding head on the first workpiece region proximal the first target force; and
detecting a first sequence of positions of the sanding head in contact with the first workpiece region;
transforming the virtual model into alignment with the first sequence of positions; and
storing the virtual model, transformed according to the first sequence of positions, as a digital record of the workpiece.

### Claim 2 (depends on 1)

The method of claim 1:
further comprising:
navigating an optical sensor over and offset from the workpiece during a scan cycle preceding the processing cycle; and
accessing a set of images captured by the optical sensor during the global scan cycle;
wherein accessing the virtual model of the workpiece comprises generating the virtual model of the workpiece based on the set of images; and
wherein accessing the first toolpath comprises generating the first toolpath based on a first geometry of first the workpiece region represented in the virtual model.

### Claim 3 (depends on 2)

The method of claim 2:
further comprising, during the scan cycle preceding the processing cycle, navigating the optical sensor along a scan path over and offset from the workpiece;
wherein accessing the set of images comprises accessing the set of images comprising depth maps captured by the optical sensor while traversing the scan path during the scan cycle;
wherein generating the virtual model of the workpiece comprises compiling the set of images into the virtual model representing the geometry of the workpiece with an initial dimensional accuracy;
wherein detecting the first sequence of positions comprises recording the first sequence of positions of a reference point, on the sanding head, in contact with the first workpiece region during the processing cycle; and
wherein transforming the virtual model into alignment with the first sequence of positions comprises transforming the virtual model into alignment with the first sequence of positions to increase dimensional accuracy of the geometry of the workpiece represented in the virtual model.

### Claim 4 (depends on 2)

The method of claim 2:
further comprising detecting a unique identifier of the workpiece in the set of images; and
wherein storing the virtual model, transformed according to the first sequence of positions, as the digital three-dimensional record of the workpiece comprises:
storing the digital three-dimensional record, defining a digital twin of the workpiece, in a workpiece database;
linking the digital three-dimensional record to the unique identifier.

### Claim 5 (depends on 1)

The method of claim 1:
wherein accessing the virtual model of the workpiece comprises accessing the virtual model of the workpiece comprising a three-dimensional mesh within a virtual three-dimensional space; and
wherein transforming the virtual model comprises:
projecting the first sequence of positions into the virtual three-dimensional space; and
snapping a first set of vertices in the three-dimensional mesh to the first sequence of positions projected into the virtual three-dimensional space.

### Claim 6 (depends on 1)

The method of claim 1:
wherein accessing the virtual model of the workpiece comprises accessing the virtual model of the workpiece comprising a three-dimensional surface within a virtual three-dimensional space; and
wherein transforming the virtual model comprises, for each position in the first sequence of position:
isolating a nominal toolpath location the first toolpath, defined along the surface of the virtual model, corresponding to this position;
inserting a vertex on the surface of the virtual model at the nominal toolpath location;
projecting a coordinate of the position into the virtual three-dimensional space; and
transforming the surface of the virtual model to locate the vertex on the coordinate.

### Claim 7 (depends on 1)

The method of claim 1:
further comprising:
accessing a second toolpath defined for a second workpiece region of the workpiece based on the geometry of the workpiece;
accessing a second target force assigned to the second workpiece region; and
during the processing cycle:
accessing a second sequence of force values output by the force sensor;
via the set of actuators:
navigating the sanding head across the second workpiece region according to the second toolpath; and
based on the second sequence of force values, deviating the sanding head from the second toolpath to maintain forces of the sanding head on the second workpiece region proximal the second target force; and
detecting a second sequence of positions of the sanding head while in contact with the second workpiece region;
wherein transforming the virtual model into alignment with the first sequence of positions comprises transforming a first segment of the virtual model, representing the first workpiece region, into alignment with the first sequence of positions; and
further comprising transforming a second segment of the virtual model, representing the second workpiece region, into alignment with the second sequence of positions.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
defining a first probe location in the first workpiece region;
calculating a first vector normal to the first probe location in the first workpiece region based on the virtual model;
accessing a second sequence of force values from the force sensor while driving the end effector along the first vector toward the first probe location on the workpiece;
based on an increase in force values in the second sequence of force values, recording a first probe position the sanding head responsive to contact of the sanding head with the workpiece proximal the first probe location;
identifying a first position, in the first sequence of positions of the sanding head in contact with the first workpiece region during the processing cycle, proximal the first probe position;
calculating a correction offset for the first sequence of positions based on a difference between the first probe position and the first position; and
shifting the first sequence of positions according to the correction offset.

### Claim 9 (depends on 8)

The method of claim 8:
further comprising, calculating a sequence of deviations between the first toolpath and the first sequence of positions; and
wherein defining the first probe location in the first workpiece region comprises defining the first probe location in the first workpiece region in response to a first deviation, in the sequence of deviations and proximal the first probe location, exceeding a threshold deviation.

### Claim 10 (depends on 1)

The method of claim 1:
wherein accessing the first toolpath comprises:
defining the first toolpath comprising a first ordered sequence of keypoints located on the virtual model; and
for each keypoint in the first ordered sequence of keypoints:
calculating a vector normal to the virtual model at a location of the keypoint on the virtual model; and
storing the vector in the keypoint; and
wherein navigating the sanding head across the first workpiece region according to the first toolpath and deviating the sanding head from the first toolpath comprises:
for a first keypoint in the first ordered sequence of keypoints, via the set of actuators:
locating the sanding head at a first position intersecting the first keypoint;
aligning an axis of the sanding head to a first vector contained in the first keypoint; and
driving the sanding head, coaxial with the first vector, toward the workpiece to match force values, in the first sequence of force values read from the force sensor, to the first target force.

### Claim 11 (depends on 1)

The method of claim 1:
wherein accessing the first toolpath comprises, based on the virtual model:
isolating the first workpiece region defining a convex surface profile; and
generating the first toolpath defining a first continuous path across the first workpiece region of the workpiece; and
wherein tracking the first sequence of positions during the processing cycle comprises tracking the first sequence of positions of a first reference point on the sanding head traversing the sanding head across the first workpiece region, the first reference point located on a sanding pad mounted to the sanding head and coaxial with an axis of rotation of the sanding head.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
based on the virtual model:
isolating a second workpiece region defining a concave surface profile; and
generating a second toolpath defining a second continuous path across the second workpiece region of the workpiece;
extracting a radius of the second workpiece region from the virtual model;
assigning a second target force to the second workpiece region;
during the processing cycle:
via the set of actuators:
navigating the sanding head across the second workpiece region according to the second toolpath; and
based on the first sequence of force values, deviating the sanding head from the second toolpath to maintain forces of the sanding head on the second workpiece region proximal the second target force; and
detecting a second sequence of positions of a second reference point on the sanding head traversing the second workpiece region, the second reference point located on the sanding pad offset from the axis of rotation of the sanding head by a distance inversely proportional to the radius of the second workpiece region; and
transforming the virtual model into alignment with the second sequence of positions.

### Claim 13 (depends on 1)

The method of claim 1, further comprising:
accessing a compliance characteristic of a compliant backing supporting a sanding pad on the sanding head; and
for a first position in the first sequence of positions:
accessing a first force value, in the first sequence of force values, applied by the sanding head on the workpiece responsive to contacts between the sanding head and the workpiece at the first position;
calculating a correction offset based on the compliance characteristic of the compliant backing and the first force; and
shifting the first position by the correction offset in a direction normal to a surface defined in the virtual model at the first position.

### Claim 14 (depends on 1)

The method of claim 1, further comprising:
calculating a first correction offset proportional to the first target force; and
shifting the first sequence of positions, normal to corresponding surfaces defined in the virtual model, according to the first correction offset.

### Claim 15 (depends on 14)

The method of claim 14, further comprising:
generating a second toolpath for a second workpiece region of the workpiece based on the geometry of the workpiece represented in the virtual model;
assigning a second target force, less than the first target force, to the second workpiece region;
during the processing cycle:
via the set of actuators coupled to the end effector:
navigating the sanding head across the second workpiece region according to the second toolpath; and
based on the first sequence of force values, deviating the sanding head from the second toolpath to maintain forces of the sanding head on the second workpiece region proximal the second target force;
tracking a second sequence of positions of the reference point traversing the second workpiece region;
calculating a second correction offset, less than the first correction offset, proportional to the second target force;
shifting the second sequence of positions, normal to corresponding surfaces defined in the virtual model, according to the second correction offset; and
transforming the virtual model into alignment with the second sequence of positions of the reference point.

### Claim 16 (depends on 14)

The method of claim 14:
further comprising:
accessing a set of compliance characteristics of regions of the workpiece;
defining the first workpiece region characterized by a first compliance characteristic, in the set of compliance characteristics, within a first compliance range; and
defining the second workpiece region characterized by a second compliance characteristic, in the set of compliance characteristics, within a second compliance range greater than the first compliance range;
wherein accessing the first target force comprises assigning the first target force to the first workpiece region based on the first compliance; and
wherein assigning the second target force to the second workpiece region comprises assigning the second target force, less than the first force, to the second workpiece region based on the second compliance range.

### Claim 17

A method comprising:
accessing a virtual model representing a workpiece;
accessing a toolpath comprising:
a first keypoint corresponding to a first model vertex located on the virtual model; and
a second keypoint corresponding to a second model vertex located on the virtual model;
accessing a target force assigned to the workpiece;
during a processing cycle:
accessing a sequence of force values output by a force sensor coupled to a sanding head;
via a set of actuators:
navigating the sanding head across the workpiece according to the toolpath; and
based on the sequence of force values, deviating the sanding head from the toolpath to maintain forces of the sanding head on the workpiece proximal the target force;
detecting a first position of a reference surface, on the sanding head, in contact with the workpiece when the sanding head occupies the first keypoint;
detecting a second position of the reference surface in contact with the workpiece when the sanding head occupies the second keypoint;
modifying the virtual model to align:
the first model vertex on the virtual model to the first position of the reference surface; and
the second model vertex on the virtual model to the second position of the reference surface; and
storing the virtual model as a digital three-dimensional record of the workpiece.

### Claim 18 (depends on 17)

The method of claim 17:
wherein accessing the virtual model of the workpiece comprises accessing the virtual model comprising a three-dimensional mesh within a virtual three-dimensional space; and
wherein modifying the virtual model comprises:
projecting the first position of the reference surface and the second position of the reference surface into the virtual three-dimensional space;
snapping the first model vertex in the three-dimensional mesh to the first position projected into the virtual three-dimensional space; and
snapping the second model vertex in the three-dimensional mesh to the second position projected into the virtual three-dimensional space.

### Claim 19

A method comprising:
accessing a virtual model of a workpiece;
accessing a toolpath defined for the workpiece;
accessing a target force assigned to the workpiece;
during a processing cycle:
accessing a sequence of force values output by a force sensor coupled to a sanding head;
via a set of actuators:
navigating the sanding head across the workpiece according to the toolpath; and
based on the sequence of force values, deviating the sanding head from the toolpath to maintain forces of the sanding head on the workpiece proximal the target force; and
detecting a sequence of positions of a reference surface on the sanding head in contact with the workpiece; and
generating a digital three-dimensional record of the workpiece by transforming the virtual model into alignment with the sequence of positions of the reference surface.

### Claim 20 (depends on 1)

The method of claim 1:
wherein accessing the virtual model of the workpiece comprises accessing the virtual model of the workpiece comprising a three-dimensional surface within a virtual three-dimensional space; and
wherein generating the digital three-dimensional record comprises, for each position in the first sequence of position:
isolating a nominal toolpath location the first toolpath, defined along the surface of the virtual model, corresponding to this position;
inserting a vertex on the surface of the virtual model at the nominal toolpath location;
projecting a coordinate of the position into the virtual three-dimensional space; and
transforming the surface of the virtual model to locate the vertex on the coordinate.
