Device, computer program, and method for determining dimension and / or position of workpiece

The device automatically determines workpiece dimensions and position using tool position information, addressing the challenge of manual shape determination in machining simulations without G00/G01 command data, enhancing machining simulation efficiency.

WO2026140079A1PCT designated stage Publication Date: 2026-07-02FANUC LTD

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
FANUC LTD
Filing Date
2024-12-24
Publication Date
2026-07-02

Smart Images

  • Figure JP2024045743_02072026_PF_FP_ABST
    Figure JP2024045743_02072026_PF_FP_ABST
Patent Text Reader

Abstract

Provided is a technology for automatically determining a dimension and / or position of a workpiece material. A dimension and / or position determination device 10 for a workpiece comprises: a position information acquisition unit 1001 that acquires tool position information each unit time when a machine tool for processing the workpiece is driven; a processed portion estimation unit 1002 that estimates a processed portion of the workpiece on the basis of the tool position information for each unit time; and a determination unit 1004 that determines the dimension and / or position of the workpiece on the basis of the estimated processed portion.
Need to check novelty before this filing date? Find Prior Art

Description

Device, computer program, and method for determining dimensions and / or position of workpiece

[0001] The present disclosure relates to a device, a computer program, and a method for determining dimensions and / or position of a workpiece.

[0002] Conventionally, in machining simulation, there is a technique of analyzing a machining program to obtain command information such as G00 / G01 including coordinate information, specifying a machining part based on the command information, and determining a workpiece material shape so as to include the machining part.

[0003] International Publication No. 2023 / 084714

[0004] However, when the machining program does not include command information such as G00 / Go1, it is difficult to specify the workpiece material shape from the machining program. When the workpiece material shape cannot be specified from the machining program, it is necessary to manually determine the workpiece material shape.

[0005] An object of the present disclosure is to provide a device that enables determination of dimensions and / or position of a workpiece material even when a machining program does not include a workpiece material shape and command information such as G00 / G01.

[0006] The present disclosure is a device for determining dimensions and / or position of a workpiece, comprising: a position information acquisition unit that acquires tool position information for each unit time when a machine tool for machining the workpiece is driven; a machining part estimation unit that estimates a machining part of the workpiece based on the tool position information for each unit time; and a determination unit that determines dimensions and / or position of the workpiece based on the estimated machining part.

[0007] This figure shows the overall configuration of the machining system according to this embodiment. This figure shows the configuration of the dimension and / or position determination device according to this embodiment. This figure shows the processing flow performed by the dimension and / or position determination device according to this embodiment. This figure shows the relationship between the estimated machining portion and the workpiece according to this embodiment. This figure shows an example of output according to this embodiment. This figure shows the configuration of the dimension and / or position determination device according to the second modification of this embodiment. This figure shows the processing flow performed by the dimension and / or position determination device according to the third modification of this embodiment. This figure shows how the workpiece of the third modification of this embodiment is processed.

[0008] This embodiment will be described below with reference to the drawings. Note that, for illustrative purposes, some components may be omitted from the drawings used to describe this embodiment. Furthermore, in the drawings and this specification, the same reference numerals indicate the same elements.

[0009] <This Embodiment> (Overall Configuration of the Machining System) Figure 1 shows the overall configuration of the machining system 1. The machining system 1 comprises a dimension and / or position determination device 10, a numerical control (NC) device 20, and a machine tool 30.

[0010] The dimension and / or position determination device 10 is a device for determining the dimensions and / or position of a workpiece to be machined based on tool position information included in the machining program. The dimension and / or position determination device 10 may be implemented on a server or a PC (Personal Computer). The dimension and / or position determination device 10 is connected to the NC device 20 by wire or wireless.

[0011] The NC device 20 is a device capable of controlling the machine tool 30. The NC device 20 is connected to the machine tool 30 by wire or wireless connection.

[0012] The machine tool 30 comprises a servo control device 301, a servo amplifier 302, and a servo motor 303. The servo control device 301 receives a command (i.e., a command value) based on command position information from the NC device 20, transmits a voltage command to the servo amplifier 302, and drives the servo motor 303. The servo control device 301 also receives a feedback signal (i.e., a current value) from the servo motor 303, which is equipped with an encoder. The dimension and / or position determination device 10 or the NC device 20 acquires tool position information based on the command or feedback signal.

