Data mapping generation apparatus and computer readable storage medium

By detecting and generating data mappings of multiple processed surfaces, the problem of the inability to comprehensively evaluate multiple processed surfaces of a workpiece in existing technologies is solved, and high-precision quantitative evaluation is achieved.

CN121532718APending Publication Date: 2026-02-13FANUC LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202380100492.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-25
Publication Date
2026-02-13

AI Technical Summary

Technical Problem

Existing technologies cannot effectively evaluate the quality of multiple machined surfaces of a workpiece. Data mapping is only related to a surface in one direction and cannot comprehensively assess multiple machined surfaces.

Method used

By detecting the remaining machining surfaces for which no data mapping has been generated, the generation direction is determined and data mappings for multiple machining surfaces are generated. The data mapping is generated using the detection unit, the direction determination unit, and the generation unit.

Benefits of technology

It enables quantitative evaluation of multiple machined surfaces and can generate data mappings with high precision to assess the quality of machined surfaces.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121532718A_ABST
    Figure CN121532718A_ABST
Patent Text Reader

Abstract

The data map generation device includes a detection unit that detects a remaining machining surface, among a plurality of machining surfaces, for which a data map is not generated; a direction determination unit that determines a direction for generating a data map based on the remaining machining surface; and a generation unit that generates a data map of one machining surface, among the plurality of machining surfaces, based on the direction determined by the direction determination unit.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to a data map generation apparatus and a computer-readable storage medium. BACKGROUND

[0002] Conventionally, the quality of a machined surface is quantitatively evaluated using a data map (for example, Patent Literature 1).

[0003] PRIOR ART DOCUMENTS

[0004] PATENT LITERATURE

[0005] Patent Literature 1: Japanese Patent Application Publication No. 2021-105825 SUMMARY

[0006] PROBLEMS TO BE SOLVED BY THE INVENTION

[0007] However, the data map is data related to a surface oriented in one direction in the machined surface. For example, the data map is data related to the upper surface of the workpiece. Therefore, the user cannot evaluate the quality of a plurality of machined surfaces of the workpiece using the data map. Therefore, a technique for generating a data map that can be used to evaluate the quality of a plurality of machined surfaces of the workpiece is sought.

[0008] MEANS FOR SOLVING THE PROBLEMS

[0009] The data map generation apparatus of the present disclosure has: a detection unit that detects a remaining machined surface, among a plurality of machined surfaces, for which a data map is not generated; a direction determination unit that determines a direction for generating a data map, in accordance with the remaining machined surface; and a generation unit that generates a data map of one machined surface, among the plurality of machined surfaces, in accordance with the direction determined by the direction determination unit.

[0010] The computer-readable storage medium of the present disclosure stores commands that cause a computer to: detect a remaining machined surface, among a plurality of machined surfaces, for which a data map is not generated; determine a direction for generating a data map, in accordance with the remaining machined surface; and generate a data map of one machined surface, among the plurality of machined surfaces, in accordance with the determined direction. BRIEF DESCRIPTION OF DRAWINGS

[0011] Figure 1 is a diagram for describing an example of a method for generating a data map.

[0012] Figure 2 is a block diagram showing an example of a hardware structure of a data map generation apparatus.

[0013] Figure 3 is a block diagram showing an example of the functions of a data map generation apparatus.

[0014] Figure 4A is an example of the shape of a workpiece represented by workpiece data.

[0015] Figure 4B is an example of a shape of a workpiece represented by machining object data.

[0016] Figure 4C is an example of a shape of a workpiece represented by machining object data.

[0017] Figure 5 is a diagram showing an example of a machining surface composed of a plurality of polygonal faces.

[0018] Figure 6 is a diagram showing an example of a machining surface composed of curved surfaces.

[0019] Figure 7 is a diagram showing each normal vector of a remaining machining surface.

[0020] Figure 8 is an example of a direction determined based on a sum of normal vectors perpendicular to a remaining machining surface.

[0021] Figure 9 is a flowchart showing an example of a process executed by a data mapping generation apparatus.

[0022] Figure 10 is a diagram showing a relationship between a machining surface and a light ray radiated toward the machining surface.

