[go: up one dir, main page]

CN119309494B - Box body calibration and bottom surface ranging compensation method and system - Google Patents

Box body calibration and bottom surface ranging compensation method and system Download PDF

Info

Publication number
CN119309494B
CN119309494B CN202411874504.6A CN202411874504A CN119309494B CN 119309494 B CN119309494 B CN 119309494B CN 202411874504 A CN202411874504 A CN 202411874504A CN 119309494 B CN119309494 B CN 119309494B
Authority
CN
China
Prior art keywords
coordinate data
ranging
value
box body
standard
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.)
Active
Application number
CN202411874504.6A
Other languages
Chinese (zh)
Other versions
CN119309494A (en
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.)
Haikeshong Manufacturing Intelligent Technology Qingdao Co ltd
Original Assignee
Haikeshong Manufacturing Intelligent Technology Qingdao Co ltd
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 Haikeshong Manufacturing Intelligent Technology Qingdao Co ltd filed Critical Haikeshong Manufacturing Intelligent Technology Qingdao Co ltd
Priority to CN202411874504.6A priority Critical patent/CN119309494B/en
Publication of CN119309494A publication Critical patent/CN119309494A/en
Application granted granted Critical
Publication of CN119309494B publication Critical patent/CN119309494B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/002Measuring arrangements characterised by the use of optical techniques for measuring two or more coordinates
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/02Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness
    • G01B11/03Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness by measuring coordinates of points
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/24Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/30Measuring arrangements characterised by the use of optical techniques for measuring roughness or irregularity of surfaces

Landscapes

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

Abstract

本发明基于测量的技术领域,公开了一种箱体标定和底面测距补偿方法及系统,其中补偿方法包括以下步骤:选择一箱体的放置位置为标准位置,并确定所述标准位置处的箱体的基准面标准测距值和底面标准测距值;采集待测箱体基准面的坐标数据,记为第一坐标数据;采集待测箱体底面的坐标数据,记为第二坐标数据;计算所述基准面上的法向量,并结合所述第一坐标数据和所述第二坐标数据计算待测箱体的底面理论测距值;根据所述底面理论测距值计算对应测点的偏差值,所述偏差值用于计算所述待测箱体的轮廓度和平面度。本发明提出的标定和补偿方法,实现非相对测量,提高了测量精度;可应用于在线检测,结合非接触式测量,效率高,不影响产线生产节拍。

The present invention is based on the technical field of measurement, and discloses a box calibration and bottom surface distance measurement compensation method and system, wherein the compensation method includes the following steps: selecting a placement position of a box as a standard position, and determining the reference surface standard distance measurement value and the bottom surface standard distance measurement value of the box at the standard position; collecting the coordinate data of the reference surface of the box to be measured, recorded as the first coordinate data; collecting the coordinate data of the bottom surface of the box to be measured, recorded as the second coordinate data; calculating the normal vector on the reference surface, and calculating the bottom surface theoretical distance measurement value of the box to be measured in combination with the first coordinate data and the second coordinate data; calculating the deviation value of the corresponding measuring point according to the bottom surface theoretical distance measurement value, and the deviation value is used to calculate the contour and flatness of the box to be measured. The calibration and compensation method proposed by the present invention realizes non-relative measurement and improves the measurement accuracy; it can be applied to online detection, combined with non-contact measurement, with high efficiency and no impact on the production line production rhythm.

Description