[0013] In other words, tool position information is generated based on command position information to the servo motor 303 generated during the actual machining operation, or feedback data from the servo motor 303. Alternatively, tool position information is generated based on command position information to a virtual servo motor generated during a virtual machining simulation, or feedback data from the virtual servo motor. Tool position information is indicated, for example, by coordinate values ​​in the workpiece coordinate system.

[0014] (Configuration of the Dimension and / or Position Determination Device) Figure 2 shows the configuration of the Dimension and / or Position Determination Device 10. The Dimension and / or Position Determination Device 10 includes a control unit 100, a storage unit 101, an output unit 102, and a communication unit 103. The control unit 100 is implemented by a CPU (Central Processing Unit) or the like. The control unit 100 performs various functions by operating according to a computer program prepared in advance in the storage unit 101. Specifically, the control unit 100 has the functions of a position information acquisition unit 1001, a processing part estimation unit 1002, a threshold acquisition unit 1003, and a determination unit 1004. These functions will be described later.

[0015] The memory unit 101 stores the processing program and various threshold values ​​used in the determination operations implemented in the control unit 100. The memory unit 101 is a so-called auxiliary storage device, and is a non-volatile storage area such as an HDD (Hard Disk Drive) or SSD (Solid State Drive). The memory unit 101 may also be a tangible storage medium that is not temporary.

[0016] The output unit 102 outputs the data generated by the control unit 100. The output unit 102 is, for example, a display device.

[0017] The communication unit 103 is an interface for connecting to the NC device 20 or related devices of the dimension and / or position determination device 10. Through the communication unit 103, the dimension and / or position determination device 10 communicates with the NC device 20 and the machine tool 30. The dimension and / or position determination device 10 can receive various operations from the operator via the communication unit 103.

[0018] (Example of operation of the dimension and / or position determination device) Figure 3 shows the processing flow performed by the dimension and / or position determination device 10.

[0019] [Step S101] The control unit 100 obtains a machining program from the storage unit 101. The machining program is a program related to the machining of the workpiece to be machined. The machining program is a program generated by actual machining operations or machining simulations.

[0020] [Step S102] The position information acquisition unit 1001 analyzes the machining program and acquires tool position information for each unit of time.

[0021] The tool position information per unit time is data acquired through actual machining operations or machining simulations. For example, the tool position information per unit time is generated based on command position information from the NC device 20 to the servo motor 303, or command position information from a simulator that simulates the NC device 20 (i.e., a virtual NC device) to a virtual servo motor. Alternatively, the tool position information per unit time is generated based on feedback data acquired from the servo motor 303 driven by the command position information, or feedback data acquired from a simulator that simulates the servo motor 303 (i.e., a virtual servo motor). The tool position information per unit time is indicated by coordinate values ​​in the work coordinate system.

[0022] [Step S103] The machining area estimation unit 1002 estimates the machining area of ​​the workpiece based on tool position information for each unit of time.

[0023] For example, the control unit 100 prepares a coordinate space and divides it into voxels (V) as shown in Figure 4. The voxels may be set to any size. The control unit 100 maps the acquired tool position information for each unit time into a coordinate space containing multiple voxels.

[0024] The machining area estimation unit 1002 calculates the distribution density of each voxel. Here, the distribution density indicates the number of tool position information points contained in a unit volume. In other words, the distribution density indicates the volume density of tool position information. Therefore, the machining area estimation unit 1002 calculates the distribution density of each voxel by counting the number of tool position information points contained in each voxel.

[0025] The threshold acquisition unit 1003 acquires a predetermined threshold for distribution density from the storage unit 101. The threshold acquisition unit 1003 may also acquire the predetermined threshold via user input.

[0026] The processed portion estimation unit 1002 determines whether the distribution density calculated for each voxel is equal to or greater than a predetermined threshold obtained from the threshold acquisition unit 1003. If it is determined that the calculated distribution density is equal to or greater than the predetermined threshold, the processed portion estimation unit 1002 determines that the corresponding voxel is the estimated processed portion ("EPP" in Figure 4). If it is determined that the calculated distribution density is less than the predetermined threshold, it determines that the corresponding voxel is the unprocessed portion (the portion other than "EPP" in Figure 4).

[0027] [Step S104] The determination unit 1004 determines the dimensions and / or position of the workpiece based on the estimated processing portion.

