Component inspection method and component inspection device

The components in the assembly body are scanned from the outside by a three-dimensional sensor, and the scanning progress is calculated through design data registration, which solves the problem of long inspection time in the existing technology and achieves more efficient component inspection.

CN119325548APending Publication Date: 2025-01-17NISSAN MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380045119.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-06-09
Filing Date
2023-02-17
Publication Date
2025-01-17

AI Technical Summary

Technical Problem

In the assembly, the prior art requires laser irradiation of the entire outer surface of the component, resulting in a longer inspection time, and the shading phenomenon caused by other components makes the laser unable to fully irradiate, further extending the inspection time.

Method used

A three-dimensional sensor is used to scan from the outside, and the outer surface measurement data of the object component is gradually obtained. The scanning progress is calculated through the registration of the design data. When the progress exceeds the threshold, the information is presented to shorten the inspection time.

Benefits of technology

Through external scanning technology, the inspection time of the target component is significantly shortened and the inspection time extension caused by occlusion is avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119325548A_ABST
    Figure CN119325548A_ABST
Patent Text Reader

Abstract

In a component inspection method, first, a region including an ignition coil (3) and a fuel tube (4) is scanned from the outside with a three-dimensional laser scanner (5), and measurement data including a portion of the outer surface of the ignition coil (3) and the fuel tube (4) is gradually acquired. Thereafter, a region in the design data including the ignition coil (3) and the fuel tube (4) is registered with a region in the measurement data including the ignition coil (3) and the fuel tube (4), and the progress of the scan is calculated based on the registration. Then, when the progress exceeds the progress threshold value, information is presented on the display (8) on the situation that the progress threshold value is exceeded.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a component inspection method and a component inspection device for performing an inspection related to the spatial arrangement state of at least one component as a target in an assembly formed by assembling a plurality of components. Background Art

[0002] Patent Document 1 discloses a component inspection method in which the outer shape of a component is obtained based on measurement data of the component measured by a three-dimensional laser scanner and design data of the component, thereby inspecting the component. In this method, when acquiring shape data by a three-dimensional laser scanner, it is necessary to irradiate the entire outer surface of the component with laser light.

[0003] In the component inspection device of Patent Document 1, since the entire outer surface of the component is irradiated with laser light, there is a problem that the time required for component inspection becomes longer.

[0004] Furthermore, in recent years, in an assembly composed of a plurality of parts, laser light cannot be sufficiently irradiated to the outer surface of the target part due to reasons such as blocking of the laser light by other parts, and thus there is a tendency for the time required for part inspection to be prolonged.

[0005] The present invention has been made in view of such problems, and provides a component inspection method and a component inspection device capable of shortening the inspection time of a target component in an assembly by scanning from the outside.

[0006] Prior art literature

[0007] Patent Literature

[0008] Patent Document 1: Japanese Patent No. 6792927 Summary of the invention

[0009] The present invention is a component inspection method for performing an inspection associated with the spatial configuration state of at least one component as an object in an assembly formed by assembling multiple components. In the component inspection method, a three-dimensional sensor is used to scan an area including an object component from the outside to gradually obtain measurement data including a portion of the outer surface of the object component, obtain design data including the outer shape of the object component and the positional relationship of the object component in the assembly, align the area including the object component in the design data with the area including the object component in the measurement data, calculate a progress indicating the degree of scanning progress based on the alignment, compare the progress with a specified threshold, and when the progress exceeds the threshold, present information on the situation that exceeds the threshold.

[0010] According to the present invention, it is possible to shorten the inspection time of a target component in an assembly by scanning from the outside. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 This is an explanatory diagram of various components in an engine compartment according to an embodiment as viewed from above.

[0012] Figure 2 It is a schematic diagram of the gap inspection device of this embodiment.

[0013] Figure 3 It is the point cloud data of the engine compartment and its internal components obtained by scanning with a 3D laser scanner.

[0014] Figure 4 This is point cloud data of the engine compartment and its internal components, which shows 40% of the progress.

[0015] Figure 5 This is a diagram to illustrate reliability.

[0016] Figure 6 It is an explanatory diagram showing the indication of the displacement amount of the fuel pipe in the display.

[0017] Figure 7 : is a flowchart showing the gap inspection method of this embodiment. DETAILED DESCRIPTION