Box body calibration and bottom surface ranging compensation method and system
Technical Field
The invention relates to the technical field of measurement, in particular to a box body calibration and bottom surface ranging compensation method and system.
Background
The housing is the basic part of a number of machines that unites the modules of related components of the machine in a single unit that maintains the correct relative positions to perform a given movement or function. The box part variety is many, and the structure is complicated, and its bottom surface machined surface is a large amount of planes mainly, often bears the higher core module of precision requirement. For example, the battery case type case carries a power battery pack. Therefore, the machined surface of the bottom surface of the box body generally has higher requirements on flatness and surface roughness, and the quality of the bottom surface directly influences the performance, the precision and the service life of the machine.
The existing three-coordinate measuring machine measuring technology is a common technology for detecting the quality of the bottom surface of the box body at present, has high precision and comprehensive size detection, is low in measuring efficiency and is not suitable for on-line detection, and the emerging relative measuring technology in recent years has high requirements on the precision of a positioning clamp and is not suitable for a clamp-free production line such as tray conveying. So far, no suitable technology for detecting the bottom surface of the box body of the clamp-free production line exists.
In summary, there is a need to design a method and a system for calibrating a case and compensating for ranging from the bottom surface to the top surface to solve the above-mentioned problems in the prior art.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a box body calibration and bottom surface ranging compensation method and system, which solve the problem that the bottom surface of the box body on the existing clamp-free production line is not easy to correct.
In order to achieve the above purpose, the invention adopts the following technical scheme:
a box body calibration and bottom surface ranging compensation method comprises the following steps:
s1, selecting a placement position of a box body as a standard position, and determining a standard ranging value of a reference surface and a standard ranging value of a bottom surface of the box body at the standard position;
S2, collecting coordinate data of a reference surface of the box body to be detected, and recording the coordinate data as first coordinate data;
s3, calculating a normal vector on the reference plane, and calculating a theoretical ranging value of the bottom surface of the box to be measured by combining the first coordinate data and the second coordinate data;
and S4, calculating a deviation value of a corresponding measuring point according to the bottom surface theoretical distance measurement value, wherein the deviation value is used for calculating the contour degree and the plane degree of the box body to be measured.
In some embodiments of the present invention, the calculation formula of the bottom surface theoretical ranging value in the step S3 is:
;
The method comprises the steps of determining a bottom surface theoretical ranging value, wherein H i is the bottom surface theoretical ranging value, (X 1,Y1,Z1) is any acquisition point coordinate in first coordinate data, (X F,YF,ZF) is a normal vector on a reference surface, X i and Y i are data in the X direction and the Y direction in second coordinate data, H L is a bottom surface standard ranging value, H is a reference surface standard ranging value, and m is the bottom surface ranging number of a box body.
In some embodiments of the present invention,
The calculation formula of the deviation value in the step S4 is as follows:
;
Wherein D i is an offset value, H i is the bottom surface theoretical distance measurement value, and Z i is the data in the Z direction in the second coordinate data.
In some embodiments of the present invention, the step S2 further includes performing data filtering on the collected first coordinate data and second coordinate data, where the data filtering includes local outlier filtering and gaussian filtering.
In some embodiments of the present invention, the step S1 further includes establishing a workpiece coordinate system using coordinate data of the reference surface of the case, and measuring the reference surface standard ranging value and the bottom surface standard ranging value under the workpiece coordinate system.
In some embodiments of the present invention, there is provided a tank calibration and floor ranging compensation system comprising:
the coordinate acquisition module is used for acquiring reference plane coordinate data and bottom surface coordinate data of the box body;
A standard position confirmation module for determining a standard ranging value of a reference surface and a standard ranging value of a bottom surface of the case at the standard position;
the data processing module is used for calculating a bottom surface theoretical ranging value and an offset value of the box body to be measured according to the reference surface coordinate data and the bottom surface coordinate data, and calculating the contour degree and the flatness of the box body to be measured;
and the communication module is used for communicating with external equipment.
In some embodiments of the invention, the coordinate acquisition module comprises a robot and a ranging sensor fixed at the tail end of the arm of the robot, wherein the robot is used for acquiring coordinate data in the X direction and the Y direction, and the ranging sensor is used for acquiring coordinate data in the Z direction.
In some embodiments of the present invention, the data processing module is further configured to store reference plane coordinate data and bottom plane coordinate data of the case, and is further configured to perform zero removal filtering on the reference plane coordinate data and the bottom plane coordinate data.
In some embodiments of the present invention, there is provided an electronic device including:
a processor, and a memory and transceiver communicatively coupled to the processor;
the transceiver is used for receiving and transmitting data;
the processor executes the computer-executable instructions stored by the memory to implement the compensation approach described above.
In some embodiments of the present invention, there is provided a computer-readable storage medium, characterized in that,
The computer readable storage medium has stored therein computer executable instructions which when executed by a processor are adapted to implement the compensation method described above.
Compared with the prior art, the technical scheme of the invention has the following technical effects:
The calibration and compensation method provided by the invention realizes non-relative measurement, improves measurement accuracy, can be applied to online detection, combines non-contact measurement, has high efficiency, and does not influence production line production beats.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a compensation method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of the compensation system;
fig. 3 is a schematic structural diagram of the electronic device.
Reference numeral 100, a compensation system, 110, a coordinate acquisition module, 120, a standard position confirmation module, 130, a data processing module, 140, a communication module, 200, an electronic device, 210, a processor, 220, a memory, 230 and a transceiver.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In the description of the present application, it should be understood that the terms "center," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like indicate orientations or positional relationships based on the orientation or positional relationships shown in the drawings, merely to facilitate describing the present application and simplify the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present application.
The terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present application, unless otherwise indicated, the meaning of "a plurality" is two or more.
In the description of the present application, unless explicitly stated and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected, mechanically connected, directly connected, or indirectly connected via an intermediary. The specific meaning of the above terms in the present application will be understood in specific cases by those of ordinary skill in the art.
In the present invention, unless expressly stated or limited otherwise, a first feature "above" or "below" a second feature may include both the first and second features being in direct contact, as well as the first and second features not being in direct contact but being in contact with each other through additional features therebetween. Moreover, a first feature being "above," "over" and "on" a second feature includes the first feature being directly above and obliquely above the second feature, or simply indicating that the first feature is higher in level than the second feature. The first feature being "under", "below" and "beneath" the second feature includes the first feature being directly under and obliquely below the second feature, or simply means that the first feature is less level than the second feature.
The following disclosure provides many different embodiments, or examples, for implementing different features of the invention. In order to simplify the present disclosure, components and arrangements of specific examples are described below. They are, of course, merely examples and are not intended to limit the invention. Furthermore, the present invention may repeat reference numerals and/or letters in the various examples, which are for the purpose of brevity and clarity, and which do not themselves indicate the relationship between the various embodiments and/or arrangements discussed.
Embodiment 1 referring to fig. 1, a method for calibrating a case and compensating for ranging from a bottom surface comprises the following steps:
s1, selecting a placement position of a box body as a standard position, and determining a standard ranging value of a reference surface and a standard ranging value of a bottom surface of the box body at the standard position;
S11, fixing the ranging sensor at the tail end of the robot, and preferentially leveling and supporting the tool during installation, so as to ensure that the laser rays emitted by the ranging sensor are perpendicular to the reference surface of the box body at the standard position as much as possible.
For the standard position, the placement position of the first box body on the production line is taken as the standard position for the box bodies in the same batch, and the position calibration of the subsequent box bodies refers to the relative position relation between the calibration and the standard position.
In the embodiment, three points are collected on the reference surface, the reference surface standard ranging values of the three points are adjusted to be H, and the positions of the three collected points are dispersed as much as possible, so that absolute positioning precision errors of the robot in the X direction and the Y direction can be reduced.
S13, the robot applies coordinates of three points in the step S12 to establish a workpiece coordinate system;
The robot teaches the measuring position of the bottom surface of the box body under the workpiece coordinate system, at the moment, the ranging sensor moves to the top surface position of the box body, and the measured bottom surface standard ranging value of the box body is H L, so that all the Z values of the measuring positions are theoretically the same and equal to the bottom surface standard ranging value H L.
And S14, storing the acquired box coordinate data in the standard position into an upper computer for subsequent calculation and retrieval.
S2, collecting coordinate data of a reference surface of the box body to be detected, and recording the coordinate data as first coordinate data;
s21, firstly, moving a ranging sensor to a reference plane, and collecting first coordinate data (X, Y, Z) of a box to be measured, wherein X and Y are coordinates of a robot in a sampling point, and Z is a measured value of the ranging sensor;
S22, moving the ranging sensor to the top surface position of the box body, and collecting second coordinate data (x, y, z) of the box body to be measured, wherein x and y are coordinates of a robot in the process of collecting points, and z is a measured value of the ranging sensor;
S23, the first coordinate data and the second coordinate data are transmitted to an upper computer by a PLC, then zero removal and filtration are carried out, wherein the different box sizes and the different precision requirements are different, the quantity of bottom surface measuring points is different, so that the PLC needs to reserve enough memory to store measurement data and robot coordinate values, and the data in the X/Y/Z directions in the first coordinate data and the second coordinate data are respectively located in 3 memory sections, and the values default to 0. During measurement, the PLC sequentially adds data from the head, so that the continuity of the measured data in the memory is ensured, and all default values 0 are at the tail. After the measurement is completed, the upper computer extracts all data from the PLC at one time and stores the data into 3 lists. Each list deletes a value of 0 from the end until the first non-0 value is encountered and the deletion is stopped. After zero removal filtering, the data in the 3 lists are the same.
S24, under the influence of the roughness of the bottom surface of the box body and the working principle of the ranging sensor, abnormal data possibly exist in the measured value, and the upper computer provides two abnormal value filtering methods:
and (3) local outlier filtering, namely, an algorithm for filtering the local outlier data is applied to the formula (1) and the formula (2), n is the local data quantity, and p is the coordinate value. If it is T is a threshold value,;The P i value is unchanged.
Gaussian filtering, namely removing abnormal point data according to the rule from measured data to enable all data values to be located inBetween the ranges. And then smoothing by Gaussian filtering to eliminate Gaussian noise, wherein a one-dimensional Gaussian filtering data model is shown in a formula (3). All outlier values are replaced with the average of the non-outliers.
S3, calculating a normal vector on the reference plane, and calculating a theoretical ranging value of the bottom surface of the box to be measured by combining the first coordinate data and the second coordinate data;
S31, establishing a coordinate system, wherein the ranging sensor collects three points on a reference surface of the box body, the coordinates are (X1,Y1,Z1)、(X2,Y2,Z2)、(X3,Y3,Z3), respectively, X and Y are coordinate values when the robot collects the points, and Z is a measured value of the ranging sensor. The vector consisting of the three points is ,The normal vector calculation of the box reference plane is shown in formula (4).
;
S32, moving the ranging sensor to the top surface of the box body to be detected to collect coordinates of the measuring pointM is the number of measurement points on the bottom surface of the box body, x and y are coordinate values when the robot picks up points, and z is the measured value of the ranging sensor, namely the bottom surface ranging value.
The calculation formula of the bottom surface theoretical distance measurement value is as follows:
;
Wherein, The theoretical ranging value of the bottom surface is (X 1,Y1,Z1) any acquisition point coordinate in the first coordinate data, in this embodiment, the origin position on the reference surface in the step S31, (X F,YF,ZF) the normal vector on the reference surface, X i and Y i are the data in the X direction and the Y direction in the second coordinate data, namely the position coordinate of the robot when the top surface of the box body is to be measured, H L is the standard ranging value of the bottom surface, H is the standard ranging value of the reference surface, and m is the number of the bottom surface of the box body.
And S4, calculating a deviation value of a corresponding measuring point according to the bottom surface theoretical distance measurement value, wherein the deviation value is used for calculating the contour degree and the plane degree of the box body to be measured.
S41, calculating a deviation value by using the bottom surface theoretical ranging value in the step:
;
Wherein D i is an offset value, H i is the bottom surface theoretical distance measurement value, and Z i is the data in the Z direction in the second coordinate data.
S42, calculating the profile degree, the flatness and other measured values under the ISO or ASME standard according to the deviation value D i.
The software can set and store the standard ranging value H of the reference surface and the standard ranging value H L of the bottom surface of different box parts so as to adapt to the optimal measuring distance of different sensors.
The ranging sensor must be calibrated periodically to ensure its measurement accuracy.
Compared with the prior art, the technical scheme of the invention has the following technical effects:
The calibration and compensation method provided by the invention realizes non-relative measurement, improves measurement accuracy, can be applied to online detection, combines non-contact measurement, has high efficiency, and does not influence production line production beats.
Example 2a case calibration and bottom ranging compensation system 100 and an electronic device 200.
For the compensation system 100, as shown with reference to fig. 2, comprising:
A coordinate acquisition module 110 for acquiring reference plane coordinate data and bottom plane coordinate data of the box body;
A standard position confirmation module 120 for determining a standard ranging value of a reference surface and a standard ranging value of a bottom surface of the case at the standard position;
The data processing module 130 is used for calculating a theoretical ranging value and an offset value of the bottom surface of the box to be measured according to the datum plane coordinate data and the bottom surface coordinate data, and also is used for calculating the contour degree and the flatness of the box to be measured;
and a communication module 140 for communicating with an external device.
The coordinate acquisition module 110 comprises a robot and a ranging sensor fixed at the tail end of an arm of the robot, wherein the robot is used for acquiring coordinate data in the X direction and the Y direction, and the ranging sensor is used for acquiring coordinate data in the Z direction.
In some embodiments of the present invention, the data processing module 130 is further configured to store the datum plane coordinate data and the bottom plane coordinate data of the box, and is further configured to perform zero removal filtering on the datum plane coordinate data and the bottom plane coordinate data.
It should be understood that the compensation system herein is embodied in the form of a functional module. The term module herein may refer to an Application Specific Integrated Circuit (ASIC), an electronic circuit, a processor (e.g., a shared, dedicated, or group processor, etc.) and memory that execute one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that support the described functionality. In an alternative example, it will be understood by those skilled in the art that the compensation system may be specifically the electronic device 200 in the foregoing embodiment, or the functions of the electronic device 200 in the foregoing embodiment may be integrated in the compensation system, and the compensation system may be used to perform each flow and/or step corresponding to the electronic device 200 in the foregoing method embodiment, which is not described herein for avoiding repetition.
The compensation system has a function of implementing the corresponding steps executed by the electronic device 200 of the compensation method in embodiment 1, and the function may be implemented by hardware or may be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the functions described above. For example, the acquisition module may be a communication interface, such as a transceiver interface.
In an embodiment of the present application, the compensation system in FIG. 1 may also be a chip or a system-on-chip (SoC), for example.
Referring to fig. 3, in the present embodiment, there is provided an electronic apparatus 200 including:
a processor 210, and a memory 220 and a transceiver 230 communicatively coupled to the processor;
the memory 220 stores computer-executable instructions, the transceiver 230 for transceiving data;
the processor 210 executes computer-executable instructions stored in the memory 220 to implement the compensation approach of embodiment 1.
It should be understood that the electronic device 200 may be configured to perform the corresponding steps and/or flows of the method embodiments described above. Alternatively, the memory 220 may include read-only memory and random access memory, and provide instructions and data to the processor. A portion of memory 220 may also include non-volatile random access memory. For example, the memory 220 may also store information of the device type. The processor 210 may be configured to execute instructions stored in the memory 220, and when the processor 210 executes the instructions, the processor 210 may perform corresponding steps and/or flows in the above-described method embodiments.
It should be appreciated that in embodiments of the present application, the processor 210 may be a central processing unit (c e n t r a lprocessing unit, CPU), and the processor 210 may also be other general purpose processors, digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In implementation, the steps of the above method may be performed by integrated logic circuitry in hardware or instructions in software in processor 210. The steps of a method disclosed in connection with an embodiment of the present application may be embodied directly in hardware processor execution or in a combination of hardware and software modules in the processor 210. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory, and the processor executes instructions in the memory to perform the steps of the method described above in conjunction with its hardware. To avoid repetition, a detailed description is not provided herein.
Embodiment 3 in this embodiment, a computer-readable storage medium having stored therein computer-executable instructions that, when executed by a processor, are configured to implement the compensation approach of embodiment 1 is provided.
In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. The storage medium includes a U disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
Compared with the prior art, the technical scheme of the invention has the following technical effects:
The calibration and compensation method provided by the invention realizes non-relative measurement and has high precision, and the position calibration is carried out by the ranging sensor to eliminate the absolute positioning precision error of the robot;
The calibration and compensation method can be applied to online detection, combines non-contact measurement, has high efficiency, does not influence the production beat of a production line, does not need a positioning clamp, and has low cost and wide application range.
In the description of the above embodiments, particular features, structures, materials, or characteristics may be combined in any suitable manner in any one or more embodiments or examples.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any changes or substitutions easily contemplated by those skilled in the art within the scope of the present invention should be included in the scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (9)