[0028] For example, the determination unit 1004 determines the dimensions and position of a rectangular parallelepiped that exactly encloses the estimated machining area. In Figure 4, the rectangular parallelepiped indicated by the thick line (M) exactly encloses the estimated machining area (EPP). Therefore, the dimensions of the rectangular parallelepiped indicated by the thick line (M) are determined to be the dimensions of the workpiece, and the position of the rectangular parallelepiped indicated by the thick line (M) in the work coordinate system is determined to be the position of the workpiece.

[0029] If the dimensions of the workpiece are set in advance by the operator, the determination unit 1004 determines only the position of the workpiece based on the estimated machining portion. More specifically, the determination unit 1004 determines the position of the workpiece such that the workpiece, having the set dimensions, exactly encloses the estimated machining portion (EPP).

[0030] If it is not necessary to obtain the position of the workpiece, the determination unit 1004 may determine only the dimensions of the workpiece based on the estimated workpiece portion.

[0031] Furthermore, the workpiece containing the estimated processed portion may have any shape. For example, the workpiece may be cubic, cylindrical, triangular prism, cone, or triangular pyramid.

[0032] [Step S105] The output unit 102 outputs the determined dimensions and / or position of the workpiece. The output unit 102 includes a display device.

[0033] For example, as shown in Figure 5, the output unit 102 creates a displayable workpiece (DM) based on a workpiece (M) having determined dimensions and / or position, and displays the displayable workpiece (DM) on the display device.

[0034] Furthermore, the output unit 102 may create a display-oriented estimated processed portion (DEPP) based on the estimated processed portion (EPP), and display the display-oriented estimated processed portion (DEPP) on the display device.

[0035] For example, the output unit 102 creates a display-oriented estimated machining area (DEPP) based on the estimated machining position included in the estimated machining area (EPP) from the tool position information. Here, the estimated machining position refers to the tool position information included in the estimated machining area (EPP) from all the tool position information.

[0036] Alternatively, the output unit 102 creates a displayable estimated machining area (DEPP) based on a trajectory formed by connecting the estimated machining positions included in the estimated machining area (EPP) from the tool position information with straight or curved line segments. Further alternatively, the output unit 102 creates a displayable estimated machining area (DEPP) based on the range identified as the estimated machining area (EPP) within the coordinate space to which the tool position information belongs. The output unit 102 displays the created displayable estimated machining area (DEPP) on the display device.

[0037] Furthermore, the output unit 102 may create a tool path (T) and display the tool path (T) on a display device.

[0038] For example, the output unit 102 causes all tool position information to be displayed on the display device as a tool path (T). That is, the output unit 102 causes all tool position information included in the estimated machining area (EPP) and the area other than the estimated machining area (EPP) to be displayed on the display device as a tool path (T). Alternatively, the output unit 102 causes all tool position information to be connected by straight or curved line segments to be displayed on the display device as a tool path (T).

[0039] As shown in Figure 5, the output unit 102 may display all of the following on the display device: the workpiece for display (DM), the estimated machining area for display (DEPP), and the tool path (T). Alternatively, the output unit 102 may display at least one of the workpiece for display (DM), the estimated machining area for display (DEPP), and the tool path (T) on the display device.

[0040] The dimension and / or position determination device 10 according to the embodiment described above provides the following effects.

[0041] The dimensional and / or positioning device 10 according to this embodiment includes a position information acquisition unit 1001 that acquires tool position information for each unit time during the driving of a machine tool for machining a workpiece, a machining part estimation unit 1002 that estimates a machining part of the workpiece based on the tool position information for each unit time, and a determination unit 1004 that determines the dimensions and / or position of the workpiece based on the estimated machining part. Accordingly, even when command information such as G00 / G01 is not included in the machining program, the workpiece shape can be automatically determined based on the tool position information.

[0042] <First Modified Example> Next, a first modified example of the above-described embodiment will be described. The differences from the main embodiment will be mainly described.

[0043] In the above-described embodiment, the machining part estimation unit 1002 estimated the machining part of the workpiece using the distribution density indicated by the number of tool position information included in the unit volume as the tool position information for each unit time. In the first modified example, alternatively, the machining part estimation unit 1002 estimates the machining part of the workpiece using the distribution density indicated by the number of tool position information per unit length on the locus connecting the tool position information with line segments.

[0044] For example, the position information acquisition unit 1001 analyzes the machining program and acquires the tool position information for each unit time.