[0018] One embodiment of the present invention is described below with reference to the accompanying drawings. One embodiment is obtained by applying the present invention to a clearance inspection for determining the spatial arrangement state of two components located in an engine compartment and calculating the minimum clearance between the two components in a vehicle inspection process.

[0019] Figure 1 This is a diagram of a portion of various components in an engine compartment 1 of an automobile as an assembly as viewed from above, showing an area near an intake manifold 2 of the engine. An ignition coil 3 as a part of the ignition device of the engine is arranged on the lower side of the intake manifold 2. In addition, a fuel pipe 4 as a pipe for supplying fuel to the engine is located on the side of the intake manifold 2. The fuel pipe 4 is formed of a metal pipe in consideration of oil resistance and fire resistance, and has a circular cross-section along the radial direction. Figure 1As shown, the fuel pipe 4 has: a straight portion 4a, which extends roughly straight along the side of the intake manifold 2; and an inclined portion 4b, which is inclined from one end of the straight portion 4a to the ignition coil 3 side. The fuel pipe 4 composed of a metal pipe will produce some deformation during installation, and is therefore regarded as a non-rigid component. On the other hand, the ignition coil 3 is a component regarded as a rigid body whose outer shape does not change. The minimum distance (minimum gap) in space between the ignition coil 3 and the fuel pipe 4 is stipulated by law, so it is necessary to check the minimum gap in the whole vehicle inspection process. Here, in most cases, the designed minimum distance between the ignition coil 3 and the fuel pipe 4 is stipulated at the position of the outer surface of at least one of the ignition coil 3 and the fuel pipe 4 that cannot be visually confirmed from the outside, and it is generally difficult for the inspector to measure using a ruler. This embodiment obtains such a gap between the two components by measuring and calculating from the outside using a three-dimensional sensor.

[0020] In addition, a plurality of components are provided in the engine compartment 1 in addition to the intake manifold 2, the ignition coil 3, and the fuel pipe 4. In the vehicle inspection process of the present embodiment, the distance between the ignition coil 3 and the fuel pipe 4 is inspected in the vehicle assembled with a plurality of components including the ignition coil 3 as a rigid body and the fuel pipe 4 as a non-rigid body in consideration of shape deformation.

[0021] like Figure 2 As shown, a gap inspection device of an embodiment used in the whole vehicle inspection process of an automobile is mainly composed of a three-dimensional sensor such as a three-dimensional laser scanner 5, a database 6, a control device 7, and one or more displays (devices) 8. In addition, a large number of inspections are performed in a prescribed order in the whole vehicle inspection process. The gap inspection device of an embodiment is constituted as a part of the inspection device in the whole vehicle inspection process.

[0022] The 3D laser scanner 5 can obtain the 3D coordinates of the surface shape of the object being measured by irradiating the object with laser light and measuring the reflection time, and can obtain high-density point cloud data by measuring at a high speed of about tens of thousands of points per second. As 3D laser scanners, various sizes and forms of 3D laser scanners are known, but in one embodiment, a 3D laser scanner in a form that an operator can hold to scan the object being measured is used, and the area including the ignition coil 3, the fuel pipe 4, and other components is manually scanned from the outside to measure the object area. By scanning with such a 3D laser scanner 5, as shown in FIG. Figure 3 As shown, point cloud data of the entire region including a portion of the outer surface of the ignition coil 3 and the fuel pipe 4 is obtained.

[0023] In addition, the point cloud data is actually acquired as time series data for each frame by scanning, and the point cloud data of the entire region can be acquired by superposition. In addition, it is desirable to perform the following noise removal processing on the acquired point cloud data: for example, noise caused by dust entering during scanning is removed. In addition, as a three-dimensional laser scanner, a reference mark for identifying the shape and position of the target component during scanning may also be required.

[0024] Here, the "scanning" in the present invention is a concept that includes either or both of the plane scanning function of the three-dimensional sensor (e.g., the three-dimensional laser scanner 5) itself and the movement of the three-dimensional sensor by, for example, an operator. In one embodiment, scanning is performed by using a three-dimensional laser scanner 5 having a plane scanning function and moving the three-dimensional laser scanner 5. Depending on the size and shape of the object area to be measured or the form of the three-dimensional sensor, for example, multiple three-dimensional sensors can be fixedly arranged at appropriate positions in the space, and the scanning function of each three-dimensional sensor can be used to obtain point cloud data of the object area.

