Geometric element discrimination device, geometric element discrimination method, program, and three-dimensional measuring machine
The geometric element discrimination device and method address misclassification issues by using multiple methods with defined reliability to enhance measurement efficiency.
Patent Information
- Application Number
- JP2024095138
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2041-02-05
AI Technical Summary
Existing geometric element discrimination systems suffer from misclassification due to user skill levels and workpiece shape variability, leading to increased correction operations and reduced measurement efficiency.
A geometric element discrimination device and method that employs multiple discrimination methods, each with defined reliability, to derive geometric element candidates and select the most reliable result, reducing misclassification and correcting operations.
Improves the reliability of geometric element discrimination, minimizing misclassification and enhancing measurement efficiency by leveraging multiple methods with reliability-based decision-making.
Smart Images

Figure 0007738233000001 
Figure 0007738233000002 
Figure 0007738233000003
Abstract
Description
[Technical Field]
[0001] The present invention relates to a geometric element discrimination device, a geometric element discrimination method, a program, and a three-dimensional measuring machine. [Background technology]
[0002] There are known coordinate measuring machines that are equipped with software that realizes a geometric element discrimination function that automatically discriminates the geometric elements of a workpiece. Devices equipped with a geometric element discrimination function allow the operator to measure the workpiece without operating the software, which contributes to improving measurement efficiency.
[0003] The geometric element discrimination function acquires parameters including the number of probing points, the probing direction, and the coordinate values of the probing points, and inputs the acquired parameters into a predetermined conditional expression to discriminate the geometric elements in the workpiece.
[0004] Patent Document 1 describes a three-dimensional measuring machine that measures the geometric shape of an object. The device described in this document calculates the error of each geometric shape based on the measurement value of the object and each mathematical formula representing multiple geometric shapes that have been input in advance, and recognizes the optimal geometric shape based on the geometric shape and measurement direction that minimizes the error. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] Japanese Patent Application Publication No. 6-50749 Summary of the Invention [Problem to be solved by the invention]
[0006] When appropriate probing is performed, appropriate results are obtained in the automatic determination of geometric elements. However, appropriate probing is not always performed due to factors such as the user's level of skill, user habits, and the shape of the workpiece. If inappropriate probing is performed, there is a concern that the automatic determination of geometric elements may produce results that the user did not intend.
[0007] When misclassification occurs during automatic classification of geometric elements, users are forced to correct the automatically classified geometric elements. This increases the number of correction operations required by users, which raises concerns about a decrease in measurement efficiency.
[0008] The invention described in Patent Document 1 aims to prevent mistakes in indicating the geometric shape of the object to be measured and the interruption of joystick operation, but does not focus on the problem of reduced measurement efficiency caused by the operation of correcting the geometric shape discrimination result. Furthermore, Patent Document 1 does not disclose any specific means for solving this problem.
[0009] The present invention has been made in view of the above circumstances, and has as its object to provide a geometric element discrimination device, a geometric element discrimination method, a program, and a coordinate measuring machine that can reduce the need for correcting discrimination results caused by misclassification of geometric elements, thereby improving measurement efficiency. [Means for solving the problem]
[0010] In order to achieve the above object, the following aspects of the invention are provided.
[0011] The geometric element discrimination device according to the present disclosure is a geometric element discrimination device that includes a measurement data acquisition unit that acquires measurement data of a measurement object; a discrimination method setting unit that sets two or more discrimination methods that derive geometric element candidates for the measurement object using the measurement data, each of which specifies a reliability in geometric element discrimination; a geometric element candidate derivation unit that applies each of the two or more discrimination methods to derive geometric element candidates based on the measurement data for each discrimination method; and a discrimination result derivation unit that derives reliability points for each geometric element candidate based on the reliability for each discrimination method, and derives the geometric element candidate with the highest reliability point as the discrimination result.
[0012] According to the geometric element discrimination device of the present disclosure, two or more discrimination methods are applied, and geometric element candidates are derived for each discrimination method. Reliability points are derived for the geometric element candidates based on the reliability defined for each discrimination method, and the geometric element candidate with the highest reliability point is derived as the discrimination result. This improves the reliability of geometric element discrimination, suppresses the occurrence of misclassification of geometric elements, reduces the need for correction operations due to misclassification of geometric elements, and can improve measurement efficiency.
[0013] The measurement data may include parameters applied to geometric element discrimination, which may include the number of probing points, coordinate values of the probing points, and a probing direction.
[0014] The two or more discrimination methods may be selected from a plurality of discrimination methods stored in advance. A display unit may be provided that displays the plurality of discrimination methods stored in advance, and a discrimination method selected by the user from the displayed discrimination methods may be adopted.
[0015] In another aspect of the geometric element discrimination device, the discrimination result derivation unit adds up the reliability of multiple discrimination methods that derived the same geometric element candidate, derives a reliability point for each geometric element candidate, and derives the geometric element candidate with the maximum reliability point as the discrimination result.
[0016] According to this aspect, a discrimination result is derived based on the reliability of the discrimination method, which is expected to improve the reliability of the discrimination result.
[0017] A geometric element discrimination device according to another aspect includes a discrimination result change unit that changes the discrimination result derived using the discrimination result derivation unit.
[0018] According to this aspect, erroneous determination can be avoided, and the reliability of the determination result can be further improved.
[0019] In another aspect of the geometric element discrimination device, a discrimination result derivation unit derives multiple geometric element candidates and defines the multiple geometric element candidates as second and subsequent geometric element candidates in order of increasing reliability points, and a discrimination result modification unit selects a geometric element candidate that will become the modified discrimination result from among the second and subsequent geometric element candidates.
[0020] According to this aspect, when the discrimination result is changed, a geometric element candidate can be selected according to the reliability points.
[0021] A geometric element determination device according to another aspect includes a display unit that displays, when changing a geometric element candidate, a geometric element candidate that is a candidate for change.
[0022] According to this aspect, a geometric element candidate for changing the discrimination result can be selected from the geometric element candidates displayed on the display unit.
[0023] In another aspect of the geometric element discrimination device, the discrimination method includes a first discrimination method in which a first dimension discrimination threshold is applied to discriminate the dimension of a geometric element, and a first element discrimination threshold is applied to the geometric element whose dimension has been discriminated to discriminate an element of the geometric element.
[0024] According to this aspect, geometric element candidates can be derived based on dimension discrimination and geometric element discrimination performed using a specified threshold value.
[0025] In a geometric element discrimination device according to another aspect, the discrimination method includes a second discrimination method in which a threshold value applied to the geometric element discrimination is set according to a user.
[0026] According to this aspect, a threshold value is set that reflects the user's level of skill, etc. This makes it possible to derive geometric element candidates that are suited to the user.
[0027] In another aspect of the geometric element discrimination device, the second discrimination method discriminates the dimension of a geometric element by applying a second dimension discrimination threshold set according to the user, and for the geometric element whose dimension has been discriminated, discriminates the element of the geometric element by applying a second element discrimination threshold set according to the user.
[0028] According to this aspect, geometric element candidates can be derived based on dimension discrimination and geometric element discrimination performed using a specified threshold value.
[0029] In another aspect of the geometric element discrimination device, the discrimination method includes a third discrimination method in which the discrimination result is used as correct answer data and a trained model is applied that is trained using the measurement data from which the correct answer data was obtained and the correct answer data as training data.
[0030] According to this aspect, geometric element discrimination can be performed to which a learned model is applied.
[0031] A geometric element discrimination device according to another aspect includes a maintenance unit that performs at least one of adding, deleting, and changing a discrimination method.
[0032] According to this aspect, maintenance such as adding a discrimination method can be performed.
[0033] A geometric element discrimination device according to another aspect includes a reliability change unit that changes the reliability of each discrimination method in accordance with a discrimination result.
[0034] According to this aspect, the reliability of each discrimination method can be improved.
[0035] In this aspect, the reliability of the discrimination method that derived the geometric element candidate that is determined as a discrimination result may be increased, or the reliability of the discrimination method that derived the geometric element candidate that is not determined as a discrimination result may be decreased.
[0036] A geometric element discrimination device according to another aspect includes a display unit that displays various information regarding geometric element discrimination, and that displays the status of each discrimination method, indicating whether it is valid or invalid, and the reliability of each discrimination method.
[0037] According to this aspect, the user can visually recognize the state of each discrimination method and the reliability of each discrimination method.
[0038] The geometric element discrimination method according to the present disclosure is a geometric element discrimination method including: a measurement data acquisition step of acquiring measurement data of a measurement object; a discrimination method for deriving geometric element candidates of the measurement object using the measurement data; a discrimination method setting step of setting two or more discrimination methods for which reliability in geometric element discrimination is specified; a geometric element candidate derivation step of applying each of the two or more discrimination methods to derive geometric element candidates based on the measurement data for each discrimination method; and a discrimination result derivation step of deriving reliability points for each geometric element candidate based on the reliability for each discrimination method and deriving the geometric element candidate with the highest reliability point as the discrimination result.
[0039] According to the geometric element discrimination method of the present disclosure, it is possible to obtain the same effects as those of the geometric element discrimination device of the present disclosure. The constituent elements of the geometric element discrimination device of other aspects can be applied to the constituent elements of the geometric element discrimination method of other aspects.
[0040] The program according to the present disclosure is a program that causes a computer to realize a measurement data acquisition function that acquires measurement data of a measurement object, a discrimination method setting function that sets two or more discrimination methods that are discrimination methods that derive geometric element candidates of the measurement object using the measurement data and that specify the reliability in geometric element discrimination, a geometric element candidate derivation function that applies each of the two or more discrimination methods to derive geometric element candidates based on the measurement data for each discrimination method, and a discrimination result derivation function that derives reliability points for each geometric element candidate based on the reliability for each discrimination method and derives the geometric element candidate with the highest reliability point as the discrimination result.
[0041] According to the program of the present disclosure, it is possible to obtain the same effects as those of the geometric element discrimination device of the present disclosure. The components of the geometric element discrimination device of other aspects may be applied to the components of the program of other aspects.
[0042] The three-dimensional measuring machine according to the present disclosure is a three-dimensional measuring machine comprising: a measurement unit having a probe for measuring a measurement object; a measurement data acquisition unit that acquires measurement data of the measurement object from the probe; a discrimination method setting unit that sets two or more discrimination methods that are discrimination methods for deriving geometric element candidates of the measurement object using the measurement data, and in which the reliability in geometric element discrimination is specified; a geometric element candidate derivation unit that applies each of the two or more discrimination methods to derive geometric element candidates based on the measurement data for each discrimination method; and a discrimination result derivation unit that derives reliability points for each geometric element candidate based on the reliability for each discrimination method, and derives the geometric element candidate with the highest reliability point as the discrimination result.
[0043] The coordinate measuring machine according to the present disclosure can achieve the same effects as the geometric element discrimination device according to the present disclosure. The constituent elements of the geometric element discrimination device according to other aspects can be applied to the constituent elements of the coordinate measuring machine according to other aspects.
[0044] The three-dimensional apparatus according to another aspect includes a geometric element calculation unit that calculates parameters of geometric elements based on the discrimination result.
[0045] According to this aspect, various parameters of the geometric elements can be calculated based on the geometric element discrimination results.
[0046] In this embodiment, a display unit may be provided that displays parameters of the geometric elements. [Effects of the Invention]
[0047] According to the present invention, two or more discrimination methods are applied, and geometric element candidates are derived for each discrimination method. Reliability points are derived for the geometric element candidates based on the reliability defined for each discrimination method, and the geometric element candidate with the highest reliability point is derived as the discrimination result. This improves the reliability of geometric element discrimination, suppresses the occurrence of misclassification of geometric elements, reduces the need for correction operations due to misclassification of geometric elements, and can improve measurement efficiency. [Brief explanation of the drawings]
[0048] [Figure 1] FIG. 1 is a diagram showing the overall configuration of a coordinate measuring machine according to an embodiment. [Figure 2] FIG. 2 is a functional block diagram showing an electrical configuration applied to the coordinate measuring machine shown in FIG. [Figure 3] FIG. 3 is a functional block diagram of the geometric element determination unit shown in FIG. [Figure 4] FIG. 4 is a flowchart showing the procedure of the geometric element discrimination method according to the embodiment. [Figure 5] FIG. 5 is an explanatory diagram of a geometric element discrimination function applied to the coordinate measuring machine shown in FIG. [Figure 6] FIG. 6 is a flowchart showing the procedure of the standard method shown in FIG. [Figure 7] FIG. 7 is a flowchart showing the procedure of the calibration method A shown in FIG. [Figure 8] FIG. 8 is an explanatory diagram of an initial screen applied to geometric element discrimination. [Figure 9] FIG. 9 is an explanatory diagram of the screen when the first probing point is probed. [Figure 10]FIG. 10 is an explanatory diagram of the discrimination process when the first probing point is probed. [Figure 11] FIG. 11 is an explanatory diagram of the screen when the second probing point is probed. [Figure 12] FIG. 12 is an explanatory diagram of the discrimination process when the second probing point is probed. [Figure 13] FIG. 13 is an explanatory diagram of the screen when the third probing point is probed. [Figure 14] FIG. 14 is an explanatory diagram of the discrimination process when the third probing point is probed. [Figure 15] FIG. 15 is an explanatory diagram of the screen when the sixth probing point is probed. [Figure 16] FIG. 16 is an explanatory diagram of the discrimination process when the sixth probing point is probed. [Figure 17] FIG. 17 is an explanatory diagram of the change of the discrimination result. [Figure 18] FIG. 18 is an explanatory diagram of the selection of geometric elements. [Figure 19] FIG. 19 is an explanatory diagram of a case where the second candidate is changed to one of the geometric element candidates presented as the fourth candidate. [Figure 20] FIG. 20 is an explanatory diagram of the processing when a geometric element candidate is changed. [Figure 21] FIG. 21 is an explanatory diagram of the screen when geometric element calculation is performed. [Figure 22] FIG. 22 is an explanatory diagram showing an example of displaying the results of geometric element calculation. [Figure 23] FIG. 23 is a diagram illustrating an example of changing the reliability. [Figure 24] FIG. 24 is a diagram illustrating another example of changing the reliability. [Figure 25] FIG. 25 is an explanatory diagram of the maintenance screen. DETAILED DESCRIPTION OF THE INVENTION
[0049] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings. In this specification, the same components are designated by the same reference numerals, and redundant explanations will be omitted where appropriate.
[0050] [Overall configuration of the coordinate measuring machine] FIG. 1 is a diagram showing the overall configuration of a coordinate measuring machine according to an embodiment. The coordinate measuring machine 10 acquires coordinate values of measurement points on a workpiece, measures the three-dimensional shape of the workpiece, and analyzes the geometric elements contained in the workpiece. Note that the coordinate measuring machine is sometimes referred to as a CMM, an abbreviation of Coordinate Measuring Machine in English. The workpiece described in the embodiment is an example of an object to be measured.
[0051] The coordinate measuring machine 10 shown in the figure comprises a base 12, a table 14, a right Y carriage 16R, a left Y carriage 16L, an X guide 18, an X carriage 20, a Z carriage 22, and a probe head 24.
[0052] The base 12 is a support stand that supports the underside of the table 14. A surface plate is used as the table 14. A right Y carriage 16R is erected at one end of the top surface of the table 14 in the X-axis direction, and a left Y carriage 16L is erected at the other end.
[0053] The upper and side surfaces of both ends of the table 14 in the X-axis direction form sliding surfaces along which the right Y carriage 16R and left Y carriage 16L slide in the Y-axis direction. The right Y carriage 16R and left Y carriage 16L are equipped with air bearings at positions facing the sliding surfaces of the table 14. In other words, the right Y carriage 16R and left Y carriage 16L are supported by the table 14 so as to be able to move freely in the Y-axis direction. The air bearings equipped on the right Y carriage 16R and left Y carriage 16L are not shown in the drawing.
[0054] One end of X guide 18 in the X axis direction is supported by right Y carriage 16R, and the other end of X guide 18 in the X axis direction is supported by left Y carriage 16L. Right Y carriage 16R, left Y carriage 16L, and X guide 18 form gate-shaped frame 26. Gate-shaped frame 26 is configured to be movable in the Y axis direction.
[0055] X guide 18 has a sliding surface along the X axis direction along which X carriage 20 slides. X carriage 20 is equipped with an air bearing at a position facing the sliding surface of X guide 18. X carriage 20 is supported by X guide 18 so that it can move freely in the X axis direction. Note that the air bearing provided at a position facing the sliding surface of X guide 18 is not shown in the illustration.
[0056] Z carriage 22 is supported by X carriage 20 so as to be movable along the Z axis. X carriage 20 is equipped with an air bearing that guides Z carriage 22 in the Z axis direction. Note that the air bearing that guides Z carriage 22 in the Z axis direction is not shown in the figure.
[0057] The probe head 24 is attached to the lower end of the Z carriage 22. The probe head 24 includes a probe 24A. The probe 24A includes a slider 24B and a contactor 24C. The probe head 24 may be a five-axis simultaneously controlled probe head equipped with a stepless positioning mechanism that can position the probe 24A steplessly.
[0058] The coordinate measuring machine 10 includes an X drive unit, a Y drive unit, and a Z drive unit. The X drive unit moves the X carriage 20 along the X-axis direction. The Y drive unit moves the portal frame 26 along the Y-axis direction. The Z drive unit moves the Z carriage 22 along the Z-axis direction.
[0059] The coordinate measuring machine 10 can move the probe head 24 to any position in the mutually orthogonal X-axis, Y-axis, and Z-axis directions by appropriately operating the X-drive unit, Y-drive unit, and Z-drive unit. Note that the X-drive unit, Y-drive unit, and Z-drive unit are not shown in Fig. 1. The X-drive unit, Y-drive unit, and Z-drive unit are illustrated in Fig. 2 as drive unit 28.
[0060] The coordinate measuring machine 10 includes a first rotary drive unit that rotates the probe 24A around a first rotation axis and a second rotary drive unit that rotates the probe 24A around a second rotation axis that is perpendicular to the first rotation axis. The first rotary drive unit and the second rotary drive unit can rotate the orientation of the probe 24A as desired. Note that the first rotary drive unit and the second rotary drive unit are not shown in FIG. 1. The first rotary drive unit and the second rotary drive unit are illustrated in FIG. 2 as drive unit 28.
[0061] X guide 18 is equipped with a linear scale for detecting position in the X axis direction, and X carriage 20 is equipped with an X axis position detection head, which reads the value of the linear scale for detecting position in the X axis direction and outputs an X axis position detection signal.
[0062] Table 14 is provided with a linear scale for detecting Y-axis position on the side surface at the other end in the X-axis direction. Right Y carriage 16R is also provided with a Y-axis position detection head. The Y-axis position detection head reads the value of the linear scale for detecting Y-axis position and outputs a Y-axis position detection signal.
[0063] Z carriage 22 is equipped with a linear scale for detecting position in the Z axis direction, and X carriage 20 is equipped with a Z axis direction position detection head. The Z axis direction position detection head reads the value of the linear scale for detecting position in the Z axis direction and outputs a Z axis direction position detection signal.
[0064] The probe head 24 is equipped with an encoder that detects the rotation angle of the probe 24 A. The rotation angle of the probe 24 A can be a rotation angle θ1 in a first rotation direction when rotating around a first rotation axis parallel to the X-axis direction, or a rotation angle θ2 in a second rotation direction when rotating around a second rotation axis parallel to the Z-axis direction.
[0065] The probe head 24 is equipped with a contact sensor that detects contact of the probe 24A with the workpiece. The contact sensor outputs a contact detection signal. That is, when the coordinate measuring machine 10 detects contact of the contact piece 24C with an arbitrary measurement point on the workpiece, it acquires position detection signals in the X-axis direction, Y-axis direction, and Z-axis direction, as well as rotation angle detection signals in the first rotation direction and second rotation direction, and can derive the coordinate values of the contact piece 24C.
[0066] The coordinate measuring machine 10 includes a controller 30 and a computer 40. The controller 30 transmits control signals to the X drive unit, the Y drive unit, the Z drive unit, the first rotation drive unit, and the second rotation drive unit to control the position and attitude of the probe 24A.
[0067] The controller 30 includes a probe operation unit such as a joystick. The probe operation unit is operated when manually operating the probe head 24. The probe operation unit is indicated by reference numeral 32 in FIG.
[0068] The controller 30 includes a communication interface. The controller 30 is electrically connected to various position detection heads, contact sensors, etc. via the communication interface. The controller 30 acquires various detection signals output by the various position detection heads, contact sensors, etc.
[0069] The controller 30 is communicatively connected to the computer 40 via a communication interface. TCP / IP can be applied as the communication protocol between the controller 30 and the computer 40. TCP is an abbreviation for Transmission Control Protocol, and IP is an abbreviation for Internet Protocol.
[0070] The controller 30 and the computer 40 function as a measurement control device for the coordinate measuring machine 10. The computer 40 stores software 80 that includes instructions corresponding to the various functions of the coordinate measuring machine 10. The computer 40 executes the various instructions of the software 80 to realize the various functions of the coordinate measuring machine 10.
[0071] The computer 40 acquires the parameters of the workpiece as measurement data, and functions as a geometric element discrimination device that discriminates the geometric elements of the workpiece using the acquired parameters of the workpiece. The details of the geometric element discrimination will be described later.
[0072] The coordinate measuring machine 10 includes a display device 50 and a computer operation unit 52. The display device 50 displays various information of the coordinate measuring machine 10 based on display signals sent from the computer 40.
[0073] The computer operation unit 52 includes a keyboard, a mouse, etc. The computer operation unit 52 transmits signals representing various pieces of information input by the user to the computer 40. The computer 40 performs various processes based on the signals transmitted from the computer operation unit 52. The display device 50 may be configured as a touch panel and integrated with the operation unit. The probe head 24 described in the embodiment is an example of a measurement unit.
[0074] [Electrical configuration of the coordinate measuring machine] Fig. 2 is a functional block diagram showing the electrical configuration applied to the coordinate measuring machine shown in Fig. 1. The computer 40 is equipped with a drive control unit 60. When automatic measurement of a workpiece is to be performed, the drive control unit 60 sends a command signal to the controller 30.
[0075] The controller 30 controls the drive unit 28 based on command signals sent from the computer 40 to operate the carriage 29 and rotate the probe head 24, thereby carrying out automatic measurement.
[0076] When manual measurement of a workpiece is performed, the controller 30 controls the drive unit 28 in response to the operation of the probe operation unit 32 to move the carriage 29 and rotate the probe head 24 .
[0077] 2 includes an X drive unit, a Y drive unit, a Z drive unit, a first rotation drive unit, and a second rotation drive unit. Also, carriage 29 includes X carriage 20, right Y carriage 16R, left Y carriage 16L, and Z carriage 22 shown in FIG.
[0078] The computer 40 includes a measurement data acquisition unit 62 and a geometric element discrimination unit 64. The measurement data acquisition unit 62 acquires measurement data of the workpiece from the probe head 24. The geometric element discrimination unit 64 performs geometric element discrimination using the measurement data acquired by applying the measurement data acquisition unit 62 as a parameter.
[0079] The computer 40 includes an input information acquisition unit 66. The input information acquisition unit 66 acquires a signal representing input information transmitted from the computer operation unit 52. The computer 40 performs various controls based on the input information.
[0080] The computer 40 includes a display control unit 68. The display control unit 68 transmits a display signal to the display device 50. The display device 50 displays various information of the coordinate measuring machine 10 based on the display signal transmitted from the display control unit 68. The display device 50 and the display control unit 68 described in the embodiment are examples of components of the display unit.
[0081] The various control units, such as the drive control unit 60, are configured using a processor, such as a CPU (Central Processing Unit). Each control unit may be configured using one processor or multiple processors. Furthermore, multiple control units may be configured using one processor. The multiple processors may be the same type or different types.
[0082] The computer 40 includes a memory 81. The memory 81 includes a program memory 82, a parameter memory 84, and a data memory 86. The program memory 82 stores various programs corresponding to the various functions of the coordinate measuring machine 10. The various programs correspond to the software 80 shown in FIG. 1.
[0083] The parameter memory 84 stores various control parameters used when executing various programs. The data memory 86 stores various data applied to the coordinate measuring machine 10.
[0084] [Configuration example of geometric element discrimination unit] Fig. 3 is a functional block diagram of the geometric element discrimination unit shown in Fig. 2. The geometric element discrimination unit 64 includes a discrimination method selection unit 90. The discrimination method selection unit 90 selects two or more discrimination methods from a plurality of discrimination methods applied to geometric element discrimination. Note that the discrimination method selection unit 90 described in the embodiment is an example of a discrimination method setting unit that sets two or more discrimination methods.
[0085] The geometric element discrimination unit 64 includes a discrimination processing unit 92. The discrimination processing unit 92 applies the discrimination method selected using the discrimination method selection unit 90, performs geometric element discrimination using the measurement data acquired using the measurement data acquisition unit 62 shown in Fig. 2, and derives geometric element candidates for each discrimination method.
[0086] The discrimination processing unit 92 calculates reliability points for each geometric element candidate based on the reliability of each discrimination method. The discrimination processing unit 92 designates the geometric element candidate with the highest reliability point as the first candidate and derives the discrimination result. The discrimination processing unit 92 also derives the second and subsequent geometric element candidates in descending order of reliability point.
[0087] That is, the discrimination processing unit 92 includes a geometric element candidate derivation unit that derives geometric element candidates for each discrimination method, and a discrimination result derivation unit that derives geometric element candidates that are to be used as discrimination results from among the geometric element candidates based on reliability points.
[0088] The geometric element discrimination unit 64 displays the discrimination result on the display device 50 shown in Fig. 1 etc. In other words, the geometric element discrimination unit 64 displays the first geometric element candidate as the discrimination result. The geometric element discrimination unit 64 may also display the second and subsequent geometric element candidates as the discrimination results.
[0089] The geometric element determination unit 64 includes a user input information acquisition unit 94. The user input information acquisition unit 94 acquires a signal representing user input information input using the computer operation unit 52 shown in FIG. 1 etc. For example, the user input information acquisition unit 94 acquires a signal indicating that the user selects the first geometric element candidate, a signal indicating that the user does not select the first geometric element candidate and changes the determination result, etc. The user input information acquisition unit 94 may be the input information acquisition unit 66 shown in FIG. 2.
[0090] The geometric element determination unit 64 includes a geometric element calculation unit 95. The geometric element calculation unit 95 calculates the parameters of the geometric element. The geometric element determination unit 64 displays the calculation results of the geometric element on the display device 50. For example, if the geometric element is a sphere, the geometric element calculation unit 95 can calculate and display the radius of the sphere as a parameter.
[0091] The geometric element discrimination unit 64 includes a geometric element modification unit 96. When input information to change the discrimination result is acquired via the user input information acquisition unit 94, the geometric element modification unit 96 changes the discrimination result from the first geometric element candidate to another geometric element candidate. Details of the discrimination result modification will be described later. The geometric element modification unit 96 described in the embodiment is an example of a discrimination result modification unit.
[0092] The geometric element discrimination unit 64 includes a maintenance unit 97. The maintenance unit 97 performs maintenance of the discrimination method. The maintenance unit 97 updates the reliability of each discrimination method based on the discrimination result.
[0093] The geometric element discrimination unit 64 includes a discrimination method storage unit 98. The discrimination method storage unit 98 stores discrimination methods to be selected by the discrimination method selection unit 90. The discrimination method storage unit 98 stores a plurality of discrimination methods. The discrimination method storage unit 98 also stores the reliability of each discrimination method in association with the discrimination method. The discrimination method storage unit 98 may be the memory 81 shown in FIG. 2.
[0094] [Procedure for determining geometric elements] 4 is a flowchart showing the steps of the geometric element discrimination method according to the embodiment. In the pre-measurement process S10, the computer 40 shown in FIG. 1 etc. performs various processes that are performed before measuring the workpiece. Examples of the various processes that are performed before measurement include a probe calibration process. After the pre-measurement process S10, the process proceeds to the discrimination method selection process S12.
[0095] In the discrimination method selection step S12, the discrimination method selection unit 90 shown in Fig. 3 selects two or more discrimination methods from the plurality of discrimination methods stored in the discrimination method storage unit 98. After the discrimination method selection step S12, the process proceeds to the measurement data acquisition step S14.
[0096] The discrimination method selection step S12 described in the embodiment is an example of a discrimination method setting step, and a function corresponding to the discrimination method selection step S12 described in the embodiment is an example of a discrimination method setting function.
[0097] In the measurement data acquisition step S14, the geometric element discrimination unit 64 acquires measurement data of the workpiece obtained by applying the measurement data acquisition unit 62. After the measurement data acquisition step S14, the process proceeds to a discrimination processing step S16. Note that the function corresponding to the measurement data acquisition step S14 described in the embodiment is an example of a measurement data acquisition function.
[0098] In the discrimination processing step S16, the discrimination processing unit 92 uses the measurement data acquired in the measurement data acquisition step S14 to apply each of the two or more discrimination methods selected in the discrimination method selection step S12, and derives geometric element candidates for each discrimination method.
[0099] In addition, in the discrimination processing step S16, the discrimination processing unit 92 derives reliability points for each geometric element candidate based on the reliability defined for each discrimination method, and derives the geometric element candidate with the highest reliability points as the first candidate.
[0100] Furthermore, in the discrimination processing step S16, the discrimination processing unit 92 derives second and subsequent geometric element candidates in descending order of reliability points. After the discrimination processing step S16, the process proceeds to a discrimination result display step S18.
[0101] The discrimination processing step S16 described in the embodiment is an example of a geometric element candidate derivation step and an example of a discrimination result derivation step. The function corresponding to the discrimination processing step S16 described in the embodiment is an example of a geometric element candidate derivation function and an example of a discrimination result derivation function.
[0102] In the discrimination result display step S18, the geometric element discrimination unit 64 displays the discrimination result on the display device 50. The discrimination result displayed on the display device 50 includes at least the first geometric element candidate. After the discrimination result display step S18, the process proceeds to the determination decision step S20.
[0103] In the determination determination step S20, the discrimination processing unit 92 determines whether or not to determine the first geometric element candidate displayed on the display device 50 as the determination result. That is, in the determination determination step S20, if the user input information acquisition unit 94 acquires a signal indicating that the first geometric element candidate will be changed without being determined, the determination is No. If the determination is No, the process proceeds to the geometric element selection step S22.
[0104] In the geometric element selection step S22, the discrimination processing unit 92 acquires selection information of geometric element candidates via the user input information acquisition unit 94. After the geometric element selection step S22, the process proceeds to a display change step S24.
[0105] In the display change step S24, the discrimination processing unit 92 displays the geometric element candidates selected in the geometric element selection step S22 on the display device 50. After the display change step S24, the process proceeds to the determination step S20. Thereafter, the processes from the determination step S20 to the display change step S24 are repeatedly executed until the determination in the determination step S20 is Yes.
[0106] On the other hand, in the determination determination step S20, if the user input information acquisition unit 94 acquires a signal indicating that the first geometric element candidate is to be determined as the discrimination result, the determination is Yes. If the determination is Yes, the discrimination processing unit 92 determines the first geometric element candidate as the discrimination result, and proceeds to the geometric element calculation step S26.
[0107] In the geometric element calculation step S26, the geometric element calculation unit 95 calculates the parameters of the determined geometric element. For example, if the geometric element is a sphere, the radius of the sphere and the like are calculated as the parameters of the geometric element. After the geometric element calculation step S26, the process proceeds to the geometric element calculation result display step S28.
[0108] In the geometric element calculation result display step S28, the geometric element determination unit 64 displays the calculation results of the geometric elements on the display device 50. After the geometric element calculation result display step S28, the computer 40 ends the geometric element determination method.
[0109] [Detailed explanation of the geometric element discrimination function] Figure 5 is an explanatory diagram of a geometric element discrimination function applied to the coordinate measuring machine shown in Figure 1. The geometric element discrimination function applied to the coordinate measuring machine 10 automatically discriminates geometric elements by applying multiple discrimination methods, such as a standard method, a calibration method, and a learning method.
[0110] Each discrimination method is configured as an individual plug-in. The coordinate measuring machine 10 is configured so that discrimination methods can be added and deleted. Figure 5 shows examples of calibration methods, such as a calibration A method and a calibration B method. Also, examples of learning methods, such as a learning A method and a learning B method.
[0111] Each discrimination method has a specified reliability. The reliability of a discrimination method is a numerical value that quantitatively indicates how reliable the discrimination results are. Of the multiple discrimination methods shown in Figure 5, the Calibration B method, with a reliability value of 70, is the most reliable, and the Learning A method, with a reliability value of 5, is the least reliable.
[0112] The geometric element discrimination function acquires the number of probing points, the coordinate values of the probing points, and the probing direction as input information. The input information shown in Fig. 5 is included in the measurement data acquired by applying the measurement data acquisition unit 62 shown in Fig. 2.
[0113] The discrimination method derives geometric elements using input information. In the example shown in Figure 5, the standard method derives a circle as a geometric element candidate, the calibration A method derives a plane as a geometric element candidate, and the calibration B method derives a cylinder as a geometric element candidate. Furthermore, the learning A method derives a sphere as a geometric element candidate, and the learning B method derives a circle as a geometric element candidate.
[0114] The geometric element discrimination function calculates reliability points by adding up the reliability scores for each geometric element candidate. In the example shown in Figure 5, when the geometric element candidate is a circle, the reliability score of 50 from the standard method and the reliability score of 60 from Learning B method are added together to calculate a reliability score of 110.
[0115] When multiple geometric element candidates are derived, the geometric element discrimination function designates the geometric element candidate with the highest reliability score as the first candidate, and defines the second and subsequent geometric element candidates in descending order of reliability score. The geometric element discrimination function derives the first geometric element candidate as the discrimination result.
[0116] In the example shown in Fig. 5, the first candidate is a circle with a reliability point of 110, the second candidate is a cylinder with a reliability point of 70, the third candidate is a plane with a reliability point of 20, and the fourth candidate is a sphere with a reliability point of 5. A circle is derived as the discrimination result.
[0117] [Specific examples of discrimination methods] [Standard method] Fig. 6 is a flowchart showing the procedure of the standard method shown in Fig. 5. In the dimension determination step S100, a dimension determination threshold is applied, and the dimension of the geometric element is determined using the number of probing points and the coordinates of the probing points. The dimension of the geometric element can be zero, one, two, or three.
[0118] If the dimension of the geometric element is zero, a point is derived as the geometric element candidate 110. If the dimension of the geometric element is one, a one-dimensional element discrimination step S101 is performed. In the one-dimensional element discrimination step S101, a one-dimensional element discrimination threshold is applied, and a determination is made as to whether the geometric element candidate is a line or a midpoint using the probing direction and the number of probing points. That is, in the one-dimensional element discrimination step S101, a line is derived as the geometric element candidate 112, or a midpoint is derived as the geometric element candidate 113.
[0119] If the dimension of the geometric element is two-dimensional, a two-dimensional element discrimination step S102 is performed. In the two-dimensional element discrimination step S102, a two-dimensional element discrimination threshold is applied, and whether the geometric element candidate is a plane or a circle is determined using the probing direction. That is, in the two-dimensional element discrimination step S102, a plane is derived as the geometric element candidate 114, or a circle is derived as the geometric element candidate 116.
[0120] In the two-dimensional element discrimination step S102, a normal vector N of a plane calculated from a group of n probing points (n is an integer) is calculated. The normal vector N can be calculated using a known method for calculating a plane using the probing points. Note that arrows and other lines representing vectors are omitted in this specification.
[0121] Applying the following equation 1, the normal vector N and each probing vector p i Calculate the average a of the dot product with
[0122] a=(1 / n)×Σ N i=1 (p i ×N) …Formula 1 If the average a of the dot products calculated using Equation 1 exceeds a threshold, a plane is derived as the geometric element candidate 114. On the other hand, if the average a of the dot products is equal to or less than the threshold, a circle is derived as the geometric element candidate 116.
[0123] If the dimension of the geometric element is three-dimensional, a three-dimensional element discrimination step S104 is performed. In the three-dimensional element discrimination step S104, a three-dimensional element discrimination threshold is applied, and whether the geometric element candidate is a sphere, a cylinder, or a cone is determined using the probing direction and the coordinate values of the probing point.
[0124] That is, in the three-dimensional element discrimination step S104, a sphere is derived as the geometric element candidate 118, a cylinder is derived as the geometric element candidate 120, or a cone is derived as the geometric element candidate 122.
[0125] The standard method described in the embodiment is an example of a first discrimination method. The threshold applied to the dimension discrimination step S100 described in the embodiment is an example of a first dimension discrimination threshold. The threshold applied to the two-dimensional element discrimination step S102 and the three-dimensional element discrimination step S104 described in the embodiment are examples of a first element discrimination threshold.
[0126] [Calibration Method A] Fig. 7 is a flowchart showing the procedure of the calibration method A shown in Fig. 5. The calibration method A is a method in which the thresholds applied to dimension discrimination and element discrimination in the standard method are changed to suit the user. The calibration method A is a method in which any threshold is statically set.
[0127] In the threshold setting step S120, thresholds to be applied to the calibration A method are set. Setting a threshold here may include changing a threshold that has already been set. After the various thresholds to be applied to the calibration A method have been set, the process proceeds to the dimension discrimination step S122.
[0128] A user information acquisition step of acquiring user information may be performed before the threshold setting step S 120. In the threshold setting step S 120, a threshold may be set for each user according to the user information.
[0129] In the dimension determination step S122, a dimension determination threshold is applied, and the dimension of the geometric element is determined using the number of probing points and the coordinates of the probing points. If the dimension of the geometric element is 0, a point is derived as a geometric element candidate 110.
[0130] If the dimension of the geometric element is one-dimensional, a one-dimensional element discrimination step S124 is performed. In the one-dimensional element discrimination step S124, a one-dimensional element discrimination threshold is applied, and a determination is made as to whether the geometric element candidate is a line or a midpoint using the probing direction and the number of probing points. That is, in the one-dimensional element discrimination step S124, a line is derived as the geometric element candidate 112, or a midpoint is derived as the geometric element candidate 113.
[0131] If the dimension of the geometric element is two-dimensional, a two-dimensional element discrimination step S126 is performed. In the two-dimensional element discrimination step S126, a two-dimensional element discrimination threshold is applied, and a probing direction is used to determine whether the geometric element candidate is a plane or a circle. That is, in the two-dimensional element discrimination step S126, a plane is derived as the geometric element candidate 114, or a circle is derived as the geometric element candidate 116.
[0132] If the dimension of the geometric element is three-dimensional, a three-dimensional element discrimination step S128 is performed. In the three-dimensional element discrimination step S128, a three-dimensional element discrimination threshold is applied, and the probing direction and the coordinate values of the probing point are used to discriminate whether the geometric element is a sphere, a cylinder, or a cone.
[0133] That is, in the three-dimensional element discrimination step S128, a sphere is derived as the geometric element candidate 118, a cylinder is derived as the geometric element candidate 120, or a cone is derived as the geometric element candidate 122.
[0134] [Calibration Method B] Calibration method B is a method that learns user operations and dynamically sets thresholds to be applied to dimension discrimination, etc. Learning user operations is triggered by a change made by the user to the discrimination result, and new thresholds are derived and reset for the conditional expressions that cause the geometric element candidates determined as the discrimination result to differ from the geometric element candidates selected by the user.
[0135] The threshold to be reset is the threshold at which the geometric element candidate selected by the user can be calculated and the average of the thresholds reset so far. Specifically, the threshold at which the geometric element candidate selected by the user can be calculated is set as t a Let the already set threshold be t b Let c be the number of calibrations, which is the number of times the user has changed the discrimination result. c is expressed using the following equation 2.
[0136] t c ={(t a -t b ) / (c+2)}+t b …Formula 2 For example, the already set threshold t b A b = 30, and the threshold t a A a = 50. If the user does not modify the classification result, the new threshold t c is t c ={(50-30) / (0+2)}+30=40. If the user has corrected the discrimination result twice, the new threshold t c is t c ={(50-30) / (2+2)}+30=35.
[0137] Here, the new threshold t c includes a threshold applied to the dimension discrimination and a threshold applied to the element discrimination of each dimension. That is, the threshold applied to the dimension discrimination and the threshold applied to the element discrimination of each dimension are updated appropriately by applying the above formula 2.
[0138] Below, we define the new threshold t c A specific example of the calculation is as follows. The normal vector N is set to N=(0,0,-1) and the number of probing points n is set to n=3.
[0139] Let the probing vector p1 be p1=(0.7071, 0.0000, -0.7071), the probing vector p2 be p2=(0.0000, 0.7071, -0.7071), and the probing vector p3 be p3=(-0.7071, 0.0000, -0.7071). Note that each component of the probing vector p1, the probing vector p2, and the probing vector p3 corresponds to the coordinate value of the probing point.
[0140] The threshold value t0 already set is set to t0 = 0.5, and the number of calibrations c is set to c = 0. Using the above equation 1, the normal vector N and each probing vector p i When the average a of the dot product is calculated, it becomes a = 0.7071. When the average a of the dot product is compared with the already set threshold value t0 = 0.5, it satisfies a > t0, so a plane is derived as a geometric element candidate.
[0141] If a plane is derived as the discrimination result and the user does not adopt the plane as the discrimination result and selects a circle, a new threshold t c is calculated. That is, the new threshold t c is t c ={(0.7010-0.5) / (0+2)}+0.5=0.6036.
[0142] On the other hand, if the user selects the circle without changing it, a new threshold t c is not calculated, and the already set threshold value t0=0.5 is maintained.
[0143] In the next probing, the above-mentioned probing vectors p1, p2, and p3 are obtained. If the user does not adopt the plane as the discrimination result and instead selects the circle, a new threshold t cThe new threshold t c is t c ={(0.7010-0.6036) / (1+2)}+0.6036=0.6381.
[0144] In this way, the threshold value is changed to 0.5, 0.6036, and 0.6381 as the measurement progresses, gradually enabling the user to discriminate geometric elements to obtain the results they expect.
[0145] When the threshold is repeatedly updated, the value of the number of calibrations c may become too large, which may reduce the range of the threshold that can be changed in a single calibration. Therefore, an upper limit is set for the number of calibrations c. This allows the threshold calibration to function even when the number of calibrations c is repeated.
[0146] If the user changes the discrimination result to a geometry with a different dimension, such as changing a sphere to a circle, the thresholds applied to the dimensional discrimination are modified. Also, if the user changes the discrimination result to a geometry with the same dimension, such as changing a cone to a cylinder, the thresholds applied to the element discrimination for each dimension are modified.
[0147] The calibration A method and the calibration B method described in the embodiment are examples of the second discrimination method. The threshold applied to the dimension discrimination step S122 described in the embodiment is an example of the second dimension discrimination threshold. The thresholds applied to the one-dimensional element discrimination step S124, the two-dimensional element discrimination step S126, and the three-dimensional element discrimination step S128 described in the embodiment are examples of the second element discrimination threshold.
[0148] [Learning Method A] Learning method A is a method of deriving geometric element candidates by applying a trained model that has learned the results of actual measurements by a user. Learning method A can apply a trained model that has undergone supervised learning, in which geometric element candidates determined as discrimination results are used as correct answer data, and pairs of measurement data from which the correct answer data was obtained and the correct answer data are used as training data.
[0149] [Learning Method B] The learning method B is a method for deriving geometric element candidates by applying a trained model to which a different algorithm is applied than that of the learning method A. The learning method A and the learning method B described in the embodiments are examples of the third discrimination method.
[0150] [Explanation of screen transitions and process transitions when distinguishing geometric elements] Fig. 8 is an explanatory diagram of an initial screen applied to geometric element discrimination. The initial screen 200 shown in Fig. 8 is displayed before measurement of the workpiece. Note that various screens such as the initial screen 200 shown in Fig. 8 are displayed on the display device 50 shown in Fig. 1 etc.
[0151] The initial screen 200 includes a menu area 202, a text information display area 204, a measurement condition display area 206, and a measurement data display area 208. The menu area 202 includes a plurality of buttons 210 to which various functions are assigned. Note that the symbol 210 represents any button included in the menu area 202.
[0152] Various types of character information are displayed in the character information display area 204. In Fig. 8, first character information 220 that prompts the user to perform reference probe calibration, second character information 222 that indicates whether geometric element discrimination is valid or invalid, and third character information 224 that indicates the number of probing points are displayed.
[0153] The initial screen 200 shown in FIG. 8 displays, as second character information 222, the character information "automatic" which indicates that the geometric element discrimination is valid, and displays, as third character information 224, the number "0" which indicates that the probing point information has not been acquired.
[0154] The measurement condition display area 206 displays various measurement conditions. The measurement data display area 208 displays coordinate values that indicate the current position of the contact 24C. Figure 8 illustrates an example in which the work coordinate system is applied. Note that the coordinate values shown in Figure 8 are arbitrary values.
[0155] 9 is an explanatory diagram of the screen when the first probing point is probed. The first probing point measurement screen 230 shown in the figure displays a point representing the first candidate geometric element as second character information 222 displayed in the character information display area 204. Furthermore, the first probing point measurement screen 230 displays the number 1, which indicates that the number of probing points is 1, as third character information 224.
[0156] 10 is an explanatory diagram of the discrimination process when the first probing point is probed. Table 232 shows the reliability and geometric element candidates for each discrimination method. Table 234 shows the geometric element candidates and reliability points.
[0157] When the number of probing points is 1, all discrimination methods derive a point as a geometric element candidate. The geometric element candidate is only the first candidate point. The discrimination processing unit 92 shown in FIG. 3 can perform discrimination processing every time probing point information is obtained.
[0158] 11 is an explanatory diagram of the screen when the second probing point is probed. The second probing point measurement screen 240 shown in the figure displays a straight line representing the first geometric element candidate as the second character information 222 displayed in the character information display area 204. Furthermore, the second probing point measurement screen 240 displays the number 2, which indicates that the number of probing points is two, as the third character information 224.
[0159] On the second probing point measurement screen 240, the second candidate selection button 210A displayed in the menu area 202 displays the midpoint of the second candidate, and the third candidate selection button 210B displays the point of the third candidate. Note that the fourth candidate selection button 210C can display the fourth geometric element candidate, but because the fourth geometric element candidate has not been derived, the fourth candidate selection button 210C does not display any geometric element candidate.
[0160] 12 is an explanatory diagram of the discrimination process when the second probing point is probed. Table 242 shows the reliability and geometric element candidates for each discrimination method. Table 244 shows the geometric element candidates and reliability points.
[0161] When the number of probing points is 2, the standard method, calibration A method, and learning B method derive a line as a geometric element, the calibration B method derives a midpoint as a geometric element, and the learning A method derives a point as a geometric element.
[0162] When the number of probing points is 2, geometric element candidates from the first candidate to the third candidate are derived. The straight line with the highest reliability point is set as the first candidate, the second candidate in descending order of reliability point is set as the midpoint, and the third candidate is set as the point.
[0163] 13 is an explanatory diagram of the screen when the third probing point is probed. The third probing point measurement screen 250 shown in the figure displays a circle representing the first geometric element candidate as second character information 222 displayed in the character information display area 204. The third probing point measurement screen 250 also displays the number 3 as third character information 224, indicating that the number of probing points is three.
[0164] On the third probing point measurement screen 250, the second candidate selection button 210A displays a second candidate plane, the third candidate selection button 210B displays a third candidate line, and the fourth candidate selection button 210C hides the geometric element candidates.
[0165] 14 is an explanatory diagram of the discrimination process when the third probing point is probed. Table 252 shows the reliability and geometric element candidates for each discrimination method. Table 254 shows the geometric element candidates and reliability points.
[0166] When the number of probing points is 3, the standard method, calibration B method, and learning B method derive a circle as a geometric element candidate, the calibration A method derives a plane as a geometric element candidate, and the learning A method derives a line as a geometric element candidate.
[0167] When the number of probing points is 3, geometric element candidates from the first to third candidates are derived. The circle with the highest reliability point is selected as the first candidate, the second candidate is selected as a plane in descending order of reliability point, and the third candidate is selected as a line.
[0168] 15 is an explanatory diagram of the screen when the sixth probing point is probed. The sixth probing point measurement screen 260 shown in the figure displays a cone representing the first geometric element candidate as the second character information 222 displayed in the character information display area 204. Furthermore, the sixth probing point measurement screen 260 displays the number 6, which indicates that the number of probing points is six, as the third character information 224.
[0169] On the sixth probing point measurement screen 260, the second candidate selection button 210A displayed in the menu area 202 displays the second candidate, a sphere, the third candidate selection button 210B displays the third candidate, a cylinder, and the fourth candidate selection button 210C displays the fourth candidate, a circle.
[0170] When the number of probing points is 6, a fifth candidate geometric element is derived as shown in Fig. 16. Although the sixth probing point measurement screen 260 shown in Fig. 15 does not have a button set to display the fifth candidate geometric element, the sixth probing point measurement screen 260 may have a button set to display the fifth candidate geometric element.
[0171] 16 is an explanatory diagram of the discrimination process when the sixth probing point is probed. Table 262 shows the discrimination results for each discrimination method. Table 264 shows the geometric element candidates and reliability points.
[0172] When the number of probing points is 6, the standard method derives a sphere as a geometric element candidate, the calibration A method derives a cylinder as a geometric element candidate, and the calibration B method derives a cone as a geometric element candidate. Also, the learning A method derives a circle as a geometric element candidate, and the learning B method derives a plane as a geometric element candidate.
[0173] When the number of probing points is 6, geometric element candidates from the first candidate to the fifth candidate are derived. The cone with the highest reliability point is selected as the first candidate, followed by a sphere as the second candidate, a cylinder as the third candidate, a circle as the fourth candidate, and a plane as the fifth candidate.
[0174] [Change the discrimination result] Fig. 17 is an explanatory diagram of the change of the discrimination result. In Fig. 17, the geometric element change button 210D on the sixth probing point measurement screen 260 shown in Fig. 15 is highlighted. Note that the reference numeral 210D is omitted in Fig. 15.
[0175] The geometric element discrimination function allows the user to manually change the geometric element derived as the discrimination result. To change the first candidate geometric element derived as the discrimination result to a geometric element that is not listed as the second to fourth candidate, the user selects the geometric element change button 210D shown in Fig. 17. The button can be selected by the user clicking the button using a mouse or the like, or by the user touching the button, for example.
[0176] Fig. 18 is an explanatory diagram of geometric element selection. A geometric element selection screen 270 shown in the figure is displayed on the display device 50 shown in Fig. 1 etc. when the geometric element change button 210D shown in Fig. 17 is selected.
[0177] 18 displays a plurality of geometric element selection buttons 272. The geometric element selection buttons 272 include buttons corresponding to a sphere, a cylinder, and a circle, which are listed as second and subsequent geometric element candidates on the sixth probing point measurement screen 260 shown in FIG.
[0178] The geometric element selection buttons 272 also include buttons corresponding to points, lines, partial circles, planes, cones, and midpoints, which are not listed as second or subsequent geometric element candidates. Note that the geometric element selection buttons 272 shown in Fig. 18 are not limited to the example shown in the figure, and can be added, deleted, changed, etc.
[0179] The user selects one of the geometric element selection buttons 272 and then selects the OK button 274. This figure illustrates the case where the user selects a sphere. The user input information acquisition unit 94 shown in FIG. 3 acquires the selection information of the geometric element candidate, and the geometric element modification unit 96 confirms the modified geometric element candidate based on the selection information of the geometric element candidate. If the user selects the cancel button 276, the selection of the geometric element selection button 272 is deselected and the system waits for the selection of a geometric element candidate.
[0180] In addition, when any of the second candidate selection button 210A, the third candidate selection button 210B, and the fourth candidate selection button 210C shown in FIG. 17 is selected, the first candidate geometric element candidate derived as the discrimination result is changed to the geometric element candidate corresponding to the selected button.
[0181] 3 acquires selection information of a geometric element candidate corresponding to the selected second candidate selection button 210A, third candidate selection button 210B, or fourth candidate selection button 210C. The geometric element change unit 96 confirms the changed geometric element candidate based on the selection information of the geometric element candidate acquired via the user input information acquisition unit 94.
[0182] Fig. 19 is an explanatory diagram of a screen when the second candidate is changed to one of the geometric element candidates listed as the fourth candidate. Fig. 20 is an explanatory diagram of the processing when the geometric element candidate is changed. In the geometric element change response screen 280 shown in Fig. 19, the second character information 222 is changed to a sphere and the second candidate selection button 210A is changed to a cone, compared to the sixth probing point measurement screen 260 shown in Fig. 15.
[0183] Table 264A shown in Figure 20 schematically shows that in the geometric element discrimination unit 64 shown in Figure 3, etc., the processing of Table 262 shown in Figure 16 has been changed from the first geometric element candidate, a cone, to the second geometric element candidate, a sphere.
[0184] [Geometric element calculation] Fig. 21 is an explanatory diagram of the screen when a geometric element calculation is performed. In Fig. 21, the Terminate button 210E on the geometric element change screen 280 shown in Fig. 19 is highlighted. Note that the reference numeral 210E is omitted from Fig. 19.
[0185] When the Terminate button 210E on the geometric element change screen 280 is selected, the discrimination processing unit 92 shown in Fig. 3 confirms the geometric element candidate displayed in the second character information 222 as the discrimination result. The geometric element calculation unit 95 performs geometric element calculation on the geometric element of the confirmed discrimination result. Note that even if the discrimination result is not to be corrected, the Terminate button 210E can be selected, the discrimination result is confirmed, and geometric element calculation is performed.
[0186] 22 is an explanatory diagram showing an example of displaying the geometric element calculation results. In the geometric element calculation result display area 212 of the calculation result display screen 290 shown in the figure, fourth character information 292 representing the geometric element to be calculated and the calculation result 294 are displayed.
[0187] FIG. 22 illustrates a calculation result 294 to which a table format is applied. The calculation result 294 is calculated as the actual measurement value for each tolerance label. Note that the tolerance labels shown in FIG. 22 are just an example, and they can be added, deleted, or changed depending on the geometric element. Also, the actual measurement values shown in FIG. 22 are arbitrary values.
[0188] [Maintenance of discrimination method] When the discrimination result automatically derived from the measurement data is changed in response to a user input, the maintenance unit 97 shown in Fig. 3 performs maintenance of the discrimination method. That is, as maintenance of the discrimination method, the maintenance unit 97 changes the reliability of each discrimination method in response to the change in the discrimination result.
[0189] Fig. 23 is an explanatory diagram of an example of changing the reliability. Fig. 23 schematically shows an example in which the reliability shown in Table 262 in Fig. 16 is changed to the reliability shown in Table 262A. For example, if a cone, which is the first geometric element candidate, is changed to a sphere, the reliability of the standard method that derived the sphere is increased by one point. On the other hand, the reliability of Calibration A method, Calibration B method, Learning A method, and Learning B method that derived geometric element candidates other than a sphere is decreased by one point.
[0190] FIG. 24 is an explanatory diagram of another example of reliability change. FIG. 24 schematically shows an example in which the reliability shown in Table 262 shown in FIG. 16 is changed to the reliability shown in Table 262B. For example, if a cone, which is the first geometric element candidate, is changed to a cylinder, the reliability of the calibration A method that derived the cylinder is increased by one point. On the other hand, the reliability of the standard method, calibration B method, learning A method, and learning B method that derived geometric element candidates other than a cylinder is decreased by one point. Note that the maintenance unit 97 described in the embodiment is an example of a reliability change unit.
[0191] Fig. 25 is an explanatory diagram of a maintenance screen. The maintenance unit 97 shown in Fig. 3 displays a maintenance screen 300 shown in Fig. 25 on the display device 50 shown in Fig. 1 etc. The maintenance screen 300 can notify the user of the status of the discrimination method.
[0192] The maintenance screen 300 includes a discrimination method list 302. The discrimination method list 302 includes various information for each discrimination method. Fig. 25 illustrates the discrimination method list 302 in a tabular format. The discrimination method list 302 shown in the figure includes various information for each discrimination method, such as an identification number, a status, a file name, a reliability, and a memo.
[0193] A status switching button 304 is displayed on the maintenance screen 300. The status switching button 304 is operated when enabling or disabling each discrimination method. For example, when the status switching button 304 is operated in a state in which the standard method shown in FIG. 25 is selected, the enabled standard method is disabled.
[0194] A memo button 306 is displayed on the maintenance screen 300. The memo button 306 is operated when editing the memo field. For example, when the memo button 306 is operated in a state in which the standard method shown in FIG. 25 is selected, it becomes possible to edit the memo field in the standard method.
[0195] The maintenance screen 300 displays an add button 308 and a delete button 310. The add button 308 is operated when adding a discrimination method, and the delete button 310 is operated when deleting a discrimination method.
[0196] There must be one or more valid discrimination methods in the coordinate measuring machine 10. Therefore, when there is only one valid discrimination method, the operation of the state switching button 304 and the delete button 310 is invalid.
[0197] A close button 312 is displayed on the maintenance screen 300. When the close button 312 is operated, the maintenance screen 300 is closed.
[0198] [Operational effects of the coordinate measuring machine and geometric element discrimination method according to the embodiment] According to the coordinate measuring machine 10 and geometric element discrimination method configured as above, the following operational effects can be obtained.
[0199] [1] In geometric element discrimination, two or more discrimination methods are selected from a plurality of discrimination methods, geometric element candidates are derived for each discrimination method, reliability points based on the reliability specified for each discrimination method are calculated for each geometric element candidate, and the geometric element candidate with the maximum reliability points is derived as the discrimination result. This improves the reliability of the discrimination result in geometric element discrimination and makes it possible to avoid correction of the discrimination result due to misdiscrimination.
[0200] [2] The user can change the discrimination result, which can avoid misdiscrimination and improve the reliability of the discrimination result.
[0201] [3] When the user changes the discrimination result, candidate geometric elements to be changed are displayed on the display device 50. This allows the user to select a candidate geometric element to be used after the change from the candidate geometric elements displayed on the display device 50.
[0202] [4] The reliability of each discrimination method is changed in response to changes in the user's discrimination results, which can improve the reliability of the geometric element candidates derived for each discrimination method.
[0203] [5] Each of the discrimination methods is configured as a plug-in, which allows for maintenance such as adding, deleting, and changing discrimination methods.
[0204] [6] The discrimination methods include a standard method, a calibration method in which a threshold is set according to the user, and a learning method in which a trained model is applied that has been trained using pairs of discrimination results and measurement data as training data. This makes it possible to derive geometric element candidates that are not dependent on variations in the measurement data due to the user's proficiency and habits, etc.
[0205] [7] The threshold value of the calibration method is changed depending on the result of the determination, which allows customization of the calibration method according to the user's skill level and habits.
[0206] The above-described embodiments of the present invention may be modified, added, or deleted as appropriate within the scope of the spirit of the present invention. The present invention is not limited to the above-described embodiments, and many modifications may be made by a person skilled in the art within the technical concept of the present invention. [Explanation of symbols]
[0207] 10... three-dimensional measuring machine, 40... computer, 50... display device, 62... measurement data acquisition unit, 64... geometric element discrimination unit, 68... display control unit, 80... software, 81... memory, 90... discrimination method selection unit, 92... discrimination processing unit, 94... user input information acquisition unit, 95... geometric element calculation unit, 96... geometric element change unit, 97... maintenance unit
Claims
1. a measurement data acquisition unit that acquires measurement data of the measurement object; a geometric element candidate derivation unit that applies two or more discrimination methods, each having a defined reliability in geometric element discrimination, to derive geometric element candidates for the measurement object using the measurement data, and derives the geometric element candidates for each discrimination method based on the measurement data; a discrimination result derivation unit that derives a reliability score for each of the geometric element candidates based on the reliability of each discrimination method, and derives the geometric element candidate with the highest reliability score as a discrimination result; A geometric element discrimination device comprising:
2. 2. The geometric element discrimination device according to claim 1, wherein the discrimination result derivation unit sums up the reliability of a plurality of discrimination methods that have derived the same geometric element candidate, derives the reliability points for each of the geometric element candidates, and derives the geometric element candidate with the largest reliability points as the discrimination result.
3. 3. The geometric element discrimination device according to claim 1, further comprising a discrimination result changing unit that changes the discrimination result derived by the discrimination result derivation unit.
4. the discrimination result derivation unit derives a plurality of the geometric element candidates and defines the plurality of geometric element candidates as second and subsequent geometric element candidates in descending order of reliability points; 4. The geometric element discrimination device according to claim 3, wherein the discrimination result change unit selects a geometric element candidate that will become the discrimination result after the change from among the second and subsequent geometric element candidates.
5. 5. The geometric element discrimination device according to claim 3, further comprising a display unit that displays, when changing a geometric element candidate, a geometric element candidate that is a candidate for change.
6. 6. The geometric element discrimination device according to claim 1, wherein the discrimination method includes a first discrimination method that discriminates the dimension of a geometric element by applying a first dimension discrimination threshold, and discriminates the element of the geometric element by applying a first element discrimination threshold to the geometric element whose dimension has been discriminated.
7. The geometric element discrimination device according to claim 1 , wherein the discrimination methods include a second discrimination method in which a threshold value applied to discrimination of a geometric element is set according to a user.
8. The geometric element discrimination device according to claim 7, wherein the second discrimination method discriminates the dimension of a geometric element by applying a second dimension discrimination threshold set according to a user, and discriminates the element of the geometric element for which the dimension has been discriminated by applying a second element discrimination threshold set according to a user.
9. 9. The geometric element discrimination device according to claim 1, wherein the discrimination method includes a third discrimination method in which a discrimination result is used as correct answer data, and a trained model is applied that is trained using the measurement data from which the correct answer data was obtained and the correct answer data as training data.
10. The geometric element discrimination device according to claim 1 , further comprising a maintenance unit that performs at least one of adding, deleting, and changing the discrimination method.
11. The geometric element discrimination device according to claim 1 , further comprising a reliability change unit that changes the reliability of each discrimination method in accordance with a discrimination result.
12. 12. The geometric element discrimination device according to claim 11, further comprising a display unit for displaying various information on geometric element discrimination, the display unit displaying a status indicating whether each discrimination method is valid or invalid and a reliability of each discrimination method.
13. a measurement data acquisition step of acquiring measurement data of the measurement object; a geometric element candidate derivation step of applying two or more discrimination methods, each of which has a defined reliability in geometric element discrimination, to derive geometric element candidates for the measurement object using the measurement data, and deriving the geometric element candidates for each discrimination method based on the measurement data; a discrimination result deriving step of deriving reliability points for each of the geometric element candidates based on the reliability of each discrimination method, and deriving the geometric element candidate with the highest reliability point as a discrimination result; A method for determining geometric elements, including:
14. On the computer, A measurement data acquisition function that acquires measurement data of the measurement target; a geometric element candidate derivation function that applies two or more discrimination methods, each having a defined reliability in geometric element discrimination, to derive geometric element candidates for the measurement object using the measurement data, and derives the geometric element candidates for each discrimination method based on the measurement data; and A program for realizing a discrimination result derivation function that derives reliability points based on the reliability of each discrimination method for each of the geometric element candidates, and derives the geometric element candidate with the highest reliability point as the discrimination result.
15. a measurement unit having a probe for measuring an object to be measured; a measurement data acquisition unit that acquires measurement data of a measurement object from the probe; a geometric element candidate derivation unit that applies two or more discrimination methods, each having a defined reliability in geometric element discrimination, to derive geometric element candidates for the measurement object using the measurement data, and derives the geometric element candidates for each discrimination method based on the measurement data; a discrimination result derivation unit that derives a reliability score for each of the geometric element candidates based on the reliability of each discrimination method, and derives the geometric element candidate with the highest reliability score as a discrimination result; A three-dimensional measuring machine equipped with
16. 16. The coordinate measuring machine according to claim 15, further comprising a geometric element calculation unit that calculates parameters of geometric elements based on the discrimination result.
Citation Information
Patent Citations
Coordinate measuring machine and its measurement
JP1994050749A
Multidimensional coordinate measuring device
JP1997178463A
Character recognition device provided with number-of-candidate control function, and method therefor
JP1999338970A
Three-dimensional shape measurement device
JP2016173294A
Medical imaging device, image processing device, and image processing method
JP2020068797A