Automatic measurement system and method for controlling the same

The automatic measurement system uses a camera-based calibration method to accurately set the TCP for measurement tools, addressing alignment issues and reducing errors in automated measurement systems, particularly for electric inner diameter measuring devices.

JP2024152665APending Publication Date: 2024-10-25MITUTOYO CORP

Patent Information

Application Number
JP2024062339
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-14
Filing Date
2024-04-08
Publication Date
2024-10-25

AI Technical Summary

Technical Problem

Existing automatic measurement systems face challenges in accurately setting the Tool Center Point (TCP) for measuring instruments, especially when using electric inner diameter measuring devices with large heads or non-contact devices, due to difficulties in aligning and inserting them into measurement targets, leading to potential collisions or measurement errors.

Method used

An automatic measurement system that utilizes an observation camera and a measurement sensor tool, both attached to an articulated robot, where the camera captures images of calibration marks to determine the TCP, and the sensor tool adjusts its position based on this calibration, allowing for precise alignment and measurement.

Benefits of technology

Enables accurate and automated measurement of dimensions and shapes by minimizing measurement errors and collisions, even with large measuring instruments, through the use of a camera-based calibration method that accounts for positional and orientational offsets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024152665000001_ABST
    Figure 2024152665000001_ABST
Patent Text Reader

Abstract

To enable accurate control by directing a measuring instrument toward an object to be measured by a moving mechanism such as a robot.SOLUTION: This automatic measurement system comprises: a measurement sensor tool that detects the surface of an object to be measured to measure the size or the shape of the object; a multiaxial moving mechanism for moving the measurement sensor tool relative to the object; and an observation camera that images the object. The system acquires the position and the direction (posture) of the object from imaging data obtained by imaging the object by the observation camera, adds offset of a position and a posture between the observation camera and the measurement sensor tool, brings the measurement sensor tool close to the object by the moving mechanism, and acquires a measurement value of the object by the measurement sensor tool.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an automatic measurement system and a method for controlling an automatic measurement system. [Background technology]

[0002] 2. Description of the Related Art Measuring instruments for measuring the dimensions and shape of an object include inner diameter measuring instruments such as Hole Test, Cylinder Gauge, and Borematic (registered trademark) (see, for example, Patent Document 1). Such small-sized dimension and shape measuring instruments are designed to be operated manually, but due to the recent problem of labor shortages and the need to further improve measurement efficiency, there is a demand to fully automate the measurement of dimensions and shape that was previously performed manually. Therefore, the applicant has proposed an automatic inner diameter measurement system, as disclosed in Patent Document 2, in which an electrically driven inner diameter measuring instrument is attached to the tip of an articulated robot arm and the measurement target locations are automatically measured in sequence. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Patent Publication 2010-19783 [Patent Document 2] Patent Publication No. 2021-9115 [Patent Document 3] Patent 5439833 Summary of the Invention [Problem to be solved by the invention]

[0004] To measure the diameter (dimension) of a hole with an electric internal diameter measuring instrument, the hand of the articulated robot arm must be moved to insert the electric internal diameter measuring instrument into the hole to be measured, but the gap between the measuring head of the electric internal diameter measuring instrument and the inner wall of the hole to be measured is extremely small (about a few millimeters). If the electric internal diameter measuring instrument cannot be accurately inserted into the hole to be measured, there is a possibility that the measuring head will collide with the object to be measured. Alternatively, even if a non-contact measuring instrument is used instead of a contact measuring instrument such as an internal diameter measuring instrument, any error in adjusting the distance and relative posture between the non-contact measuring instrument and the object to be measured will result in a measurement error.

[0005] Therefore, we want to accurately set the TCP (tool center point) to control the position and orientation of the measuring device attached to the robot's hand. However, a conventionally known method for setting a TCP (Tool Center Point) is as follows (Patent Document 3). First, the tool has a sharp point (called the tool tip point) at the top of the tool. A calibration jig with a sharp point (reference point) is also prepared. The tool tip point is brought into contact with the reference point of the fixed calibration jig. The posture of the robot arm is changed in several patterns (for example, four patterns) while maintaining contact between the tool tip point and the reference point. By solving the simultaneous equations assuming that the tool tip point (reference point) is a fixed point, the TCP (tool center point) can be found.

[0006] However, when the measuring head is large and does not have a sharp point, such as in an internal diameter measuring instrument (such as a Hole Test), the TCP (Tool Center Point) cannot be set using the above method. Alternatively, it is possible to prepare a dedicated calibration tool with a pointed point at the top (tool tip point) to match the internal diameter measuring instrument (for example a hole test), set the TCP using the dedicated calibration tool, and then switch the tool to the electric internal diameter measuring instrument. However, preparing a dedicated calibration tool for each type and size of measuring instrument is difficult in terms of time and cost, and the installation error when switching tools is also a non-negligible problem.

[0007] An object of the present invention is to enable a measuring device to be accurately controlled by a moving mechanism such as a robot, so as to point the measuring device at an object to be measured. [Means for solving the problem]

[0008] The method for controlling an automatic measurement system of the present invention includes the steps of: a measurement sensor tool for detecting a surface of a measurement object and measuring a dimension or shape of the measurement object; a movement mechanism for moving the measurement sensor tool relative to the measurement object; An observation camera that captures an image of the measurement object, preparing a calibration master having a camera calibration mark photographed by the observation camera and a sensor calibration part measured by the measurement sensor tool, the relative positions of the camera calibration mark and the sensor calibration part being known; a camera calibration mark imaging step of imaging the camera calibration mark by the observation camera; a sensor calibration part process for measuring the sensor calibration part by the measurement sensor tool; and calibrating the offset of the position and orientation between the observation camera and the measurement sensor tool based on the position and orientation of the moving mechanism and the acquired imaging data in the camera calibration mark imaging step, and the position and orientation of the moving mechanism and the acquired measurement data in the sensor calibration part step. It is characterized by:

[0009] In one embodiment of the present invention, The moving mechanism is a multi-joint robot, The observation camera and the measurement sensor tool are held at the end portion of one of the articulated robots. It is preferable.

[0010] In one embodiment of the present invention, An exchange means for moving the observation camera and the measurement sensor tool so as to exchange the position of the observation camera and the position of the measurement sensor tool is provided on the hand of the articulated robot. It is preferable.

[0011] In one embodiment of the present invention, the measurement sensor tool is a measuring instrument that measures a dimension of the measurement object by contacting a measuring element with the measurement object at a predetermined measurement pressure, The measuring element is in contact with the object to be measured not by a point but by a line or a surface. It is preferable.

[0012] In one embodiment of the present invention, The measurement sensor tool is an image measuring instrument equipped with a telecentric lens. It is preferable.

[0013] In one embodiment of the present invention, A part or all of the camera calibration mark and a part or all of the sensor calibration part are the same and are used interchangeably. It is preferable.

[0014] In one embodiment of the present invention, The measurement sensor tool is an image measuring instrument equipped with a telecentric lens, said exchange means being capable of exchanging the positions of said observation camera and said measurement sensor tool; and The observation camera is attached to the exchange means so that the planes on which the observation camera is focused when the measurement object is imaged and the measurement sensor tool is focused when the measurement object is measured are in the same plane. It is preferable.