[0025] The database 6 stores all the design data of the automobile to be inspected, and therefore, the shape data of the ignition coil 3 and the shape data of the fuel pipe 4, which are the objects of the gap inspection, and the data indicating the positional relationship between the two in space are stored as design data. In addition, the database 6 also stores the shape data and positional relationship data of other components existing in the area. The design data is stored in the database 6 in the form of CAD data constituting a mesh. When inspecting the gap, the required design data is read from the database 6 to the control device 7. In addition, for the design data, after reading the control device 7, the well-known hidden surface processing can be performed on the parts other than the parts related to the gap between the ignition coil 3 and the fuel pipe 4 to reduce the data size.

[0026] The control device 7 first performs various processes to align the design data of the ignition coil 3 as a rigid body to the position of the measurement data of the ignition coil 3, and generate the outer shape of the ignition coil 3 including the hidden outer surface portion, and to align the design data of the fuel pipe 4 as a non-rigid body to the position of the measurement data of the fuel pipe 4, and generate the outer shape of the fuel pipe 4 including the hidden outer surface portion. Then, the control device 7 calculates the distance between an arbitrary point of the ignition coil 3 and an arbitrary point of the fuel pipe 4 based on the generated outer shapes of the ignition coil 3 and the fuel pipe 4. The components of the control device 7 are described in detail later.

[0027] When the minimum distance calculated by the control device 7 is smaller than a threshold value prescribed by laws and regulations, the display 8 displays the required displacement amount (movement amount) of the fuel pipe 4 and its location.

[0028] From now on, the components of the control device 7 will be described. Figure 2 As shown, the control device 7 has a first registration unit 7a, a progress calculation unit 7b, a second registration unit 7c, a third registration unit 7d, a reliability calculation unit 7e, a first filling unit 7f, a second filling unit 7g, a distance calculation unit 7h, and a displacement calculation unit 7i.

[0029] The first registration unit 7a performs a rough registration of the entire object area (the so-called target area in the registration) including the ignition coil 3, the fuel pipe 4 and other components in the measurement data acquired by the three-dimensional laser scanner 5 with the entire area (the so-called reference area in the registration) including the ignition coil 3, the fuel pipe 4 and other components in the design data accumulated in the database 6. More specifically, the first registration unit 7a uses the FPFH algorithm to search for key points from the point cloud data of the entire target area, and describes the characteristics of the key points, such as the normal vector of the key points and the relative angles around them. In addition, the first registration unit 7a uses the FPFH algorithm to search for key points on the basis of transforming the design data of the entire reference area into point cloud data using a well-known transformation method, and describes the characteristics of the key points, such as the normal vector of the key points and the relative angles around them. Then, the first registration unit 7a searches for a combination of key points whose normal vectors and relative angles are roughly consistent by comparing the normal vectors between the key points related to the target and the key points related to the reference, and the relative angles with the surrounding point clouds, and then uses the combination of paired key points to roughly align the reference point cloud data with the target point cloud data. In addition, during this rough registration, the fuel pipe 4, which is a non-rigid body, is regarded as a rigid body, and as a result, an average registration is performed within the length of the fuel pipe 4, for example. The rough registration of the object area performed by the first registration unit 7a is performed in parallel with the progress of the scanning of the object area. The first registration unit 7a can also use a known algorithm other than the FPFH algorithm to perform rough registration of the object area.

[0030] After the rough alignment performed by the first alignment unit 7a and before the detailed alignment of the ignition coil 3 and the fuel pipe 4 described later, the progress calculation unit 7b calculates the progress indicating the extent to which the required scanning in the object area has progressed. That is, the progress calculation unit 7b calculates the progress (extent of progress) of the scanning based on the ratio of the number of points in the point cloud data of the object area based on the design data serving as a reference to the number of points that match each other between the reference and the target through the rough alignment performed by the first alignment unit 7a. The progress calculated in this way is further compared with a prescribed progress threshold (for example, 40% in the present embodiment), and it is determined in real time whether the progress that gradually increases with the progress of the scanning exceeds the progress threshold. For example, the progress at this time and the information on whether the progress exceeds the progress threshold are displayed on the display 8 via an information output unit not shown, so the operator continues to scan using the three-dimensional laser scanner 5 according to the display. In other words, scanning (generation of point cloud data), rough alignment, and progress calculation using the three-dimensional laser scanner 5 are repeated in real time until the prescribed progress threshold is exceeded. For example, in Figure 4 The area enclosed by the dotted line corresponds to 40% of the progress.