1. The box body calibration and bottom surface ranging compensation method is characterized by comprising the following steps of:
s1, selecting a placement position of a box body as a standard position, and determining a standard ranging value of a reference surface and a standard ranging value of a bottom surface of the box body at the standard position;
the ranging sensor collects points on a reference surface of the box body positioned at the standard position, and standard ranging values of the reference surface of the adjusting points are all H;
Moving the ranging sensor to the top surface of the box body, and measuring the standard ranging value of the bottom surface of the box body to be H L;
S2, collecting coordinate data of a reference surface of the box body to be detected, and recording the coordinate data as first coordinate data;
s3, calculating a normal vector on the reference plane, and calculating a theoretical ranging value of the bottom surface of the box to be measured by combining the first coordinate data and the second coordinate data;
the calculation formula of the bottom surface theoretical distance measurement value is as follows:
;
Wherein H i is the theoretical ranging value of the bottom surface, (X 1,Y1,Z1) is any acquisition point coordinate in the first coordinate data, (X F,YF,ZF) is the normal vector on the reference surface, X i and Y i are the data in the X direction and the Y direction in the second coordinate data, H L is the standard ranging value of the bottom surface, H is the standard ranging value of the reference surface, and m is the number of the bottom surface of the box body;
and S4, calculating a deviation value of a corresponding measuring point according to the bottom surface theoretical distance measurement value, wherein the deviation value is used for calculating the contour degree and the plane degree of the box body to be measured.
2. The method for calibrating and compensating for bottom ranging of a tank according to claim 1, wherein the formula for calculating the deviation value in step S4 is:
;
Wherein D i is an offset value, H i is the bottom surface theoretical distance measurement value, and Z i is the data in the Z direction in the second coordinate data.
3. The method according to claim 1, wherein the step S2 further comprises performing data filtering on the collected first coordinate data and second coordinate data, and the data filtering includes local outlier filtering and gaussian filtering.
4. The method according to claim 1, wherein the step S1 further comprises establishing a workpiece coordinate system using coordinate data of a reference surface of the case, and measuring the bottom standard ranging value under the workpiece coordinate system.
5. A tank calibration and floor ranging compensation system, characterized in that it implements the method according to any one of claims 1-4, comprising:
the coordinate acquisition module is used for acquiring reference plane coordinate data and bottom surface coordinate data of the box body;
A standard position confirmation module for determining a standard ranging value of a reference surface and a standard ranging value of a bottom surface of the case at the standard position;
the data processing module is used for calculating a bottom surface theoretical ranging value and an offset value of the box body to be measured according to the reference surface coordinate data and the bottom surface coordinate data, and calculating the contour degree and the flatness of the box body to be measured;
and the communication module is used for communicating with external equipment.
6. The system for calibrating and compensating for bottom ranging of a tank according to claim 5, wherein the coordinate acquisition module comprises a robot and a ranging sensor fixed at the end of an arm of the robot, wherein the robot is used for acquiring coordinate data in an X direction and a Y direction, and the ranging sensor is used for acquiring coordinate data in a Z direction.
7. The system of claim 5, wherein the data processing module is further configured to store reference plane coordinate data and bottom plane coordinate data of the case, and further configured to zero filter the reference plane coordinate data and the bottom plane coordinate data.
8. An electronic device, comprising:
a processor, and a memory and transceiver communicatively coupled to the processor;
the transceiver is used for receiving and transmitting data;
The processor executes computer-executable instructions stored in the memory to implement the method of any one of claims 1-4.
9. A computer-readable storage medium comprising,
Stored in the computer readable storage medium are computer executable instructions for implementing the method according to any one of claims 1-4 when executed by a processor.
CN202411874504.6A 2024-12-19 2024-12-19 Box body calibration and bottom surface ranging compensation method and system Active CN119309494B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411874504.6A CN119309494B (en) 2024-12-19 2024-12-19 Box body calibration and bottom surface ranging compensation method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411874504.6A CN119309494B (en) 2024-12-19 2024-12-19 Box body calibration and bottom surface ranging compensation method and system