[0015] The method for controlling an automatic measurement system of the present invention includes the steps of: a measurement sensor tool for detecting a surface of a measurement object and measuring a dimension or shape of the measurement object; a movement mechanism for moving the measurement sensor tool relative to the measurement object; An observation camera that captures an image of the measurement object, The position and orientation of the measurement target portion are obtained from image data obtained by imaging the measurement target object with the observation camera; Taking into account a position and orientation offset between the observation camera and the measurement sensor tool, the measurement sensor tool is moved toward the measurement target location by the movement mechanism; The measurement sensor tool acquires a measurement value of the measurement target portion. It is characterized by:

[0016] The automated measurement system of the present invention comprises: a measurement sensor tool for detecting a surface of a measurement object and measuring a dimension or shape of the measurement object; a movement mechanism for moving the measurement sensor tool relative to the measurement object; An automatic measurement system comprising: an observation camera that captures an image of the measurement object, The moving mechanism is a multi-joint robot, an exchange means for moving the observation camera and the measurement sensor tool so as to exchange the position of the observation camera and the position of the measurement sensor tool is provided at a hand of the articulated robot; The observation camera and the measurement sensor tool are held by the hand of the one articulated robot via the exchange means. It is characterized by:

[0017] The control program for the automatic measurement system of the present invention comprises: a measurement sensor tool for detecting a surface of a measurement object and measuring a dimension or shape of the measurement object; a movement mechanism for moving the measurement sensor tool relative to the measurement object; An observation camera that captures an image of the measurement object; By incorporating a computer into the automatic measurement system equipped with preparing a calibration master having a camera calibration mark photographed by the observation camera and a sensor calibration part measured by the measurement sensor tool, the relative positions of the camera calibration mark and the sensor calibration part being known; The computer includes: a camera calibration mark imaging step of imaging the camera calibration mark by the observation camera; a sensor calibration part process for measuring the sensor calibration part by the measurement sensor tool; and a step of calibrating offsets in position and orientation between the observation camera and the measurement sensor tool based on the position and orientation of the moving mechanism and the acquired imaging data in the camera calibration mark imaging step, and the position and orientation of the moving mechanism and the acquired measurement data in the sensor calibration part step. It is characterized by:

[0018] The control program for the automatic measurement system of the present invention comprises: a measurement sensor tool for detecting a surface of a measurement object and measuring a dimension or shape of the measurement object; a movement mechanism for moving the measurement sensor tool relative to the measurement object; and an observation camera for capturing an image of the object to be measured. On this computer, acquiring a position and an orientation of a measurement target portion from image data obtained by imaging the measurement target object with the observation camera; a step of approaching the measurement sensor tool to the measurement target location by the movement mechanism while taking into account a position and orientation offset between the observation camera and the measurement sensor tool; acquiring a measurement value of the measurement target location by the measurement sensor tool; It is characterized by: [Brief description of the drawings]

[0019] [Figure 1]FIG. 2 is an overall external view of the automatic measurement system (observation camera in use position). [Diagram 2] FIG. 2 is an overall external view of the automatic measurement system (measurement sensor tool use position). [Diagram 3] FIG. 2 is a diagram illustrating a flange coordinate system. [Figure 4] 1A is a diagram illustrating a state in which the probe is retracted, and FIG. 1B is a diagram illustrating a state in which the probe is advanced. [Diagram 5] 13 is a diagram for explaining the mounting posture of the observation camera and the electric inner diameter measurement unit. FIG. [Figure 6] FIG. 2 is a diagram illustrating a camera coordinate system. [Figure 7] FIG. 2 illustrates a measurement sensor tool coordinate system. [Figure 8] FIG. 2 is a functional block diagram of a control unit. [Figure 9] 1 is an overall flowchart showing an overview of a control method for an automatic measurement system. [Figure 10] 10 is a flowchart illustrating a procedure of a calibration process. [Figure 11] FIG. 2 is an external view of a calibration master. [Figure 12] FIG. 1 is a diagram showing a camera calibration chart. [Figure 13] 10 is a flowchart illustrating a procedure of a measurement process. [Figure 14] FIG. 11 is an overall external view of an automatic measurement system according to a second embodiment (observation camera in use position). [Figure 15] FIG. 13 is an overall external view of an automatic measurement system according to a second embodiment (measurement sensor tool use position). [Figure 16] FIG. 2 is a diagram illustrating a measurement sensor tool coordinate system of the vision measuring instrument. [Figure 17] FIG. 11 is a diagram showing a calibration master used for calibrating the automatic measurement system of the second embodiment. [Figure 18] 10 is a flowchart illustrating a procedure of a calibration process in the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0020] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be illustrated and described with reference to the reference numerals given to the various elements in the drawings. First embodiment A first embodiment of the present invention will be described. This embodiment is an automatic measurement system 1000 that automates measurement of the dimensions or shape of a measurement object. In the first embodiment, the measurement target location is the inner diameter of a hole formed in a measurement target (workpiece), and therefore the measurement sensor tool is an electric inner diameter measurement unit 2300. 1 and 2 are general external views of an automated measurement system 1000. FIG. The automatic measurement system 1000 includes a measurement device main body 2000 and a control unit 1100 that controls the overall operation.

[0021] (Measuring device main body 2000) The measurement device main body 2000 includes a multi-joint robot (multi-joint robot arm 2100) as a moving mechanism, and a tool unit 2200 attached to a hand 2130 of the multi-joint robot arm 2100.

[0022] The articulated robot arm section 2100 is a so-called robot arm, and moves a hand section 2130, which is the tip of the robot arm section 2100, three-dimensionally by a plurality of rotary drive shafts. Furthermore, the measurement device main body 2000 may have a rotating table 2010. In this case, the rotating table 2010 is also configured as a part of the articulated robot arm 2100 and is controlled in an integrated manner. The articulated robot arm unit 2100 has a base unit 2110 that is placed on the floor surface or the like, a multi-axis arm unit 2120 supported by the base unit 2110, and a hand unit 2130 provided at the tip of the arm unit 2120. The coordinate axes for controlling the articulated robot arm unit 2100 include a reference coordinate system set with the base unit 2110 as the reference, and a flange coordinate system set on the rotation axis (J6 axis) of the hand unit 2130.

[0023] The reference coordinate system is a coordinate system that is fixedly set relative to, for example, the floor surface, and the like, and the reference coordinate system does not change even if the posture of the articulated robot arm unit 2100 changes. The flange coordinate system is a coordinate axis for expressing the orientation and rotation of the hand portion 2130. FIG. 3 is a diagram illustrating a flange coordinate system. As the flange coordinate system, the Zf axis is taken coaxially with the rotation axis (J6 axis) of the hand end portion 2130, and the two axes perpendicular to Zf are taken as the Xf axis and the Yf axis. Since the reference coordinate system and the flange coordinate system are coordinate systems set in the robot, the reference coordinate system and the flange coordinate system are collectively referred to as the robot coordinate system.

[0024] The reference coordinate system and the flange coordinate system are set when the articulated robot arm unit 2100 is shipped, that is, when the articulated robot arm unit 2100 is purchased. A user who purchases the articulated robot arm unit 2100 uses it by attaching a tool such as a measuring instrument to the hand unit 2130. In this case, the tool coordinate system for controlling the position or orientation of the tool (measuring instrument, etc.) is set by the articulated robot arm unit 2100, that is, an operator who uses the automatic measurement system 1000.

[0025] The tool unit section 2200 includes an electric inner diameter measurement unit 2300 that measures the diameter of a hole of an object, an observation camera 2400 , and an exchange means 2500 .