[0031] In addition, in addition to being evaluated based on the ratio of the number of data points as described above, progress can also be evaluated based on the distance scanned by the three-dimensional laser scanner 5, the number of viewpoints passed by the three-dimensional laser scanner 5, the number of key points used in rough alignment, etc.

[0032] The basic shape or structure of the area to be scanned is known as design data obtained from the database 6, so it is possible to estimate the movement trajectory of the 3D laser scanner 5 in a manner including the position of the 3D laser scanner 5 in space and its movement trajectory based on the point cloud data successively obtained from the 3D laser scanner 5. Then, the progress of the scanning can be calculated based on the extent to which the distance scanned by the 3D laser scanner 5 is included in the length of the movement trajectory.

[0033] In addition, a plurality of representative viewpoints are predetermined regarding the viewpoints at the position of the three-dimensional laser scanner 5 , and the progress of scanning can be obtained based on how many representative viewpoints the three-dimensional laser scanner 5 has passed until drawing a movement trajectory.

[0034] Furthermore, the maximum number of key points is determined based on the point cloud data transformed from the design data. Therefore, the scanning progress can be calculated by calculating the ratio of the key points based on the point cloud data transformed from the measurement data to the maximum number of key points.

[0035] The second registration unit 7c performs detailed spatial registration of each component on the condition that the progress exceeds 40%. That is, the second registration unit 7c searches for paired points from the reference point cloud data for all points of the target point cloud data obtained by measuring the ignition coil 3 and the fuel pipe 4, and performs detailed registration of the reference point cloud data with the target point cloud data. The fuel pipe 4, which is a non-rigid body, is regarded as a rigid body here, and as a result, an average registration is performed within the length range of the fuel pipe 4. The detailed registration of the second registration unit 7c can be performed using a known appropriate algorithm.

[0036] After the detailed registration performed by the second registration unit 7c, the third registration unit 7d performs so-called non-rigid registration for the non-rigid component (the fuel pipe 4 in this embodiment) in consideration of deformation. Here, a known appropriate algorithm can be used, but for example, the nearest neighbor pair is searched from the reference point cloud data and the target point cloud data that have been previously registered as a rigid body, and the parameters of rotation, enlargement, and translation are obtained as parameters that make the two points of the pair approach each other. For example, the outer shape of the fuel pipe 4 is downsampled to form a shape in which the outer surface is composed of a plurality of triangles having vertices and edges, and the vertices of the point cloud (cluster) representing each area obtained by downsampling, that is, each area including a plurality of adjacent triangles are used, and the constraint that the length of the edge does not change (strictly speaking, the length change is minimized) is added, and the deformation of the cluster is decomposed into the parameters of rotation, enlargement, and translation. The overall deformation of the fuel pipe 4 is obtained as a collection of such deformations in cluster units. The third registration unit 7 d deforms the reference point cloud data on the fuel pipe 4 by using such a non-rigid registration method taking deformation into consideration, and registers the data with the target point cloud data in space.

[0037] The reliability calculation unit 7e calculates the reliability of the registration for each target component (i.e., the ignition coil 3 and the fuel pipe 4). In other words, the reliability calculation unit 7e calculates the reliability of the point cloud data indicating how many targets are included in the vicinity of the reference point cloud data after registration for each of the ignition coil 3 and the fuel pipe 4.

[0038] Figure 5 This is an explanatory diagram schematically showing the point cloud data of the fuel pipe 4 after registration in order to illustrate the reliability. In order to simplify the explanation, it is assumed that the circular outer surface at a certain cross section of the fuel pipe 4 is formed by 13 point cloud data. The 13 point cloud data Dr arranged in a circle are reference point cloud data based on the design data, and the 7 point cloud data Dt arranged in a semicircle are target point cloud data based on the measurement data. For example, the three-dimensional laser scanner 5 is scanned only from the upper side of the figure, and as a result, the lower half becomes an unscanned area (missing area), and the target point cloud data Dt is arranged in a semicircle.