[0023] Figure 11 is a block diagram showing an example of functions of a data mapping generation apparatus having an evaluation unit.

[0024] Figure 12 is a diagram for explaining a regenerated data mapping.

[0025] Figure 13 is a flowchart showing an example of a process executed by a data mapping generation apparatus. DETAILED DESCRIPTION

[0026] Hereinafter, a data mapping generation apparatus and a computer-readable storage medium of an embodiment of the present disclosure will be described with reference to the accompanying drawings. Further, in the following description, the same reference numerals are attached to structures having the same or similar functions. Also, sometimes, repeated description of these structures will be omitted.

[0027] The phrase "according to XX" in the present application means "at least according to XX", and includes the case of according to other elements in addition to XX. In addition, "according to XX" is not limited to the case of directly using XX, and includes the case of according to XX after performing an operation or processing on XX. "XX" is an arbitrary element (for example, arbitrary information).

[0028] <First Embodiment>

[0029] A data map generation device is a device that generates a data map for quantitative evaluation of a machined surface. The data map generation device is mounted, for example, in a numerical control device, a PC (Personal Computer), a server, a tablet terminal, or the like.

[0030] A machined surface refers to a surface of a workpiece machined by a tool in a machining machine. The machining machine is a machine tool such as a machining center.

[0031] Quantitative evaluation refers to, for example, evaluation of the quality of a machined surface by a numerical value that represents a feature of the machined surface. The numerical value that represents a feature of the machined surface is, for example, a distance from a prescribed plane to the machined surface. In a case where the workpiece is placed on a table, the prescribed plane can be an upper surface of the table or a lower surface of the workpiece. That is, the numerical value that represents a feature of the machined surface is a numerical value that represents the height of the machined surface.

[0032] The numerical value that represents a feature of the machined surface can be an arithmetic average roughness Sa of the machined surface and a maximum height Sz of the machined surface. The arithmetic average roughness Sa is also referred to as a surface roughness Sa.

[0033] A data map is two-dimensional information in which prescribed information is associated with a plurality of regions corresponding to a machined surface, respectively. The prescribed information is the numerical value that represents a feature of the machined surface described above.

[0034] Figure 1 is a diagram for describing an example of a method for generating a data map. The data map is generated, for example, by a Ray-Casting method. In the Ray-Casting method, first, a prescribed imaginary plane P is divided into a plurality of regions at a prescribed division size.

[0035] The shape of the plurality of regions is, for example, a lattice shape. That is, the shape of each region is a rectangular shape or a square shape. In a case where the shape of each region is a square shape, the division size is a numerical value that represents the length of one side of the square. The division size is also referred to as a lattice length. The shape of the plurality of regions can also be a triangle. In this case, the division size is, for example, a numerical value that represents the length of the shortest side of the triangle.

[0036] In addition, the distance between each region and the machined surface MS is calculated. In a case where the machined surface MS is generated by machining simulation, the distance between each region and the machined surface MS is calculated based on a coordinate system set in an imaginary three-dimensional space. Then, the calculated distance is recorded in association with each region.

[0037] Further, an image of the data map generated by the Ray-Casting method is as follows. First, a light ray is radiated from each region of the prescribed imaginary plane P to the machined surface MS. Next, the timing at which the light ray radiated from each region reaches the machined surface MS is detected.

[0038] Next, the time from the emission of the light to the arrival of the light at the machined surface MS is calculated. Next, the distance between each region of the prescribed virtual plane P and the machined surface MS is calculated based on the calculated time. Next, a value indicating the calculated distance is recorded in association with each region. Thus, the data map of the machined surface MS is generated.

[0039] In Figure 1 In the example shown, the distance from one region Al of the plurality of regions to the machined surface MS is calculated to be, for example, 9.9. In this case, information indicating the distance, that is, "9.9", is recorded in association with the region Al. The same applies to the other regions, and information indicating the distance between each region and the machined surface MS is recorded in association with each region.