[0026] The electric inner diameter measurement unit 2300 is an inner diameter measuring instrument (e.g., a hole tester) with motorized rod feed. In other words, the electric inner diameter measurement unit 2300 is configured so that the probe 2320 advances and retreats by the power of the motor 2330, without manual operation. That is, when measuring the inner diameter of a hole to be measured, the measuring head 2310 of the electric inner diameter measurement unit 2300 is first inserted into the hole to be measured by moving the hand 2130 of the articulated robot arm unit 2100. After the measuring head 2310 of the electric inner diameter measurement unit 2300 is inserted into the hole to be measured, the driving of the articulated robot arm unit 2100 is stopped, and from there, the probe 2320 automatically advances and retreats due to the driving of the motor 2330 of the electric inner diameter measurement unit 2300, so that the probe 2320 comes into contact with the inner wall of the hole, and the measured value of the hole diameter is obtained. FIG. 4 is a diagram illustrating (A) a state in which the probe 2320 is retracted, and (B) a state in which the probe 2320 is advanced.

[0027] The observation camera 2400 includes a lens 2410, an image sensor 2420, and a ring light 2430. The camera lens 2410 is a standard lens, and is not a lens of a telecentric lens system.

[0028] The replacement means 2500 replaces the positions of the electric inner diameter measurement unit 2300 and the observation camera 2400. The replacement means 2500 is a member formed in a U-shape overall, and supports the electric inner diameter measurement unit 2300 and the observation camera 2400 at both ends of the U-shape. The replacement means 2500 has a flat, elongated rotating plate 2510. On the back side of the rotating plate 2510, a connecting part 2520 is provided at the center point in the longitudinal direction, and the replacement means 2500 is connected to the hand part 2130 by this connecting part 2520. By the rotation of the hand part 2130, the replacement means 2500 rotates together with the hand part 2130 around the rotation axis (J6 axis) as the rotation center. On the front side of the rotating plate 2510, a camera mounting column 2530 and a measuring device mounting column 2540 are attached at right angles to the rotating plate 2510. The camera mounting column 2530 and the measuring instrument mounting column 2540 are respectively attached to both ends of the rotating plate 2510. The observation camera 2400 is attached to the camera mounting column 2530, and the electric inner diameter measurement unit 2300 is attached to the measuring instrument mounting column 2540.

[0029] Now, in the observation camera 2400, the direction parallel to the optical axis and toward the subject to be photographed is referred to as the photographing direction Ac. Also, in the electric inner diameter measurement unit 2300, the direction parallel to the center line and from the center of gravity of the electric inner diameter measurement unit 2300 toward the measurement head part 2310 is referred to as the measurement head direction At. The photographing direction and the measurement head direction are parallel to each other and are opposite to each other. Therefore, when the hand part 2130 (J6 axis) is rotated so as to rotate the rotating plate 2510 (exchange means 2500) by 180°, the positions of the observation camera 2400 and the electric inner diameter measurement unit 2300 are swapped. In FIG. 1, the measurement head direction At of the electric inner diameter measurement unit 2300 faces upward, and the shooting direction Ac of the observation camera 2400 faces downward. In FIG. 2, the measuring head direction At of the electric inner diameter measuring unit 2300 faces downward, and the shooting direction Ac of the observation camera 2400 faces upward.

[0030] Furthermore, when the measurement head direction At of the electric inner diameter measurement unit 2300 faces downward in the vertical direction, the observation camera 2400 and the electric inner diameter measurement unit 2300 are not at the same height, but the observation camera 2400 is higher than the electric inner diameter measurement unit 2300. In other words, the observation camera 2400 and the electric inner diameter measurement unit 2300 are attached to their respective columns 2530, 2540 with the same angle of inclination with respect to the longitudinal direction of the rotating plate 2510.

[0031] If the observation camera 2400 and the electric inner diameter measurement unit 2300 are attached at the same height to the rotating plate 2510 (pattern A in FIG. 5), in other words, if the observation camera 2400 and the electric inner diameter measurement unit 2300 are attached at right angles to the diameter of the rotation circle (circle of the rotation trajectory) of the rotating plate 2510, the moment of inertia of the replacement means 2500 (tool unit section 2200) can be reduced. However, if the electric inner diameter measurement unit 2300 and the observation camera 2400 are at the same height, they will interfere with each other's imaging / measurement. If the observation camera 2400 and the electric inner diameter measurement unit 2300 are arranged so that their axes are on the same straight line to the rotating plate 2510 (pattern B in FIG. 5), in other words, if the observation camera 2400 and the electric inner diameter measurement unit 2300 are attached so that they are parallel to the diameter of the rotation circle of the rotating plate 2510, they will not interfere with each other's imaging / measurement. However, the moment of inertia is large. Considering that they do not get in each other's way and that the moment of inertia is small, the observation camera 2400 and the electric inner diameter measurement unit 2300 are attached to their respective columns with the same angle (here, 45°) inclined to the longitudinal direction (rotation circle) of the rotating plate 2510, as in the C pattern in Fig. 5. This angle θ is 0°<θ<90° (expressed as a narrow angle), but is 30°≦θ≦60°, and preferably 45°. The installation angles of the observation camera 2400 and the electric inner diameter measurement unit 2300 with respect to the rotating plate 2510 may be different, but considering the machining of parts, the installation accuracy, the movement accuracy of the hand part 2130, etc., it is preferable to set them to the same inclination angle.

[0032] Furthermore, when attaching the observation camera 2400 and the electric inner diameter measurement unit 2300 to the replacement means 2500, it is desirable to ensure that when the observation camera 2400 and the electric inner diameter measurement unit 2300 are swapped using the replacement means 2500, the focused position of the observation camera 2400 (the position of the object that can be observed by the camera) and the measurement position of the electric inner diameter measurement unit 2300 (the position of the object that can be measured by the measuring probe) are as similar as possible.

[0033] For ease of explanation, as shown in FIG. 1, the exchange means 2500 is rotated so that the shooting direction Ac of the observation camera 2400 faces straight down (at this time, the measurement head direction At of the electric inner diameter measurement unit 2300 faces straight up), and the position in which the target object is imaged by the observation camera 2400 is defined as the observation camera usage position. As shown in FIG. 2, the replacement means 2500 is rotated so that the measurement head direction At of the electric inner diameter measurement unit 2300 faces straight down (at this time, the shooting direction Ac of the observation camera 2400 faces straight up), and the position in which the electric inner diameter measurement unit 2300 is directed toward the location to be measured is defined as the measurement sensor tool usage posture.

[0034] For convenience of explanation, a coordinate system is set for each of the observation camera 2400 and the electric inner diameter measurement unit (measurement sensor tool) 2300. For the observation camera 2400, as shown in the example of FIG. 6, the Zc axis of the camera coordinate system is taken along the optical axis, and two axes perpendicular to the Zc axis are taken as the Xc axis and the Yc axis. The direction from the observation camera 2400 towards the observation target is defined as the positive direction of the Z axis. For ease of understanding in the following explanation, the origin of the camera coordinate system is the point (object point) on the optical axis where the image is in focus.

[0035] For convenience of explanation, the offset between the flange coordinate system (robot coordinate system) and the camera coordinate system is represented by Δfc. Here, it is assumed that a design value is input and set as the offset Δfc between the flange coordinate system (robot coordinate system) and the camera coordinate system. Based on the design values ​​of the observation camera 2400 and the replacement means 2500 parts, the design offset between the flange coordinate system (robot coordinate system) and the camera coordinate system is found by calculation.

[0036] A method for determining the offset Δfc between the flange coordinate system and the camera coordinate system (the position vector in the flange coordinate system from the origin of the flange coordinate system to the origin of the camera coordinate system and the amount of rotation for aligning their axes) is known. For example, the tool center point of the camera can be determined by capturing images of the same point with a camera while changing the robot posture in multiple patterns. The offset Δfc between the robot coordinate system and the camera coordinate system (in other words, the tool center point TCP of the observation camera 2400) may be calibrated in advance using this known method, but is not essential.