[0039] Reliability is represented, for example, by the ratio of the number of points of the reference point cloud data Dr to the number of points of the target point cloud data Dt included in the range of radius L from each point of the reference point cloud data Dr. In addition, in the figure, the range of radius L from a large number of points of the reference point cloud data Dr is represented by an outer circle C1 and an inner circle C2 represented by dotted lines, respectively. Figure 5 In the example (a), the four point cloud data Dt of the target are included in the range R of the circles C1 and C2, so the reliability is 4 / 13. Figure 5 In the example shown in (b), there are two target point cloud data Dt included in the range R of circles C1 and C2, so the reliability is 2 / 13. Figure 5 In the example shown in (c), all the target points, that is, 7 point cloud data Dt are included in the range R, and the reliability is 7 / 13. As described above, the reliability is affected by both the accuracy of registration and the size or ratio of the missing area in the measurement data.

[0040] The first filling unit 7f fills in the missing part that is not scanned in the measurement data of the ignition coil 3, that is, the target point cloud data, using the reference point cloud data. In other words, the outer surface part of the back side (lower side) of the ignition coil 3 that is hidden and cannot be observed from the upper side of the engine compartment 1 is filled in with the reference point cloud data to generate point cloud data including the hidden part. Then, the first filling unit 7f transforms the generated point cloud data into mesh data constituting a surface using a well-known transformation method.

[0041] Similarly, the second filling unit 7g fills in the missing portion that is not scanned in the measurement data of the fuel pipe 4, that is, the target point cloud data, using the reference point cloud data. In other words, the outer surface portion of the back side (lower side) of the fuel pipe 4 that is hidden and cannot be observed from the upper side of the engine compartment 1 is filled in with the reference point cloud data to generate point cloud data including the hidden portion of the fuel pipe 4. Then, the second filling unit 7g transforms the generated point cloud data into mesh data constituting a surface using a well-known transformation method.

[0042] The distance calculation unit 7h calculates the distance from each point on the surface of the ignition coil 3 to each point on the surface of the fuel pipe 4 based on the mesh data of the ignition coil 3 obtained by the first filling unit 7f and the mesh data of the fuel pipe 4 obtained by the second filling unit 7g. And the distance calculation unit 7h finds the minimum distance by comparing the calculated distances. In addition, instead of converting the point cloud data of the ignition coil 3 and the point cloud data of the fuel pipe 4 into mesh data, the distance calculation unit 7h calculates the distance from each point of the ignition coil 3 to each point of the fuel pipe 4 based on each point cloud data. In addition, the distance calculation unit 7h compares the minimum distance with a predetermined threshold value, and when the minimum distance is less than the threshold value, the display 8 presents information that the minimum distance is less than the threshold value. In addition, when presenting information to the operator that the minimum distance is less than the threshold value, in addition to the image-based presentation using the aforementioned display, a speaker or other audio device may be used for sound presentation, and a scanner held in the hand of the operator or a wearable device such as a watch worn by the operator may be used for vibration presentation. When presenting information based on vibration, whether the value is above or below a threshold value may be presented using a predetermined vibration pattern.

[0043] When the minimum distance is less than a prescribed threshold, the displacement calculation unit 7i quantitatively calculates the required movement amount of the fuel pipe 4, that is, the displacement amount of the fuel pipe 4 required to make the minimum distance above the threshold, for the portion where the minimum distance occurs and several representative points, and displays the information on the display 8.