[0045] Next, the machining part estimation unit 1002 estimates the machining part of the workpiece based on the tool position information for each unit time. For example, the machining part estimation unit 1002 calculates the distribution density of the tool position information. Here, the distribution density indicates the line density. That is, the distribution density indicates the number of tool position information per unit length on the locus connecting the tool position information with line segments.

[0046] The feed rate of the tool when machining is performed on the workpiece is smaller than the feed rate when machining is not performed. Therefore, the value of the line density when machining is performed on the workpiece is larger than the value of the line density when machining is not performed. That is, the line density has an inverse proportional relationship with the tool speed.

[0047] The threshold value acquisition unit 1003 acquires a predetermined threshold value for the distribution density from the storage unit 101. The threshold value acquisition unit 1003 may directly acquire the predetermined threshold value via user input.

[0048] The processed portion estimation unit 1002 determines whether the distribution density calculated for each line segment of unit length is equal to or greater than the predetermined threshold value acquired from the threshold value acquisition unit 1003. When it is determined that the calculated distribution density is equal to or greater than the predetermined threshold value, the processed portion estimation unit 1002 determines that the corresponding line segment is the estimated processed portion. When it is determined that the calculated distribution density is less than the predetermined threshold value, it is determined that the corresponding line segment is an unprocessed portion.

[0049] Thereafter, in the same manner as in the above-described embodiment, the determination unit 1004 determines the dimensions and / or position of the workpiece to be processed based on the estimated processed portion. Also, in the same manner as in the above-described embodiment, the output unit 102 outputs the determined dimensions and / or position of the workpiece to be processed.

[0050] As described above, according to the dimension and / or position determination device 10 according to the first modification of the present embodiment, the following effects can be obtained.

[0051] The distribution density used by the processed portion estimation unit 1002 of the dimension and / or position determination device 10 for estimating the processed portion is the number of tool position information per unit length on the locus connecting the tool position information by line segments. Thereby, even when the machining program does not include command information such as G00 / G01, the workpiece shape can be automatically determined based on the tool position information. Furthermore, it is possible to realize the determination of the workpiece shape in accordance with the tool speed.

[0052] <Second Modification> Next, a second modification of the above-described embodiment will be described. Mainly, the differences from the present embodiment and the first modification will be described.

[0053] As shown in FIG. 6, the dimension and / or position determination device 10 according to the second modification further includes a workpiece information acquisition unit 1005. The workpiece information acquisition unit 1005 acquires workpiece information to be processed via user input. Alternatively, the workpiece information acquisition unit 1005 acquires workpiece information to be processed from the storage unit 101.

[0054] The workpiece information includes the shape or orientation of the workpiece. The shape of the workpiece may be any shape. For example, the shape may be a cube, cylinder, triangular prism, cone, triangular pyramid, etc. The orientation of the workpiece may be any direction. For example, the orientation may be indicated by information indicating that it is "parallel to the X-axis direction."

[0055] The determination unit 1004 acquires workpiece information from the workpiece information acquisition unit 1005, and reflects this workpiece information in the workpiece area estimated by the workpiece area estimation unit 1002 to determine the dimensions and / or position of the workpiece.

[0056] Specifically, if the acquired information on the workpiece includes the shape of the workpiece, the determination unit 1004 determines the dimensions and / or position of the workpiece based on that shape.

[0057] Alternatively, if the acquired information on the workpiece includes the orientation of the workpiece, the determination unit 1004 determines the dimensions and / or position of the workpiece based on the orientation of the workpiece.

[0058] The following effects are achieved by the dimension and / or position determination device 10 according to the second modified example of this embodiment described above.

[0059] The dimension and / or position determination device 10 further includes a workpiece information acquisition unit 1005 that acquires workpiece information, including the shape or arrangement direction of the workpiece. The determination unit 1004 reflects the workpiece information acquired from the workpiece information acquisition unit 1005 onto the estimated workpiece portion to determine the dimensions and / or position of the workpiece. This makes it possible to acquire a workpiece that reflects the desired shape or arrangement direction set by the operator.

[0060] <Third Modification> Next, a third modification of the above-described embodiment will be explained using Figures 7 and 8. The differences between this embodiment and the first and second modifications will be explained in detail.

