CN117553719A - Scanning precision evaluation method, device, medium and electronic equipment - Google Patents

Scanning precision evaluation method, device, medium and electronic equipment Download PDF

Info

Publication number
CN117553719A
CN117553719A CN202311343527.XA CN202311343527A CN117553719A CN 117553719 A CN117553719 A CN 117553719A CN 202311343527 A CN202311343527 A CN 202311343527A CN 117553719 A CN117553719 A CN 117553719A
Authority
CN
China
Prior art keywords
coordinate system
triangle
measuring point
coordinate
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311343527.XA
Other languages
Chinese (zh)
Inventor
王珂
傅杰
龙从林
田昊
陈天安
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dongfeng Motor Corp
Original Assignee
Dongfeng Motor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dongfeng Motor Corp filed Critical Dongfeng Motor Corp
Priority to CN202311343527.XA priority Critical patent/CN117553719A/en
Publication of CN117553719A publication Critical patent/CN117553719A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B21/00Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Length Measuring Devices With Unspecified Measuring Means (AREA)

Abstract

The application discloses a scanning precision evaluation method, a scanning precision evaluation device, a medium and electronic equipment. The method comprises the following steps: determining a reference plane according to a plurality of first measuring point coordinates on a measured object obtained by a contact measuring head, and constructing a reference coordinate system according to the reference plane, wherein the reference plane is a plane where a triangle with the largest area constructed by the first measuring point coordinates on the measured object is located; acquiring second measuring point coordinates on a plurality of measured objects based on a non-contact coordinate system corresponding to the non-contact probe; and determining an adjustment angle corresponding to the reference coordinate system by combining the first measuring point coordinate, the second measuring point coordinate, the reference coordinate system and the non-contact coordinate system, wherein the adjustment angle is used for enabling the non-contact coordinate system to coincide with the reference coordinate system. The vehicle component evaluation method and device can improve the evaluation accuracy of the vehicle component.

Description