Publications (2)

Publication Number Publication Date
CN119309494A CN119309494A (en) 2025-01-14
CN119309494B true CN119309494B (en) 2025-03-18

Family

ID=94191919

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411874504.6A Active CN119309494B (en) 2024-12-19 2024-12-19 Box body calibration and bottom surface ranging compensation method and system

Country Status (1)

Country Link
CN (1) CN119309494B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022262571A1 (en) * 2021-06-17 2022-12-22 中交疏浚技术装备国家工程研究中心有限公司 System for automated measurement of levelness of end surface of tunnel ring
CN117606422A (en) * 2023-11-09 2024-02-27 歌尔光学科技有限公司 Product profile measurement correction method and system based on mold features

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10307001A (en) * 1997-03-07 1998-11-17 Matsushita Electric Ind Co Ltd Method and apparatus for measuring fine surface profile
CN103245309B (en) * 2013-05-21 2017-12-12 杭州鼎热科技有限公司 A kind of laser evenness measurement Error Compensation method
CN103983219B (en) * 2014-06-06 2017-01-25 中国科学院光电技术研究所 In-situ measurement method for large-size flatness
IT201700068661A1 (en) * 2017-06-20 2018-12-20 Moro Spa PLANARITY CONTROL OF SHEETS
CN111272166A (en) * 2020-02-27 2020-06-12 中国重汽集团济南动力有限公司 Space positioning method and system based on laser ranging guiding robot
CN111590581B (en) * 2020-05-26 2021-10-22 珠海格力智能装备有限公司 Positioning compensation method and device for robot
CN114218626A (en) * 2021-12-07 2022-03-22 中北大学 The Adjustment Method of Surface Body Positioning Datum Plane Based on Nonlinear Least Squares
CN114670192B (en) * 2022-03-16 2024-08-27 江西瑞祥智能装备有限公司 Calibration method and device for robot workpiece coordinate system, storage medium and terminal
CN116852355A (en) * 2023-06-26 2023-10-10 上海拓璞数控科技股份有限公司 Space pose measurement system and method for reference point

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022262571A1 (en) * 2021-06-17 2022-12-22 中交疏浚技术装备国家工程研究中心有限公司 System for automated measurement of levelness of end surface of tunnel ring
CN117606422A (en) * 2023-11-09 2024-02-27 歌尔光学科技有限公司 Product profile measurement correction method and system based on mold features