[0037] As shown in FIG. 7, for the electric inner diameter measuring unit 2300, the Zt axis of the measuring sensor tool coordinate system is taken along the center line of the inner diameter measuring instrument, and the two axes perpendicular to the Zt axis are the Xt axis and the Yt axis. The origin of the measuring sensor tool coordinate system is a predetermined distance (a known value is determined) above the lower surface of the measuring head part 2310 of the inner diameter measuring instrument. For convenience of explanation, the offset between the flange coordinate system (robot coordinate system) and the measuring sensor tool coordinate system is expressed as Δft. Here, the offset between the flange coordinate system (robot coordinate system) and the measuring sensor tool coordinate system is input and set as a provisional setting value. Based on the design values ​​of the electric inner diameter measuring unit 2300 and the parts of the exchange means 2500, the design offset between the flange coordinate system (robot coordinate system) and the measuring sensor tool coordinate system is calculated. The provisional setting value is calibrated in a calibration process (ST400) described later.

[0038] FIG. 8 is a functional block diagram of the control unit section 1100. The control unit section 1100 includes a central control section 1200, a robot arm drive control section 1300, and a measurement operation control section 1400. The measurement operation control section 1400 includes an observation camera control section 1410, and a measurement sensor tool control section 1420. The operation of each control unit will be described later with reference to a flowchart.

[0039] The control unit 1100 may be configured by hardware or software incorporated in a computer (a so-called computer terminal having a CPU (Central Processing Unit), ROM and RAM storing a predetermined program) that is connected to the measurement device main body 2000 for communication by wire or wirelessly. An operation control program (a measurement part program) is installed in the computer terminal, and the operation of the measurement device main body 2000 is controlled by executing the program. The method of supplying the program is not limited, and the program may be installed by directly inserting a (non-volatile) recording medium on which the program is recorded into the computer, or a reading device that reads information from the recording medium may be attached to the computer and the program may be installed from this reading device, or the program may be supplied to the computer via a communication line such as the Internet, a LAN cable or a telephone line, or wirelessly.

[0040] (Control Method) A control method for measuring the dimension (for example, inner diameter) of a measurement target portion using the automatic measurement system 1000 configured in this manner will be described. FIG. 9 is an overall flowchart showing an outline of a control method for the automatic measurement system 1000. As shown in the flow chart of FIG. 9, the control method for measuring the dimension (inner diameter) of a measurement target portion by the automatic measurement system 1000 is roughly divided into a calibration process (ST400) and a measurement process (ST500).

[0041] (calibration process) The calibration process (ST400) will now be described. FIG. 10 is a flowchart for explaining the procedure of the calibration step (ST400). First, a calibration master 3000 to be used for calibration is prepared (ST410). FIG. 11 is an external view of the calibration master 3000. As shown in FIG. The calibration master 3000 is a combination of a camera calibration chart 3100 and a measurement sensor tool calibration jig 3200 . FIG. 12 is a diagram showing a camera calibration chart 3100. As shown in FIG. A commercially available calibration plate may be used as the camera calibration chart 3100. For example, a calibration plate 80 mm (model: 20124) manufactured by MVTec may be used as the camera calibration chart 3100. The camera calibration chart 3100 has a plurality of camera calibration marks 3110 provided on the surface of a flat, planar plate. Here, the camera calibration marks 3110 are provided at the center point of the camera calibration chart 3100 and at the vertices of a square surrounding the center point. Each camera calibration mark 3110 has a different dot pattern, and each camera calibration mark 3110 can be recognized separately by pattern recognition. The camera calibration mark 3110 at the center point is referred to as a center camera calibration mark 3120.

[0042] The measurement sensor tool calibration jig 3200 has a camera calibration chart 3100 installation section for fixedly installing the camera calibration chart 3100, and a plurality of sensor calibration holes 3220 (sensor calibration parts) measured by the electric inner diameter measurement unit 2300. The camera calibration chart 3100 installation section is a recess for receiving the camera calibration chart 3100, and the camera calibration chart 3100 is pressed against a reference side for positioning by biasing the camera calibration chart 3100 with a spring member. As a result, the camera calibration mark 3110 is fixedly provided at a specified position on the measurement sensor tool calibration jig 3200. In the measurement sensor tool calibration jig 3200, the sensor calibration holes 3220 include three holes that open directly upward and two holes that open diagonally. The center lines of the three sensor calibration holes 3220 that open directly upward are perpendicular to the surface of the camera calibration chart 3100. Now, the three sensor calibration holes 3220 that are open facing directly upward are designated as a first sensor calibration hole 3221, a second sensor calibration hole 3222, and a third sensor calibration hole 3223.

[0043] The relative positions of the camera calibration mark 3110 and the sensor calibration hole 3220 are known. The relative position vector from the central camera calibration mark 3120 to the center P1 of the first sensor calibration hole 3221 is represented as ΔPc1. The relative position vector from the central camera calibration mark 3120 to the center P2 of the second sensor calibration hole 3222 is represented as ΔPc2. The relative position vector from the central camera calibration mark 3120 to the center P3 of the third sensor calibration hole 3223 is represented as ΔPc3.

[0044] It is assumed that the three upward-facing sensor calibration holes 3220 are used as calibration holes (sensor tool calibration parts), and the two diagonal holes are used for testing whether the calibration has been performed correctly, but the two diagonal holes may also be used for calibration.

[0045] In this embodiment, since the measurement sensor tool is the electric inner diameter measurement unit 2300, the sensor calibration parts are holes, but the shape or pattern of the sensor calibration parts differs depending on the type of measurement sensor tool.

[0046] Such a calibration master 3000 is set in a measurable area of ​​the automatic measurement system (for example, on a surface plate or on a rotary table 2010). At this time, the calibration master 3000 is set so that the camera calibration chart 3100 is horizontal. Alternatively, the camera calibration chart 3100 is parallel to the XrYr plane of the reference coordinate system. (Alternatively, the normal line of the camera calibration chart 3100 has a known direction in the reference coordinate system.)

[0047] Next, the camera calibration mark 3110 is imaged by the observation camera 2400 (ST420). That is, the exchange means 2500 is rotated by rotating the hand part 2130 so that the shooting direction Ac of the observation camera 2400 faces straight down, and the automatic measurement system 1000 is set to the observation camera use posture. Then, the position and posture of the hand part 2130 are adjusted by driving the articulated robot arm part 2100, and the camera calibration chart 3100 is imaged by the observation camera 2400.

[0048] Here, the tool center point of the observation camera 2400 is input as a design value and is known (the offset Δfc between the flange coordinate system (robot coordinate system) and the camera coordinate system is known), so the robot can be automatically controlled to capture an image of the chart with the observation camera 2400.

[0049] The posture of the articulated robot arm unit 2100 is recorded (ST430). In other words, the origin position of the flange coordinate system and the posture of the flange coordinate system may be recorded. The posture of the articulated robot arm unit 2100 at this time is represented by Fc (Fxc, Fyc, Fzc, Fαc, Fβc, Fγc). The central camera calibration mark 3120 can be identified by pattern recognition in the imaging data, and therefore the position Cc (Cx, Cy, Cz) of the central camera calibration mark 3110 in the camera coordinate system is obtained.

[0050] Therefore, the coordinate Pc of the central camera calibration mark 3120 is Pc = Fc + Δfc + Cc It is.

[0051] Now, Cc is a point on the camera coordinate system, and Fc is a point on the reference coordinate system. The above formula does not represent a mathematically (or quantitatively) strict calculation formula, but represents a conceptual (or qualitative) simplified expression of information elements for easier understanding. Rewriting into a quantitative calculation formula, taking into account the conversion between the reference coordinate system and the flange coordinate system, and the conversion between the flange coordinate system and the camera coordinate system, can itself be done by mathematical manipulation. Please interpret the same for the expressions of the following formulas.

[0052] From this, the center P1 of the first sensor calibration hole 3221 is P1 = Pc + ΔPc1 = Fc + Δfc + Cc + ΔPc1 It is.

[0053] Similarly, the center P2 of the second sensor calibration hole 3222 is P2 = Pc + ΔPc2 = Fc + Δfc + Cc + ΔPc2 It is.

[0054] The center P3 of the third sensor calibration hole 3223 is P3 = Pc + ΔPc2 = Fc + Δfc + Cc + ΔPc3 It is.

[0055] Next, the sensor calibration hole 3220 is measured by the electric inner diameter measurement unit 2300 (ST440). That is, the exchange means 2500 is rotated by rotating the hand part 2130 so that the measurement head direction of the electric inner diameter measurement unit 2300 faces straight down, and the automatic measurement system 1000 is set to the measurement sensor tool usage posture. Then, the measurement head part 2310 of the electric inner diameter measurement unit 2300 is inserted into the sensor calibration hole 3220, and the sensor calibration hole 322 is measured. 0 Measure.

[0056] Now, it is assumed that the offset between the flange coordinate system (robot coordinate system) and the measurement sensor tool coordinate system is set and input as a design value. Therefore, the electric inner diameter measurement unit 2300 can be moved to almost directly above the sensor calibration hole 3220 by automatic control of the robot arm unit 2100. The operation of inserting the measurement head unit 2310 of the electric inner diameter measurement unit 2300 into the sensor calibration hole 3220 is performed manually. Once the measurement head unit 2310 enters the sensor calibration hole 3220, the three probes 2320 are advanced toward the inner wall of the hole by automatic motor drive. The probes 2320 come into contact with the inner wall of the hole with the same contact pressure. At this time, the center line of the electric inner diameter measurement unit 2300 coincides with the center line of the hole, and the measurement head unit 2310 is at the center of the hole. Although an inner diameter measurement operation may be performed using the electric inner diameter measurement unit 2300, since it is not desired to know the inner diameter of the sensor calibration hole 3220 but the position of the sensor calibration hole 3220, it is not necessary to obtain the value of the inner diameter of the sensor calibration hole 3220. It is sufficient to obtain the position of the hole (e.g., center coordinates) in the measurement sensor tool coordinate system, but assuming that the electric inner diameter measurement unit 2300 is centered, the obtained value of the position of the hole (e.g., center coordinates) in the measurement sensor tool coordinate system may be set to (0, 0, 0). In addition, in order to align the electric inner diameter measurement unit 2300 as closely as possible to the center of the sensor calibration hole 3220, the inner diameter measurement operation (advancing the three measuring probes) may be performed using the electric inner diameter measurement unit 2300 as described above, but manual alignment may also be performed. This is because minute displacements of the electric inner diameter measurement unit 2300 within the sensor calibration hole 3220 do not significantly affect the position and posture of the hand portion 2130 of the articulated robot arm portion 2100.

[0057] Now, assume that the first sensor calibration hole 3221 has been measured. In this state, the posture of the articulated robot arm unit 2100 is recorded. In other words, the origin position of the flange coordinate system and the posture of the flange coordinate system may be recorded. The posture of the articulated robot arm unit 2100 at this time is represented by F1 (Fx1, Fy1, Fz1, Fα1, Fβ1, Fγ1). Also, the center coordinates of the hole in the measurement sensor tool coordinate system are Pt1 (0, 0, 0).

[0058] From this, the center P1 of the first sensor calibration hole 3221 is P1 = F1 + Δft + Pt1 It is. (Since Pt1 is zero, P1=F1+Δft)

[0059] In the same manner, the second sensor calibration hole 3222 and the third sensor calibration hole 3223 are measured by the electric inner diameter measurement unit 2300. The center P2 of the second sensor calibration hole 3222 is P2 = F2 + Δft + Pt2 It is. (Since Pt2 is zero, P2 = F2 + Δft)

[0060] The center P3 of the third sensor calibration hole 3223 is P3 = F3 + Δft + Pt3 It is. (Since Pt3 is zero, P3=F3+Δft)

[0061] By comparing the data obtained by imaging the central camera calibration mark 3120 with the observation camera 2400 and the data obtained by measuring the sensor calibration hole 3220 acquired by the electric inner diameter measurement unit 2300, the offset Δtc between the camera coordinate system and the measurement sensor tool coordinate system is obtained (ST460).

[0062] P1=F1+Δft P1 = Pc + ΔPc1 = Fc + Δfc + Cc + ΔPc1

[0063] From these two formulas, Δtc=Δft-Δfc=Fc+Cc+ΔPc1-F1 It is.

[0064] Fc+Cc+ΔPc1-F1 is a known value. Fc+Cc+ΔPc1-F1= Fc(Fxc, Fyc, Fzc, Fαc, Fβc, Fγc)+Cc+ΔPc1-F1(Fx1, Fy1, Fz1, Fα1, Fβ1, Fγ1)

[0065] Therefore, an offset Δtc (Δtcx, Δtcy, Δtcz, Δtcα, Δtcβ, Δtcγ) between the camera coordinate system and the measurement sensor tool coordinate system is obtained. Then, the tool center point of the measurement sensor tool (electric inner diameter measurement unit 2300) based on the observation camera 2400 is obtained (ST470). Δft = Δfc - Δtc =Δfc-(Fc+Cc+ΔPc1-F1) Now, Δfc is a known value because the design value is input and set as the offset Δfc between the flange coordinate system (robot coordinate system) and the camera coordinate system. In this way, the tool center point of the measurement sensor tool (electric inner diameter measurement unit 2300) based on the observation camera 2400 was obtained.