[0044] The display 8 displays the minimum distance between the ignition coil 3 and the fuel pipe 4 and the position thereof together with the required displacement of the fuel pipe 4. Figure 6 The area between the two curves W1 and W2 shown by dashed lines in the figure shows the desired arrangement of the fuel pipe 4 in the engine compartment 1. When the minimum distance is less than the threshold, the operator displaces the fuel pipe 4 based on the displacement amount (not shown) displayed on the display 8, thereby bringing the fuel pipe 4 into the area between the curves W1 and W2. In addition, the portion adjacent to the side of the fuel pipe 4 shown in dark color shows a portion of the fuel pipe 4 before the operator displaces the fuel pipe 4. In this embodiment, Figure 6 As shown, the displacement calculation unit 7i displays a displacement of 20 mm in a direction P away from the intake manifold 2 for a point on the straight portion 4a extending straightly along the side of the intake manifold 2, and displays a displacement of 20 mm ... in a direction P away from the intake manifold 2 for a point on the ignition coil 3 (see Figure 1 ) side, a location of the inclined portion 4b that is inclined shows a displacement of 10 mm in the other direction Q away from the intake manifold 2. Figure 6In the figure, the minimum distance and the position of the minimum distance are omitted, but the position of the minimum distance is located at the lower left side of the position to which the displacement amount is applied in the direction Q in the inclined portion 4b and is close to the ignition coil 3 (refer to Figure 1 )between.

[0045] Next, based on Figure 7 The gap checking method of this embodiment is described with reference to the flowchart of FIG.

[0046] First, in step S1, the operator operates the three-dimensional laser scanner 5 to scan a predetermined area including the ignition coil 3 and the fuel pipe 4 as target components in the engine compartment 1 from the outside, thereby acquiring point cloud data including a portion of the outer surface of each component. The scanning and generation of point cloud data gradually progresses along with the scanning operation.

[0047] Next, in step S2 , CAD data of the ignition coil 3 , the fuel pipe 4 , and other peripheral components as target components, and CAD data indicating the spatial positional relationship between them are acquired from the database 6 .

[0048] Then, in step S3, the CAD data is transformed into point cloud data using a known appropriate transformation method.

[0049] Next, in step S4, the first registration unit 7a performs a rough registration of the entire target region with the entire reference region. As described above, the point cloud data of the entire region including the ignition coil 3, the fuel pipe 4 and other components is registered with the point cloud data of the entire region including the ignition coil, the fuel pipe and other components in the design data accumulated in the database 6 by searching for key points and combining paired key points, thereby performing a rough registration.

[0050] After the rough registration in step S4, in step S5, the progress calculation unit 7b as described above calculates the progress of the scan based on the ratio between the number of points in the point cloud data of the reference area and the number of matching points in the point cloud data of the scanned area.

[0051] Then, in step S6, it is determined whether the progress exceeds a predetermined progress threshold (40% in this embodiment, but the threshold is not limited thereto). If the progress is below 40%, the process proceeds to step S7, where the progress is displayed on the display 8, and the operator continues scanning. That is, the process after step S1 is repeated.

[0052] In addition, if the progress exceeds 40% in step S6, the process proceeds to step S8, and the ignition coil 3 and the fuel pipe 4 as the target parts are extracted from the point cloud data of the measurement data and the point cloud data of the design data, respectively. The point cloud data extracted from the measurement data becomes the so-called target, and the point cloud data extracted from the design data becomes the so-called reference. The point cloud data of the target part as a reference can also be generated based on the CAD data of the component itself.

[0053] Next, in step S9, as the second registration unit 7c, a known appropriate algorithm is used to perform detailed registration of the ignition coil 3 and the fuel pipe 4. Here, the fuel pipe 4 is regarded as a rigid body. For example, as described above, a pair of points is searched between the point cloud data of the target that has undergone rough registration and the point cloud data of the reference, and detailed registration is performed in a manner that the reference and the target are close.

[0054] Next, the third registration unit 7d described above performs downsampling on the data of the fuel pipe 4 in step S10 to perform non-rigid registration of the fuel pipe 4 as a non-rigid body. Then, in step S11, non-rigid registration of the fuel pipe 4 is performed in consideration of deformation. That is, the reference point cloud data is deformed while being registered to the position of the target. In this non-rigid registration, the nearest neighbor pair is searched from the reference point cloud data and the target point cloud data registered as a rigid body as described above, and rotation, enlargement, and translation as mutually close parameters are obtained.

[0055] Next, the process proceeds to step S12 to calculate the reliability of the registration for the ignition coil 3 and the fuel pipe 4. The reliability is expressed, for example, by the ratio of the number of points in the reference point cloud data to the number of points in the target point cloud data within a predetermined radius from each point in the reference point cloud data.

[0056] Then, in step S13, it is determined whether the reliability of the ignition coil 3 and the reliability of the fuel pipe 4 satisfy the predetermined reliability. If both reliability satisfy the predetermined reliability, the registration is considered completed and the process proceeds to step S14.