[0061] Figure 7 shows the processing flow performed by the dimension and / or position determination device 10 according to the third modified example. Steps S201 to S202 in Figure 7 are the same as steps S101 to S102 in this embodiment.

[0062] Next, in steps S203 to S209 below, the machining portion estimation unit 1002 estimates the machining portion of the workpiece based on tool position information for each unit of time.

[0063] [Step S203] The machining portion estimation unit 1002 initializes the workpiece to include all tool position information. This results in the acquisition of a rectangular parallelepiped with length D in the X-axis direction, for example, as shown in 301 of Figure 8.

[0064] Furthermore, the initialized workpiece may have any shape and size. For example, the initialized workpiece may be cubic, cylindrical, triangular prism, cone, triangular pyramid, etc.

[0065] [Step S204] The machining area estimation unit 1002 counts the number of tool position information points r included in the distance d. Specifically, as shown in 302 of Figure 8, it counts the number of tool position information points r included from the left side surface of the workpiece to the distance d. In other words, the machining area estimation unit 1002 obtains the number of tool position information points included in a predetermined volume portion.

[0066] [Step S205] The processing portion estimation unit 1002 determines whether the number r is greater than or equal to a preset threshold r_th. The threshold r_th is obtained from the storage unit 101 by the threshold acquisition unit 1003. The threshold acquisition unit 1003 may also directly obtain the threshold r_th via user input.

[0067] [Step S206] If the number r is less than a preset threshold r_th (Step S205: No), the machining portion estimation unit 1002 determines that there is no machining portion between the left side of the workpiece and a distance d. In this case, the machining portion estimation unit 1002 shrinks the workpiece by d. As shown in 303 of Figure 8, the machining portion estimation unit 1002 obtains a workpiece whose length in the X-axis direction is (D-d).

[0068] [Step S207] If the number r is greater than or equal to a preset threshold r_th (Step S205: Yes), the machining area estimation unit 1002 determines that a machining area exists between the left side of the workpiece and a distance d. The machining area estimation unit 1002 updates d to the value of d / 2 in order to further specify the machining area within the range up to distance d (see 304 in Figure 8). Note that the value of d may be updated to any value less than d, and is not limited to updating to the value of d / 2.

[0069] [Step S208] Determine whether the updated d is less than a preset threshold d_th. The threshold d_th is obtained from the storage unit 101 by the threshold acquisition unit 1003. The threshold acquisition unit 1003 may also directly obtain the threshold d_th via user input.

[0070] If the updated d is greater than or equal to the pre-set threshold d_th (step S208: No), the process returns to step S204. Step S204 is then executed again for the updated d.

[0071] If the updated d is less than a preset threshold d_th (step S208: yes), the machining portion estimation unit 1002 determines that the updated d is below the lower limit of the distance d and that the distance d cannot be made any smaller. At this time, the machining portion estimation unit 1002 determines that the estimated machining portion is the volume portion having a distance d that was determined to exist in the previous step S207. Next, in this case, the machining portion estimation unit 1002 proceeds to step S209.

[0072] [Step S209] The machining area estimation unit 1002 determines whether all processing in the positive (+) / negative (-) direction of each axis has been completed. As described above, the processing from the left side of the workpiece to the right, that is, the processing in the positive (+) direction of the X axis, has been completed.

[0073] As described above, the processing from the right side of the workpiece toward the left, that is, the processing in the negative (-) direction of the X axis, has not been completed (step S209: No), so steps S204 to S208 are executed for the negative (-) direction of the X axis. Similarly, steps S204 to S208 are executed for the positive (+) / negative (-) direction of the Y axis and the positive (+) / negative (-) direction of the Z axis.

[0074] [Step S210] When all processing in the positive (+) / negative (-) direction of each axis is completed (Step S209: Yes), the determination unit 1004 determines that the dimensions and / or position of the workpiece at the time all processing is completed are the dimensions and / or position of the workpiece.

[0075] For example, the determination unit 1004 determines that the dimensions and position of the workpiece at the time all processing is completed are the dimensions and position of the workpiece.

[0076] Furthermore, if the dimensions of the workpiece are set in advance by the operator, the determination unit 1004 determines only the position of the workpiece so that the set dimensions of the workpiece include the dimensions of the workpiece at the time all processing is completed (i.e., at step S210).

[0077] If it is not necessary to obtain the position of the workpiece, the determination unit 1004 may determine only the dimensions of the workpiece based on the dimensions of the workpiece at the time all processing is completed (i.e., at step S210).