[0040] In the case where the data map of the machined surface MS of the workpiece actually machined by the machine tool is generated, the light from the measuring device is emitted toward the machined surface MS to measure the distance between the prescribed virtual plane P and the machined surface MS. A value indicating the measured distance is recorded in association with each region. Thus, the data map of the machined surface MS of the actually machined workpiece is generated. The measuring device that measures the machined surface is, for example, any one of a three-dimensional scanner, a laser confocal microscope, and a white light interference microscope.

[0041] Figure 2 is a block diagram indicating an example of the hardware structure of the data map generation device. The data map generation device 1 has, for example, a hardware processor 101, a bus 102, a ROM (Read Only Memory) 103, a RAM (Random Access Memory) 104, a nonvolatile memory 105, and an input / output device 106.

[0042] The hardware processor 101 is a processor that controls the entire data map generation device 1 using a system program. The hardware processor 101 reads out the system program and the like stored in the ROM 103 via the bus 102. The hardware processor 101 is, for example, a CPU (Central Processing Unit) or an electronic circuit.

[0043] The bus 102 is a communication path that connects the respective hardware of the data map generation device 1 to each other. The respective hardware of the data map generation device 1 exchanges data via the bus 102.

[0044] The ROM 103 is a storage device that stores a system program and the like. The ROM 103 is a storage medium that is readable by a computer.

[0045] The RAM 104 is a storage device that temporarily stores various data. The RAM 104 functions as a work area for the hardware processor 101 to process various data.

[0046] The nonvolatile memory 105 is a storage device that retains data even in a state where the power supply of the data mapping generation apparatus 1 is turned off. The nonvolatile memory 105 stores, for example, workpiece data. The nonvolatile memory 105 is a computer-readable storage medium. The nonvolatile memory 105 is constituted by, for example, a memory backed up by a battery or an SSD (Solid State Drive).

[0047] The input and output device 106 accepts, for example, various data from the hardware processor 101, and causes a display to display various data. In addition, the input and output device 106 accepts input of various data, and transports various data to, for example, the hardware processor 101.

[0048] The input and output device 106 is, for example, a touch panel. In the case where the input and output device 106 is a touch panel, the input and output device 106 is, for example, a touch panel of an electrostatic capacitance system. The touch panel is not limited to the electrostatic capacitance system, and can be a touch panel of another system.

[0049] Figure 3 is a block diagram that represents an example of the function of the data mapping generation apparatus 1. The data mapping generation apparatus 1 has a workpiece data acquisition section 111, a detection section 112, a direction determination section 113, a generation section 114, and an output section 115. The workpiece data acquisition section 111, the detection section 112, the direction determination section 113, the generation section 114, and the output section 115 are realized, for example, by the hardware processor 101 performing arithmetic processing using a system program stored in the ROM 103 and various programs and data stored in the nonvolatile memory 105.

[0050] The workpiece data acquisition section 111 acquires workpiece data. The workpiece data is three-dimensional data that represents the shape of a workpiece of a process. The data that represents the shape of the workpiece includes data that represents the surface properties of the workpiece. The surface properties are, for example, surface roughness.

[0051] Figures 4A-4C is an example of the shape of a workpiece represented by workpiece data. Figure 4A is an elevation view of a workpiece. Figure 4B is a plan view of a workpiece. Figure 4C is a side view of a workpiece.

[0052] The workpiece represented by the workpiece data has an upper surface and a side surface. A cylindrical protrusion is formed on the upper surface. In addition, a pair of convex portions is formed on the upper surface at positions that are opposite to each other with the cylindrical protrusion as a center.

[0053] The side surface is a shape in which the vicinity of the middle portion of the height is recessed inward. That is, the vicinity of the middle portion of the height of the workpiece is thinner than the lower end portion and the upper end portion of the workpiece. In addition, the side surface is a shape twisted around the workpiece center axis extending along the Z axis.

[0054] The processed object data is generated, for example, by a simulation section (not shown) that performs machining simulation. That is, the processed object data acquisition section 111 acquires the processed object data generated by the simulation section. The processed object data can also be generated from data indicating the shape of the workpiece measured by a measuring device. Here, the description returns to Figure 3 .

[0055] The detection section 112 detects the remaining machining surfaces in the plurality of machining surfaces MS for which data mapping has not been generated. That is, the remaining machining surfaces refer to machining surfaces in the plurality of machining surfaces other than machining surfaces for which data mapping has already been generated. In the example shown in Figure 1 , the remaining machining surfaces are surfaces that have not received light.