Scanning precision evaluation method, device, medium and electronic equipment
Technical Field
The present invention relates to the field of scan accuracy control technologies, and in particular, to a scan accuracy evaluation method, apparatus, medium, and electronic device.
Background
At present, when the precision of a vehicle component is evaluated through a best fit coordinate system, the difference between the contact measurement and a real object is large in the best fit coordinate system, and the contact measurement cannot be used as a judging means of the component compliance. When the accuracy evaluation is carried out on the vehicle component by using the data of the scanning point cloud, the established standard has larger deviation and influences the analysis accuracy of the functional size. Based on this, how to improve the scan accuracy evaluation of the vehicle is a technical problem to be solved.
Disclosure of Invention
The invention aims to provide a scanning accuracy evaluation method, a scanning accuracy evaluation device, a scanning accuracy evaluation medium and electronic equipment. The vehicle component evaluation method and device can improve the evaluation accuracy of the vehicle component.
Other features and advantages of the present application will be apparent from the following detailed description, or may be learned in part by the practice of the application.
According to an aspect of the embodiments of the present application, there is provided a scan accuracy evaluation method, which is characterized in that the method includes: determining a reference plane according to a plurality of first measuring point coordinates on a measured object obtained by a contact measuring head, and constructing a reference coordinate system according to the reference plane, wherein the reference plane is a plane where a triangle with the largest area constructed by the first measuring point coordinates on the measured object is located; acquiring second measuring point coordinates on a plurality of measured objects based on a non-contact coordinate system corresponding to the non-contact probe; and determining an adjustment angle corresponding to the reference coordinate system by combining the first measuring point coordinate, the second measuring point coordinate, the reference coordinate system and the non-contact coordinate system, wherein the adjustment angle is used for enabling the non-contact coordinate system to coincide with the reference coordinate system.
In an embodiment of the present application, based on the foregoing solution, the determining a reference plane according to a plurality of first measurement point coordinates on the measured object acquired by the contact probe includes: determining a hole center connecting line according to the first measuring point coordinates, wherein the hole center connecting line is a connecting line between any two hole centers on the measured object; constructing a triangle according to the first measuring point coordinates, wherein the triangle is constructed by any three first measuring point coordinates; the reference plane is determined based on the aperture line and the triangle.
In one embodiment of the present application, based on the foregoing solution, the determining the reference plane based on the hole center line and the triangle includes: acquiring a high minimum value of the triangle and an area of the triangle; determining an intersecting length according to the hole center connecting line and the triangle, wherein the intersecting length is the length of an intersecting line segment of the hole center connecting line and the triangle; and if the intersection length is larger than the minimum value and the area of the triangle is the maximum value of the areas in each triangle constructed by the coordinates of the first measuring point, determining the plane in which the triangle is positioned as a reference plane.
In an embodiment of the present application, based on the foregoing solution, the determining, in combination with the first measurement point coordinate, the second measurement point coordinate, the reference coordinate system, and the non-contact coordinate system, an adjustment angle corresponding to the reference coordinate system includes: selecting a target point on the measured object, and determining a first measuring point coordinate and a second measuring point coordinate corresponding to the target point; and determining an adjustment angle corresponding to the reference coordinate system according to the first measuring point coordinate, the second measuring point coordinate, the reference coordinate system and the non-contact coordinate system, wherein the adjustment angle is a three-dimensional angle and is used for enabling the non-contact coordinate system to coincide with the reference coordinate system.
In an embodiment of the present application, based on the foregoing solution, the determining, according to the first measurement point coordinate, the second measurement point coordinate, the reference coordinate system, and the non-contact coordinate system, an adjustment angle corresponding to the reference coordinate system includes: according to the first measuring point coordinates and the second measuring point coordinates corresponding to the target point, determining the coordinate displacement variation and the coordinate rotation variation of the target point between the reference coordinate system and the non-contact coordinate system; and determining an adjustment angle corresponding to the reference coordinate system based on the coordinate displacement variation and the coordinate rotation variation, wherein the coordinate displacement variation represents the variation of the coordinate in the coordinate axis direction, and the coordinate rotation variation represents the angle variation of the coordinate in the coordinate axis.
In one embodiment of the present application, based on the foregoing scheme, in the case where the target point rotates based on the Z axis and translates in the X, Y and Z axis directions, the coordinates of the target point based on the adjustment angle are determined by the following formula:
wherein A is the coordinate of the target point before adjustment; a is that The coordinates of the target point after adjustment; t is the first matrix in the formula and is used for representing the rotation variation of the coordinates; r is a second matrix in the formula and is used for representing the coordinate displacement variation.
According to an aspect of the embodiments of the present application, there is provided a scan accuracy evaluation device, including: the construction unit is used for determining a reference plane according to a plurality of first measuring point coordinates on the measured object obtained by the contact measuring head and constructing a reference coordinate system according to the reference plane, wherein the reference plane is a plane where a triangle with the largest area constructed by the first measuring point coordinates on the measured object is located; the acquisition unit is used for acquiring second measuring point coordinates on a plurality of measured objects based on a non-contact coordinate system corresponding to the non-contact probe; and the adjusting unit is used for combining the first measuring point coordinate, the second measuring point coordinate, the reference coordinate system and the non-contact coordinate system to determine an adjusting angle corresponding to the reference coordinate system, and the adjusting angle is used for enabling the non-contact coordinate system to coincide with the reference coordinate system.
In an embodiment of the present application, based on the foregoing solution, the building unit is further configured to: determining a hole center connecting line according to the first measuring point coordinates, wherein the hole center connecting line is a connecting line between any two hole centers on the measured object; constructing a triangle according to the first measuring point coordinates, wherein the triangle is constructed by any three first measuring point coordinates; acquiring a high minimum value of the triangle and an area of the triangle; determining an intersecting length according to the hole center connecting line and the triangle, wherein the intersecting length is the length of an intersecting line segment of the hole center connecting line and the triangle; and if the intersection length is larger than the minimum value and the area of the triangle is the maximum value of the areas in each triangle constructed by the coordinates of the first measuring point, determining the plane in which the triangle is positioned as a reference plane.
According to an aspect of the embodiments of the present application, there is provided a computer-readable storage medium, on which a computer program is stored, the computer program comprising executable instructions, which when executed by a processor, implement the method described in the above embodiments.
According to an aspect of an embodiment of the present application, there is provided an electronic device including: one or more processors; and a memory for storing executable instructions of the processor, which when executed by the one or more processors, cause the one or more processors to implement the method described in the above embodiments.
In the technical scheme of the application, first measuring point coordinates on a measured object with higher accuracy are acquired through the contact measuring head. And determining a reference plane based on the first measuring point coordinate, so as to construct a reference coordinate system, wherein the reference plane is a plane where a triangle with the largest area formed by the first measuring point coordinate on the measured object is located. Meanwhile, based on the reference plane, the reference coordinate system can be enabled to be more in line with the measured object, and therefore errors in scanning the measured object can be reduced.
Then, based on a non-contact coordinate system corresponding to the non-contact probe, the second measuring point coordinate on the measured object is obtained through scanning of the non-contact probe, so that the obtaining efficiency of the second measuring point coordinate on the measured object can be improved.
And combining the first measuring point coordinate, the second measuring point coordinate, the reference coordinate system and the non-contact coordinate system, and determining an adjustment angle corresponding to the reference coordinate system, so that the non-contact coordinate system is overlapped with the reference coordinate system, and further the scanning accuracy evaluation of the measured object is realized.
Based on the scanning precision evaluation method, the non-contact probe can be combined on the basis of improving the accuracy of the constructed reference coordinate system, so that the scanning evaluation efficiency of the measured object is improved. Meanwhile, the cost of the real object detection tool can be saved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application. It is apparent that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art. In the drawings:
FIG. 1 is a flow chart of a scan accuracy evaluation method according to an embodiment of the present application;
FIG. 2 is a triangle build diagram shown in accordance with an embodiment of the present application;
FIG. 3 is a graph of change in coordinates of a target point according to an embodiment of the present application;
fig. 4 is a block diagram of a scanning accuracy evaluation apparatus according to an embodiment of the present application;
fig. 5 is a schematic diagram of a system structure of an electronic device according to an embodiment of the present application.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the present application. One skilled in the relevant art will recognize, however, that the aspects of the application can be practiced without one or more of the specific details, or with other methods, components, devices, steps, etc. In other instances, well-known methods, devices, implementations, or operations are not shown or described in detail to avoid obscuring aspects of the application.
The block diagrams depicted in the figures are merely functional entities and do not necessarily correspond to physically separate entities. That is, the functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The flow diagrams depicted in the figures are exemplary only, and do not necessarily include all of the elements and operations/steps, nor must they be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the order of actual execution may be changed according to actual situations.
It should be noted that: references herein to "a plurality" means two or more. "and/or" describes an association relationship of an association object, meaning that there may be three relationships, e.g., a and/or B may represent: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
The implementation details of the technical solutions of the embodiments of the present application are described in detail below:
according to an aspect of the present application, there is provided a scan accuracy evaluation method, fig. 1 is a flowchart of the scan accuracy evaluation method shown in an embodiment of the present application, the scan accuracy evaluation method may be performed by an apparatus having a calculation processing function, the scan accuracy evaluation method includes at least steps 110 to 130, and the detailed description is as follows:
in step 110, a reference plane is determined according to a plurality of first measurement point coordinates on the measured object acquired by the contact measurement head, and a reference coordinate system is constructed according to the reference plane, where the reference plane is a plane where a triangle with a maximum area constructed by the first measurement point coordinates on the measured object is located.
In the present application, since the measurement point on the measured object acquired by the contact probe is more accurate than the measurement point on the measured object acquired by the non-contact probe, first, a plurality of first measurement point coordinates on the measured object are acquired by the contact probe. Then, before constructing a reference coordinate system of the object to be measured, a reference plane of the reference coordinate system needs to be acquired. Wherein, in order to be able to make a reference coordinate system more accurate, the reference plane needs to include a plurality of first measurement point coordinates on the object to be measured to the maximum extent, and a distance between the reference plane and the first measurement point coordinates in the vicinity of the reference plane needs to be kept in a small range. Therefore, the plane in which the triangle of the maximum area constituted by the first measurement point coordinates on the measured object is located can be set as the reference plane, so that a reference coordinate system for accurately evaluating the accuracy of the measured object can be constructed based on the reference plane.
In an embodiment of the present application, the determining a reference plane according to the first measurement point coordinates on the measured object acquired by the contact probe specifically includes steps 111 to 113:
and step 111, determining a hole center connecting line according to the first measuring point coordinate, wherein the hole center connecting line is a connecting line between any two hole centers on the measured object.
And step 112, constructing a triangle according to the first measuring point coordinates, wherein the triangle is constructed by any three first measuring point coordinates.
Step 113, determining the reference plane based on the hole center connecting line and the triangle.
In this embodiment, in order to determine to construct the reference plane more accurately, a plane in which the triangle of the maximum area formed by the first measurement point coordinates on the measured object is located may be set as the reference plane. Therefore, in determining the triangle of the maximum area on the measured object, first, the coordinates of the first measuring point corresponding to the hole center on the measured object are determined. And then, determining a hole center connecting line according to the first measuring point coordinates corresponding to the hole center, wherein the hole center connecting line is a connecting line between any two hole centers on the measured object. In order to maximize the area of the triangle formed, the hole center connection line may be a connection line between two hole centers having the greatest distance.
After the hole center connection line is determined, triangle construction can be performed according to the first measuring point coordinates on the measured object, wherein the triangle is constructed by any three first measuring point coordinates. Under the common constraint of the hole center connecting line and the triangle on the measured object, a reference plane which is relatively accurate relative to the measured object can be constructed.
Further, in an embodiment of the present application, the determining the reference plane based on the hole center line and the triangle may specifically include steps 114 to 116:
step 114, obtaining a high minimum value of the triangle and an area of the triangle;
and 115, determining an intersecting length according to the hole center connecting line and the triangle, wherein the intersecting length is the length of an intersecting line segment of the hole center connecting line and the triangle.
And 116, if the intersection length is greater than the minimum value and the area of the triangle is the maximum value of the areas in each triangle constructed by the first measurement point coordinates, determining the plane in which the triangle is positioned as a reference plane.
In this embodiment, in order to determine that the constructed triangle is the triangle with the largest area on the measured object, the area of the triangle and the high minimum value of the triangle may be obtained. Then, in order to improve the accuracy of the reference plane, the triangle may be concentrated at the center portion of the measured object. Therefore, a hole center connecting line can be constructed on the measured object, so that the intersecting length is determined according to the hole center connecting line and the current triangle, wherein the intersecting length is the length of an intersecting line segment of the hole center connecting line and the triangle.
Based on the constraint of the intersection length and the area of the constructed triangle, a reference plane on the measured object can be determined, namely, if the intersection length is greater than the minimum value and the area of the triangle is the maximum value of the areas in the triangles constructed by the first measurement point coordinates, the plane in which the triangle is located is determined to be the reference plane.
For example, referring to fig. 2, a triangle construction diagram is shown according to an embodiment of the present application. In fig. 2. And A and B are hole center coordinates acquired by the contact type measuring head, E, D and E are first measuring point coordinate measuring points acquired by the contact type measuring head and are used for constructing triangles on the measured object. Line segments CJ, DH, EK are the three heights of the triangle, respectively. The line segment FG is a line segment obtained by intersecting the hole center line with the triangle. If the area of the triangle CDE in fig. 2 is the maximum value of the triangles and the length of the line segment FG is greater than the line segments CJ, DH, EK, the triangle CDE is the desired triangle, so that the base plane is determined based on the plane in which the triangle CDE is located.
With continued reference to fig. 1, in step 120, second measurement point coordinates on the plurality of measured objects are acquired based on the non-contact coordinate system corresponding to the non-contact probe.
In the application, the accuracy of the coordinates of the first measuring point on the measured object obtained through the contact type measuring head is higher than that of the coordinates of the measuring point on the measured object obtained through the non-contact type probe. However, obtaining the measurement point on the measured object through the contact probe has a disadvantage that each measurement point needs to be actually measured through the contact probe. In the actual production process, the time cost of the precision evaluation of the measured object is greatly increased. Meanwhile, larger acquisition errors can occur at irregular structures of the measured object. Therefore, in order to ensure the accuracy of the accuracy evaluation of the measured object and improve the efficiency of the accuracy evaluation of the measured object, the accuracy of the measured object may be evaluated by combining the contact probe to acquire the first measurement point coordinates on the measured object and the non-contact probe to acquire the second measurement point coordinates on the measured object.
With continued reference to fig. 1, in step 130, in combination with the first measurement point coordinate, the second measurement point coordinate, the reference coordinate system, and the non-contact coordinate system, an adjustment angle corresponding to the reference coordinate system is determined, where the adjustment angle is used to make the non-contact coordinate system coincide with the reference coordinate system.
In the present application, since the reference coordinate system corresponding to the contact probe and the noncontact coordinate system corresponding to the noncontact probe are different, when the first measurement point coordinate on the measured object is acquired by combining the contact probe and the second measurement point coordinate on the measured object is acquired by the noncontact probe, the scan accuracy of the measured object needs to be evaluated, and the reference coordinate system corresponding to the contact probe and the noncontact coordinate system corresponding to the noncontact probe need to be analyzed and converted.
For example, under the condition that a non-contact coordinate system corresponding to the non-contact measuring head is unchanged, an adjustment angle corresponding to a reference coordinate system corresponding to the contact measuring head can be determined, and the non-contact coordinate system is enabled to coincide with the reference coordinate system, so that the scanning accuracy evaluation of the measured object is realized.
For example, the adjustment angle corresponding to the non-contact type measuring head can be determined under the condition that the reference coordinate system corresponding to the contact type measuring head is unchanged, and the non-contact type coordinate system is overlapped with the reference coordinate system, so that the scanning precision evaluation of the measured object is realized.
In an embodiment of the present application, the determining, by combining the first measurement point coordinate, the second measurement point coordinate, the reference coordinate system, and the non-contact coordinate system, an adjustment angle corresponding to the reference coordinate system specifically includes steps 131 to 132:
and 131, selecting a target point on the measured object, and determining a first measuring point coordinate and a second measuring point coordinate corresponding to the target point.
And 132, determining an adjustment angle corresponding to the reference coordinate system according to the first measurement point coordinate, the second measurement point coordinate, the reference coordinate system and the non-contact coordinate system, wherein the adjustment angle is a three-dimensional angle and is used for enabling the non-contact coordinate system to coincide with the reference coordinate system.
In this embodiment, when the first measurement point coordinate on the measured object is obtained by combining the contact measurement head with the second measurement point coordinate on the measured object, which is obtained by combining the non-contact measurement head, to evaluate the scanning accuracy of the measured object, a mode that the measurement point is unchanged and the coordinate system is changed may be adopted. Thus, a constant target point is first determined. And determining a first measuring point coordinate of the target point on a reference coordinate system corresponding to the contact measuring head based on the target point, and determining a second measuring point coordinate of the target point on a non-contact coordinate system corresponding to the non-contact measuring head. And then, carrying out correlation analysis on the first measuring point coordinate and the second measuring point coordinate according to the characteristics of the space coordinate system, so as to determine an adjustment angle corresponding to the reference coordinate system, wherein the adjustment angle is a three-dimensional angle and is used for enabling the reference coordinate system to coincide with the non-contact coordinate system.
Further, in an embodiment of the present application, the determining the adjustment angle corresponding to the reference coordinate system according to the first measurement point coordinate, the second measurement point coordinate, the reference coordinate system and the non-contact coordinate system specifically includes steps 133 to 134:
and step 133, determining the coordinate displacement variation and the coordinate rotation variation of the target point between the reference coordinate system and the non-contact coordinate system according to the first measuring point coordinate and the second measuring point coordinate corresponding to the target point.
And step 134, determining an adjustment angle corresponding to the reference coordinate system based on the coordinate displacement variation and the coordinate rotation variation, wherein the coordinate displacement variation represents the variation of the coordinate in the coordinate axis direction, and the coordinate rotation variation represents the angle variation of the coordinate in the coordinate axis.
In this embodiment, the spatial variation between the first measurement point coordinate and the second measurement point coordinate may include a translational variation and a rotational variation of the measurement point relative to an axis on the coordinate system. Therefore, the coordinate displacement variation and the coordinate rotation variation of the target point between the reference coordinate system and the noncontact coordinate system can be determined from the first measurement point coordinates and the second measurement point coordinates. And obtaining the adjustment angle corresponding to the reference coordinate system by analyzing and calculating the coordinate displacement variation and the coordinate rotation variation. The coordinate displacement variation represents the variation of the coordinate in the coordinate axis direction, and the coordinate rotation variation represents the angle variation of the coordinate in the coordinate axis.
Further, in the case where the target point is rotated based on the Z axis and translated in the X, Y and Z axis directions, the coordinates of the target point based on the adjustment angle are determined by the following formula:
wherein A is the coordinate of the target point before adjustment; a is that The coordinates of the target point after adjustment; t is the first matrix in the formula and is used for representing the rotation variation of the coordinates; r is a second matrix in the formula and is used for representing the coordinate displacement variation.
Specifically, referring to fig. 3, a graph of coordinate change of a target point is shown according to an embodiment of the present application. Fig. 3-1 shows coordinates a (x, y, z) of the target point a corresponding to the reference coordinate system, and fig. 3-2 shows coordinates A0 (x ", y", z ") of the target point a corresponding to the non-contact coordinate system. And determining the coordinate displacement variation and the coordinate rotation variation of the target point between the reference coordinate system and the non-contact coordinate system through calculation and analysis of the formula, so as to determine the corresponding adjustment angle alpha between the reference coordinate system and the non-contact coordinate system.
In summary, in the technical scheme of the application, first, the coordinates of the first measuring point on the measured object with higher accuracy are obtained through the contact measuring head. And determining a reference plane based on the first measuring point coordinate, so as to construct a reference coordinate system, wherein the reference plane is a plane where a triangle with the largest area formed by the first measuring point coordinate on the measured object is located. Meanwhile, based on the reference plane, the reference coordinate system can be enabled to be more in line with the measured object, and therefore errors in scanning the measured object can be reduced.
Then, based on a non-contact coordinate system corresponding to the non-contact probe, the second measuring point coordinate on the measured object is obtained through scanning of the non-contact probe, so that the obtaining efficiency of the second measuring point coordinate on the measured object can be improved.
And combining the first measuring point coordinate, the second measuring point coordinate, the reference coordinate system and the non-contact coordinate system, and determining an adjustment angle corresponding to the reference coordinate system, so that the non-contact coordinate system is overlapped with the reference coordinate system, and further the scanning accuracy evaluation of the measured object is realized.
Based on the scanning precision evaluation method, the non-contact probe can be combined on the basis of improving the accuracy of the constructed reference coordinate system, so that the scanning evaluation efficiency of the measured object is improved. Meanwhile, the cost of the real object detection tool can be saved.
The following describes an embodiment of the apparatus of the present application, which may be used to perform the scan accuracy evaluation method in the above-described embodiment of the present application. For details not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the scan precision evaluation method described in the present application.
Fig. 4 is a block diagram of a scanning accuracy evaluation apparatus according to an embodiment of the present application.
Referring to fig. 4, a scan accuracy evaluating apparatus 400 according to an embodiment of the present application, the apparatus 400 includes: a construction unit 401, configured to determine a reference plane according to a plurality of first measurement point coordinates on a measured object acquired by a contact measurement head, and construct a reference coordinate system according to the reference plane, where the reference plane is a plane where a triangle with a maximum area constructed by the first measurement point coordinates on the measured object is located; an obtaining unit 402, configured to obtain second measurement point coordinates on a plurality of measured objects based on a non-contact coordinate system corresponding to a non-contact probe; and the adjusting unit 403 is configured to determine an adjustment angle corresponding to the reference coordinate system by combining the first measurement point coordinate, the second measurement point coordinate, the reference coordinate system and the non-contact coordinate system, where the adjustment angle is used to make the non-contact coordinate system coincide with the reference coordinate system.
The construction unit 401 is further configured to: determining a hole center connecting line according to the first measuring point coordinates, wherein the hole center connecting line is a connecting line between any two hole centers on the measured object; constructing a triangle according to the first measuring point coordinates, wherein the triangle is constructed by any three first measuring point coordinates; acquiring a high minimum value of the triangle and an area of the triangle; determining an intersecting length according to the hole center connecting line and the triangle, wherein the intersecting length is the length of an intersecting line segment of the hole center connecting line and the triangle; and if the intersection length is larger than the minimum value and the area of the triangle is the maximum value of the areas in each triangle constructed by the coordinates of the first measuring point, determining the plane in which the triangle is positioned as a reference plane.
As another aspect, the present application also provides a computer readable storage medium having stored thereon a program product capable of implementing the method described herein. In some possible implementations, the various aspects of the present application may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps according to the various exemplary embodiments of the present application as described in the "exemplary methods" section of this specification, when the program product is run on the terminal device.
The computer readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
As another aspect, the present application further provides an electronic device capable of implementing the above method.
Those skilled in the art will appreciate that the various aspects of the present application may be implemented as a system, method, or program product. Accordingly, aspects of the present application may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system.
Fig. 5 is a schematic diagram showing a system structure of an electronic device according to an embodiment of the present application, and an electronic device 500 according to such an embodiment of the present application is described below with reference to fig. 5. The electronic device 500 shown in fig. 5 is merely an example, and should not be construed as limiting the functionality and scope of use of embodiments of the present application.
As shown in fig. 5, the electronic device 500 is embodied in the form of a general purpose computing device. The components of electronic device 500 may include, but are not limited to: the at least one processing unit 510, the at least one memory unit 520, and a bus 530 connecting the various system components, including the memory unit 520 and the processing unit 510.
Wherein the storage unit stores program code that is executable by the processing unit 510 such that the processing unit 510 performs steps according to various exemplary embodiments of the present application described in the above-mentioned "example methods" section of the present specification.
The storage unit 520 may include readable media in the form of volatile storage units, such as Random Access Memory (RAM) 521 and/or cache memory 522, and may further include Read Only Memory (ROM) 523.
The storage unit 520 may also include a program/utility 524 having a set (at least one) of program modules 525, such program modules 525 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
Bus 530 may be one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 500 may also communicate with one or more external devices 1200 (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 500, and/or any device (e.g., router, modem, etc.) that enables the electronic device 500 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 550. Also, electronic device 500 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 560. As shown, network adapter 560 communicates with other modules of electronic device 500 over bus 530. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 500, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a usb disk, a mobile hard disk, etc.) or on a network, and includes several instructions to cause a computing device (may be a personal computer, a server, a terminal device, or a network device, etc.) to perform the method according to the embodiments of the present application.
Furthermore, the above-described figures are only illustrative of the processes involved in the method according to exemplary embodiments of the present application, and are not intended to be limiting. It will be readily appreciated that the processes shown in the above figures do not indicate or limit the temporal order of these processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, for example, among a plurality of modules.
It is to be understood that the present application is not limited to the precise construction set forth above and shown in the drawings, and that various modifications and changes may be effected therein without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A scan accuracy evaluation method, the method comprising:
determining a reference plane according to a plurality of first measuring point coordinates on a measured object obtained by a contact measuring head, and constructing a reference coordinate system according to the reference plane, wherein the reference plane is a plane where a triangle with the largest area constructed by the first measuring point coordinates on the measured object is located;
acquiring second measuring point coordinates on a plurality of measured objects based on a non-contact coordinate system corresponding to the non-contact probe;
and determining an adjustment angle corresponding to the reference coordinate system by combining the first measuring point coordinate, the second measuring point coordinate, the reference coordinate system and the non-contact coordinate system, wherein the adjustment angle is used for enabling the non-contact coordinate system to coincide with the reference coordinate system.
2. The method of claim 1, wherein determining the reference plane based on the first plurality of measurement point coordinates on the object under test acquired by the contact probe comprises:
determining a hole center connecting line according to the first measuring point coordinates, wherein the hole center connecting line is a connecting line between any two hole centers on the measured object;
constructing a triangle according to the first measuring point coordinates, wherein the triangle is constructed by any three first measuring point coordinates;
the reference plane is determined based on the aperture line and the triangle.
3. The method of claim 2, wherein the determining the reference plane based on the hole center line and the triangle comprises:
acquiring a high minimum value of the triangle and an area of the triangle;
determining an intersecting length according to the hole center connecting line and the triangle, wherein the intersecting length is the length of an intersecting line segment of the hole center connecting line and the triangle;
and if the intersection length is larger than the minimum value and the area of the triangle is the maximum value of the areas in each triangle constructed by the coordinates of the first measuring point, determining the plane in which the triangle is positioned as a reference plane.
4. The method of claim 1, wherein the determining the adjustment angle corresponding to the reference coordinate system in combination with the first measurement point coordinate, the second measurement point coordinate, the reference coordinate system, and the non-contact coordinate system comprises:
selecting a target point on the measured object, and determining a first measuring point coordinate and a second measuring point coordinate corresponding to the target point;
and determining an adjustment angle corresponding to the reference coordinate system according to the first measuring point coordinate, the second measuring point coordinate, the reference coordinate system and the non-contact coordinate system, wherein the adjustment angle is a three-dimensional angle and is used for enabling the non-contact coordinate system to coincide with the reference coordinate system.
5. The method of claim 4, wherein the determining the adjustment angle corresponding to the reference coordinate system based on the first measurement point coordinate, the second measurement point coordinate, the reference coordinate system, and the non-contact coordinate system comprises:
according to the first measuring point coordinates and the second measuring point coordinates corresponding to the target point, determining the coordinate displacement variation and the coordinate rotation variation of the target point between the reference coordinate system and the non-contact coordinate system;
and determining an adjustment angle corresponding to the reference coordinate system based on the coordinate displacement variation and the coordinate rotation variation, wherein the coordinate displacement variation represents the variation of the coordinate in the coordinate axis direction, and the coordinate rotation variation represents the angle variation of the coordinate in the coordinate axis.
6. The method according to claim 5, wherein in case the target point is rotated based on the Z-axis and translated in the X-axis, Y-axis and Z-axis directions, the coordinates of the target point based on the adjusted angle are determined by the following formula:
wherein A is the coordinate of the target point before adjustment; a is that The coordinates of the target point after adjustment; t is the first matrix in the formula and is used for representing the rotation variation of the coordinates; r is a second matrix in the formula and is used for representing the coordinate displacement variation.
7. A scanning accuracy evaluation device, characterized in that the device comprises:
the construction unit is used for determining a reference plane according to a plurality of first measuring point coordinates on the measured object obtained by the contact measuring head and constructing a reference coordinate system according to the reference plane, wherein the reference plane is a plane where a triangle with the largest area constructed by the first measuring point coordinates on the measured object is located;
the acquisition unit is used for acquiring second measuring point coordinates on a plurality of measured objects based on a non-contact coordinate system corresponding to the non-contact probe;
and the adjusting unit is used for combining the first measuring point coordinate, the second measuring point coordinate, the reference coordinate system and the non-contact coordinate system to determine an adjusting angle corresponding to the reference coordinate system, and the adjusting angle is used for enabling the non-contact coordinate system to coincide with the reference coordinate system.
8. The apparatus of claim 7, wherein the construction unit is further configured to:
determining a hole center connecting line according to the first measuring point coordinates, wherein the hole center connecting line is a connecting line between any two hole centers on the measured object;
constructing a triangle according to the first measuring point coordinates, wherein the triangle is constructed by any three first measuring point coordinates;
acquiring a high minimum value of the triangle and an area of the triangle;
determining an intersecting length according to the hole center connecting line and the triangle, wherein the intersecting length is the length of an intersecting line segment of the hole center connecting line and the triangle;
and if the intersection length is larger than the minimum value and the area of the triangle is the maximum value of the areas in each triangle constructed by the coordinates of the first measuring point, determining the plane in which the triangle is positioned as a reference plane.
9. A computer readable storage medium having stored therein at least one program code loaded and executed by a processor to implement operations performed by the method of any of claims 1 to 6.
10. An electronic device comprising one or more processors and one or more memories, the one or more memories having stored therein at least one piece of program code that is loaded and executed by the one or more processors to implement the operations performed by the method of any of claims 1-6.
CN202311343527.XA 2023-10-13 2023-10-13 Scanning precision evaluation method, device, medium and electronic equipment Pending CN117553719A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311343527.XA CN117553719A (en) 2023-10-13 2023-10-13 Scanning precision evaluation method, device, medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311343527.XA CN117553719A (en) 2023-10-13 2023-10-13 Scanning precision evaluation method, device, medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN117553719A true CN117553719A (en) 2024-02-13

Family

ID=89822286

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311343527.XA Pending CN117553719A (en) 2023-10-13 2023-10-13 Scanning precision evaluation method, device, medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN117553719A (en)

Similar Documents

Publication Publication Date Title
CN110640746B (en) Method, system, equipment and medium for calibrating and positioning coordinate system of robot
CN108638062B (en) Robot positioning method, device, positioning equipment and storage medium
CN110640747A (en) Hand-eye calibration method and system for robot, electronic equipment and storage medium
US20080133173A1 (en) Method and system for measuring an image of an object
US7194387B1 (en) Apparatus and method for determining the minimum zone for an array of features with a true position tolerance
CN112824828B (en) Laser tracker station position determination method and system, electronic device and medium
CN112985867B (en) Steering engine testing method, device, equipment and storage medium
CN114449439A (en) Method and device for positioning underground pipe gallery space
CN110319771B (en) Online measurement method, device, system, electronic equipment and storage medium
CN117553719A (en) Scanning precision evaluation method, device, medium and electronic equipment
CN114460743B (en) Imaging effect analysis method, device, equipment and medium of image display equipment
CN111220100B (en) Laser beam-based measurement method, device, system, control device, and medium
CN110675445B (en) Visual positioning method, device and storage medium
CN113238906A (en) Touch performance testing method and system of curved surface display device and electronic equipment
CN115002906B (en) Object positioning method, device, medium and computing equipment
CN113256734A (en) Vehicle-mounted sensing sensor calibration method and system and electronic equipment
CN114043528B (en) Robot positioning performance test method, system, equipment and medium
CN114593704B (en) Method, device, equipment and medium for measuring curved surface part
CN117161550B (en) 2D platform compensation method and device and laser processing equipment
CN117906529B (en) Automatic balancing method and device for inclined space plane, electronic equipment and storage medium
CN117808898A (en) Method and device for calibrating pose of robot base, robot and medium
CN117669217A (en) Vehicle body size data processing method and device and electronic equipment
CN116907498A (en) Visible light communication map generation method, device, terminal and medium
CN115808155A (en) Vehicle-mounted radar installation angle calibration method and device, electronic equipment and storage medium
CN115661211A (en) Object detection method, device, equipment and medium based on point cloud

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination