Measurement route planning device, measurement route planning system, method, and program
The measurement path planning device addresses the issue of probe interference with obstacles by changing its attitude to plan a collision-free path, ensuring effective measurement paths even with obstacles present.
Patent Information
- Application Number
- JP2023048908
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-24
- Publication Date
- 2024-10-07
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing measurement path planning techniques fail to account for obstacles when planning a measurement path for a probe, leading to potential interference with mounting parts, wiring, or equipment on the workpiece, which can disrupt the measurement process.
A measurement path planning device that includes a measurement object definition section, an attitude change unit, and a path planning section to plan a measurement path that avoids obstacles by changing the probe's attitude in a space where it does not interfere with them.
Enables the planning of a measurement path that avoids obstacles, ensuring the probe does not collide with them, thereby facilitating efficient and obstacle-free measurement paths even when obstacles are present.
Smart Images

Figure 2024137397000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a measurement path planning device, a measurement path planning system, a method, and a program. [Background technology]
[0002] Designing using three-dimensional CAD (Computer Aided Design) has become widespread, and in CAT (Computer Aided Testing) for planning inspection of the dimensions, shape, characteristics, performance, etc. of products, it is becoming increasingly common to use three-dimensional data of products designed using three-dimensional CAD to create measurement path plans. In many cases, inspection of the dimensions, shape, characteristics, performance, etc. of products is performed by contacting a probe, which is a measuring probe, with a predetermined measurement point on the product. For this reason, a measurer creates a measurement path plan by setting a movement path of the probe from the current measurement point to the next measurement point on the three-dimensional data of the product. However, since the movement path of the probe is set based on the experience of the measurer, the length of the measurement path often differs for each measurer even when planning a measurement path for the same product. Therefore, for example, Patent Document 1 discloses a technology for defining an offset area that is offset outward by a predetermined distance from the outer surface of the product to be measured, and optimizing the movement distance of the probe within the offset area to plan a measurement path. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent No. 3989108 Summary of the Invention [Problem to be solved by the invention]
[0004] In the technology disclosed in Patent Document 1, the measurement path is planned by simply moving the probe within the offset area and changing its orientation. If the product to be measured is a single workpiece, there is no obstacle that interferes with the probe within the offset area defined on the outer surface of the workpiece, so the measurement path can be planned by simply moving the probe within the offset area and changing its orientation. However, if the product to be measured has mounting parts, wiring, equipment, etc. arranged on the workpiece, the mounting parts, wiring, equipment, etc. will exist as obstacles within the offset area defined on the outer surface of the workpiece. In this case, simply moving the probe within the offset area and changing its orientation may cause the probe to interfere with obstacles during movement. Therefore, simply moving the probe within the offset area and changing its orientation may cause the probe to plan a measurement path in which the probe interferes with obstacles.
[0005] The present disclosure has been made to solve the above-mentioned problems, and aims to provide a measurement path planning device, a measurement path planning system, a method, and a program that can easily plan a measurement path even if there is an obstacle on the probe movement path. [Means for solving the problem]
[0006] In order to achieve the above-mentioned objective, the measurement path planning device disclosed herein includes a measurement object definition unit that defines the shape of a measurement object space including a workpiece to be measured and obstacles, an attitude change unit that changes the attitude of a probe in a space between a first measurement point and a second measurement point that does not interfere with obstacles when sequentially measuring a first measurement point and a second measurement point set in the measurement object space, and a path planning unit that plans a measurement path of the probe between the first measurement point and the second measurement point. Effect of the Invention
[0007] According to the present disclosure, by changing the orientation of the probe in a space where the probe does not interfere with obstacles, it is possible to determine a measurement path where the probe does not interfere with obstacles. This makes it possible to provide a measurement path planning device that can easily plan a measurement path even if there is an obstacle on the movement path of the probe. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a diagram illustrating a configuration of a measurement path planning system according to a first embodiment of the present disclosure. [Diagram 2] FIG. 2 is a diagram showing the configuration of a control unit of the measurement path planning device shown in FIG. [Diagram 3] FIG. 2 is a diagram showing an example of a hardware configuration of the measurement path planning device shown in FIG. [Figure 4] 1A and 1B are diagrams illustrating an overview of a probe according to a first embodiment, in which FIG. 1A illustrates the probe before changing its attitude, and FIG. 1B illustrates the probe after changing its attitude. [Diagram 5] FIG. 1 is a diagram showing an overview of a measurement target space according to a first embodiment; [Figure 6] A diagram showing the movement path of the probe in the measurement target space shown in Figure 5. [Figure 7] A diagram showing how the probe is repositioned within the measurement target space shown in Figure 5. [Figure 8] A diagram showing the movement path of the probe after the attitude change in Figure 7. [Figure 9] 1 is a flowchart of a measurement path planning process according to the first embodiment. [Figure 10] FIG. 13 is a diagram showing a configuration of a control unit of the measurement path planning device according to the second embodiment; [Figure 11] FIG. 13 is a diagram showing an overview of a measurement target space according to a second embodiment; [Figure 12] FIG. 12 shows the movement path of the probe in the measurement target space shown in FIG. 11. [Figure 13] A diagram showing the movement of the probe to a position for changing the attitude in the measurement target space shown in FIG. [Figure 14] FIG. 14 shows the probe position change at the position change position shown in FIG. 13. [Figure 15] FIG. 15 shows the movement path of the probe after the attitude change in FIG. 14 . [Figure 16] 11 is a flowchart of a measurement path planning process with a search function according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] (Embodiment 1) Hereinafter, a measurement path planning system 100 including a measurement path planning device 2 according to a first embodiment of the present disclosure will be described with reference to the drawings. Note that the same reference numerals are used to denote the same or equivalent parts.
[0010] The measurement path planning device 2 is a device that can determine a measurement path in which the probe does not interfere with obstacles by recognizing a measurement target space including measurement points on a product and changing the attitude of the probe in a space where it does not interfere with obstacles according to the positional relationship between the obstacles and the measurement points in the measurement target space. Also, the measurement path planning system 100 is a system that includes the measurement path planning device 2.
[0011] 1 includes an input / output device 1 that inputs and outputs various data used for measurement path planning, and a measurement path planning device 2 that plans a measurement path on a product. The input / output device 1 includes a three-dimensional measuring device 11 that measures the product, a three-dimensional CAD 12 and a three-dimensional scanner 13 that have various data on the shapes of the workpieces, obstacles, and product installation stand that constitute the product, a display device 14 that displays the various data, and an input operation device 15 for inputting various data and instructions from a person performing measurement.
[0012] The three-dimensional measuring device 11 is equipped with a measuring device including a probe for measuring the product. The three-dimensional measuring device 11 outputs various data such as the movable range of the measuring device, the information and position of the probe, etc., to the measurement path planning device 2. After measuring the product, the three-dimensional measuring device 11 outputs the measurement data of the product to the measurement path planning device 2. The three-dimensional CAD 12 and the three-dimensional scanner 13 have data on the shapes of the work, obstacles, and product installation table that constitute the product. The three-dimensional CAD 12 can also design the shape of the product including the work and various parts and generate three-dimensional data. The three-dimensional scanner 13 can also read the actual shapes of the work, various parts, etc., and generate scan data. The three-dimensional measuring device 11 is an example of a measuring device in the scope of the claims. The three-dimensional measuring device 11, the three-dimensional CAD 12, and the three-dimensional scanner 13 are also examples of a shape data creation device in the scope of the claims.
[0013] The display device 14 displays a display screen including various data, instructions, etc. input by a measurer. The display device 14 includes a display device and a display controller that outputs a video signal to display display data including characters and images on the display device. The display device 14 can be configured using, for example, an LCD (Liquid Crystal Display) or an organic EL (Electroluminescence) monitor. The display controller can be configured using, for example, a video signal output device such as a video card, a GPU (Graphics Processing Unit), or a graphics board. The input operation device 15 accepts input of data on the shapes of the workpieces, obstacles, and product installation stand that constitute the product, instructions, etc. from a measurer who uses the measurement path planning system 100. The input operation device 15 can be configured using, for example, a keyboard, a mouse, a touch panel, etc.
[0014] The measurement path planning device 2 includes an input / output processing unit 21 that transmits and receives various data transmitted from the input / output device 1, a storage unit 22 that stores various data and programs, and a control unit 23 that executes various functions of the measurement path planning device 2. The input / output processing unit 21 acquires various data such as the movable range of the measuring device, the information and position of the probe, and measurement data of the product to be measured from the three-dimensional measuring device 11. The input / output processing unit 21 also acquires data on the shapes of the workpiece, obstacles, and product installation table that constitute the product from the three-dimensional CAD 12 and the three-dimensional scanner 13. The input / output processing unit 21 transmits the various data acquired from the three-dimensional measuring device 11, the three-dimensional CAD 12, and the three-dimensional scanner 13 to the storage unit 22 to store the data. The input / output processing unit 21 also acquires various data such as the three-dimensional measuring device 11, the three-dimensional CAD 12, etc. that have been stored from the storage unit 22, and transmits the data to the control unit 23.
[0015] Storage unit 22 stores various data received from input / output processing unit 21 and acquired by input / output processing unit 21 from three-dimensional measuring device 11, three-dimensional CAD 12, etc. Storage unit 22 also stores programs for executing various functions of control unit 23.
[0016] 2, includes a measurement object definition unit 231 that defines the shape of the measurement object space including the workpiece and obstacles to be measured, an attitude detection unit 232 that detects the attitude of the probe 3 and a space in which the attitude can be changed, an attitude change unit 233 that changes the attitude of the probe 3, and a path planning unit 234 that plans a measurement path for the probe 3. The measurement object definition unit 231 defines the shapes of the workpiece constituting the product and obstacles placed on the workpiece in three dimensions using various data of the three-dimensional measuring device 11, the three-dimensional CAD 12, etc. received from the storage unit 22 via the input / output processing unit 21. The measurement object definition unit 231 also defines the positions of the measurement points on the product and the attitude of the probe 3 during measurement.
[0017] The attitude detection unit 232 detects the attitude of the probe 3 at the current measurement point and the attitude of the probe 3 at the next measurement point. Furthermore, when the attitude of the probe 3 at the current measurement point differs from that at the next measurement point, the attitude detection unit 232 detects a space in which the attitude can be changed. The attitude change unit 233 changes the attitude of the probe 3 to match the position of the next measurement point in the space in which the attitude of the probe 3 detected by the attitude detection unit 232 can be changed.
[0018] The path planning unit 234 plans a measurement path from the movement path of the probe 3 on the product. In addition, the path planning unit 234 sequentially transmits the state of the measurement path being planned and the planned results of the measurement path to the input / output device 1 via the input / output processing unit 21 shown in Fig. 1, and causes them to be displayed on the display device 14 of the input / output device 1. This allows the measurer to sequentially recognize the planned status and planned results of the measurement path.
[0019] Each function of the control unit 23 described above is a function realized by software. In the first embodiment, the software that executes the process for realizing each function of the control unit 23 is a measurement path planning processing program. An example of the hardware configuration of the measurement path planning device 2 for executing the measurement path planning processing program is shown in FIG.
[0020] The measurement path planning device 2 includes a connection device 201 for connecting to the input / output device 1, a storage device 202 for storing various programs and various data, a memory 203 for expanding the various programs, and a processor 204 for executing the various programs. The connection device 201, the storage device 202, the memory 203, and the processor 204 are mutually connected via a data bus 205.
[0021] The connection device 201 is a connection port that can be connected to the input / output device 1. The connection device 201 can be configured using various ports to which devices can be connected, such as a USB (Universal Serial Bus) port, an IEEE1394 port, etc. The connection device 201 also functions as the input / output processing unit 21 of the measurement path planning device 2 shown in FIG. 1. The storage device 202 stores various programs executed by the processor 204 and display data such as images and characters to be displayed on the display device 14 of the input / output device 1 shown in FIG. 1. The storage device 202 can be configured using a storage device such as a HDD (Hard Disk Drive) or SSD (Solid State Drive). The storage device 202 also functions as the storage unit 22 of the measurement path planning device 2 shown in FIG. 1.
[0022] The memory 203 is a device for expanding the various programs stored in the storage device 202. The memory 203 can be configured using, for example, a storage element and a storage medium, such as a random access memory (RAM) or a volatile or non-volatile semiconductor memory, such as a flash memory. The processor 204 reads out the various programs stored in the storage device 202, expands them in the memory 203, and executes them. The processor 204 can be configured using, for example, a processing device, such as a central processing unit (CPU) or a micro-processing unit (MPU).
[0023] Next, the procedure for planning the measurement path in the present embodiment 1 will be described below with reference to Figs. 4 to 8. Note that, for convenience, the following will be shown in two-dimensional space, but the principle is the same even in three-dimensional space. First, Fig. 4 shows an overview of the probe 3 that measures a measurement point on a product, and Fig. 4(A) shows the probe 3 before changing its attitude. The probe 3 includes a probe main body 31 that is the main body of the probe 3, a probe part 32 for measuring the measurement point, and a probe tip part 33 that is brought into contact with the measurement point. The probe part 32 of the probe 3 extends horizontally from one side surface of the probe main body 31. For example, the attitude of the probe 3 at the current measurement point is defined in the probe 3 shown in Fig. 4(A).
[0024] For example, when the probe 3 needs to measure at the next measurement point in a different attitude from the current measurement point, the probe 3 changes the attitude to one that allows measurement at the next measurement point. In this case, the attitude at the next measurement point is defined for the probe 3. This changes, for example, the probe part 32 of the probe 3 from the state shown in Fig. 4(A) to the state shown in Fig. 4(B) where it extends horizontally from one corner of the probe main body part 31.
[0025] Next, FIG. 5 shows an overview of the measurement target space 4 including the measurement points on the product. The measurement target space 4 includes the workpiece 40 constituting the product, the first obstacle 41, the second obstacle 42, and the third obstacle 43, such as mounting parts, wiring, and equipment, arranged on the workpiece 40, and the first measurement point S1 and the second measurement point S2 to be measured by the probe 3. In FIG. 5, for ease of understanding, the workpiece 40 is shown by a white square, the first obstacle 41 to the third obstacle 43 are shown by a diagonal line square, and the first measurement point S1 and the second measurement point S2 are shown by a black square. The probe 3 moves along a path that does not interfere with the first obstacle 41 to the third obstacle 43. For this reason, the probe 3 moves on the white squares indicating the workpiece 40.
[0026] In the present embodiment 1, the measurer measures the first measurement point S1 and then the second measurement point S2. Since the second measurement point S2 is located on the second obstacle 42, when the probe 3 moves from the first measurement point S1 to the second measurement point S2, the probe 3 moves from the first measurement point S1 around the second obstacle 42 and toward the second measurement point S2, as shown by the dotted arrow in FIG.
[0027] The route from the first measurement point S1 to the second measurement point S2 is calculated by the route planning unit 234 included in the control unit 23 shown in FIG. * This can be done using a path planning algorithm such as the A Star search algorithm or the RRT (Rapidly-exploring Random Tree). * The search algorithm can find the shortest route, but it has the disadvantage of slower calculation speed than RRT. Also, RRT has a relatively fast calculation speed in three-dimensional space, but the planned route is not necessarily the shortest route.
[0028] When the probe 3 moves toward the second measurement point S2 after measuring the first measurement point S1, the probe 3 first moves toward the second measurement point S2 and moves horizontally along the edge of the second obstacle 42, as shown in Fig. 6. In Fig. 6, the movement path of the probe 3 is shown by hatched squares.
[0029] The probe 3 needs to go around the second obstacle 42 to move toward the second measurement point S2. In this case, the probe 3 changes its attitude to go around the second obstacle 42. The path planning unit 234 included in the control unit 23 of the measurement path planning device 2 acquires the movable range R, which is the range in which the probe 3 can operate when changing its attitude, from the three-dimensional measuring device 11 of the input / output device 1 shown in FIG. 1. In addition, the path planning unit 234 acquires the attitude of the probe 3 after the attitude change input by the measurer from the input operation device 15 of the input / output device 1 shown in FIG. 1. Here, the movable range R is, for example, a semicircular range with a radius equal to the length from the center of the probe main body 31 of the probe 3 to the probe tip 33 as shown in FIG. 6.
[0030] The attitude detection unit 232 of the control unit 23 determines whether or not there is a space within the movable range R in which the probe 3 can be oriented after the attitude change without interfering with the second obstacle 42 and the third obstacle 43. For example, the attitude detection unit 232 of the control unit 23 determines whether or not there is a space in which the probe part 32 of the probe 3 does not interfere with the second obstacle 42 and the third obstacle 43 even if the attitude is changed by rotating the probe 3 in the direction of the black arrow shown in Fig. 6. In Fig. 6, the probe part 32 of the probe 3 does not interfere with the second obstacle 42 and the third obstacle 43 even if the attitude is changed by rotating the probe 3 in the direction of the black arrow.
[0031] Therefore, the attitude changer 233 included in the control unit 23 shown in Fig. 2 changes the attitude of the probe 3 by rotating it in the direction of the black arrow. This moves the probe portion 32 of the probe 3 from the first relay point P1, which is the position before the movement shown in Fig. 7, toward the second measurement point S2. The attitude changer 233 of the control unit 23 updates the attitude of the probe 3 and the current position of the probe portion 32.
[0032] Thereafter, the path planning unit 234 of the control unit 23 shown in Fig. 2 uses a path planning algorithm to determine a path to the second measurement point S2. For example, the path planning unit 234 of the control unit 23 determines a path along the edge of the second obstacle 42 as indicated by the dotted arrow in Fig. 8. The path planning unit 234 of the control unit 23 determines, for example, the path indicated by the shaded squares from the first measurement point S1 to the second measurement point S2 shown in Fig. 8 as the measurement path of the probe 3.
[0033] Next, the flow of operation of planning a measurement path in the measurement path planning device 2 will be described below with reference to the flow chart of the measurement path planning process shown in Fig. 9. The measurement path planning process is stored as a measurement path planning process program in the storage device 202 shown in Fig. 3. The measurer inputs a start instruction from the input operation device 15 of the input / output device 1 shown in Fig. 1 at the timing of planning the measurement path. For example, the measurer selects an icon, button, etc. displayed on the screen of the display device 14 of the input / output device 1 shown in Fig. 1 using the input operation device 15. As a result, the processor 204 of the measurement path planning device 2 shown in Fig. 3 reads out the measurement path planning process program stored in the storage device 202 into the memory 203 and executes it.
[0034] The measurement target definition unit 231 of the control unit 23 shown in Fig. 2 defines the shape of the measurement target space 4 to be measured (step S101). For example, the measurement target definition unit 231 of the control unit 23 defines the shapes of the workpiece 40 constituting the product, and the first obstacle 41, the second obstacle 42, and the third obstacle 43, such as mounting parts, wiring, and equipment, arranged on the workpiece 40, which are included in the measurement target space 4 shown in Fig. 5. The shapes of the workpiece 40 and the first obstacle 41 to the third obstacle 43 are defined based on various data acquired from the three-dimensional measuring device 11, the three-dimensional CAD 12, and the three-dimensional scanner 13, which are stored in the storage unit 22 shown in Fig. 1, for example.
[0035] The measurement target definition unit 231 of the control unit 23 defines the attitude and measurement position of the probe 3 (step S102). For example, the measurement target definition unit 231 of the control unit 23 defines the first measurement point S1 and the second measurement point S2 shown in Fig. 5 as measurement positions in the measurement target space 4 defined in step S101. The measurement target definition unit 231 of the control unit 23 also defines the attitude of the probe 3 at each of the first measurement point S1 and the second measurement point S2.
[0036] The path planning unit 234 of the control unit 23 shown in Fig. 2 displays the measurement target space 4 and the measurement positions on the display device 14 of the input / output device 1 shown in Fig. 1 (step S103). For example, the path planning unit 234 of the control unit 23 displays the measurement target space 4 including the first measurement point S1 and the second measurement point S2 shown in Fig. 5 on the display device 14 of the input / output device 1.
[0037] The attitude detection unit 232 of the control unit 23 shown in Fig. 2 determines whether or not there is a difference in the attitude of the probe 3 at each of the first measurement point S1 and the second measurement point S2 defined in step S102 (step S104). If there is no difference in the attitude of the probe 3 (step S104; NO), the attitude detection unit 232 of the control unit 23 notifies the path planning unit 234 of the control unit 23 shown in Fig. 2 that there is no difference in the attitude of the probe 3. The path planning unit 234 of the control unit 23 plans a path for measuring from the first measurement point S1 to the second measurement point S2 (step S105).
[0038] In step S104, if there is a difference in the attitude of the probe 3 (step S104; YES), the attitude detection unit 232 of the control unit 23 judges whether or not there is a space in the measurement target space 4 where the attitude of the probe 3 can be changed (step S106). For example, the attitude detection unit 232 judges whether or not there is a space in which the probe part 32 of the probe 3 does not interfere with the second obstacle 42 and the third obstacle 43 even if the attitude of the probe 3 is changed by rotating the probe 3 in the direction of the black arrow shown in Fig. 6 within the movable range R shown in Fig. 6.
[0039] If there is a space available for change (step S106; YES), the attitude changer 233 included in the control unit 23 shown in FIG. 2 changes the attitude of the probe 3 (step S107). For example, the attitude changer 233 of the control unit 23 rotates the probe 3 in the direction of the black arrow shown in FIG. 6 to change the attitude. This allows the probe part 32 of the probe 3 to move from the first relay point P1 shown in FIG. 7 toward the second measurement point S2. Thereafter, the path planner 234 of the control unit 23 executes step S105 to plan a path for measuring from the first measurement point S1 to the second measurement point S2.
[0040] On the other hand, if there is no space where the attitude can be changed (step S106; NO), the attitude changing unit 233 of the control unit 23 causes the display device 14 of the input / output device 1 shown in Fig. 1 to display a message to the measurer to move the probe 3 to a space where the attitude can be changed (step S108). As a result, the measurer operates the input operation device 15 of the input / output device 1 shown in Fig. 1 to move the probe 3 to a space in the measurement target space 4 where the attitude can be changed.
[0041] The attitude change unit 233 of the control unit 23 updates the current position of the probe 3. The attitude change unit 233 also changes the attitude of the probe 3 (step S109). After that, the path planning unit 234 of the control unit 23 executes step S105 and plans a path for measuring from the first measurement point S1 to the second measurement point S2. The path planning unit 234 of the control unit 23 ends the measurement path planning process.
[0042] Thereafter, the path planning unit 234 of the control unit 23 transmits data of the measurement path planned in the measurement path planning process to the three-dimensional measuring device 11 of the input / output device 1 via the input / output processing unit 21 shown in Fig. 1. The three-dimensional measuring device 11 measures the product based on the received measurement path data.
[0043] As described above, according to the first embodiment, the measurement path planning device 2 can determine a measurement path in which the probe 3 does not interfere with the first obstacle 41 to the third obstacle 43 by changing the attitude of the probe 3 in a space in which the probe 3 does not interfere with the first obstacle 41 to the third obstacle 43 in the measurement target space 4. Therefore, by using the measurement path planning device 2, the person making the measurement can easily plan a measurement path even when the first obstacle 41 to the third obstacle 43 are present on the movement path of the probe 3.
[0044] (Embodiment 2) In the above-described first embodiment, when the attitude detection unit 232 of the control unit 23 determines that there is no space in the measurement target space 4 in which the attitude of the probe 3 can be changed, the measurer moves the probe 3 to a space in which the attitude can be changed. In the measurement path planning device 2 according to the second embodiment, when the attitude detection unit 232 of the control unit 23 determines that there is no space in the measurement target space 4 in which the attitude of the probe 3 can be changed, the control unit 23 searches for a space in the measurement target space 4 in which the attitude of the probe 3 can be changed.
[0045] 10 shows the configuration of the control unit 23A of the measurement path planning device 2 according to the present embodiment 2. The control unit 23A includes a measurement target definition unit 231 that defines the shapes of the workpiece and obstacles to be measured in three dimensions, an attitude detection unit 232 that detects the attitude of the probe 3 and a space in which the attitude can be changed, an attitude change unit 233 that changes the attitude of the probe 3, a path planning unit 234 that plans the measurement path of the probe 3, and a space search unit 235 that searches for a space in which the attitude of the probe 3 can be changed.
[0046] When the attitude detection unit 232 of the control unit 23 determines that there is no space in which the attitude of the probe 3 can be changed, the space search unit 235 searches for a space in which the attitude of the probe 3 can be changed within the measurement target space 4. Then, the attitude change unit 233 of the control unit 23 changes the attitude of the probe 3 in the space found by the space search unit 235.
[0047] Next, the procedure for planning the measurement path in the second embodiment will be described below with reference to Figs. 11 to 15. Fig. 11 shows an overview of the measurement target space 4 including the measurement points on the product. The measurement target space 4 includes a workpiece 40 constituting the product, a first obstacle 41, a second obstacle 42, and a fourth obstacle 44 such as mounting parts, wiring, and equipment arranged on the workpiece 40, and a first measurement point S1 and a second measurement point S2 to be measured by the probe 3. In Fig. 11, for ease of understanding, the workpiece 40 is shown by a white square, the first obstacle 41, the second obstacle 42, and the fourth obstacle 44 are shown by a diagonal line square, and the first measurement point S1 and the second measurement point S2 are shown by a black square. The probe 3 moves along a path that does not interfere with the first obstacle 41, the second obstacle 42, and the fourth obstacle 44. For this reason, the probe 3 moves on the white squares indicating the workpiece 40.
[0048] In the second embodiment, the measurer measures the first measurement point S1 and then the second measurement point S2. Since the second measurement point S2 is located on the second obstacle 42, when the probe 3 moves from the first measurement point S1 to the second measurement point S2, the probe 3 moves from the first measurement point S1 around the second obstacle 42 and toward the second measurement point S2, as shown by the dotted arrow in FIG.
[0049] The route from the first measurement point S1 to the second measurement point S2 is calculated by the route planning unit 234 included in the control unit 23A of the measurement route planning device 2 shown in FIG. * This can be obtained using a path planning algorithm such as the (A Star) search algorithm or RRT. When the probe 3 moves toward the second measurement point S2 after measuring the first measurement point S1, the probe 3 first moves toward the second measurement point S2 and moves horizontally along the edge of the second obstacle 42, as shown in Fig. 12. In Fig. 12, the movement path of the probe 3 is shown by hatched squares.
[0050] The probe 3 needs to go around the second obstacle 42 to head toward the second measurement point S2. In this case, the probe 3 changes its attitude to go around the second obstacle 42. However, as shown in FIG. 12, the probe body 31 of the probe 3 hits the fourth obstacle 44 and cannot move any further. The path planning algorithm for determining the path takes a path toward the second measurement point S2, which is the goal. Therefore, in this case, the attitude detection unit 232 of the control unit 23A shown in FIG. 10 moves the probe 3 in a direction closer to the second measurement point S2, that is, vertically toward the second measurement point S2.
[0051] The path planning unit 234 included in the control unit 23 of the measurement path planning device 2 acquires a movable range R, which is a range within which the probe 3 can operate when changing its attitude, from the three-dimensional measuring device 11 of the input / output device 1 shown in Fig. 1. In addition, the path planning unit 234 acquires the attitude of the probe 3 after the attitude change input by the measurer from the input operation device 15 of the input / output device 1 shown in Fig. 1. Here, the movable range R is, for example, a semicircular range whose radius is the length from the center of the probe main body 31 of the probe 3 to the probe tip 33 as shown in Fig. 11.
[0052] When the probe 3 is moved vertically toward the second measurement point S2 and the probe portion 32 of the probe 3 comes into contact with the second obstacle 42, the space search unit 235 of the control unit 23A shown in FIG. 10 searches for a space in which the attitude of the probe 3 can be changed within the movable range R. For example, the space search unit 235 moves from the first relay point P1, which is the position where the probe tip portion 33 of the probe 3 was in contact with the second obstacle 42, in a direction in which the area in the movable range R that does not include the first obstacle 41, the second obstacle 42, and the fourth obstacle 44 increases. Alternatively, the space search unit 235 searches for and identifies a position in which the attitude of the current probe 3 can be changed, and moves to that position. For example, in FIG. 10, the space search unit 235 moves the probe 3 in a direction in which the area in the movable range R that does not include the first obstacle 41, the second obstacle 42, and the like increases, that is, vertically in the opposite direction to the direction in which the second measurement point S2 is located.
[0053] The space search unit 235 searches for a space in which the attitude can be changed by rotating the probe 3 in the direction of the black arrow within the movable range R while moving the probe 3 vertically. For example, the space search unit 235 searches for a space in which the probe part 32 of the probe 3 does not interfere with the second obstacle 42 even if the attitude is changed by rotating the probe 3 in the direction of the black arrow shown in FIG.
[0054] 13, for example, the probe tip 33 of the probe 3 is moved vertically six squares from the first relay point P1. In this case, the second obstacle 42 is not included in the movable range R. Also, although the fourth obstacle 44 is included in the movable range R, it is within the range where the probe 3 can be rotated toward the second measurement point S2 without any hindrance.
[0055] In this case, the space search unit 235 causes the attitude change unit 233 of the control unit 23A shown in Fig. 10 to rotate the probe 3 in the direction of the black arrow to change its attitude. For example, the attitude change unit 233 of the control unit 23A rotates the probe 3 in the direction of the black arrow shown in Fig. 14 to change its attitude. Note that the second relay point P2 shown in Fig. 14 is the position of the probe tip 33 before the probe 3 rotates to change its attitude. Also, the third relay point P3 shown in Fig. 15 is the position of the probe tip 33 after the probe 3 rotates to change its attitude.
[0056] Attitude change section 233 of control section 23A updates the attitude of probe 3 and the current position of probe section 32. Thereafter, path planning section 234 of control section 23A shown in Fig. 10 uses a path planning algorithm to determine a path to second measurement point S2. For example, path planning section 234 of control section 23A determines a path from third relay point P3 along the edge of second obstacle 42 as indicated by the dotted arrow in Fig. 15. For example, path planning section 234 of control section 23 determines the path indicated by the shaded squares from first measurement point S1 to second measurement point S2 shown in Fig. 15 as the measurement path of probe 3.
[0057] Next, the flow of the operation of planning the measurement path in the measurement path planning device 2 will be described below with reference to the flow chart of the measurement path planning process with search function shown in FIG. 16. The measurement path planning process with search function is stored in the storage device 202 shown in FIG. 3 as a measurement path planning process program with search function. The measurer inputs a start instruction from the input operation device 15 of the input / output device 1 shown in FIG. 1 at the timing of planning the measurement path. For example, the measurer selects an icon, button, etc. displayed on the screen of the display device 14 of the input / output device 1 shown in FIG. 1 by the input operation device 15 of the input / output device 1. As a result, the processor 204 of the measurement path planning device 2 shown in FIG. 3 reads out the measurement path planning process program with search function stored in the storage device 202 into the memory 203 and executes it.
[0058] Steps S201 to S207 are the same as steps S101 to S107 shown in FIG. 9. The attitude detection unit 232 of the control unit 23A shown in FIG. 10 judges whether or not there is a space in the measurement target space 4 where the attitude of the probe 3 can be changed (step S106). If there is no changeable space (step S106; NO), the space search unit 235 of the control unit 23A searches for a space where the attitude of the probe 3 can be changed (step S208). For example, as shown in FIG. 13, the space search unit 235 moves the probe 3 from the first relay point P1 vertically in a direction in which the area not including the first obstacle 41, the second obstacle 42, etc. increases with respect to the movable range R, that is, in the opposite direction to the direction in which the second measurement point S2 is located. While moving the probe 3 vertically, the space search unit 235 rotates the probe 3 in the movable range R in the direction of the black arrow to search for a space where the attitude can be changed.
[0059] The space search unit 235 determines whether or not there is a space in which the attitude of the probe 3 can be changed within the measurement target space 4 (step S209). If there is a space in which the attitude can be changed (step S209; YES), the attitude change unit 233 of the control unit 23A shown in FIG. 10 changes the attitude of the probe 3. Then, the attitude change unit 233 updates the current position of the probe 3 (step S210). After that, the path planning unit 234 of the control unit 23A executes step S205 and plans a path for measuring from the first measurement point S1 to the second measurement point S2.
[0060] Furthermore, in step S209, if there is no space available for change (step S209; NO), the attitude changing unit 233 displays on the display screen of the display device 14 of the input / output device 1 shown in Fig. 1 that the attitude of the probe 3 cannot be changed (step S211). The path planning unit 234 of the control unit 23A ends the measurement path planning process.
[0061] Thereafter, the path planning unit 234 of the control unit 23A transmits data of the measurement path planned in the measurement path planning process to the three-dimensional measuring device 11 via the input / output processing unit 21 shown in Fig. 1. The three-dimensional measuring device 11 measures the product based on the received measurement path data.
[0062] As described above, according to the second embodiment, in addition to the functions of the control unit 23 shown in the first embodiment, the measurement path planning device 2 can use the space searching unit 235 of the control unit 23A to search for a space in which the attitude of the probe 3 can be changed within the measurement target space 4. This makes it possible to search for a space in which the attitude of the probe 3 can be changed within the measurement target space 4 even if the attitude detecting unit 232 of the control unit 23 determines that there is no space in which the attitude of the probe 3 can be changed within the measurement target space 4.
[0063] (Variation 1) In the above-mentioned first and second embodiments, the route planning unit 234 of the control unit 23A shown in Fig. 10 uses a route planning algorithm such as an A* (A Star) search algorithm or RRT to obtain a route from the first measurement point S1 to the second measurement point S2. However, the present invention is not limited to this, and any method or algorithm may be used as long as it can obtain a route from the first measurement point S1 to the second measurement point S2. Furthermore, the route from the first measurement point S1 to the second measurement point S2 may be obtained using machine learning.
[0064] (Variation 2) In the above-mentioned first and second embodiments, the input / output device 1 shown in Fig. 1 is provided with the display device 14 for displaying various data, and the input operation device 15 for inputting various data and instructions from the person to measure. However, the present invention is not limited to this, and the measurement path planning device 2 may be provided with the display device 14 and the input operation device 15. The display device 14 and the input operation device 15 may be separate from the input / output device 1. In this case, the operation input terminal and the display data output terminal of the input / output device 1 correspond to the display device 14 and the input operation device 15 in the present application, respectively.
[0065] (Variation 3) In the first embodiment, in step S106 of the flow chart shown in Fig. 9, if there is no space available for change (step S106; NO), the attitude changer 233 of the control unit 23 displays on the display device 14 of the input / output device 1 shown in Fig. 1 a message to the measurer to move the probe 3 to a space available for change in attitude (step S108). Without being limited to this, the attitude changer 233 of the control unit 23 may suspend the planning of the measurement path of the probe 3 and display the message to the measurer on the display device 14 of the input / output device 1 shown in Fig. 1. Note that, instead of the attitude changer 233 of the control unit 23, the attitude detector 232 and the path planner 234 of the control unit 23 may suspend the planning of the measurement path of the probe 3 and notify the measurer by means of displaying the message on the display device 14 of the input / output device 1, notifying the measurer by a notifying means, or the like.
[0066] (Variation 4) In the first embodiment, in step S106 of the flowchart shown in Fig. 9, the attitude detection unit 232 determines whether or not there is a changeable space. However, the attitude detection unit 232 may determine whether or not there is a changeable space when a changeable space is detected during route planning, and determine "there is a changeable space" in this case. Alternatively, the attitude detection unit 232 may determine whether or not there is a changeable space when no space is detected during route planning and the probe 3 interferes with the first obstacle 41 to the fourth obstacle 44, and determine "there is no changeable space" in this case.
[0067] In the first and second embodiments of the present disclosure, the measurement path planning device 2 can be realized as a dedicated system. However, it can be realized using a normal computer system without using a dedicated system. For example, a program for realizing each function in the above-mentioned measurement path planning device 2 may be stored in a computer-readable recording medium such as a CD-ROM (Compact Disc Read Only Memory) or a DVD-ROM (Digital Versatile Disc Read Only Memory) and distributed, and the program may be installed in a computer to configure a computer that can realize each of the above-mentioned functions. In addition, when each function is realized by sharing between an OS (Operating System) and an application, or by cooperation between an OS and an application, only the application may be stored in the recording medium.
[0068] The technical scope of the present disclosure is not limited by the above-described embodiment and modifications. The present disclosure can be freely applied, modified, or improved within the scope of the technical ideas described in the claims.
[0069] Various aspects of the present disclosure are summarized below as appendices.
[0070] (Appendix 1) A measurement object definition unit that defines a shape of a measurement object space including a workpiece and obstacles to be measured; an attitude changing unit that changes the attitude of the probe in a space between a first measurement point and a second measurement point set in the measurement target space, where the first measurement point and the second measurement point are measured in sequence, and does not interfere with the obstacle between the first measurement point and the second measurement point; a path planner that plans a measurement path of the probe between the first measurement point and the second measurement point; Equipped with Measurement path planning device.
[0071] (Appendix 2) a posture detection unit that detects a posture of the probe at the first measurement point and the second measurement point, the measurement object definition unit defines an orientation of the probe at each of the first measurement point and the second measurement point; the attitude detection unit, when an attitude of the probe at the first measurement point and an attitude of the probe at the second measurement point are different, determines whether or not a space in the measurement target space is capable of changing the attitude of the probe and does not interfere with the obstacle. 2. A measurement path planning device as claimed in claim 1.
[0072] (Appendix 3) Further comprising a space search unit that searches for a space that does not interfere with the obstacle within the measurement target space. 3. A measurement path planning device according to claim 1 or 2.
[0073] (Appendix 4) a shape data creation device that creates data on the shapes of the workpiece and obstacles to be measured; a measurement object definition unit that defines a shape of a measurement object space including the workpiece to be measured and the obstacle based on data of the shapes of the workpiece to be measured and the obstacle acquired from the shape data creation device; an attitude changing unit that changes the attitude of the probe in a space between a first measurement point and a second measurement point set in the measurement target space, where the first measurement point and the second measurement point are measured in sequence, and does not interfere with the obstacle between the first measurement point and the second measurement point; a path planner that plans a measurement path of the probe between the first measurement point and the second measurement point; Equipped with A measurement path planning device; A measurement path planning system comprising:
[0074] (Appendix 5) a measurement device that acquires a measurement path of the probe between the first measurement point and the second measurement point, which is planned by the path planning unit of the measurement path planning device, and performs measurements of the first measurement point and the second measurement point based on the measurement path of the probe. 5. A measurement path planning system as claimed in claim 4.
[0075] (Appendix 6) A method performed by a measurement path planning device, comprising: Define the shape of the space to be measured, including the workpiece to be measured and any obstacles; when sequentially measuring a first measurement point and a second measurement point set in the measurement target space, changing the attitude of the probe in a space between the first measurement point and the second measurement point and not interfering with the obstacle; Planning a measurement path of the probe between the first measurement point and the second measurement point. method.
[0076] (Appendix 7) On the computer, A process for defining the geometry of the volume to be measured, including the workpiece to be measured and any obstacles; a process of changing the attitude of a probe in a space between a first measurement point and a second measurement point set in the measurement target space, the space being free from interference with the obstacle, when the first measurement point and the second measurement point are measured in sequence; planning a measurement path of the probe between the first measurement point and the second measurement point; A program for executing the above. [Explanation of symbols]
[0077] 1 Input / output device, 2 Measurement path planning device, 3 Probe, 4 Measurement object space, 11 Three-dimensional measuring device, 12 Three-dimensional CAD, 13 Three-dimensional scanner, 14 Display device, 15 Input operation device, 21 Input / output processing unit, 22 Memory unit, 23, 23A Control unit, 31 Probe main body, 32 Probe unit, 33 Probe tip, 40 Work, 41 First obstacle, 42 Second obstacle, 43 Third obstacle, 44 Fourth obstacle, 100 Measurement path planning system, 201 Connection device, 202 Memory device, 203 Memory, 204 Processor, 205 Data bus, 231 Measurement object definition unit, 232 Attitude detection unit, 233 Attitude change unit, 234 Path planning unit, 235 Space search unit.
Claims
1. A measurement object definition unit that defines a shape of a measurement object space including a workpiece and obstacles to be measured; an attitude changing unit that changes the attitude of the probe in a space between a first measurement point and a second measurement point set in the measurement target space, the space being located between the first measurement point and the second measurement point and not interfering with the obstacle; a path planning unit that plans a measurement path of the probe between the first measurement point and the second measurement point; Equipped with Measurement path planning device.
2. a posture detection unit that detects a posture of the probe at the first measurement point and the second measurement point, the measurement object definition unit defines an orientation of the probe at each of the first measurement point and the second measurement point; the attitude detection unit, when an attitude of the probe at the first measurement point and an attitude of the probe at the second measurement point are different, determines whether or not a space in the measurement target space is capable of changing the attitude of the probe and does not interfere with the obstacle.
2. The measurement path planning device according to claim 1.
3. Further comprising a space search unit that searches for a space that does not interfere with the obstacle within the measurement target space.
3. A measurement path planning device according to claim 1 or 2.
4. a shape data creation device that creates data on the shapes of the workpiece and obstacles to be measured; a measurement object definition unit that defines a shape of a measurement object space including the workpiece to be measured and the obstacle based on data of the shapes of the workpiece to be measured and the obstacle acquired from the shape data creation device; an attitude changing unit that changes the attitude of the probe in a space between a first measurement point and a second measurement point set in the measurement target space, the space being located between the first measurement point and the second measurement point and not interfering with the obstacle; a path planning unit that plans a measurement path of the probe between the first measurement point and the second measurement point; Equipped with A measurement path planning device; A measurement path planning system comprising:
5. a measurement device that acquires a measurement path of the probe between the first measurement point and the second measurement point, which is planned by the path planning unit of the measurement path planning device, and performs measurements of the first measurement point and the second measurement point based on the measurement path of the probe.
5. The measurement path planning system of claim 4.
6. A method performed by a measurement path planning device, comprising: Define the shape of the space to be measured, including the workpiece to be measured and any obstacles; when sequentially measuring a first measurement point and a second measurement point set in the measurement target space, changing the attitude of a probe in a space between the first measurement point and the second measurement point and not interfering with the obstacle; Planning a measurement path of the probe between the first measurement point and the second measurement point. method.
7. On the computer, A process for defining the geometry of the volume to be measured, including the workpiece to be measured and any obstacles; a process of changing the attitude of a probe in a space between a first measurement point and a second measurement point set in the measurement target space, the space being free from interference with the obstacle, when the first measurement point and the second measurement point are measured in sequence; planning a measurement path of the probe between the first measurement point and the second measurement point; A program for executing.
Citation Information
Patent Citations
Measuring machine and method for determining its movement path
JP3989108B2