Also Published As

Publication number Publication date
CN119309494A (en) 2025-01-14

Similar Documents

Publication Publication Date Title
US10422619B2 (en) Identification of geometric deviations of a motion guide in a coordinate-measuring machine or in a machine tool
US20090150108A1 (en) Hysteresis compensation in a coordinate measurement machine
CN107588742A (en) A kind of cylindrical gear profile bias measurement method based on line-structured light
TWI509218B (en) System and method for compensating perpendicular error of axes of three dimensional measuring machine
CN103940380A (en) A flatness testing method and device thereof
CN108827149A (en) A kind of turntable scaling method based on line laser displacement sensor and diffusing reflection gauge block
CN110132195B (en) 3D Radius Compensation Method of Probe Ball for Contact Scanning Measurement of Blade Section
CN108465950A (en) Method, device and system for detecting cutting precision of laser cutting machine
CN104190963A (en) Device and method of tool setting of digital controlled lathe based on machine vision
CN118237956B (en) Workpiece alignment method, device and system, electronic equipment and storage medium
CN115979118B (en) Device and method for measuring verticality error and error azimuth angle of cylindrical part
CN110014329A (en) Intelligent tool set test platform in a kind of cutting process
CN119309494B (en) Box body calibration and bottom surface ranging compensation method and system
CN112525131B (en) Method and system for measuring curvature of workpiece by non-contact distance sensor array
CN117400428A (en) Blade cutting height determination method, device, apparatus, storage medium and system
CN111815580B (en) Image edge recognition method and small module gear module detection method
CN109813264A (en) The method and device of measuring result error assessment
CN108844469A (en) A kind of method and system based on laser testing workpiece step height
CN116989704B (en) Comprehensive detection method, system and storage medium for wafer surface flatness
CN208720953U (en) A kind of wagon wheel diameter detection ruler
CN207866200U (en) A kind of measuring device of gear cutting tool
TWI444586B (en) System and method for detecting form-position tolerances of an object
CN114571507A (en) Method and device for detecting error of end tool of orthopaedic surgical robot
CN108168456A (en) A new method is taken in a kind of laser scanning inspection
JP2007101279A (en) Correction coefficient determining method of rectangular coordinate moving mechanism, and collecting method of measuring data

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
GR01 Patent grant
GR01 Patent grant