[0056] In addition, the machining surface refers to a portion of the surface of the workpiece that is machined. Therefore, the plurality of machining surfaces can also be contained in one plane or curved surface.

[0057] The direction determination section 113 determines the direction for generating data mapping. For example, in a case where data mapping of the workpiece indicated by the processed object data has not been generated, the direction determination section 113 determines a predetermined direction as the direction for generating data mapping. That is, the direction determination section 113 determines the direction in which the generation section 114 initially generates data mapping. The predetermined direction is, for example, the negative direction of the Z axis.

[0058] The generation section 114 generates data mapping of one machining surface in the plurality of machining surfaces in accordance with the direction determined by the direction determination section 113.

[0059] Generating data mapping in a certain direction refers to generating data mapping of a machining surface that is disposed in the direction when viewed from a prescribed imaginary plane P. For example, in Figure 1 , the machining surface is disposed in the negative direction of the Z axis with respect to the prescribed imaginary plane P. In this case, the generation section 114 generates data mapping in accordance with the negative direction of the Z axis.

[0060] In addition, one machining surface for which data mapping is generated by the generation section 114 refers to a surface that directly receives light in a case where light is assumed to be radiated from the prescribed imaginary plane P to the workpiece indicated by the processed object data. Therefore, with respect to a surface in the plurality of machining surfaces that does not oppose the prescribed imaginary plane P, data mapping is not generated.

[0061] In a case where the negative direction of the Z axis is determined as the direction for generating data mapping by the direction determination section 113, the generation section 114 generates data mapping of one machining surface in accordance with the negative direction of the Z axis.

[0062] When the data map is generated by the generation section 114 in the negative direction of the Z axis among the plurality of machined surfaces of the workpiece as illustrated in FIG. 6, the detection section 112 detects the remaining machined surface. The remaining machined surface is, for example, a side surface of the workpiece. Figures 4A-4C

[0063] The detection section 112 detects the remaining machined surface based on a generation state of the data map of at least any one of a polygonal surface as a machined surface, a surface obtained by polygonal approximation of a curved surface included in the machined surface, a first imaginary surface made from a control point of the curved surface included in the machined surface, and a second imaginary surface made from a sampling point obtained by sampling the machined surface at a predetermined interval.

[0064] Figure 5 FIG. 6 is a diagram illustrating an example of a machined surface composed of a plurality of polygonal surfaces. In a case where the machined surface is composed of a plurality of polygonal surfaces, the detection section 112 detects the remaining machined surface by detecting a polygonal surface among the plurality of polygonal surfaces, which has not yet made the data map.

[0065] Figure 6 FIG. 7 is a diagram illustrating an example of a machined surface composed of a curved surface. In a case where the machined surface is composed of a curved surface, the curved surface is polygonally approximated, for example. That is, the curved surface is approximated by a collection of a plurality of minute planes. In this case, the detection section 112 detects the remaining machined surface by detecting a polygonally approximated surface, which has not yet generated the data map, among the polygonally approximated surfaces.

[0066] In addition, in a case where the machined surface is composed of a curved surface such as a NURBS (Non-Uniform Rational B-Splines) curved surface or the like, an imaginary surface is made from a control point of the curved surface. The imaginary surface is, for example, a collection of minute planes by three control points close to each other. Here, the imaginary surface made from the control point is referred to as a first imaginary surface. In this case, the detection section 112 detects the remaining machined surface by detecting an imaginary surface, which has not yet generated the data map, among the first imaginary surfaces.

[0067] In addition, in a case where the machined surface is composed of a curved surface, an imaginary surface is made from a sampling point obtained by sampling the machined surface at a predetermined interval. The imaginary surface is, for example, a collection of minute planes by three sampling points close to each other. Here, the imaginary surface made from the sampling point is referred to as a second imaginary surface. In this case, the detection section 112 detects the remaining machined surface by detecting an imaginary surface, which has not yet generated the data map, among the second imaginary surfaces.

