[go: up one dir, main page]

CN116049603B - Grating ruler measurement error compensation method - Google Patents

Grating ruler measurement error compensation method Download PDF

Info

Publication number
CN116049603B
CN116049603B CN202310121347.0A CN202310121347A CN116049603B CN 116049603 B CN116049603 B CN 116049603B CN 202310121347 A CN202310121347 A CN 202310121347A CN 116049603 B CN116049603 B CN 116049603B
Authority
CN
China
Prior art keywords
grating
sub
error
working environment
code channel
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
CN202310121347.0A
Other languages
Chinese (zh)
Other versions
CN116049603A (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.)
Guangdong University of Technology
Original Assignee
Guangdong University of Technology
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 Guangdong University of Technology filed Critical Guangdong University of Technology
Priority to CN202310121347.0A priority Critical patent/CN116049603B/en
Publication of CN116049603A publication Critical patent/CN116049603A/en
Application granted granted Critical
Publication of CN116049603B publication Critical patent/CN116049603B/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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/762Arrangements for image or video recognition or understanding using pattern recognition or machine learning using clustering, e.g. of similar faces in social networks
    • G06V10/763Non-hierarchical techniques, e.g. based on statistics of modelling distributions
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/77Processing image or video features in feature spaces; using data integration or data reduction, e.g. principal component analysis [PCA] or independent component analysis [ICA] or self-organising maps [SOM]; Blind source separation
    • G06V10/80Fusion, i.e. combining data from various sources at the sensor level, preprocessing level, feature extraction level or classification level
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/84Arrangements for image or video recognition or understanding using pattern recognition or machine learning using probabilistic graphical models from image or video features, e.g. Markov models or Bayesian networks
    • G06V10/85Markov-related models; Markov random fields

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Artificial Intelligence (AREA)
  • Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Data Mining & Analysis (AREA)
  • Probability & Statistics with Applications (AREA)
  • Mathematical Physics (AREA)
  • Algebra (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Computational Mathematics (AREA)
  • Pure & Applied Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

本发明提供一种光栅尺测量误差补偿方法,包括以下步骤:S1:构建初始误差补偿模型和多维有界优化模型;S2:由亚像素级定位网络根据输入的光栅图像提取亚像素码道定位图;S3:在任务空间中根据亚像素码道定位图构建回归树,输出关联各干扰因素的回归结果并将回归结果迁移到多维有界优化模型;S4:由多维有界优化模型根据回归结果反馈补偿条件到亚像素级定位网络;S5:由亚像素级定位网络根据补偿条件提取新的亚像素码道定位图输入到译码层,输出的译码结果作为准确的测量结果,完成光栅尺测量误差补偿。本发明提供一种光栅尺测量误差补偿方法,解决了光栅尺的测量精度往往受到多种误差因素影响的问题。

The present invention provides a grating ruler measurement error compensation method, comprising the following steps: S1: constructing an initial error compensation model and a multidimensional bounded optimization model; S2: extracting a sub-pixel code channel positioning map according to an input grating image by a sub-pixel positioning network; S3: constructing a regression tree in a task space according to the sub-pixel code channel positioning map, outputting regression results associated with various interference factors and migrating the regression results to the multidimensional bounded optimization model; S4: feeding back compensation conditions to the sub-pixel positioning network according to the regression results by the multidimensional bounded optimization model; S5: extracting a new sub-pixel code channel positioning map according to the compensation conditions by the sub-pixel positioning network and inputting it into a decoding layer, and outputting the decoding result as an accurate measurement result to complete the grating ruler measurement error compensation. The present invention provides a grating ruler measurement error compensation method, which solves the problem that the measurement accuracy of the grating ruler is often affected by multiple error factors.

Description

Grating ruler measurement error compensation method
Technical Field
The invention relates to the technical field of precision measurement, in particular to a grating ruler measurement error compensation method.
Background
Ultra-precise manufacturing and processing in the micro-nano field is a breakthrough development plan object in the key field of China, and is one of important preconditions for realizing the transition from manufacturing China to manufacturing China. The grating ruler is used as a core measuring device of micro-nano ultra-precise machining equipment, is inevitably influenced by multiple interference factors in the measuring process, and severely restricts the reliability and the improvement of the measuring precision.
The measurement accuracy of the grating ruler is often affected by various error factors, and common errors mainly comprise four types of photoelectric system errors, vibration errors, tool errors and temperature errors. The common method for correcting the measuring precision of the grating ruler is to separate and correct the four errors singly. In addition, it has been proposed that geometric errors, vibrations or thermal inhomogeneities of the grating scale cause relative displacements and mechanical deformations of the structural components, resulting in measurement errors, and numerical simulation algorithms are proposed to estimate the measurement errors, but these methods merely compare the numerical results with theoretical values, and are difficult to obtain in essence. The method quantitatively describes grating auxiliary errors, guide rail errors and workbench errors, establishes a total error model of the grating measurement system, and experiments prove that the model can improve the accuracy of the grating measurement system, but the model considers that all errors contribute to the accuracy of the system identically, so that the model only adds a random error item after carrying out simple linear superposition on all error items. In practice, the contribution of the errors to the system accuracy is often unequal and a simple linear superposition is not possible.
Therefore, no better error compensation method exists at present for the measuring precision errors of the grating ruler caused by a plurality of error factors.
Disclosure of Invention
The invention provides a grating ruler measurement error compensation method for overcoming the technical defect that the measurement accuracy of a grating ruler is often influenced by various error factors.
In order to solve the technical problems, the technical scheme of the invention is as follows:
a grating ruler measurement error compensation method comprises the following steps:
s1, constructing an initial error compensation model and a multi-dimensional bounded optimization model;
the initial error compensation model includes a sub-pixel level positioning network, a decoding layer and a task space,
The multi-dimensional bounded optimization model is established by taking a coupling error of a minimum multi-interference factor as an objective function;
S2, extracting a sub-pixel code channel positioning map by a sub-pixel level positioning network according to the input grating image;
s3, constructing a regression tree in a task space according to the sub-pixel code channel locating diagram, outputting regression results related to each interference factor and migrating the regression results to a multi-dimensional bounded optimization model;
s4, feeding back compensation conditions to the sub-pixel level positioning network according to the regression result by using the multi-dimensional bounded optimization model;
And S5, extracting a new sub-pixel code channel positioning map by the sub-pixel level positioning network according to the compensation condition, inputting the new sub-pixel code channel positioning map into a decoding layer, taking the output decoding result as an accurate measurement result, and completing the measurement error compensation of the grating ruler.
In the scheme, an initial error compensation model and a multi-dimensional bounded optimization model are constructed, the initial error compensation model and the multi-dimensional bounded optimization model are fused through parameter migration, regression results related to all interference factors are obtained according to a grating image during measurement, corresponding compensation conditions are fed back by the multi-dimensional bounded optimization model, and finally accurate measurement results are obtained according to the compensation conditions, so that the error compensation of the grating ruler for measuring the multi-interference factors is realized.
Preferably, the sub-pixel code track map is extracted from the input raster image by:
A1, extracting a multi-scale feature subgraph from an input grating image;
a2, carrying out code channel rough positioning according to the multi-scale characteristic subgraph to obtain a rough code channel positioning graph;
A3, obtaining a sub-pixel code channel locating map according to the multi-scale characteristic subgraph and the coarse code channel locating map.
Preferably, the decoding layer obtains the decoding result by adopting a table look-up mode.
Preferably, the reward function of constructing the regression tree is:
Wherein R i represents the value of the bonus function at the current time, R i-1 represents the value of the bonus function at the previous time, P π represents the conversion function of the task space and the feature set under the current strategy, Representing the mathematical transpose of the transfer function, pi R representing the R-dimension representation of the parameter s, a representing the error value corresponding to the parameter s at the current time, and D representing the set of image features.
Preferably, a source task iteration strategy is introduced to accelerate migration learning:
Qt+τ(st,)=(1-a)Qt(st+)
+[Q(St,)+(St+a,)+…+(st+τ-1,)/
Wherein Q t+τ(st,) represents an action cost function of the target scale error compensation model, t represents the number of iterations, S t represents a state quantity at t iterations, a represents a proportional coefficient of the allocated action cost function, Q t(st +a ') represents an action cost function of the source scale error compensation model, α' represents an action, Q (·) represents a cost function, S t+1 represents a state quantity at t+1, S t+τ-1 represents a state quantity at a previous time, and τ represents the number of subtasks.
Preferably, the disturbance factors include temperature errors and vibration errors.
Preferably, the multidimensional bounded optimization model is:
s.t.t1≥T≥t2
f1≥F≥f2
a1≥A≥a2
wherein, C' (. Cndot.) represents a multi-interference factor coupling error, e 1 (T) represents a temperature error, e 2 (A, F) represents a vibration error, T represents a temperature of a grating scale working environment, A represents a vibration amplitude of the grating scale working environment, F represents a vibration frequency of the grating scale working environment, T 1 represents an upper temperature boundary of the grating scale working environment, T 2 represents a lower temperature boundary of the grating scale working environment, F 1 represents an upper vibration frequency boundary of the grating scale working environment, F 2 represents a lower vibration frequency boundary of the grating scale working environment, a 1 represents an upper vibration amplitude boundary of the grating scale working environment, and a 2 represents a lower vibration amplitude boundary of the grating scale working environment.
Preferably, the method further comprises the constraint condition of optimizing the multidimensional bounded optimization model, specifically:
and dividing the interference factor intervals based on a K-means clustering method, respectively calculating errors of temperature, frequency and amplitude, respectively calculating the support degree and the confidence coefficient of the errors, measuring a dullness candidate interval set between the interference factors and the errors, and selecting an interval for obviously inhibiting the grating ruler errors.
Preferably, the method further comprises the following steps:
under the constraint condition of optimization, converting the multidimensional bounded optimization model into the following unconstrained optimization problem:
Wherein I α (·) represents a penalty function, t i represents an upper or lower bound to the temperature of the grating scale working environment, f i represents an upper or lower bound to the frequency of the grating scale working environment, a i represents an upper or lower bound to the amplitude of the grating scale working environment, u represents a calculation parameter of the penalty function, and α represents an Indicator function approximation factor.
Preferably, the regression result S n is a set of error parameters including temperature error and vibration error.
Compared with the prior art, the technical scheme of the invention has the beneficial effects that:
The invention provides a grating ruler measurement error compensation method, which comprises the steps of constructing an initial error compensation model and a multi-dimensional bounded optimization model, fusing the initial error compensation model and the multi-dimensional bounded optimization model through parameter migration, acquiring a regression result associated with each interference factor according to a grating image during measurement, feeding back corresponding compensation conditions through the multi-dimensional bounded optimization model, and finally obtaining an accurate measurement result according to the compensation conditions to realize the grating ruler measurement multi-interference factor error compensation.
Drawings
FIG. 1 is a flow chart of the steps performed in the technical scheme of the invention;
FIG. 2 is a schematic diagram of a regression tree construction process according to the present invention;
FIG. 3 is a flow chart of constraints for optimizing a multidimensional bounded optimization model in accordance with the present invention;
FIG. 4 is a schematic diagram of a multi-dimensional dense measurement compensation matrix according to the present invention.
Detailed Description
The drawings are for illustrative purposes only and are not to be construed as limiting the present patent;
for the purpose of better illustrating the embodiments, certain elements of the drawings may be omitted, enlarged or reduced and do not represent the actual product dimensions;
It will be appreciated by those skilled in the art that certain well-known structures in the drawings and descriptions thereof may be omitted.
The technical scheme of the invention is further described below with reference to the accompanying drawings and examples.
Example 1
As shown in fig. 1, a method for compensating measuring errors of a grating ruler comprises the following steps:
s1, constructing an initial error compensation model and a multi-dimensional bounded optimization model;
the initial error compensation model includes a sub-pixel level positioning network, a decoding layer and a task space,
The multi-dimensional bounded optimization model is established by taking a coupling error of a minimum multi-interference factor as an objective function;
S2, extracting a sub-pixel code channel positioning map by a sub-pixel level positioning network according to the input grating image;
s3, constructing a regression tree in a task space according to the sub-pixel code channel locating diagram, outputting regression results related to each interference factor and migrating the regression results to a multi-dimensional bounded optimization model;
s4, feeding back compensation conditions to the sub-pixel level positioning network according to the regression result by using the multi-dimensional bounded optimization model;
And S5, extracting a new sub-pixel code channel positioning map by the sub-pixel level positioning network according to the compensation condition, inputting the new sub-pixel code channel positioning map into a decoding layer, taking the output decoding result as an accurate measurement result, and completing the measurement error compensation of the grating ruler.
In the specific implementation process, an initial error compensation model and a multi-dimensional bounded optimization model are constructed, the initial error compensation model and the multi-dimensional bounded optimization model are fused through parameter migration, regression results related to all interference factors are obtained according to grating images during measurement, corresponding compensation conditions are fed back through the multi-dimensional bounded optimization model, and finally accurate measurement results are obtained according to the compensation conditions, so that the error compensation of measuring the multi-interference factors by a grating ruler is realized.
Example 2
A grating ruler measurement error compensation method comprises the following steps:
s1, constructing an initial error compensation model and a multi-dimensional bounded optimization model;
the initial error compensation model includes a sub-pixel level positioning network, a decoding layer and a task space,
More specifically, the decoding layer obtains a decoding result by adopting a table look-up mode, and the coding layer in the decoding layer generates corresponding codes based on a laser etching mode of absolute coding stripes on the glass substrate.
The multi-dimensional bounded optimization model is established by taking a coupling error of a minimum multi-interference factor as an objective function;
S2, extracting a sub-pixel code channel positioning map by a sub-pixel level positioning network according to the input grating image;
More specifically, the sub-pixel code channel localization map is extracted from the input raster image by:
A1, extracting a multi-scale feature subgraph from an input grating image;
a2, carrying out code channel rough positioning according to the multi-scale characteristic subgraph to obtain a rough code channel positioning graph;
A3, obtaining a sub-pixel code channel locating map according to the multi-scale characteristic subgraph and the coarse code channel locating map.
S3, constructing a regression tree in a task space according to the sub-pixel code channel locating diagram, outputting regression results related to each interference factor and migrating the regression results to a multi-dimensional bounded optimization model;
In the specific implementation process, as shown in fig. 2, a regression tree is constructed by dividing the task space through an iteration step, and features of the task space are extracted through an optimization step by using a markov process. The iterative step carries out regression operation on different error types in the task space, carries out linear regression on each group of data to obtain respective corresponding temperature error, vibration error and amplitude error, and the optimization step carries out characteristic extraction on the input image, including but not limited to inclination angle, vibration degree, image definition and the like, and prepares parameters for fusion, namely migration learning, of the next step and a multidimensional bounded constraint model. The subtasks include task nodes which are various image characterizations, the root task is a decoding task in a new environment, and the subtasks are equivalent to dividing the following tasks, so that the task processing speed is improved.
More specifically, the reward function of constructing the regression tree is:
Wherein R i represents the value of the bonus function at the current time, R i-1 represents the value of the bonus function at the previous time, P π represents the conversion function of the task space and the feature set under the current strategy, Representing the mathematical transpose of the transfer function, pi R representing the R-dimension representation of the parameter s, a representing the error value corresponding to the parameter s at the current time, and D representing the set of image features.
More specifically, a source task iteration strategy is introduced to accelerate migration learning:
Qt+τ(st,)=(1-a)Qt(st+)
+[Q(St,)+(St+1,)+…+(st+τ-1,)/
Wherein Q t+τ(st,) represents an action cost function of the target scale error compensation model, t represents the number of iterations, S t represents a state quantity at t iterations, a represents a proportional coefficient of the allocated action cost function, Q t(st+) represents an action cost function of the source scale error compensation model, α represents an action, Q (·) represents a cost function, S t+1 represents a state quantity at t+1, S t+τ-1 represents a state quantity at a previous time, and τ represents the number of subtasks.
In the specific implementation process, the correction degree of the model parameters of the new reward function is judged through the action acceleration function.
S4, feeding back compensation conditions to the sub-pixel level positioning network according to the regression result by using the multi-dimensional bounded optimization model;
And S5, extracting a new sub-pixel code channel positioning map by the sub-pixel level positioning network according to the compensation condition, inputting the new sub-pixel code channel positioning map into a decoding layer, taking the output decoding result as an accurate measurement result, and completing the measurement error compensation of the grating ruler.
Example 3
A grating ruler measurement error compensation method comprises the following steps:
s1, constructing an initial error compensation model and a multi-dimensional bounded optimization model;
the initial error compensation model includes a sub-pixel level positioning network, a decoding layer and a task space,
More specifically, the decoding layer obtains a decoding result by adopting a table look-up mode, and the coding layer in the decoding layer generates corresponding codes based on a laser etching mode of absolute coding stripes on the glass substrate.
The multi-dimensional bounded optimization model is established by taking a coupling error of a minimum multi-interference factor as an objective function;
more specifically, the disturbance factors include a temperature error and a vibration error.
More specifically, the multidimensional bounded optimization model is:
s.t.t1≥T≥t2
f1≥F≥f2
a1≥A≥a2
Wherein (·) represents a multi-interference factor coupling error, e 1 () represents a temperature error, e 2 (, F) represents a vibration error, T represents a temperature of a grating scale working environment, a represents a vibration amplitude of the grating scale working environment, F represents a vibration frequency of the grating scale working environment, T 1 represents an upper temperature boundary of the grating scale working environment, T 2 represents a lower temperature boundary of the grating scale working environment, F 1 represents an upper vibration frequency boundary of the grating scale working environment, F 2 represents a lower vibration frequency boundary of the grating scale working environment, a 1 represents an upper vibration amplitude boundary of the grating scale working environment, and a 2 represents a lower vibration amplitude boundary of the grating scale working environment.
More specifically, as shown in fig. 3, the constraint condition for optimizing the multidimensional bounded optimization model is further included, specifically:
and dividing the interference factor intervals based on a K-means clustering method, respectively calculating errors of temperature, frequency and amplitude, respectively calculating the support degree and the confidence coefficient of the errors, measuring a dullness candidate interval set between the interference factors and the errors, and selecting an interval for obviously inhibiting the grating ruler errors.
More specifically, the method further comprises the following steps:
under the constraint condition of optimization, converting the multidimensional bounded optimization model into the following unconstrained optimization problem:
Wherein I α (·) represents a penalty function, t i represents an upper or lower bound to the temperature of the grating scale working environment, f i represents an upper or lower bound to the frequency of the grating scale working environment, α i represents an upper or lower bound to the amplitude of the grating scale working environment, u represents a calculation parameter of the penalty function, and α represents an Indicator function approximation factor.
In the specific implementation process, the method for solving the unconstrained optimization problem is adopted to solve the above-mentioned problems, so that decoupling of the grating ruler measurement error coupling model is completed, the optimal error suppression experimental condition for the grating ruler measurement is found, data interpretation is provided for the action mechanism of the multi-interference factors on the grating ruler measurement accuracy NSFC 2020, the high-dimensional nonlinear coupling mechanism of the grating ruler measurement error is revealed, and a theoretical basis is provided for the grating ruler measurement error compensation.
S2, extracting a sub-pixel code channel positioning map by a sub-pixel level positioning network according to the input grating image;
More specifically, the sub-pixel code channel localization map is extracted from the input raster image by:
A1, extracting a multi-scale feature subgraph from an input grating image;
a2, carrying out code channel rough positioning according to the multi-scale characteristic subgraph to obtain a rough code channel positioning graph;
A3, obtaining a sub-pixel code channel locating map according to the multi-scale characteristic subgraph and the coarse code channel locating map.
S3, constructing a regression tree in a task space according to the sub-pixel code channel locating diagram, outputting regression results related to each interference factor and migrating the regression results to a multi-dimensional bounded optimization model;
More specifically, the regression result S n is a set of error parameters including temperature error and vibration error.
More specifically, the reward function of constructing the regression tree is:
Wherein R i represents the value of the bonus function at the current time, R i-1 represents the value of the bonus function at the previous time, P π represents the conversion function of the task space and the feature set under the current strategy, Representing the mathematical transpose of the transfer function, pi R representing the R-dimension representation of the parameter s, a representing the error value corresponding to the parameter s at the current time, and D representing the set of image features.
More specifically, a source task iteration strategy is introduced to accelerate migration learning:
Qt+τ(st,)=(1-a)Qt(st+)
+[Q(St,)+(St+1,)+…+(st+τ-1,)/
Wherein Q t+τ(st,) represents an action cost function of the target scale error compensation model, t represents the number of iterations, S t represents a state quantity at t iterations, a represents a proportional coefficient of the allocated action cost function, Q t(st+) represents an action cost function of the source scale error compensation model, α represents an action, Q (·) represents a cost function, S t+1 represents a state quantity at t+1, S t+τ-1 represents a state quantity at a previous time, and τ represents the number of subtasks.
S4, feeding back compensation conditions to the sub-pixel level positioning network according to the regression result by using the multi-dimensional bounded optimization model;
And S5, extracting a new sub-pixel code channel positioning map by the sub-pixel level positioning network according to the compensation condition, inputting the new sub-pixel code channel positioning map into a decoding layer, taking the output decoding result as an accurate measurement result, and completing the measurement error compensation of the grating ruler.
In the specific implementation process, a multidimensional dense measurement compensation matrix shown in fig. 4 is constructed, and the grating ruler searches the corresponding measurement compensation matrix for feedback and image correction according to a regression result S n (current working environment) associated with each interference factor during measurement, so that accurate error compensation is realized.
It is to be understood that the above examples of the present invention are provided by way of illustration only and not by way of limitation of the embodiments of the present invention. Other variations or modifications of the above teachings will be apparent to those of ordinary skill in the art. It is not necessary here nor is it exhaustive of all embodiments. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the invention are desired to be protected by the following claims.

Claims (10)

1. The grating ruler measuring error compensation method is characterized by comprising the following steps of:
s1, constructing an initial error compensation model and a multi-dimensional bounded optimization model;
the initial error compensation model includes a sub-pixel level positioning network, a decoding layer and a task space,
The multi-dimensional bounded optimization model is established by taking a coupling error of a minimum multi-interference factor as an objective function;
S2, extracting a sub-pixel code channel positioning map by a sub-pixel level positioning network according to the input grating image;
s3, constructing a regression tree in a task space according to the sub-pixel code channel locating diagram, outputting regression results related to each interference factor and migrating the regression results to a multi-dimensional bounded optimization model;
s4, feeding back compensation conditions to the sub-pixel level positioning network according to the regression result by using the multi-dimensional bounded optimization model;
And S5, extracting a new sub-pixel code channel positioning map by the sub-pixel level positioning network according to the compensation condition, inputting the new sub-pixel code channel positioning map into a decoding layer, taking the output decoding result as an accurate measurement result, and completing the measurement error compensation of the grating ruler.
2. The method for compensating measurement errors of a grating scale according to claim 1, wherein the sub-pixel code channel map is extracted from the input grating image by:
A1, extracting a multi-scale feature subgraph from an input grating image;
a2, carrying out code channel rough positioning according to the multi-scale characteristic subgraph to obtain a rough code channel positioning graph;
A3, obtaining a sub-pixel code channel locating map according to the multi-scale characteristic subgraph and the coarse code channel locating map.
3. The method for compensating measurement errors of a grating ruler according to claim 1, wherein the decoding layer obtains the decoding result by adopting a table look-up method.
4. The method for compensating for measurement errors of a grating scale according to claim 1, wherein constructing a reward function of a regression tree is:
Wherein R i represents the value of the bonus function at the current time, R i-1 represents the value of the bonus function at the previous time, P π represents the conversion function of the task space and the feature set under the current strategy, Representing the mathematical transpose of the transfer function, pi R representing the R-dimension representation of the parameter s, a representing the error value corresponding to the parameter s at the current time, and D representing the set of image features.
5. The method for compensating measurement errors of a grating ruler according to claim 1, wherein a source task iteration strategy is introduced to accelerate migration learning:
Qt+τ(st,a′)=(1-a′)Qt(st+a′)+α′[Q(St,a′)+Q(St+1,a′)+…+Q(st+τ-1,a′)]/τ
Wherein Q t+τ(st, a ') represents an action cost function of the target scale error compensation model, t represents the number of iterations, S t represents a state quantity at the time of iteration t, a' represents a proportional coefficient of the allocated action cost function, Q t(st +a ') represents an action cost function of the source scale error compensation model, α' represents an action, Q (·) represents a cost function, S t+1 represents a state quantity at the time of t+1, S t+τ-1 represents a state quantity at the previous time, and τ represents the number of subtasks.
6. A method of compensating for measuring errors in a grating scale according to claim 1 wherein the disturbance factors include temperature errors and vibration errors.
7. The method for compensating measurement errors of a grating ruler according to claim 6, wherein the multi-dimensional bounded optimization model is:
s.t.t1≥T≥t2
f1≥F≥f2
a1≥A≥a2
wherein, C' (. Cndot.) represents a multi-interference factor coupling error, e 1 (T) represents a temperature error, e 2 (A, F) represents a vibration error, T represents a temperature of a grating scale working environment, A represents a vibration amplitude of the grating scale working environment, F represents a vibration frequency of the grating scale working environment, T 1 represents an upper temperature boundary of the grating scale working environment, T 2 represents a lower temperature boundary of the grating scale working environment, F 1 represents an upper vibration frequency boundary of the grating scale working environment, F 2 represents a lower vibration frequency boundary of the grating scale working environment, a 1 represents an upper vibration amplitude boundary of the grating scale working environment, and a 2 represents a lower vibration amplitude boundary of the grating scale working environment.
8. The method for compensating measurement errors of a grating ruler according to claim 7, further comprising the constraint condition of optimizing a multi-dimensional bounded optimization model, specifically:
and dividing the interference factor intervals based on a K-means clustering method, respectively calculating errors of temperature, frequency and amplitude, respectively calculating the support degree and the confidence coefficient of the errors, measuring a dullness candidate interval set between the interference factors and the errors, and selecting an interval for obviously inhibiting the grating ruler errors.
9. A grating ruler measurement error compensation method according to claim 8, the method is characterized by further comprising the following steps:
under the constraint condition of optimization, converting the multidimensional bounded optimization model into the following unconstrained optimization problem:
Wherein I α (·) represents a penalty function, t i represents an upper or lower bound to the temperature of the grating scale working environment, f i represents an upper or lower bound to the frequency of the grating scale working environment, a i represents an upper or lower bound to the amplitude of the grating scale working environment, u represents a calculation parameter of the penalty function, and α represents an Indicator function approximation factor.
10. The method of claim 6, wherein the regression result S n represents a set of error parameters including a temperature error and a vibration error.
CN202310121347.0A 2023-02-13 2023-02-13 Grating ruler measurement error compensation method Active CN116049603B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310121347.0A CN116049603B (en) 2023-02-13 2023-02-13 Grating ruler measurement error compensation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310121347.0A CN116049603B (en) 2023-02-13 2023-02-13 Grating ruler measurement error compensation method

Publications (2)

Publication Number Publication Date
CN116049603A CN116049603A (en) 2023-05-02
CN116049603B true CN116049603B (en) 2025-06-24

Family

ID=86129472

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310121347.0A Active CN116049603B (en) 2023-02-13 2023-02-13 Grating ruler measurement error compensation method

Country Status (1)

Country Link
CN (1) CN116049603B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116817759B (en) * 2023-06-06 2024-01-16 苏州英示测量科技有限公司 Grating ruler and measuring method and system thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095729A (en) * 2016-06-16 2016-11-09 广东工业大学 Optical grating ruler measurement error dynamic compensation method based on degree of depth study
CN106289058A (en) * 2016-08-18 2017-01-04 广东工业大学 The method that a kind of grating scale location assignment accuracy compensates

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103759660B (en) * 2014-01-28 2016-03-23 广东工业大学 A kind of absolute grating ruler is auxiliary to be installed and error compensating method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095729A (en) * 2016-06-16 2016-11-09 广东工业大学 Optical grating ruler measurement error dynamic compensation method based on degree of depth study
CN106289058A (en) * 2016-08-18 2017-01-04 广东工业大学 The method that a kind of grating scale location assignment accuracy compensates

Also Published As

Publication number Publication date
CN116049603A (en) 2023-05-02

Similar Documents

Publication Publication Date Title
CN108363870B (en) A Deep Learning-Based Modeling Method for Thermal Errors of CNC Machine Tool Spindles
CN107621269B (en) Temperature drift error compensation method for fiber optic gyroscope
US6928636B2 (en) Rule based OPC evaluating method and simulation-based OPC model evaluating method
Kapelan et al. Optimal sampling design methodologies for water distribution model calibration
McGregor et al. Analyzing part accuracy and sources of variability for additively manufactured lattice parts made on multiple printers
Vincenzi et al. Coupling response surface and differential evolution for parameter identification problems
CN116049603B (en) Grating ruler measurement error compensation method
CN113111547A (en) Frequency domain finite element model correction method based on reduced basis
CN111983900B (en) LDI platform error compensation method
CN113221263A (en) Mechanical product structure failure optimization method considering distribution parameter uncertainty
CN115935731A (en) A Method for Analyzing the Deformation of the Measuring Field in the Non-uniform Temperature Field of Large Tooling
CN113485995A (en) Disturbance method for initial value of ensemble prediction system
CN117161825A (en) Numerical control machine tool thermal error prediction method
CN114719790B (en) Method for adjusting horizontal straightness of split equipment by using laser tracker
CN119646356B (en) A dynamic load position identification method and system based on vibration mode comparison
EP1560092B1 (en) Method for determining a one-dimensional gap stack-up for a gap within an assembly of parts
CN113656902A (en) Error sensitivity analysis method for working end pose of multi-axis motion platform
CN116256004B (en) On-orbit calibration and attitude calculation method of star sensor based on improved particle swarm optimization algorithm
CN116010903A (en) Main shaft thermal error prediction method and device based on multi-source heterogeneous data
JPH09323129A (en) Real-time correction method for linear heating deformation calculation data
CN119404159A (en) Data encoding device and data encoding program
CN119719588B (en) Parameter self-adaption-based time-invariant track information acquisition method
CN112016034A (en) Uncertainty quantification method capable of simultaneously processing numerical value dispersion, model form and model prediction deviation
CN114295095B (en) A Method for Determining the Optimal Number of Measuring Points for Freeform Surface Inspection
CN120503050B (en) Multi-head engraving machine compensation methods and related equipment

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