[0057] In step S14, the first filling unit 7f and the second filling unit 7g fill in the unscanned parts of the point cloud data of the ignition coil 3 and the fuel pipe 4 with the reference point cloud data registered with the target. Thus, the point cloud data of the ignition coil 3 and the fuel pipe 4 including the unscanned parts (that is, the hidden parts) at the positions of the respective targets are generated.

[0058] Then, in step S15 , the point cloud data including the unscanned portions of both the ignition coil 3 and the fuel pipe 4 are converted into mesh data constituting a surface using a well-known conversion method.

[0059] Next, in step S16, the distance calculator 7h calculates the minimum distance between the ignition coil 3 and the fuel pipe 4 based on the mesh data of the ignition coil 3 and the mesh data of the fuel pipe 4. That is, the distance between any two points on each surface is obtained, and the minimum value is set as the minimum distance.

[0060] Then, in step S17, it is determined whether the minimum distance is greater than or equal to a threshold value. If the minimum distance is greater than or equal to the threshold value, the process proceeds to step S18, and information indicating that the minimum distance is greater than or equal to the threshold value is presented on the display 8.

[0061] If the minimum threshold is smaller than the threshold in step S17 , the process proceeds to step S19 , where the displacement amount calculation unit 7 i calculates the displacement amount of the fuel pipe 4 required to make the minimum distance equal to or greater than the threshold.

[0062] In addition, if the reliability is less than the specified reliability in step S13, the process proceeds to step S20 to determine whether the scanned data is insufficient. If the data is insufficient, the process proceeds to step S21 to inform the operator that the three-dimensional laser scanner 5 needs to be used for scanning again, and the process returns to step S1.

[0063] If it is determined in step S20 that the data is not insufficient, it is assumed that the reliability in step S13 is determined to be low due to excessive deformation of the fuel pipe 4, and the process proceeds to step S18, whereby the display 8 displays this fact.

[0064] As described above, in this embodiment, by manually operating the three-dimensional laser scanner 5, the area including the ignition coil 3 and the fuel pipe 4 is scanned from the outside to obtain measurement data of a portion of the outer surface of the two components. As the first alignment unit 7a, the area including the ignition coil and the fuel pipe in the design data is roughly aligned with the area including the ignition coil 3 and the fuel pipe 4 in the measurement data, and then, based on the rough alignment, the progress of the scanning of the three-dimensional laser scanner 5 is continuously calculated. Then, when the progress exceeds the prescribed progress threshold, the display 8 presents information on the situation that the progress threshold is exceeded. Therefore, there is no need to wait for the scanning of the above-mentioned area as a whole to be completed. If the progress exceeds the progress threshold, it will immediately transfer to the next stage in the component inspection. Therefore, compared with the case where the scanning of the above-mentioned area as a whole is completed and then transferred to the next stage, the time spent on the component inspection can be shortened.

[0065] In addition, in the present embodiment, after the rough registration by the first registration unit 7a, the progress calculation unit 7b calculates the progress of the scan based on the ratio of the number of points of the point cloud data of the target area based on the design data as the reference to the number of points matched between the reference and the target through the rough registration by the first registration unit 7a. Therefore, by finding the above ratio based on the number of points of the point cloud data based on the known design data and the number of matched points obtained through the rough registration, the progress of the scan can be calculated efficiently.

[0066] Furthermore, in the present embodiment, the progress of the scanning is calculated based on the distance scanned by the three-dimensional laser scanner 5. As described above, the basic shape of the area to be scanned is known through the database 6, so the movement trajectory of the three-dimensional laser scanner 5 can be estimated based on the point cloud data successively obtained from the three-dimensional laser scanner 5. Then, the progress of the scanning can be calculated based on the extent to which the distance scanned by the three-dimensional laser scanner 5 is included in the length of the movement trajectory.

[0067] In this embodiment, the scanning progress is calculated based on the number of viewpoints passed by the 3D laser scanner 5. Therefore, the scanning progress can be obtained based on how many representative viewpoints the 3D laser scanner 5 has passed until the movement trajectory is drawn.