[0068] When the remaining machined surface is detected by the detection section 112, the direction decision section 113 decides a direction for generating the data map in accordance with the remaining machined surface. The direction decision section 113 decides the direction for generating the data map in accordance with a normal vector perpendicular to the remaining machined surface. ​

[0069] In a case where the machined surface is formed of a plurality of polygons, the normal vector perpendicular to the remaining machined surface is a normal vector perpendicular to each polygon. That is, the normal vector perpendicular to the remaining machined surface is a normal vector of a minute plane constituting the machined surface.

[0070] In a case where the machined surface is formed of a curved surface, the normal vector perpendicular to the remaining machined surface is a normal vector of a polygon-approximated surface, the first imaginary surface, or the second imaginary surface.

[0071] Figure 7 is a graph indicating each normal vector of the remaining machined surface. That is, Figure 7 The arrow shown in the drawing is a normal vector perpendicular to the machined surface for which the data map has not been generated.

[0072] Figure 8 is an example of the direction determined in accordance with the sum of the normal vectors perpendicular to the remaining machined surface. The determined direction is a direction opposite to the direction indicated by the sum of the normal vectors perpendicular to the remaining machined surface. That is, the determined direction is parallel to the vector indicated by the sum of the normal vectors perpendicular to the remaining machined surface.

[0073] The generation section 114 generates the data map of the side surface in accordance with the direction determined by the direction determination section 113. While the generation section 114 generates the data map, the detection section 112 detects the remaining machined surface again. In a case where the detection section 112 detects the remaining machined surface, the direction determination section 113 determines the direction for generating the data map again. The detection section 112 repeatedly performs the detection of the remaining machined surface until the remaining machined surface disappears. In other words, the generation section 114 repeatedly generates the data map until there is no remaining machined surface.

[0074] The output section 115 outputs each data map generated by the generation section 114. The output section 115 outputs each data map, for example, to the input / output device 106. The input / output device 106 displays each data map on the display. Thereby, the user evaluates the quality of the machined surface in accordance with each data map displayed.

[0075] Further, Figures 4A-4C The shape of the workpiece shown in the drawing is sometimes rotationally symmetrical with respect to a central axis extending along the Z axis. In this case, the direction indicated by the sum of the normal vectors of the side surface of the workpiece is the negative direction of the Z axis or the positive direction of the Z axis. Alternatively, the sum of the normal vectors of the side surface of the workpiece is a zero vector.

[0076] In this case, the direction determined by the direction determination section 113 becomes a direction along the Z axis. Alternatively, the direction determination section 113 cannot determine the direction. In other words, the direction determination section 113 cannot determine the direction for generating the data map of the side surface of the workpiece.

[0077] In this case, the direction determining section 113 determines a direction predetermined as a direction for generating the data map. The direction predetermined is, for example, the negative direction of the Y axis. Thus, the direction determining section 113 can determine a direction for generating the data map of the side surface of the workpiece.

[0078] Figure 9 is a flowchart showing an example of the processing performed by the data map generating apparatus 1. In the data map generating apparatus 1, first, the work data acquiring section 111 acquires work data (step SA1).

[0079] Next, the detecting section 112 detects the remaining machining surface (step SA2). Next, the direction determining section 113 determines a direction for generating the data map (step SA3). Next, the generating section 114 generates the data map of one machining surface (step SA4).

[0080] Next, the detecting section 112 determines whether there is a remaining machining surface (step SA5). In other words, the detecting section 112 determines whether to generate the data map of all machining surfaces of a plurality of machining surfaces.

[0081] In the case where there is a remaining machining surface (in the case where Yes in step SA5), the direction determining section 113 again determines a direction for generating the data map in accordance with the remaining machining surface (step SA3).

[0082] In the case where there is no remaining machining surface (in the case where No in step SA5), the output section 115 outputs the data map (step SA6), and the processing ends.

[0083] <Second Embodiment>

