Judging System
The system facilitates rapid identification of machined surface defects and shape errors by comparing calculated and measured surface shapes, addressing the lack of direct comparison in existing technologies.
Patent Information
- Application Number
- JP2022510630
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-03-27
- Filing Date
- 2021-03-24
- Publication Date
- 2024-08-14
- Estimated Expiration
- 2041-03-24
AI Technical Summary
Current technologies lack the ability to directly compare the machined surface shape calculated based on the actual motor position with the measured machined surface shape, leading to prolonged identification of surface defects and shape errors in machined workpieces.
A system that includes a motor position acquisition unit, machine information acquisition unit, and machined surface analysis unit to compare the machined surface shape calculated based on the actual motor position with the measured shape, using correlation analysis to identify defects and errors in a short time.
Enables rapid determination of machined surface defects and shape errors by directly comparing calculated and measured surface shapes, identifying causes within the machine tool system components.
Smart Images

Figure 0007534386000009 
Figure 0007534386000012 
Figure 0007534386000010
Abstract
Description
[Technical field]
[0001] The present invention relates to a system for determining factors such as machined surface defects and shape errors. [Background technology]
[0002] It is known that the accuracy of position control of the motors that drive each drive axis of a machine tool has a large effect on the machining result. For this reason, various techniques are known for determining the causes of defects in the machined surface and shape errors of a workpiece machined by a machine tool (for example, see Patent Documents 1 to 3). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent No. 6366875 [Patent Document 2] Patent No. 5197640 [Patent Document 3] JP 2017-30066 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, there is currently no technology that can directly compare the machined surface shape calculated based on the actual motor position with the machined surface shape obtained by actually measuring the machined surface of a machined workpiece, and it currently takes a long time to identify the causes of machined surface defects and shape errors.
[0005] Therefore, there is a need for technology that can quickly determine factors such as defective surfaces and shape errors by comparing the machined surface shape calculated based on the actual motor position with the machined surface shape obtained by actually measuring the machined surface of a machined workpiece. [Means for solving the problem]
[0006] One aspect of the present disclosure is a judgment system including a motor position acquisition unit that acquires an actual position of a motor that drives a drive shaft of a machine tool, a machine information acquisition unit that acquires machine information including a drive shaft configuration of the machine tool, a tool shape, and an unmachined workpiece shape, a motor position machining surface calculation unit that calculates a shape of a machining surface of a machined workpiece based on the actual position of the motor and the machine information, an actual machining surface acquisition unit that acquires the shape of the machining surface of the actually machined workpiece, and a machining surface analysis unit that compares a first correlation which is the correlation between the shape of the machining surface calculated by the motor position machining surface calculation unit and the shape of the machining surface acquired by the actual machining surface acquisition unit. Effect of the Invention
[0007] According to the present disclosure, by directly comparing the correlation between the machined surface shape calculated based on the actual motor position and the machined surface shape obtained by actually measuring the machined surface of the machined workpiece, factors such as machined surface defects and shape errors can be determined in a short period of time. [Brief description of the drawings]
[0008] [Figure 1] 1 is a functional block diagram showing a configuration of a determination system according to an embodiment of the present invention. [Diagram 2] 10 is a diagram for explaining a method of calculating a reference surface for each of shapes A to D according to the present embodiment. FIG. [Diagram 3] FIG. 13 is a diagram for explaining how the shapes A to D according to the present embodiment are represented in the same coordinate system. [Figure 4] 1A to 1C are diagrams for explaining a method for analyzing causes of machined surface defects and shape errors according to the present embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, an embodiment of the present disclosure will be described in detail with reference to the drawings.
[0010] 1 is a functional block diagram showing the configuration of a determination system 100 according to this embodiment. As shown in FIG 1, the determination system 100 includes a program generating unit 1, a numerical control device 2, a servo control device 3, a motor 4, a machine tool 5, and a determination unit 6.
[0011] The program generation unit 1 generates a machining program based on shape data of a workpiece before and after machining (an unmachined workpiece and a machined workpiece) and machine information (described later). Shape data includes three-dimensional CAD (Computer Aided Design) data, etc. Machining programs include machining programs created by CAM (Computer Aided Manufacturing).
[0012] The numerical control device 2 distributes a command for a motor's command position to a command position acquisition unit 11 (to be described later) based on a machining program. Specifically, the numerical control device 2 generates a position command for the motor 4 based on the machining program generated by the program generation unit 1. The position specified by this position command means the command position of the motor 4 (hereinafter, also simply referred to as the "command position"). The numerical control device 2 then distributes the command position to the servo control device 3. An example of a control for distributing commands is CNC (Computerized Numerical Control). The numerical control device 2 also stores machine information including a drive axis configuration, a tool shape, and an unmachined workpiece shape of a machine tool 5 (to be described later) in a rewritable memory such as an EEPROM.
[0013] The servo control device 3 controls the drive current of the motor 4 based on a position command (command position) from the numerical control device 2 and a position feedback detected by an encoder provided in the motor 4.
[0014] The motor 4 is provided in the machine tool 5. The motor 4 includes a motor that drives a moving part in the machine tool 5, such as a feed axis of a tool or a feed axis of a workpiece. The motor 4 is provided with an encoder (not shown) that detects the rotational position (rotational angle) of the motor 4. The rotational position detected by the encoder indicates the actual position of the motor 4, and is used as position feedback. Here, since the rotational position of the motor 4 and the position of the moving part of the machine tool 5 correspond to each other, the rotational position detected by the encoder, i.e., the position feedback, indicates the position of the tool or the position of the workpiece.
[0015] The machine tool 5 is a machine that performs cutting processing on the surface of a workpiece (object to be machined) using a tool such as a ball end mill, etc. Each drive shaft of the machine tool 5 is driven by a motor 4.
[0016] Next, the determination unit 6 according to this embodiment will be described in detail. The determination unit 6 according to this embodiment is configured by an arithmetic processing device such as a computer including a CPU, a ROM, a RAM, etc. In FIG. 1, an example in which the determination unit 6 is configured by a computer or the like separate from the numerical control device 2 is shown, but the determination unit 6 may be configured integrally with the numerical control device 2.
[0017] As shown in FIG. 1, the judgment unit 6 according to this embodiment includes a position information acquisition unit 10, a machine information acquisition unit 12, a command machining surface calculation unit 13, a motor position machining surface calculation unit 22, an actual machining surface acquisition unit 24, a program machining surface calculation unit 26, and a machining surface analysis unit 50.
[0018] The position information acquisition unit 10 includes a command position acquisition unit 11 that acquires a command position of the motor 4 that drives each drive shaft of the machine tool 5, and a motor position acquisition unit 21 that acquires an actual position (hereinafter also simply referred to as an "actual position") of the motor 4 that drives each drive shaft of the machine tool 5. Specifically, the command position of the motor 4 is acquired from the numerical control device 2. Moreover, the actual position of the motor 4 is acquired from the servo control device 3.
[0019] The machine information acquisition unit 12 acquires machine information including the drive axis configuration, tool shape, and unmachined workpiece shape of the machine tool 5. Specifically, the machine information is acquired from the program generation unit 1 or the numerical control device 2. Alternatively, the machine information can be acquired by the user directly inputting and setting it.
[0020] The command machining surface calculation unit 13 calculates the shape of the machined surface of the machined workpiece based on the command position acquired by the command position acquisition unit 11 and the machine information acquired by the machine information acquisition unit 12 .
[0021] Specifically, the command machining surface calculation unit 13 calculates a tool path based on the command position and position information of each drive axis of the machine tool 5, and simulates the shape of a three-dimensional machining surface based on the tool shape and the shape of an unmachined workpiece. From the result of the simulation, the command machining surface calculation unit 13 obtains the machining surface shape of the machined workpiece.
[0022] The motor position / machined surface calculation unit 22 calculates the shape of the machined surface of the machined workpiece based on the actual position acquired by the motor position acquisition unit 21 and the machine information acquired by the machine information acquisition unit 12 .
[0023] Specifically, the motor position machining surface calculation unit 22 calculates a tool path based on the actual position and position information of each drive axis of the machine tool 5, and simulates the three-dimensional shape of the machining surface based on the tool shape and the unmachined workpiece shape. From the result of the simulation, the motor position machining surface calculation unit 22 acquires the machining surface shape of the machined workpiece.
[0024] The actual machined surface acquisition unit 24 measures and acquires the machined surface shape of the workpiece that is actually machined based on the machining program generated by the program generation unit 1. The measuring device may be any device capable of measuring the machined surface shape, and for example, the machined surface shape of the machined workpiece can be acquired from the measurement results measured using a conventionally known surface roughness meter or the like.
[0025] The program machining surface calculation unit 26 calculates the shape of the machining surface of the workpiece based on the machining program. In this embodiment, the program machining surface calculation unit 26 calculates the shape of the machining surface of the machined workpiece based on the motor position in the machining program and the machine information acquired by the machine information acquisition unit 12.
[0026] More specifically, the program machining surface calculation unit 26 calculates a tool path based on the position of the motor in the machining program and the position information of each drive axis of the machine tool 5, and simulates the shape of the three-dimensional machining surface based on the tool shape and the shape of the unmachined workpiece. From the result of the simulation, the program machining surface calculation unit 26 obtains the shape of the machining surface of the machined workpiece.
[0027] The machining surface analysis unit 50 analyzes a third correlation which is the correlation between the shape of the machining surface calculated by the program machining surface calculation unit 26 (hereinafter also simply referred to as "shape A") and the shape of the machining surface calculated by the command machining surface calculation unit 13 (hereinafter also simply referred to as "shape B"), a second correlation which is the correlation between the shape of the machining surface calculated by the command machining surface calculation unit 13 (shape B) and the shape of the machining surface calculated by the motor position machining surface calculation unit 22 (hereinafter also simply referred to as "shape C"), and a first correlation which is the correlation between the shape of the machining surface calculated by the motor position machining surface calculation unit 22 (shape C) and the shape of the machining surface acquired by the actual machining surface acquisition unit 24 (hereinafter also simply referred to as "shape D"), thereby analyzing factors such as machining surface defects and shape errors.
[0028] In order for the machining surface analysis unit 50 to easily compare the correlations of the shapes A to D, it is preferable to represent the shapes A to D in the same coordinate system. Therefore, an example of a method for representing the shapes A to D in the same coordinate system will be described with reference to Figs. 2 and 3. Fig. 2 is a diagram for explaining a method for calculating the reference plane in each of the shapes A to D. Fig. 3 is a diagram for explaining the representation of the shapes A to D in the same coordinate system.
[0029] In order to express each shape A to D in the same coordinate system, it is necessary to calculate the reference plane of each machining surface shape. Therefore, a method for calculating the equation of the reference plane from the point group on the target machining surface will be described. First, when a point Pn (Xn, Yn, Zn) on the machining surface is defined as a point, and a reference plane d = aX + bY + cZ, a distance ln from the point Pn on the machining surface to the reference plane d is expressed by the following formula (1).
[0030]
number
[0031] The plane where the sum of the squares of the distances from each processing point, L, is the smallest is set as the reference plane. In other words, find a, b, c, and d where L, expressed by the following formula (2), is the smallest.
[0032]
number
[0033] Specifically, a matrix A is defined as in the following equation (3), and the matrix A is subjected to singular value decomposition (SVD) to calculate the reference plane.
[0034]
number
[0035] The vector v corresponding to the smallest singular value σ is the normal vector of the desired reference plane. Therefore, once v = (a, b, c) is determined, the reference plane d can be calculated using the following formula (4).
[0036]
number
[0037] Although the method of calculating the reference plane from the coordinate values of the point group has been described above, the present invention is not limited to this. For example, an ideal machining surface may be set from the outside and used as the reference plane.
[0038] Next, after calculating the reference plane as described above, a new coordinate system (X-axis and Y-axis) is defined on the calculated reference plane. In addition, a function expressing the unevenness information z at a point (x, y) orthogonally projected from the processing point onto the reference plane is defined as the following formula (5).
[0039]
number
[0040] In this way, the function that represents the unevenness information about shape A is z=f A (x,y) and the function that represents the unevenness information about shape B is z=f B (x,y) and the function that represents the unevenness information about the shape C is z=f c (x,y) and the function that represents the unevenness information about the shape D is z=f D (x,y) can be defined as follows:
[0041] The processed surface analysis unit 50 calculates a function (z=f A (x,y)) and a function (z=f B By calculating the correlation of (x, y), it is possible to compare the correlation between shape A and shape B (third correlation). The same is true for the correlation between shape B and shape C (second correlation) and the correlation between shape C and shape D (first correlation).
[0042] The machining surface analysis unit 50 calculates the correlation of the unevenness information of the machining surface using a general method for calculating the correlation of images. A general method for calculating the correlation between two images A(x,y) and B(x,y) is a method using the following equations (6) to (8). Equation (6) is a method called SAD (Sum of Absolute Difference), Equation (7) is SSD (Sum of Squared Difference), and Equation (8) is a method called NCC (Normalized Cross-Correlation).
[0043]
number
[0044]
number
[0045]
number
[0046] Next, a method for analyzing factors such as a machined surface defect and a shape error in the machined surface analysis unit 50 will be described with reference to Fig. 4. Fig. 4 is a diagram for explaining a method for analyzing factors such as a machined surface defect and a shape error according to this embodiment.
[0047] As shown in FIG. 4, shape A is the shape of the machined surface calculated based on the machining program, shape B is the shape of the machined surface calculated based on the command position, shape C is the shape of the machined surface calculated based on the actual position, and shape D is the shape of the machined surface of the actual machined workpiece.
[0048] When a machining surface defect or shape error is confirmed in the machined workpiece, the machining surface analysis unit 50 compares the correlation between the shape C and the shape D. If it is determined that there is no correlation, the machining surface analysis unit 50 determines that the cause (problem location) of the machining surface defect or shape error is other (tool, etc.). The reason for this is that it is considered that the determination that there is no correlation is made due to the influence of the tool shape between the actual position (actual position of the motor 4) and the machining surface, for example.
[0049] If it is determined that there is a correlation between shape C and shape D, the machining surface analysis unit 50 compares the correlation between shape B and shape C. If it is determined that there is no correlation, the machining surface analysis unit 50 determines that the cause of the machining surface defect or shape error is the servo control device 3 that controls the motor 4. The reason for this is that it is considered that the determination that there is no correlation was made due to a deviation between the command position and the actual position.
[0050] If it is determined that there is a correlation between shape B and shape C, the machining surface analysis unit 50 compares the correlation between shape A and shape B. If it is determined that there is no correlation, the machining surface analysis unit 50 determines that the cause of the machining surface defect or shape error is the numerical control device 2 that distributes the command position of the motor 4. The reason for this is that it is considered that the determination that there is no correlation was made because there is a discrepancy between the motor position in the machining program and the command position of the motor 4 distributed by the numerical control device 2.
[0051] On the other hand, when it is determined that there is a correlation between Shape A and Shape B, the machining surface analysis unit 50 determines that the cause of the machining surface defect or shape error is the program generation unit 1 that generated the machining program. This is because the cause of the machining surface defect or shape error is considered not to be the numerical control device 2, the servo control device 3, the motor 4, or the machine tool 5.
[0052] As described above, the judgment system 100 of this embodiment comprises a motor position acquisition unit 21 that acquires the actual position of the motor 4 that drives the drive shaft of the machine tool 5, a machine information acquisition unit 12 that acquires machine information including the drive shaft configuration of the machine tool 5, the tool shape and the unmachined workpiece shape, a motor position machining surface calculation unit 22 that calculates the shape of the machining surface of the machined workpiece based on the actual position of the motor 4 and the machine information, an actual machining surface acquisition unit 24 that acquires the shape of the machining surface of the actually machined workpiece, and a machining surface analysis unit 50 that compares the first correlation, which is the correlation between the shape of the machining surface calculated by the motor position machining surface calculation unit 22 and the shape of the machining surface acquired by the actual machining surface acquisition unit 24.
[0053] This allows the machining surface analysis unit 50 to directly compare the correlation between the shape of the machining surface (shape C) calculated by the motor position machining surface calculation unit 22 and the shape of the machining surface (shape D) acquired by the actual machining surface acquisition unit 24. Therefore, it becomes possible to mechanically determine in a short time whether the cause of machining surface defects, shape errors, etc. is due to the tool shape, etc. In other words, by directly comparing the correlation between the machining surface shape (shape C) calculated based on the actual motor position and the machining surface shape (shape D) obtained by actually measuring the machining surface of the machined workpiece, the cause of machining surface defects, shape errors, etc. can be determined in a short time.
[0054] In addition, the judgment system 100 of this embodiment further includes a command position acquisition unit 11 that acquires a command position of the motor 4 that drives the drive shaft of the machine tool 5, and a command machining surface calculation unit 13 that calculates the shape of the machining surface of the machined workpiece based on the command position and machine information, and the machining surface analysis unit 50 analyzes the first correlation and a second correlation which is the correlation between the shape of the machining surface calculated by the command machining surface calculation unit 13 and the shape of the machining surface calculated by the motor position machining surface calculation unit 22.
[0055] This allows the machining surface analysis unit 50 to compare the correlation (second correlation) between the shape (shape B) of the machining surface calculated by the command machining surface calculation unit 13 and the shape (shape C) of the machining surface calculated by the motor position machining surface calculation unit 22, in addition to the correlation (first correlation) between the shapes C and D. Therefore, it becomes possible to mechanically determine in a short time whether the causes of machining surface defects, shape errors, etc. are due to the tool shape, etc., or due to the servo control device.
[0056] In addition, the judgment system 100 according to this embodiment further includes a program generation unit 1 that generates a machining program for the workpiece, and a program machining surface calculation unit 26 that calculates the shape of the machining surface of the workpiece based on the machining program, and the machining surface analysis unit 50 analyzes the third correlation, which is the correlation between the shape of the machining surface calculated by the program machining surface calculation unit 26 and the shape of the machining surface calculated by the command machining surface calculation unit 13, the second correlation, and the first correlation.
[0057] This allows the machining surface analysis unit 50 to compare the correlation (first correlation) between shape C and shape D and the correlation (second correlation) between shape B and shape C, as well as the correlation (third correlation) between the shape (shape A) of the machining surface calculated by the program machining surface calculation unit 26 and the shape (shape B) of the machining surface calculated by the command machining surface calculation unit 13. Therefore, it becomes possible to mechanically determine in a short time whether the causes of machining surface defects, shape errors, etc. are due to the tool shape, the servo control device, the numerical control device, or the program generation unit.
[0058] The present invention is not limited to the above-described embodiment, and modifications and improvements within the scope of the present invention that can achieve the object of the present invention are included in the present invention.
[0059] For example, the command machining surface calculation unit 13, the motor position machining surface calculation unit 22, and the program machining surface calculation unit 26 have been described as acquiring machine information from the machine information acquisition unit 12. However, the command machining surface calculation unit 13, the motor position machining surface calculation unit 22, and the program machining surface calculation unit 26 may acquire machine information from the program generation unit 1 or the numerical control device 2. In this case, the program generation unit 1 or the numerical control device 2 also functions as the machine information acquisition unit. In addition, the machine information may be directly input to the command machining surface calculation unit 13, the motor position machining surface calculation unit 22, or the program machining surface calculation unit 26 by the user. In this case, the command machining surface calculation unit 13, the motor position machining surface calculation unit 22, or the program machining surface calculation unit 26 also functions as the machine information acquisition unit.
[0060] Further, the machining surface analysis unit 50 has been described as comparing the correlation between shape A and shape B, the correlation between shape B and shape C, and the correlation between shape C and shape D, but is not limited to this. In addition to these correlations, the machining surface analysis unit 50 may compare the correlation between shape A and shape C, the correlation between shape A and shape D, and the correlation between shape B and shape D. [Explanation of symbols]
[0061] 1 Program Generation Section 2. Numerical control device 3 Servo control device 4 Motor 5 Machine tools 6 Judgment section 10 Location information acquisition section 11 Command position acquisition section 12 Machine information acquisition section 13 Command machining surface calculation section 21 Motor position acquisition unit 22 Motor position machining surface calculation section 24 Actual machining surface acquisition section 26 Program machining surface calculation section 50 Machining surface analysis department 100 Judgment System
Claims
1. a motor position acquisition unit that acquires an actual position of a motor that drives a drive shaft of the machine tool; A machine information acquisition unit that acquires machine information including a drive axis configuration of the machine tool, a tool shape, and an unmachined workpiece shape; a motor position machining surface calculation unit that calculates a shape of a machining surface of a machined workpiece based on an actual position of the motor and the machine information; an actual machined surface acquisition unit for acquiring a shape of a machined surface of an actually machined workpiece; a command position acquisition unit that acquires a command position of a motor that drives a drive shaft of the machine tool; a command machining surface calculation unit that calculates a shape of a machining surface of a machined workpiece based on the command position and the machine information; and a machined surface analysis unit for determining problem areas when a machined surface defect or shape error is found on an actually machined workpiece, The machining surface analysis unit compares a first correlation which is a correlation between the shape of the machining surface calculated by the motor position machining surface calculation unit and the shape of the machining surface acquired by the actual machining surface acquisition unit, and when it is determined that there is a correlation between the first correlation, it compares a second correlation which is a correlation between the shape of the machining surface calculated by the command machining surface calculation unit and the shape of the machining surface calculated by the motor position machining surface calculation unit to determine problem areas.
2. A program generating unit that generates a machining program for a workpiece; A program machining surface calculation unit that calculates a shape of a machining surface of a workpiece based on the machining program, The judgment system according to claim 1, wherein when the first correlation is judged to be correlated and the second correlation is judged to be correlated, the machining surface analysis unit judges problem areas by comparing a third correlation which is the correlation between the shape of the machining surface calculated by the program machining surface calculation unit and the shape of the machining surface calculated by the command machining surface calculation unit.
Citation Information
Patent Citations
Setsuchakuzaisoseibutsu
JP1976097640A
Electrical connector for multicor round cable and connection of the same
JP1988066875A
Tool locus display device displaying tool vector of machine tool
JP2013257809A
Tool track display device displaying track of tool
JP2015207249A
Locus display device for displaying locus of motor end and machine end
JP2016057843A