[0078] [Step S211] Similar to step S105 of this embodiment, the output unit 102 outputs the determined dimensions and / or position of the workpiece.

[0079] The following effects are achieved with the dimension and / or position determination device 10 according to the third modified example of this embodiment described above.

[0080] The machining portion estimation unit 1002 of the dimension and / or position determination device 10 acquires the number of tool position pieces included in a predetermined volume portion based on tool position information per unit time. The machining portion estimation unit 1002 also determines whether or not the predetermined volume portion is estimated to be a machining portion of the workpiece based on the number of tool position pieces. This reduces the amount of computation required to estimate the machining portion and enables faster estimation of the machining portion.

[0081] <Other Embodiments> Although this embodiment has been described above, it is merely an example and does not limit the scope of the present invention. This embodiment can be implemented in various ways without departing from the spirit of the present invention.

[0082] (Examples of various embodiments) Exemplarily, the present disclosure includes dimensional and / or positioning devices, computer programs and methods as described in the following embodiments.

[0083] (Note 1) A device (10) for determining the dimensions and / or position of a workpiece, comprising: a position information acquisition unit (1001) that acquires tool position information for each unit time when a machine tool (30) for machining the workpiece is driven; a machining portion estimation unit (1002) that estimates the machining portion of the workpiece based on the tool position information for each unit time; and a determination unit (1004) that determines the dimensions and / or position of the workpiece based on the estimated machining portion.

[0084] (Note 2) The above-mentioned machining portion estimation unit (1002) obtains the distribution density of the tool position information based on the tool position information for each unit time, and estimates the machining portion of the workpiece based on a comparison of the distribution density with a predetermined threshold.

[0085] (Note 3) The above distribution density is the number of tool position information per unit volume.

[0086] (Note 4) The above distribution density is the number of tool position information points per unit length on the trajectory obtained by connecting the tool position information points with line segments.

[0087] (Note 5) The above-described dimension and / or position determination device (10) further comprises a threshold acquisition unit (1003) that acquires the predetermined threshold, and the processing portion estimation unit (1002) estimates the processing portion of the object to be processed based on a comparison of the distribution density with the predetermined threshold acquired from the threshold acquisition unit (1003).

[0088] (Note 6) The determination unit (1004) determines the dimensions and / or position of the workpiece so as to include the estimated processing portion.

[0089] (Note 7) The above-described dimension and / or position determination device (10) further comprises a workpiece information acquisition unit (1005) that stores and acquires workpiece information including the shape or arrangement direction of the workpiece, and the determination unit (1004) determines the dimensions and / or position of the workpiece by reflecting the workpiece information acquired from the workpiece information acquisition unit (1005) in the estimated workpiece portion.

[0090] (Note 8) The above-mentioned dimension and / or position determination device (10) further comprises an output unit (102) that outputs the dimensions and / or position of the workpiece.

[0091] (Note 9) The output unit (102) above creates a display object (DM) based on the dimensions and / or position of the workpiece determined above, and displays the display object (DM).

[0092] (Note 10) The output unit (102) above creates a displayable estimated machining area (DEPP) based on the estimated machining position included in the estimated machining area, the trajectory obtained by connecting the estimated machining positions included in the estimated machining area with line segments, or the range determined to be the estimated machining area within the coordinate space to which the tool position information belongs, and further displays the displayable estimated machining area (DEPP).

[0093] (Note 11) The output unit (102) described above further displays the tool position information, or trajectory information (T) obtained by connecting the tool position information with line segments.

[0094] (Note 12) The above tool position information is based on command position information for the servo motor (303) generated by the numerical control device (20) or a simulator that simulates the numerical control device (20), or feedback data obtained from the servo motor (303) driven by the command position information or a simulator that simulates the servo motor (303).

[0095] (Note 13) The above-mentioned machining portion estimation unit (1002) obtains the number of tool position information included in a predetermined volume portion based on the tool position information for each unit time, and determines whether the predetermined volume portion is estimated to be the machining portion of the workpiece based on the number of tool position information.

[0096] (Note 14) A computer program that causes the processor (91) of a device for determining the dimensions and / or position of a workpiece to function as: a position information acquisition unit (1001) that acquires tool position information for each unit time when a machine tool (30) for machining the workpiece is driven; a machining part estimation unit (1002) that estimates the machining part of the workpiece based on the tool position information for each unit time; and a determination unit (1004) that determines the dimensions and / or position of the workpiece based on the estimated machining part.