[0084] In the case where the data map of the machining surface is generated by radiating a light ray from a prescribed imaginary plane P toward the machining surface, sometimes the angle between the machining surface and the light ray is relatively small. In this case, the characteristics of the machining surface cannot be represented with high accuracy in the generated data map. That is, the more the machining surface and the light ray are close to parallel, the lower the accuracy of the data map. This is because the number of data acquired is relatively small with respect to the width of the machining surface. On the other hand, the more the angle between the machining surface and the light ray is close to 90°, the more the data map represents the characteristics of the machining surface with high accuracy. This is because the number of data acquired is relatively large with respect to the width of the machining surface.

[0085] Figure 10 is a diagram showing the relationship between the machining surface and the light ray radiated toward the machining surface. In the example shown in Figure 10 The machining surface includes a first surface SI perpendicular to the Z axis, a second surface S2 intersecting the Z axis at a relatively large angle, and a third surface S3 intersecting the Z axis at a relatively small angle.

[0086] In a case where the data map generation apparatus 1 generates the data map related to the first face SI, the data map generation apparatus 1 generates the data map with higher precision. On the other hand, in a case where the data map generation apparatus 1 generates the data map related to the third face S3, the data map generated by the data map generation apparatus 1 has lower precision.

[0087] Therefore, the data map generation apparatus 1 can predict whether the precision of the generated data map is higher or lower by evaluating the angle a between the machining face and the light ray radiated toward the machining face. In addition, the data map generation apparatus 1 can regenerate the data map of the machining face predicted to have lower precision in a manner in which the precision is higher, according to the evaluation result of the angle a between the machining face and the light ray radiated toward the machining face.

[0088] Figure 11 is a block diagram showing an example of the function of the data map generation apparatus 1 having an evaluation section. Figure 11 The functions of the data map generation apparatus 1 shown in Figure 3 are the same as those of the data map generation apparatus 1 shown in Therefore, the evaluation section 116 is described here, and a part of the description of the functions other than this is omitted.

[0089] The data map generation apparatus 1 has the evaluation section 116 in addition to the workpiece data acquisition section 111, the detection section 112, the direction determination section 113, the generation section 114, and the output section 115. The evaluation section 116 is implemented by, for example, the hardware processor 101 performing arithmetic processing using the system program stored in the ROM 103 and various programs and data stored in the nonvolatile memory 105.

[0090] The generation section 114 generates the data map of one of the machining faces among the plurality of machining faces according to the direction determined by the direction determination section 113. For example, in a case where the data map of the machining face of the workpiece shown in Figure 10 is generated, the generation section 114 generates the data maps of the first face SI, the second face S2, and the third face S3 according to the negative direction of the Z axis. Here, one machining face is a face including the first face SI, the second face S2, and the third face S3.

[0091] The evaluation section 116 evaluates whether the angle between the normal line perpendicular to one machining face and the vector representing the direction determined by the direction determination section 113 is equal to or greater than a predetermined value. The normal line perpendicular to one machining face refers to a normal line perpendicular to one or more faces included in one machining face.

[0092] The evaluation section 116 evaluates that the angle between the normal line perpendicular to the first surface S1 and the vector representing the negative direction of the Z axis is less than a predetermined value. In addition, the evaluation section 116 evaluates that the angle between the normal line perpendicular to the second surface S2 and the vector representing the negative direction of the Z axis is less than a predetermined value.

[0093] On the other hand, the evaluation section 116 evaluates that the angle a between the normal line perpendicular to the third surface S3 and the vector representing the negative direction of the Z axis is a predetermined value or more.

[0094] In a case where the evaluation section 116 evaluates that the angle a is a predetermined value or more, the detection section 112 changes the detection result of the remaining machined surface. For example, in a case where the evaluation section 116 evaluates that the angle between the normal line perpendicular to the third surface S3 and the vector representing the negative direction of the Z axis is a predetermined value or more, the detection section 112 detects the third surface S3 as the remaining machined surface. In other words, the detection section 112 regards that the data map of the third surface S3 has not been generated. Thus, the data map of the third surface S3 is regenerated according to the angle different from the negative direction of the Z axis (refer to FIG. 6). Figure 12

[0095] Figure 13 is a flowchart representing an example of the process performed by the data map generation apparatus 1. In the data map generation apparatus 1, first, the workpiece data acquisition section 111 acquires workpiece data (step SB1).