[0066] The above solution will be supplemented. Because the lens of the observation camera 2400 is a standard lens, the inclination of the observation camera 2400 can also be obtained from the image data of the camera calibration chart 3100. Therefore, the central coordinate values ​​and hole orientations (hole inclinations) of the first sensor calibration hole 3221, the second sensor calibration hole 3222, the third sensor calibration hole 3223, ... can be obtained from the image data obtained by observation with the observation camera 2400. These are designated as (P1, θ1, P2, θ2, P3, θ3, ...). (Here, P is a set of (x, y, z) that represents a point in space, and θ is a set of (α, β, γ) that represents the tilt (rotation around the x-axis, rotation around the y-axis, rotation around the z-axis). Similarly, the coordinate values ​​and tilts of the first sensor calibration hole 3221, the second sensor calibration hole 3222, the third sensor calibration hole 3223, ... obtained by measurement using the electric inner diameter measurement unit 2300 are (P1', θ1', P2', θ2', P3', θ3', ...).

[0067] Let M denote the matrix that represents the offset Δtc between the camera coordinate system and the measurement sensor tool coordinate system. At this time, [(P1', θ1', P2', θ2', P3', θ3',...)]=M[(P1, θ1, P2, θ2, P3, θ3,...)] It is expressed as follows. Here, brackets [ ] should be interpreted as row or column vectors with ( ) rearranged as appropriate. From this simultaneous equation, a matrix M expressing the offset Δtc between the camera coordinate system and the measurement sensor tool coordinate system can be obtained. Since six equations are required to obtain six unknowns, for example, the number of calibration holes in the calibration master 3000 may be increased to six, or multiple calibration masters 3000 (for example, two) may be used, or a set of calibration data may be prepared by repeating ST420-ST450 multiple times (for example, twice) for the same calibration master 3000 while appropriately changing the location or attitude. Alternatively, in order to reduce the number of unknowns to be obtained, it is possible to assume that there is no tilt of the axes in the camera coordinate system and the measurement sensor tool coordinate system (assuming that the corresponding axes in the camera coordinate system and the measurement sensor tool coordinate system are parallel to each other), and select only the origin deviation (Δx, Δy, Δz) as the calibration target for calibration. Alternatively, it is possible to assume that the parallelism of the Z axes is maintained, and then calibrate Δx, Δy, and the rotation (γ) in the xy plane. In this embodiment, if the hand portion 2130 of the robot arm portion 2120 can be controlled so that the measuring head portion 2310 of the electric inner diameter measuring unit 2300 enters the hole to be measured, then the position and posture of the electric inner diameter measuring unit 2300 will be autonomously adjusted by the automatic advancement and retreat of the probe 2320 driven by the motor 2330 so that the axis of the electric inner diameter measuring unit 2300 is aligned with the center line of the hole, and the probe 2320 will come into even contact with the inner wall of the hole, allowing the measured value of the hole diameter to be obtained. In this embodiment, the electric inner diameter measurement unit 2300 has a joint (floating joint) that allows translation and rotation relative to the hand part 2130 of the articulated robot arm part 2100. When the electric inner diameter measurement unit 2300 is moved to the measurement target (inside a hole in this case) by the hand part 2130 of the articulated robot arm part 2100, the position and posture of the electric inner diameter measurement unit 2300 are autonomously adjusted even if the hand part 2130 of the articulated robot arm part 2100 remains fixed, so that the axis of the electric inner diameter measurement unit 2300 is aligned with the center line of the hole.

[0068] (Measurement process ST500) FIG. 13 is a flowchart for explaining the procedure of the measurement process ST500. A measurement target location (eg, hole) whose dimension (eg, inner diameter) is to be measured in a workpiece is set in the control unit section 1100 (ST510). For example, the measurement target location is set and registered in the control unit section 1100 based on the setting value data (CAD data) of the workpiece.

[0069] The measurement object is placed in a measurable area of ​​the automatic measurement system 1000 (for example, on a surface plate or on the rotary table 2010) (ST520).

[0070] The exchange means 2500 is rotated by rotating the hand portion 2130, and the automatic measuring system 1000 is set to the observation camera use posture (ST530). The observation camera 2400 captures an image of the workpiece, and the position and orientation (posture) of the measurement target point are obtained from the captured image data (ST540).

[0071] Next, the exchange means 2500 is rotated by rotating the hand portion 2130, and the automatic measurement system 1000 is set to a measurement sensor tool use posture (ST550).

[0072] The electric inner diameter measurement unit 2300 is brought close to the measurement target location (ST560). Using the TCP (tool center point) of the electric inner diameter measurement unit 2300 determined in the previous calibration, the measuring head portion 2310 of the electric inner diameter measurement unit 2300 is inserted into the measurement target location (hole) by automatic control of the articulated robot arm portion 2100.

[0073] When the measuring head 2310 of the electric inner diameter measuring unit 2300 enters the measurement target location (hole), the operation of the robot arm 2120 is stopped and the hole diameter is measured by the electric inner diameter measuring unit 2300 (ST570). The automatic motor drive of the electric inner diameter measuring unit 2300 moves the probe 2320 forward, and the probe 2320 comes into contact with the inner wall of the hole, and the measured value of the hole diameter is obtained.

[0074] In this way, one measurement point (hole diameter) of one workpiece was measured. ST530 to ST570 are repeated to measure the registered measurement points in the work in order. Furthermore, unmanned automatic measurement is performed by repeating the measurement process (ST500) while replacing the work.

[0075] As described above, according to this embodiment, the measurement of dimensions or shapes using a measuring device can be automatically executed. In particular, it will become possible to use a robot to automatically carry out measurements of dimensions or shapes that require a contact measuring device, particularly a precise approach such as inserting a measuring device into a hole.

[0076] Even if you want to use a measurement tool for automatic measurement, such as an inner diameter measuring instrument, which has a large head or whose stylus 2320 contacts the measurement target with a line or surface, it is difficult to directly and accurately determine the TCP (tool center point) of such a measurement tool. In this regard, in this embodiment, an observation camera 2400 is prepared that is used by replacing the position of the measurement sensor tool, and the tool center point of the measurement sensor tool (electric inner diameter measurement unit 2300) can be determined based on this observation camera 2400.

[0077] After the measurement target (location) is captured by the observation camera 2400, in other words, after the observation camera 2400 has image-recognized the target, the positions of the observation camera 2400 and the electric inner diameter measurement unit 2300 are swapped, and then the measurement sensor tool (electric inner diameter measurement unit 2300) is brought closer to the measurement target location using the tool center point of the measurement sensor tool (electric inner diameter measurement unit 2300), and the measurement head portion 2310 of the electric inner diameter measurement unit 2300 should be inserted into the measurement target location (hole).

[0078] The articulated robot arm section 2100 has motion performance errors for each product, and the exchange means 2500, observation camera 2400, and measurement sensor tool (electric inner diameter measurement unit 2300) also have individual product differences, but the tool center point of the measurement sensor tool (electric inner diameter measurement unit 2300) based on the observation camera 2400, calibrated by the calibration method of this embodiment, is obtained as a calibrated value that absorbs all accumulated errors in the actual machine. According to this embodiment, regardless of the motion performance differences and individual differences between products, it becomes possible to accurately control the measurement sensor tool toward the target (measurement target location) captured by the observation camera 2400.

[0079] The observation camera 2400 and the electric inner diameter measurement unit 2300 (measurement sensor tool) are replaced by simply rotating (180°) the hand part 2130 (J6 axis). Therefore, compared to replacement using a complex mechanism, the error (position or posture deviation) for each operation is extremely small. Since the observation camera 2400 can be replaced with the measurement sensor tool by the replacement means 2500, the observation camera 2400 can approach the object sufficiently and take a picture from directly above, brightly illuminating it with the ring light 2430. Therefore, the measurement object (location) can be captured extremely accurately by the observation camera 2400. In addition, after the measurement object (location) is captured by the observation camera 2400, the electric inner diameter measurement unit 2300 is replaced at the position of the observation camera 2400, and then the electric inner diameter measurement unit 2300 approaches the measurement object (location). In other words, the amount of drive of the articulated robot arm section 2100 required to approach the measurement target (location) after capturing the measurement target (location) with the observation camera 2400 is the smallest possible. This makes the control error for each operation extremely small. According to the automatic measurement system 1000 of this embodiment, the measurement sensor tool can be accurately controlled to point at the desired measurement target location, and accidents such as unintentional contact between the measurement sensor tool and the workpiece can be minimized.

[0080] (Variation 1) A method for determining the offset Δfc between the flange coordinate system and the camera coordinate system (the position vector in the flange coordinate system from the origin of the flange coordinate system to the origin of the camera coordinate system and the amount of rotation for aligning their axes) is known. For example, the tool center point of the camera can be determined by capturing an image of the same point with a camera while changing the robot posture in multiple patterns. The offset Δfc between the robot coordinate system and the camera coordinate system (in other words, the tool center point TCP of the observation camera 2400) may be calibrated by this known method.

[0081] Second Embodiment A second embodiment of the present invention will now be described. In the second embodiment, a non-contact type image measuring device 4000 is provided as a measurement sensor tool instead of the electric inner diameter measuring unit 2300 of the first embodiment. 14 and 15 are overall external views of an automatic measurement system 1000 according to the second embodiment. In the second embodiment, the measurement sensor tool is a non-contact measurement tool, which is an image measuring instrument 4000. The image measuring instrument 4000 is equipped with a telecentric lens system. Since it is a telecentric lens system, there is no distortion due to the angle of view, and accurate dimensions of the measurement object can be obtained from the imaging data.

[0082] For the image measuring device 4000, as illustrated in FIG. 16, the Zt axis of the measurement sensor tool coordinate system is taken along the optical axis, and two axes perpendicular to the Zt axis are taken as the Xt and Yt axes. FIG. 16 is a diagram illustrating the measurement sensor tool coordinate system for the vision measuring device 4000. The origin of the measurement sensor tool coordinate system is assumed to be within the range where the focus is achieved (within the depth of field) on the optical axis of the image measuring device 4000. The offset between the flange coordinate system (robot coordinate system) and the measurement sensor tool coordinate system is input and set as a temporary setting value by inputting a design value. The offset between the flange coordinate system (robot coordinate system) and the measurement sensor tool coordinate system is expressed as Δft.

[0083] The configuration of the exchange means 2500 is similar to that described in the first embodiment, but when attaching the observation camera 2400 and the image measuring device 4000 to the exchange means 2500, the surfaces that are in focus when their positions are swapped are arranged to be in the same plane.

[0084] The calibration process of the automatic measurement system 1000 of the second embodiment will be described. FIG. 17 is a diagram showing a calibration master 3300 used for calibrating the automatic measurement system 1000 of the second embodiment. The camera calibration chart 3100 used in the first embodiment is used for calibrating the automatic measurement system 1000 of the second embodiment. A camera calibration mark 3110 affixed to one camera calibration chart 3100 also serves as a sensor calibration part. In Fig. 12, a camera calibration chart installation frame 3310 urges the camera calibration chart 3100 with a spring member, thereby pressing the camera calibration chart 3100 against a reference side for positioning.

[0085] The calibration process in the second embodiment will be described with reference to the flowchart in FIG. FIG. 18 is a flowchart for explaining the procedure of the calibration process in the second embodiment. A calibration master 3300 is prepared and set in a measurable area of ​​the automatic measurement system 1000 (for example, on a surface plate or on a rotary table 2010) (ST610). At this time, the calibration master 3300 is set so that the camera calibration chart 3100 is horizontal. Alternatively, the camera calibration chart 3100 is parallel to the XY plane of the reference coordinate system. (Alternatively, the normal line of the camera calibration chart 3100 has a known direction in the reference coordinate system.)

[0086] Next, the camera calibration mark 3110 is imaged by the observation camera 2400 (ST620). That is, the exchange means 2500 is rotated by rotating the hand unit 2130 so that the imaging direction Ac of the observation camera 2400 faces straight down, and the automatic measurement system 1000 is set to the observation camera use posture. Then, the camera calibration chart 3100 is imaged by the observation camera 2400. The posture Fc (Fxc, Fyc, Fzc, Fαc, Fβc, Fγc) of the articulated robot arm unit 2100 at this time is recorded (ST630).

[0087] The coordinate Pc of the central camera calibration mark 3110 is expressed as follows in the robot coordinate system: Pc = Fc + Δfc + Cc It is.

[0088] Next, the exchanging means 2500 is rotated by rotating the hand portion 2130, the automatic measuring system 1000 is set in the measurement sensor tool use attitude, and the image measuring device 4000 captures an image of the camera calibration mark 3110 (ST640). At this time, it moves to a position where it can capture an image of the camera calibration mark 3110. By capturing images of the five camera calibration marks 3110, the coordinate value Tc of the central camera calibration mark 3120 can be obtained.

[0089] In this state, the posture of the articulated robot arm unit 2100 is recorded (ST650). The posture of the articulated robot arm unit 2100 at this time is represented by F1 (Fx1, Fy1, Fz1, Fα1, Fβ1, Fγ1).

[0090] The coordinate Pc of the central camera calibration mark 3110 is expressed as follows in the robot coordinate system: Pc = F1 + Δft + Tc It is.

[0091] By comparing the data obtained by imaging the central camera calibration mark 3120 with the observation camera 2400 and the data obtained by imaging the central camera calibration mark 3120 with the image measuring instrument 4000, the offset Δtc between the camera coordinate system and the measurement sensor tool coordinate system is obtained (ST660).

[0092] Pc = Fc + Δfc + Cc Pc = F1 + Δft + Tc

[0093] From these two formulas, Δtc=Δft-Δfc=Fc+Cc-F1-Tc It is.

[0094] Fc+Cc-F1-Tc is a known value. Fc+Cc-F1-Tc= Fc(Fxc, Fyc, Fzc, Fαc, Fβc, Fγc)+Cc-F1(Fx1, Fy1, Fz1, Fα1, Fβ1, Fγ1)-Tc Therefore, the offset Δtc (Δtcx, Δtcy, Δtcz, Δtcα, Δtcβ, Δtcγ) between the camera coordinate system and the measurement sensor tool coordinate system is obtained. Then, the tool center point of the measurement sensor tool (image measuring instrument 4000) based on the observation camera 2400 can be obtained (ST670). Δft = Δfc - Δtc =Δfc-(Fc+Cc-F1-Tc) Here, Δfc is a known value because the design value is input and set as the offset Δfc between the flange coordinate system (robot coordinate system) and the camera coordinate system. In this way, the tool center point of the measurement sensor tool (image measuring instrument 4000) based on the observation camera 2400 was obtained.

[0095] When measuring the dimensions or shape of a measurement target with the image measuring instrument 4000, after capturing the target with the observation camera 2400, in other words, after image recognition of the target with the observation camera 2400, the positions of the observation camera 2400 and the image measuring instrument 4000 are exchanged, and the measurement sensor tool (image measuring instrument 4000) is approached toward the measurement target using the tool center point of the previously calibrated measurement sensor tool (image measuring instrument 4000) to measure the measurement target. With this method, the image measuring instrument 4000 should be able to capture the measurement target (measurement target location) accurately. In other words, the optical axis should be perpendicular to the measurement target location, and the measurement target location should be captured within the depth of field (within the range in focus).

[0096] As described above, according to this embodiment, the measurement of dimensions or shapes using a measuring device can be automatically executed.

[0097] The present invention is not limited to the above-described embodiment, and can be modified as appropriate without departing from the spirit and scope of the present invention. The measuring sensor tool may be a measuring instrument (measuring unit) that measures the dimensions (inner dimensions, outer dimensions) of a workpiece (measurement target) in a contact manner instead of an electric inner diameter measuring instrument. A measuring sensor tool in which a movable element (which may be called various names such as a measuring element 2320, a measuring jaw, a spindle, etc.) is displaceably provided relative to a fixed element, and the measuring element 2320 is brought into contact with the workpiece or the workpiece is sandwiched between the measuring element 2320 to measure the workpiece dimensions may be applied to the above embodiment. Examples of measuring sensor tools include a caliper, a micrometer head, a micrometer, a digital dial gauge (indicator), and a test indicator (lever dial gauge). Non-contact measuring sensor tools include an image measuring instrument 4000 having a telecentric lens system, as well as a capacitance type, a laser detector, and a confocal type sensor.

[0098] Although the case where the observation camera 2400 and the measurement sensor tool are provided in the hand end portion 2130 of one robot arm portion 2120 as the tool unit portion 2200 having the exchange means 2500 has been exemplified, the observation camera 2400 and the measurement sensor tool may be provided in the hand end portion 2130 of separate robot arm portions 2120, or the observation camera 2400 may be fixed. However, the advantages of providing the observation camera 2400 and the measurement sensor tool in the hand end portion 2130 of one robot arm portion 2120 as the tool unit portion 2200 are as described above. [Explanation of symbols]

[0099] 1000 Automatic Measurement System 1100 Control unit 1200 Central Control Unit 1300 Robot arm drive control unit 1400 Measurement operation control section 1410 Observation camera control unit 1420 Measurement sensor tool control unit 2000 Measuring device main body 2010 Rotating Table 2100 Articulated robot arm 2110 Base 2120 Arm section 2130 Hands 2200 Tool unit part 2300 Electric Inner Diameter Measuring Unit 2310 Measuring head 2320 Probe 2330 Motor 2400 Observation Camera 2420 Image Sensor 2430 Ring Light 2500 means of exchange 2510 Rotating Plate 2520 Connection section 2530 Camera installation column 2540 Measuring Instrument Mounting Column 3000 Calibration Master 3100 Camera Calibration Chart 3110 Camera Calibration Mark 3120 Center camera calibration mark 3200 Measurement Sensor Tool Calibration Fixture 3210 Camera calibration chart installation unit 3220 Sensor calibration hole 3221 First sensor calibration hole 3222 Second sensor calibration hole 3223 Third sensor calibration hole 4000 Image Measuring Instrument 3300 Calibration Master 3310 Camera calibration chart installation frame

Claims

1. a measurement sensor tool for detecting a surface of a measurement object and measuring a dimension or shape of the measurement object; a movement mechanism for moving the measurement sensor tool relative to the measurement object; An observation camera that captures an image of the measurement object, preparing a calibration master having a camera calibration mark photographed by the observation camera and a sensor calibration part measured by the measurement sensor tool, the relative positions of the camera calibration mark and the sensor calibration part being known; a camera calibration mark imaging step of imaging the camera calibration mark by the observation camera; a sensor calibration part process for measuring the sensor calibration part by the measurement sensor tool; and calibrating the offset of the position and orientation between the observation camera and the measurement sensor tool based on the position and orientation of the moving mechanism and the acquired imaging data in the camera calibration mark imaging step, and the position and orientation of the moving mechanism and the acquired measurement data in the sensor calibration part step.

23. A method for controlling an automatic measurement system comprising:

2. 2. The method for controlling an automatic measurement system according to claim 1, The moving mechanism is a multi-joint robot, The observation camera and the measurement sensor tool are held at the end portion of one of the articulated robots.

23. A method for controlling an automatic measurement system comprising:

3. 3. The method for controlling an automatic measurement system according to claim 2, An exchange means for moving the observation camera and the measurement sensor tool so as to exchange the position of the observation camera and the position of the measurement sensor tool is provided on the hand of the articulated robot.

23. A method for controlling an automatic measurement system comprising:

4. 2. The method for controlling an automatic measurement system according to claim 1, the measurement sensor tool is a measuring instrument that measures a dimension of the measurement object by contacting a measuring element with the measurement object at a predetermined measurement pressure, The measuring element is in contact with the object to be measured not by a point but by a line or a surface.

23. A method for controlling an automatic measurement system comprising:

5. 2. The method for controlling an automatic measurement system according to claim 1, The measurement sensor tool is an image measuring instrument equipped with a telecentric lens.

23. A method for controlling an automatic measurement system comprising:

6. 6. The method for controlling an automatic measurement system according to claim 5, A part or all of the camera calibration mark and a part or all of the sensor calibration part are the same and are used interchangeably.

23. A method for controlling an automatic measurement system comprising:

7. 4. The method for controlling an automatic measurement system according to claim 3, The measurement sensor tool is an image measuring instrument equipped with a telecentric lens, said exchange means being capable of exchanging the positions of said observation camera and said measurement sensor tool; and The observation camera is attached to the exchange means so that the planes on which the observation camera is focused when the measurement object is imaged and the measurement sensor tool is focused when the measurement object is measured are in the same plane.

23. A method for controlling an automatic measurement system comprising:

8. a measurement sensor tool for detecting a surface of a measurement object and measuring a dimension or shape of the measurement object; a movement mechanism for moving the measurement sensor tool relative to the measurement object; An observation camera that captures an image of the measurement object, The position and orientation of the measurement target portion are obtained from image data obtained by imaging the measurement target object with the observation camera; Taking into account a position and orientation offset between the observation camera and the measurement sensor tool, the measurement sensor tool is moved toward the measurement target location by the movement mechanism; The measurement sensor tool acquires a measurement value of the measurement target portion.

23. A method for controlling an automatic measurement system comprising:

9. a measurement sensor tool for detecting a surface of a measurement object and measuring a dimension or shape of the measurement object; a movement mechanism for moving the measurement sensor tool relative to the measurement object; An automatic measurement system comprising: an observation camera that captures an image of the measurement object, The moving mechanism is a multi-joint robot, an exchange means for moving the observation camera and the measurement sensor tool so as to exchange the position of the observation camera and the position of the measurement sensor tool is provided at a hand of the articulated robot; The observation camera and the measurement sensor tool are held by the hand of the one articulated robot via the exchange means.

1. An automatic measurement system comprising:

10. a measurement sensor tool for detecting a surface of a measurement object and measuring a dimension or shape of the measurement object; a movement mechanism for moving the measurement sensor tool relative to the measurement object; An observation camera that captures an image of the measurement object; By incorporating a computer into the automatic measurement system equipped with preparing a calibration master having a camera calibration mark photographed by the observation camera and a sensor calibration part measured by the measurement sensor tool, the relative positions of the camera calibration mark and the sensor calibration part being known; The computer includes: a camera calibration mark imaging step of imaging the camera calibration mark by the observation camera; a sensor calibration part process for measuring the sensor calibration part by the measurement sensor tool; and a step of calibrating offsets in position and orientation between the observation camera and the measurement sensor tool based on the position and orientation of the moving mechanism and the acquired imaging data in the camera calibration mark imaging step, and the position and orientation of the moving mechanism and the acquired measurement data in the sensor calibration part step. A control program for an automatic measurement system.

11. a measurement sensor tool for detecting a surface of a measurement object and measuring a dimension or shape of the measurement object; a movement mechanism for moving the measurement sensor tool relative to the measurement object; and an observation camera for capturing an image of the object to be measured. On this computer, acquiring a position and an orientation of a measurement target portion from image data obtained by imaging the measurement target object with the observation camera; a step of approaching the measurement sensor tool to the measurement target location by the movement mechanism while taking into account a position and orientation offset between the observation camera and the measurement sensor tool; acquiring a measurement value of the measurement target location by the measurement sensor tool; A control program for an automatic measurement system.

Citation Information

Patent Citations

  • Diaphragm for galvanic cell

    JP1979039833A

  • Inner diameter gage

    JP2010019783A

  • Inner diameter measuring device

    JP2021009115A

Cited By

  • Bent needle point calibration equipment and calibration method based on vision

    CN119509347A

  • Automatic measuring systems and control method for automatic measuring systems

    US12682495B2

  • Automatic measuring systems and control method for automatic measuring systems

    US20240346694A1