[0097] (Note 15) A method for acquiring tool position information per unit time when a machine tool (30) for machining a workpiece is driven, estimating the machined portion of the workpiece based on the tool position information per unit time, and determining the dimensions and / or position of the workpiece based on the estimated machined portion.

[0098] 1. Machining System 10. Dimension and / or Position Determination Device 100. Control Unit 1001. Position Information Acquisition Unit 1002. Machining Part Estimation Unit 1003. Threshold Acquisition Unit 1004. Determination Unit 1005. Workpiece Information Acquisition Unit 101. Storage Unit 102. Output Unit 103. Communication Unit 20. NC Device 30. Machine Tool 301. Servo Control Device 302. Servo Amplifier 303. Servo Motor

Claims

1. A device for determining the dimensions and / or position of a workpiece, comprising: a position information acquisition unit that acquires tool position information for each unit time when a machine tool for machining the workpiece is driven; a machining portion estimation unit that estimates the machining portion of the workpiece based on the tool position information for each unit time; and a determination unit that determines the dimensions and / or position of the workpiece based on the estimated machining portion.

2. The apparatus according to claim 1, wherein the machining portion estimation unit obtains the distribution density of the tool position information based on the tool position information for each unit of time, and estimates the machining portion of the workpiece based on a comparison of the distribution density with a predetermined threshold.

3. The apparatus according to claim 2, wherein the distribution density is the number of tool position information per unit volume.

4. The apparatus according to claim 2, wherein the distribution density is the number of tool position information points per unit length on a trajectory obtained by connecting the tool position information points with line segments.

5. The apparatus according to claim 2, further comprising a threshold acquisition unit for acquiring a predetermined threshold, wherein the processing portion estimation unit estimates the processing portion of the object to be processed based on a comparison of the distribution density with the predetermined threshold acquired from the threshold acquisition unit.

6. The apparatus according to claim 1, wherein the determination unit determines the dimensions and / or position of the workpiece so as to include the estimated processing portion.

7. The apparatus according to claim 1, further comprising a workpiece information acquisition unit that acquires workpiece information including the shape or arrangement direction of the workpiece, wherein the determination unit reflects the workpiece information acquired from the workpiece information acquisition unit onto the estimated workpiece portion to determine the dimensions and / or position of the workpiece.

8. The apparatus according to claim 1, further comprising an output unit that outputs the dimensions and / or position of the workpiece.

9. The apparatus according to claim 8, wherein the output unit creates a display-oriented processed object based on the dimensions and / or position of the processed object determined, and displays the display-oriented processed object.

10. The apparatus according to claim 9, wherein the output unit creates a displayable estimated machining portion based on the estimated machining position included in the estimated machining portion, the trajectory obtained by connecting the estimated machining positions included in the estimated machining portion with line segments, or the range determined to be the estimated machining portion within the coordinate space to which the tool position information belongs, and further displays the displayable estimated machining portion.

11. The apparatus according to claim 10, wherein the output unit further displays the tool position information, or trajectory information obtained by connecting the tool position information with line segments.

12. The apparatus according to claim 1, wherein the tool position information is based on command position information for a servo motor generated by a numerical control device or a simulator that simulates the numerical control device, or on feedback data obtained from a servo motor driven by the command position information or a simulator that simulates the servo motor.

13. The apparatus according to claim 1, wherein the machining portion estimation unit obtains the number of tool position pieces included in a predetermined volume portion based on the tool position pieces for each unit of time, and determines whether the predetermined volume portion is estimated to be the machining portion of the workpiece based on the number of tool position pieces.

14. A computer program that causes the processor of a device for determining the dimensions and / or position of a workpiece to function as: a position information acquisition unit that acquires tool position information for each unit time when a machine tool for machining the workpiece is driven; a machining portion estimation unit that estimates the machining portion of the workpiece based on the tool position information for each unit time; and a determination unit that determines the dimensions and / or position of the workpiece based on the estimated machining portion.

15. A method for acquiring tool position information per unit time during the operation of a machine tool for machining a workpiece, estimating the machined portion of the workpiece based on the tool position information per unit time, and determining the dimensions and / or position of the workpiece based on the estimated machined portion.