[0096] Next, the detection section 112 detects the remaining machined surface (step SB2). Next, the direction determination section 113 determines the direction for generating the data map (step SB3). Next, the generation section 114 generates the data map of one machined surface (step SB4).

[0097] Next, the evaluation section 116 evaluates whether or not the angle between the normal line perpendicular to one machined surface and the vector representing the direction determined by the direction determination section 113 is a predetermined value or more (step SB5).

[0098] In a case where the evaluation section 116 evaluates that the angle is a predetermined value or more (Yes in step SB5), the detection section 112 changes the detection result (step SB6), and then the direction determination section 113 determines the direction for generating the data map (step SB3).

[0099] In a case where the evaluation section 116 evaluates that the angle is less than a predetermined value (No in step SB5), the detection section 112 determines whether or not there is a remaining machined surface (step SB7). In other words, the detection section 112 determines whether or not the data map of all machined surfaces of a plurality of machined surfaces is generated.

[0100] ​In the case where the remaining machining surface exists (Yes in Step SB7), the direction determination section 113 again determines the direction for generating the data map from the remaining machining surface (Step SB3).

[0101] On the other hand, in the case where the remaining machining surface does not exist (No in Step SB7), the output section 115 outputs the data map (Step SB8), and the process ends.

[0102] As described above, the data map generation apparatus 1 has the detection section 112 that detects the remaining machining surface among the plurality of machining surfaces for which the data map is not generated, the direction determination section 113 that determines the direction for generating the data map from the remaining machining surface, and the generation section 114 that generates the data map of one machining surface among the plurality of machining surfaces in accordance with the direction determined by the direction determination section 113. Therefore, the data map generation apparatus 1 can generate the data map that can be used to evaluate the quality of the plurality of machining surfaces of the workpiece.

[0103] In addition, the detection section 112 repeatedly performs the detection of the remaining machining surface until the remaining machining surface disappears. Therefore, the data map generation apparatus 1 can generate the data map for all of the machining surfaces of the workpiece including the plurality of machining surfaces.

[0104] In addition, the detection section 112 detects the remaining machining surface based on a generation state of the data map of at least any one of the polygonal surface included in the plurality of machining surfaces, the surface obtained by polygonal approximation of the curved surface included in the plurality of machining surfaces, the first imaginary surface made from the control points of the curved surface, and the second imaginary surface made from the sampling points obtained by sampling the plurality of machining surfaces at a predetermined interval. Therefore, the detection section 112 can generate the data map for all of the machining surfaces regardless of whether the machining surface is a flat surface or a curved surface.

[0105] In addition, the direction determination section 113 determines the direction from the normal vector perpendicular to the remaining machining surface. The direction determined by the direction determination section 113 is parallel to the vector represented by the sum of the normal vectors of the remaining machining surfaces. Therefore, the data map generation apparatus 1 can sequentially generate the data map of the remaining machining surface for which the data map has not been generated.

[0106] In addition, the data map generation apparatus 1 further has the evaluation section 116 that evaluates whether the angle between the normal perpendicular to one machining surface and the vector representing the direction is a predetermined value or more, and the detection section 112 changes the detection result of the remaining machining surface in the case where the evaluation section 116 evaluates that the angle is the value or more. Therefore, the data map generation apparatus 1 can generate the data map with high accuracy in the entire machining surface.

[0107] The present disclosure is described in detail, but the present disclosure is not limited to each of the above-described embodiments. These embodiments can be variously added, substituted, changed, partially deleted, or the like within the scope of the gist of the present disclosure or within the scope of the gist of the present disclosure derived from the content described in the claims and equivalents thereof. In addition, these embodiments can also be implemented in combination.

[0108] Hereinafter, the following notes represent embodiments of the present disclosure.

[0109] Note [1]

[0110] A data map generation device, wherein, having: a detection unit that detects a remaining machining surface in which a data map is not generated among a plurality of machining surfaces; a direction decision unit that decides a direction for generating the data map according to the remaining machining surface; a generation unit that generates the data map of one machining surface among the plurality of machining surfaces according to the direction decided by the direction decision unit.

[0111] Note [2]

[0112] The data map generation device according to Note [1], wherein the detection unit repeatedly performs detection of the remaining machining surface until the remaining machining surface disappears.