[0068] Furthermore, in this embodiment, the progress of the scan is calculated based on the number of key points used in the rough registration. As described above, the maximum number of key points is determined based on the point cloud data transformed from the design data, and thus the progress of the scan can be calculated by finding the ratio of the key points based on the point cloud data transformed from the measurement data to the maximum number of key points.

[0069] In addition, in the present embodiment, after the progress exceeds the progress threshold, the design data of the ignition coil and the fuel pipe are registered in detail with the positions of the measurement data of the ignition coil 3 and the fuel pipe 4. Therefore, it is sufficient to scan the area including the ignition coil 3 and the fuel pipe 4 only in a relatively short time before the progress exceeds the progress threshold, so that detailed registration can be performed as soon as possible only for the ignition coil 3 and the fuel pipe 4 as the target parts.

[0070] In the above, an embodiment of applying the present invention to the measurement of the gap between the ignition coil 3 and the fuel pipe 4 of an automobile is described, but the present invention is not limited to such an application and can be widely applied to the inspection associated with the spatial arrangement state of the target component in an assembly including a plurality of components. In the above embodiment, the distance between two components is measured, but the present invention can be applied even if there is only one target component.

[0071] In the present embodiment, an example of non-rigid registration of the fuel pipe 4 having a circular radial cross section is described. However, the present invention can also be applied to pipes having a rectangular radial cross section other than a circular shape.

[0072] Furthermore, in the above-described embodiment, an example is described in which an operator operates the three-dimensional laser scanner 5 by hand, but the present invention is also applicable when a robot performs scanning using a three-dimensional sensor.

[0073] In addition, in this embodiment, the three-dimensional laser scanner 5 is described as a three-dimensional sensor, but other types of three-dimensional sensors, such as a ToF type three-dimensional sensor, a three-dimensional sensor of a triangulation type such as a stereo camera, etc., can be widely applied.

Claims

1. A component inspection method for inspecting a spatial arrangement state of at least one component as a target in an assembly formed by assembling a plurality of components, wherein: The three-dimensional sensor is used to scan the area including the object component from the outside to gradually acquire measurement data including a part of the outer surface of the object component. acquiring design data including the outer shape of the target component and the positional relationship of the target component within the assembly, registering a region including the object component in the design data with a region including the object component in the measurement data, calculating a progress indicating how far the scan has progressed based on the registration, comparing said progress to a specified threshold, When the progress exceeds the threshold, information about the situation where the threshold is exceeded is presented.

2. The component inspection method according to claim 1, wherein: transforming the measurement data and the design data into point cloud data respectively, The registering includes: registering a region including the object component in the point cloud data based on the design data with a region including the object component in the point cloud data based on the measurement data, Calculating the progress includes calculating the progress according to a ratio of the number of points of the point cloud data of the object area based on the design data to the number of points that match between the point cloud data based on the design data and the point cloud data based on the measurement data.

3. The component inspection method according to claim 1, wherein: Calculating the progress includes calculating the progress based on a distance scanned by the three-dimensional sensor.

4. The component inspection method according to claim 1, wherein: Calculating the progress includes calculating the progress based on the number of viewpoints that the three-dimensional sensor has passed.

5. The component inspection method according to claim 1, wherein: transforming the measurement data and the design data into point cloud data respectively, The component inspection method further includes: searching for key points of each point cloud data obtained by the transformation and describing the features of the key points, Performing the registration includes: comparing the features of key points associated with the point cloud data of the design data with the features of key points associated with the point cloud data of the measurement data, Calculating the progress includes calculating the progress based on the number of key points used in the registration.

6. The component inspection method according to claim 1, wherein: The method further includes: after the progress exceeds the threshold, aligning the design data of the target component with the position of the measurement data of the target component.

7. A component inspection device for performing inspection related to the spatial arrangement state of at least one component as a target in an assembly formed by assembling a plurality of components, the component inspection device comprising: A three-dimensional sensor that scans an area including an object part from the outside to gradually acquire measurement data; a database storing design data including the outer shape of the target component and the positional relationship of the target component within the assembly; a registration unit that registers the design data of the target component to the position of the measurement data of the target component; a progress calculation unit that calculates a progress indicating a degree of progress of the scan based on the registration performed by the registration unit; as well as A device is provided for presenting information on the situation that the progress exceeds a prescribed threshold when the progress exceeds the threshold.