CN117739891A - Correction method, device and medium for club instrument error - Google Patents
Correction method, device and medium for club instrument error Download PDFInfo
- Publication number
- CN117739891A CN117739891A CN202311598488.8A CN202311598488A CN117739891A CN 117739891 A CN117739891 A CN 117739891A CN 202311598488 A CN202311598488 A CN 202311598488A CN 117739891 A CN117739891 A CN 117739891A
- Authority
- CN
- China
- Prior art keywords
- error
- instrument
- displacement sensor
- cue stick
- ball arm
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000012937 correction Methods 0.000 title description 5
- 238000006073 displacement reaction Methods 0.000 claims abstract description 61
- 238000005259 measurement Methods 0.000 claims abstract description 42
- 238000009434 installation Methods 0.000 claims abstract description 34
- 239000002184 metal Substances 0.000 claims abstract description 16
- 238000000926 separation method Methods 0.000 claims abstract description 8
- 238000001514 detection method Methods 0.000 claims description 10
- 230000008859 change Effects 0.000 claims description 8
- 238000012886 linear function Methods 0.000 claims description 4
- 238000010438 heat treatment Methods 0.000 claims description 3
- 239000007769 metal material Substances 0.000 claims description 3
- 238000004590 computer program Methods 0.000 claims description 2
- 230000006870 function Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 238000012360 testing method Methods 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000013178 mathematical model Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000004445 quantitative analysis Methods 0.000 description 1
- 238000011158 quantitative evaluation Methods 0.000 description 1
- 239000000523 sample Substances 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
Landscapes
- Golf Clubs (AREA)
Abstract
The invention relates to a method, a device and a medium for correcting an error of a ball arm instrument, which comprise the following steps: s1, calculating the error of a linear displacement sensor of a ball arm instrument; s2, constructing an installation error identification separation model, and solving the installation error of the club instrument; s3, correcting measurement data of the ball arm instrument according to the linear displacement sensor error of the ball arm instrument and the installation error of the ball arm instrument obtained in the step S1 and the step S2; and S4, counteracting the thermal expansion of the metal ball in the ball arm instrument by adopting a thermal compensation mode, and further improving the measurement accuracy of the ball arm instrument. Compared with the prior art, the invention can eliminate errors caused by a plurality of interference items and improve the precision of the club instrument.
Description
Technical Field
The invention belongs to the technical field of club instrument detection, and particularly relates to a method, a device and a medium for correcting club instrument errors.
Background
The accuracy of the ball arm instrument, which is used as an instrument for calibrating other equipment such as a machine tool, is influenced by the sphericity of a metal ball and the roundness of a ball seat, and is also generally influenced by the accuracy of a linear displacement sensor, the installation error of the ball arm instrument and the environment. The accuracy of the linear displacement sensor is affected by the linear error and hysteresis of the displacement sensor, the linear error of the displacement sensor refers to the deviation between an actually measured displacement value and an ideal position, when the displacement of a measured object changes, the current or voltage output by the sensor also changes linearly, however, due to the influence of factors such as the limitation of the performance of the sensor, the temperature and humidity change, and the like, the current or voltage output by the sensor often deviates from the actual displacement value to a certain extent, so that the linear error is generated; the sensor hysteresis means that when the sensor measures a physical quantity, there is a certain delay between an output signal and an input signal due to the influence of internal mechanical, electronic and other factors. The ball arm instrument mainly comprises two precise metal balls and a telescopic connecting rod, a grating ruler sensor is arranged in the connecting rod, in the actual measurement process, the machine tool circle precision measurement work is completed through the coordination between the working ball and the cutter ball, the displacement of the machine tool is accurately detected, but in terms of actual conditions, the radius data obtained by actual measurement can not truly and accurately reflect the circle difference compensation movement track, the installation error of the ball arm instrument and the thermal expansion of the metal balls caused by the disturbance of the ambient temperature can seriously influence the machine tool circle measurement precision, and the distortion of the outline and the detail of the actual circle track by the measured circle track is extremely easy to cause, so that the actual performance of the machine tool circle movement can not be accurately reflected by the measured data. Therefore, it is necessary to design a method for correcting the error of the cue instrument, so as to eliminate the influence of multiple interference factors on the circle test precision to the greatest extent.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide a method, a device and a medium for correcting the error of a ball arm instrument, which are used for scientifically processing the round test data of a machine tool on the basis of controlling the installation error within a reasonable range, so as to eliminate a plurality of interference factors to the greatest extent and practically improve the round test precision.
The aim of the invention can be achieved by the following technical scheme:
a correction method of the error of a ball arm instrument comprises the following steps:
s1, calculating the error of a linear displacement sensor of a ball arm instrument;
s2, constructing an installation error identification separation model, and solving the installation error of the club instrument;
s3, correcting measurement data of the ball arm instrument according to the linear displacement sensor error of the ball arm instrument and the installation error of the ball arm instrument obtained in the step S1 and the step S2;
and S4, counteracting the thermal expansion of the metal ball in the ball arm instrument by adopting a thermal compensation mode, and further improving the measurement accuracy of the ball arm instrument.
Further, the step S1 specifically includes the following steps:
s101, starting a linear displacement sensor and a high-precision grating displacement sensor of a club instrument, and inputting the displacement and the moving speed of a linear motor;
s102, the linear motor moves according to the input displacement and the input moving speed, and detection signals of a linear displacement sensor and a high-precision grating displacement sensor are collected;
s103, drawing a deviation time curve according to the acquired detection signals, converting the deviation time curve into a linear displacement sensor error curve of the club instrument, and analyzing and obtaining the linear displacement sensor error of the club instrument.
Further, the selection process of the high-precision grating displacement sensor is as follows: and measuring the hysteresis errors of the high-precision grating displacement sensors for a plurality of times, calculating an average value, and selecting the high-precision grating displacement sensor with the minimum hysteresis error average value.
Further, the hysteresis error is a percentage value of the maximum difference value of the output between the forward and reverse strokes and the full-scale output.
Further, the step S2 specifically includes the following steps:
s201, acquiring original measurement data of a club instrument, and performing sine fitting to obtain a sine fitting curve;
s202, further fitting the sinusoidal fitting curve by using a linear function, establishing an installation error identification separation model, and outputting an installation error.
Further, in step S4, the thermal compensation mode is to install a temperature controller on the club instrument, and the temperature controller calculates an output signal according to an error between a current temperature value obtained by measurement and a set value, and starts heating or exhausting air to keep the ambient temperature of the club instrument relatively constant.
Further, in step S4, the thermal compensation method is to install a temperature sensor on the club instrument, calculate the length change due to thermal expansion by combining the thermal expansion coefficient of the metal material with the temperature data measured by the temperature sensor, and correct the actual measurement result of the club instrument.
Further, in step S4, the thermal compensation method calculates a temperature compensation coefficient according to the diameter and length changes of the metal ball and the club of the club instrument at different temperatures, and corrects the actual measurement result of the club instrument based on the temperature compensation coefficient.
The invention also provides an electronic device, which comprises a memory, a processor and a program stored in the memory, wherein the processor realizes the method when executing the program.
The present invention also provides a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the above method.
Compared with the prior art, the invention has the following beneficial effects:
1. according to the invention, the linear displacement sensor error of the club instrument and the installation error of the club instrument are obtained, the measurement data of the club instrument are corrected, the thermal expansion of the metal ball in the club instrument is counteracted by adopting a thermal compensation mode, the measurement precision of the club instrument is further improved, the errors caused by a plurality of interference items can be eliminated, and the precision of the club instrument is improved.
2. According to the invention, the high-precision grating displacement sensor is used for correcting and compensating the measurement precision of the whole system, so that the influence of errors of the linear displacement sensor is further reduced; the method comprises the steps of further fitting a sinusoidal fitting curve of original measurement data by using a linear function, establishing an installation error identification separation model, and outputting an installation error; according to the invention, the thermal expansion of the metal ball in the ball arm instrument is counteracted by a thermal compensation mode, the error caused by environmental change is eliminated, the serious influence on the testing precision of the machine tool circle caused by the thermal expansion of the metal ball due to environmental temperature disturbance is reduced, and the ball arm detection data is more accurate and reliable.
Drawings
FIG. 1 is a schematic flow chart of the present invention.
Detailed Description
The invention will now be described in detail with reference to the drawings and specific examples. The present embodiment is implemented on the premise of the technical scheme of the present invention, and a detailed implementation manner and a specific operation process are given, but the protection scope of the present invention is not limited to the following examples.
Examples:
the embodiment provides a method for correcting an error of a cue instrument, as shown in fig. 1, comprising the following steps:
s1, solving the error of a linear displacement sensor of a ball arm instrument, which specifically comprises the following steps:
s101, starting a linear displacement sensor and a high-precision grating displacement sensor of a club instrument, and inputting the displacement and the moving speed of a linear motor;
s102, a linear motor moves according to input displacement and moving speed, and meanwhile, a detection probe is driven to move relative to a linear displacement sensor or a fixed part of a high-precision grating displacement sensor of a cue instrument, and detection signals of the linear displacement sensor and the high-precision grating displacement sensor are collected;
s103, drawing a deviation time curve according to the acquired detection signals, converting the deviation time curve into a linear displacement sensor error curve of the club instrument, and analyzing and obtaining the linear displacement sensor error of the club instrument.
The selection process of the high-precision grating displacement sensor is as follows: step S101-step S103 is firstly executed by a high-precision grating displacement sensor, then the step S101-step S103 is continuously repeated by replacing the sensor with a more accurate and stable sensor, whether the replaced sensor is more accurate than the high-precision grating displacement sensor is verified, and a method for quantitatively analyzing the sensor hysteresis error is adopted: hysteresis error gamma of grating displacement sensor replaced by multiple measurement H The calculation formula of (2) is as follows:
wherein DeltaH max Is the maximum difference value of output between positive and negative strokes, y FS Is the full scale output. Three measurements were made in this example:
first measurement:
second measurement:
third measurement:
if the hysteresis error of the replacement sensor is smaller than that of the high-precision grating displacement sensor, its average value should be closer to zero, and the standard deviation should be smaller than that of the high-precision grating displacement sensor. In summary, to verify whether a replacement sensor is more accurate than a high-precision grating displacement sensor, it is necessary to compare the measurements of the two sensors and calculate relevant statistical indicators to evaluate their performance. If the replacement sensor has a higher accuracy and stability, its measurement should be more reliable. And (3) carrying out a plurality of groups of experiments and data analysis to measure the actual linear displacement sensor error, drawing a deviation time curve according to the detection signals and outputting the deviation time curve as a linear displacement sensor error dynamic displacement feedback error curve of the club instrument, and carrying out quantitative analysis and evaluation on the hysteresis of the sensor by describing a mathematical model of the sensor hysteresis through a sensor hysteresis calculation formula.
S2, constructing an installation error identification separation model, and solving the installation error of the club instrument, wherein the method specifically comprises the following steps of:
s201, acquiring original measurement data of a ball arm instrument, accurately calculating corresponding measurement radiuses, drawing the measurement radiuses under a coordinate system, and when an installation error exists under a rectangular coordinate system, displaying the profile of the measurement data as a sine function, if the installation error changes under the condition, displaying the characteristic of the sine function as a certain degree of change, performing sine fitting on the measurement data of a machine tool circle, and accurately calculating a fitting expression by means of MATLAB, so that the fitted phase and amplitude data can have high uniformity, and the effect of comparison analysis is practically ensured; because the installation errors have certain differences, the abscissa of the installation error angle is used for fitting the obtained sine function as the ordinate;
s202, the influence of the installation error of the club instrument on the contour sine function is small, the contour sine function characteristics are not obvious only when the installation error is too small, so that larger errors are generated in the fitting process, the curve deviation is larger, the fitted sine function curve is fitted through a linear function according to the change rule of the curve, the installation error identification separation model is built, and the installation error is output.
The precision of the machine tool circle test is extremely easy to be influenced by perpendicularity errors, proportion errors, reverse pitch errors and the like, so that the precision of the machine tool circle interpolation motion is influenced by different degrees, the pitch errors, vibration errors, reverse jump errors and the like do not influence the whole outline of the motion circle track, only fluctuation with low amplitude is caused locally, the circle track is caused to take an elliptical shape due to the perpendicularity errors, proportion errors and the like, and a set of new data is generated through mathematical software and is used as radius data of the actual circle interpolation motion;
the installation error of the ball arm instrument is very easy to cause deformation of a circular track measured by a machine tool, compared with an actual circular interpolation track, certain radius distortion and corner distortion are presented, so that the actual precision of circular motion of the machine tool is difficult to truly and accurately reflect by machine tool measurement data, when the installation error exists, the outline of the measurement data under a right-angle small scale system can present the characteristic of a sine curve with the period of 2 pi, and when the installation error changes, the characteristic of the sine curve also changes correspondingly, therefore, the simulation experiment can initially prove that the installation error contained in the measurement data of the ball arm instrument can be identified with high precision by the proposed method.
S3, correcting the measurement data of the ball arm instrument according to the linear displacement sensor error of the ball arm instrument and the installation error of the ball arm instrument obtained in the step S1 and the step S2.
And S4, counteracting the thermal expansion of the metal ball in the ball arm instrument by adopting a thermal compensation mode, and further improving the measurement accuracy of the ball arm instrument. The thermal compensation mode can be that a temperature compensation controller is arranged on the upper surface of the club instrument, the temperature controller can calculate an output signal according to the error between the current temperature value obtained by measurement and the set value, and heating or air exhaust is started to keep the ambient temperature of the club instrument relatively constant. The thermal compensation method may be to install a temperature sensor on the cue stick, calculate a change in length due to thermal expansion by combining the thermal expansion coefficient of the metal material with temperature data measured by the temperature sensor, and correct an actual measurement result of the cue stick. The thermal compensation mode can also be to calculate a temperature compensation coefficient according to the change condition of the diameter and the length of the metal ball and the ball of the ball arm instrument at different temperatures, and correct the actual measurement result of the ball arm instrument based on the temperature compensation coefficient.
In a preferred embodiment, the compensation parameters can be obtained by adopting software at the same time, and the compensation parameters are realized by designing a metal ball thermal expansion correction model. Connecting a ball arm instrument with a computer, opening ball arm instrument detection software Ballbar Trace, opening XCAL-View data analysis software, rapidly detecting and inspecting the Ballbar Trace software to acquire data of thermal expansion of a metal ball, establishing a thermal expansion correction model of the metal ball through MATLAB, and designing by adopting the existing compensation algorithm based on a back propagation neural network. The club is placed on a club instrument, relevant parameters are set, and multiple groups of experiments are carried out and compared under the environments of different room temperatures and humidity. Clicking the 'adjust compensation parameter' button to enter the compensation parameter adjustment interface. And on the compensation parameter adjustment interface, parameter adjustment is carried out according to the prompt, parameters are saved after the parameter adjustment is completed, and the adjustment of the compensation parameters is carried out regularly.
The above-described method, if implemented in the form of a software functional unit 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 invention 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 invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The previous description of the embodiments is provided to facilitate a person of ordinary skill in the art in order to make and use the present invention. It will be apparent to those skilled in the art that various modifications can be readily made to these embodiments and the generic principles described herein may be applied to other embodiments without the use of the inventive faculty. Therefore, the present invention is not limited to the above-described embodiments, and those skilled in the art, based on the present disclosure, should make improvements and modifications without departing from the scope of the present invention.
Claims (10)
1. The method for correcting the error of the ball arm instrument is characterized by comprising the following steps:
s1, calculating the error of a linear displacement sensor of a ball arm instrument;
s2, constructing an installation error identification separation model, and solving the installation error of the club instrument;
s3, correcting measurement data of the ball arm instrument according to the linear displacement sensor error of the ball arm instrument and the installation error of the ball arm instrument obtained in the step S1 and the step S2;
and S4, counteracting the thermal expansion of the metal ball in the ball arm instrument by adopting a thermal compensation mode, and further improving the measurement accuracy of the ball arm instrument.
2. The method for correcting an error of a cue stick as claimed in claim 1, wherein the step S1 specifically comprises the steps of:
s101, starting a linear displacement sensor and a high-precision grating displacement sensor of a club instrument, and inputting the displacement and the moving speed of a linear motor;
s102, the linear motor moves according to the input displacement and the input moving speed, and detection signals of a linear displacement sensor and a high-precision grating displacement sensor are collected;
s103, drawing a deviation time curve according to the acquired detection signals, converting the deviation time curve into a linear displacement sensor error curve of the club instrument, and analyzing and obtaining the linear displacement sensor error of the club instrument.
3. The method for correcting an error of a cue stick according to claim 2, wherein the high-precision grating displacement sensor is selected by the following steps: and measuring the hysteresis errors of the high-precision grating displacement sensors for a plurality of times, calculating an average value, and selecting the high-precision grating displacement sensor with the minimum hysteresis error average value.
4. A method of correcting a cue stick error as claimed in claim 3, wherein the hysteresis error is a percentage value of the maximum difference in output between forward and reverse strokes and the full scale output.
5. The method for correcting an error of a cue stick as claimed in claim 1, wherein the step S2 comprises the steps of:
s201, acquiring original measurement data of a club instrument, and performing sine fitting to obtain a sine fitting curve;
s202, further fitting the sinusoidal fitting curve by using a linear function, establishing an installation error identification separation model, and outputting an installation error.
6. The method for correcting error of a cue stick according to claim 1, wherein in step S4, the thermal compensation mode is to install a temperature controller on the cue stick, the temperature controller calculates an output signal according to the error between the current temperature value obtained by measurement and the set value, and starts heating or exhausting air to keep the ambient temperature of the cue stick relatively constant.
7. The method for correcting error of a cue stick according to claim 1, wherein in step S4, the thermal compensation method is to install a temperature sensor on the cue stick, calculate a length change due to thermal expansion by combining thermal expansion coefficient of a metal material with temperature data measured by the temperature sensor, and correct an actual measurement result of the cue stick.
8. The method for correcting error of a cue stick according to claim 7, wherein in the step S4, the thermal compensation method is to calculate a temperature compensation coefficient according to the diameter and length of the metal ball of the cue stick and the cue stick at different temperatures, and correct the actual measurement result of the cue stick based on the temperature compensation coefficient.
9. An electronic device comprising a memory, a processor, and a program stored in the memory, wherein the processor implements the method of any of claims 1-8 when executing the program.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311598488.8A CN117739891A (en) | 2023-11-27 | 2023-11-27 | Correction method, device and medium for club instrument error |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311598488.8A CN117739891A (en) | 2023-11-27 | 2023-11-27 | Correction method, device and medium for club instrument error |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117739891A true CN117739891A (en) | 2024-03-22 |
Family
ID=90276611
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311598488.8A Pending CN117739891A (en) | 2023-11-27 | 2023-11-27 | Correction method, device and medium for club instrument error |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117739891A (en) |
-
2023
- 2023-11-27 CN CN202311598488.8A patent/CN117739891A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7079969B2 (en) | Dynamic artefact comparison | |
CN109060279B (en) | Error analysis method for measuring bridge deflection by tilt angle sensor | |
CN101918792B (en) | Method for calibrating a coordinate measuring device and coordinate measuring device | |
US20050283989A1 (en) | Method of inspecting workpieces on a measuring machine | |
CN107588742A (en) | A kind of cylindrical gear profile bias measurement method based on line-structured light | |
CN104376211A (en) | Method for assessing measurement uncertainty of coordinate measuring machine | |
CN111998919B (en) | Gas meter calibration method and device | |
CN101427100A (en) | Method of error correction | |
CN109813225A (en) | A kind of flexible arm coordinate measuring machine space error compensation method | |
CN111666659B (en) | Modeling method for thermal error of complete machine tool | |
CN115638718A (en) | Big data-based displacement detection device operation environment detection system | |
CN113031514B (en) | R-test calibration uncertainty evaluation method based on metrology | |
KR20050016099A (en) | Measuring method and apparatus | |
JP2012145551A (en) | R-shape measuring device, r-shape measuring method, and r-shape measuring program | |
JP2727067B2 (en) | Shape measuring instruments | |
Van Gestel et al. | Determining measurement uncertainties of feature measurements on CMMs | |
CN117739891A (en) | Correction method, device and medium for club instrument error | |
Jakubkovič et al. | Displacement Measurement in the Vertical Axis of the Measuring Microscope using Laser Triangulation Sensor | |
CN111693083B (en) | Online temperature and humidity instrument in-situ calibration method | |
US10533833B2 (en) | Method and apparatus for characterising instrument error | |
CN113362456A (en) | Measuring instrument construction method and system based on digital twinning technology | |
CN104819703B (en) | A kind of angle of inclination parameter fitness method that fulcrum is sensed for inclination angle | |
JP2004108959A (en) | Shape measuring apparatus | |
JP2015175704A (en) | Calibration method of measurement instrument and device thereof | |
CN118519106B (en) | Radar positioning device and calibration method |
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 |