[0113] Note [3]

[0114] The data map generation device according to Note [1], wherein the detection unit detects the remaining machining surface based on a data map generation state of at least any one of a polygonal surface included in the plurality of machining surfaces, a surface obtained by polygonal approximation of a curved surface included in the plurality of machining surfaces, a first imaginary surface made from a control point of the curved surface, and a second imaginary surface made from a sampling point obtained by sampling the plurality of machining surfaces at a predetermined interval.

[0115] Note [4]

[0116] The data map generation device according to any one of Notes [1] to [3], wherein the direction decision unit decides the direction according to a normal vector perpendicular to the remaining machining surface.

[0117] Note [5]

[0118] The data map generation device according to Note [4], wherein the direction is parallel to a vector represented by a sum of the normal vectors perpendicular to the remaining machining surfaces.

[0119] Note [6]

[0120] The data map generation device according to any one of the following [1] to [5], wherein further comprising: an evaluation unit that evaluates whether or not an angle between a normal line perpendicular to the one processing surface and a vector representing the direction is a predetermined value or more,

[0121] In a case where the evaluation unit evaluates that the angle is the value or more, the detection unit changes a detection result of the remaining processing surface.

[0122] Note [7]

[0123] A computer-readable storage medium storing commands that cause a computer to execute the following: detecting a remaining processing surface of a plurality of processing surfaces for which a data map is not generated; determining a direction for generating the data map based on the remaining processing surface; and generating the data map of one processing surface of the plurality of processing surfaces based on the determined direction.

[0124] Reference Signs Description

[0125] 1 Data map generation device

[0126] 101 Hardware processor

[0127] 102 Bus

[0128] 103 ROM

[0129] 104 RAM

[0130] 105 Non-volatile memory

[0131] 106 Input-output device

[0132] 111 Processing object data acquisition unit

[0133] 112 Detection unit

[0134] 113 Direction determination unit

[0135] 114 Generation unit

[0136] 115 Output unit

[0137] 116 Evaluation unit

Claims

1. A data mapping generation apparatus, characterized in that, have: The inspection department inspects the remaining machined surfaces among multiple machined surfaces that have not generated data maps; The direction determination unit determines the direction for generating the data mapping based on the remaining processing surface; The generation unit generates the data mapping of one of the plurality of processing surfaces based on the direction determined by the direction determination unit.

2. The data mapping generation apparatus according to claim 1, characterized in that, The detection unit repeatedly detects the remaining machined surface until the remaining machined surface disappears.

3. The data mapping generation apparatus according to claim 1, characterized in that, The detection unit detects the remaining processing surfaces based on the generation status of at least one of the following data mappings: polygonal surfaces included in the plurality of processing surfaces, surfaces obtained by polygonal approximation of curved surfaces included in the plurality of processing surfaces, first imaginary surfaces created based on control points of the curved surfaces, and second imaginary surfaces created based on sampling points obtained by sampling the plurality of processing surfaces at predetermined intervals.

4. The data mapping generation apparatus according to any one of claims 1 to 3, characterized in that, The direction determination unit determines the direction based on the normal vector perpendicular to the remaining machined surface.

5. The data mapping generation apparatus according to claim 4, characterized in that, The direction is parallel to the vector represented by the sum of the normal vectors perpendicular to the remaining machined surfaces.

6. The data mapping generation apparatus according to any one of claims 1 to 5, characterized in that, The data mapping generation apparatus further includes an evaluation unit that evaluates whether the angle between a normal perpendicular to the processing surface and a vector representing the direction is greater than or equal to a predetermined value. If the evaluation unit determines that the angle is above the specified value, the detection unit changes the detection result of the remaining processed surface.

7. A computer-readable storage medium, characterized in that, Storage causes the computer to execute the following commands: Detect the remaining machined surfaces among multiple machined surfaces that have not generated data mappings; Based on the remaining processing surface, determine the direction used to generate the data mapping; Based on the determined direction, the data mapping of one of the plurality of machining surfaces is generated.

Citation Information

Patent Citations

  • Simulation device, numeric controller and simulation method

    JP2021105825A