A method for measuring the size of quartz glass
The laser ranging sensor collects and processes the dimensional data of quartz glass, constructs the local mutation and interference degree, calculates the edge interference index, and performs filtering processing, which solves the measurement inaccuracy problem caused by poor edge grinding in the laser detection method and realizes High-precision measurement of quartz glass dimensions.
Patent Information
- Application Number
- CN202411194397.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-08-29
AI Technical Summary
When measuring the size of quartz glass, the existing laser detection method cannot effectively solve the problem of large-format size measurement of quartz glass due to poor edge grinding, rough edges or defects, which causes fluctuations in the reflected beam and affects the accuracy of the measurement data.
By setting up laser ranging sensors on both sides of the quartz glass, synchronously moving to collect size data, dividing the distance sequence, constructing the local mutation and interference degree of the data, calculating the edge interference index, setting the filter window, and filtering the data to improve measurement accuracy .
It achieves precise measurement of quartz glass dimensions, reduces errors caused by tilt and edge roughness, and improves the precision and accuracy of data collection.
Smart Images

Figure CN118706001B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of dimension measurement, and in particular to a method for measuring the dimension of quartz glass. Background Art
[0002] With the rapid progress of modern science and technology, quartz glass has been widely used in high-tech industries. Quartz glass has the characteristics of low thermal conductivity, good thermal vibration resistance, high deformation softening temperature, and low conductivity. At present, quartz glass has become a very important basic material in the fields of electric light sources, optical fibers, electronic information, semiconductors, aerospace, etc. In order to ensure the reliability of quartz glass in different industry applications, it is very important to measure the size of quartz glass to ensure that it meets the industry requirements.
[0003] Traditional quartz glass size measurement is performed by contact measurement using tools such as micrometers. However, this method is easy to scratch the quartz glass and can only work in the non-quality control area of the edge of the quartz glass. It cannot measure large-format quartz glass. With the development of science and technology, laser detection methods have become a new trend in quartz glass size measurement. Existing laser detection methods, such as the method of detecting dimensional accuracy through laser ranging, calculate by collecting the distance between the object and the laser ranging sensors on both sides. However, after the quartz glass is edge-grinded, if the edge grinding effect is not good, the edge roughness of the quartz glass is inconsistent or there are defects, it will cause the reflected light beam to fluctuate, making the collected data inaccurate, affecting the detection effect of the quartz glass. Summary of the invention
[0004] In order to solve the above technical problems, the present application provides a quartz glass size measurement method to solve the existing problems.
[0005] A quartz glass size measurement method of the present application adopts the following technical solution:
[0006] An embodiment of the present application provides a method for measuring the size of quartz glass, comprising the following steps:
[0007] The laser distance sensors on both sides of the quartz glass move synchronously to collect size data, forming two distance sequences;
[0008] Divide each distance sequence into two subsequences according to the minimum value in the distance sequence; construct the local mutation of each data in the subsequence according to the degree of change of the data in the local range of each data in the divided subsequence, and the difference between the data change trend in the local range of each data in the subsequence and the overall change trend of all data in the subsequence;
[0009] The trend consistency index of each subsequence is constructed based on the difference degree of adjacent data in the first-order difference sequence of each subsequence. The data interference degree of each subsequence is constructed by combining the average level of local mutation of all data in the subsequence, as well as the average level and fluctuation degree of data deviation before and after subsequence fitting.
[0010] Based on the difference and mean of the data interference degree of the two subsequences corresponding to the distance sequence, and combined with the difference between the local mutation of the data in the two subsequences, the edge interference index of each distance sequence is constructed;
[0011] The filter window size is set according to the edge interference index of each distance sequence, the distance sequence is filtered, and the size of the quartz glass is measured in combination with the filtered data.
[0012] Preferably, the subsequence division further comprises:
[0013] The distance sequence is divided into two subsequences by the minimum value in the distance sequence. If there are multiple minimum values in the distance sequence, the minimum values are arranged in ascending order according to their position in the distance sequence, and the distance sequence is divided by the minimum value corresponding to the median after arrangement.
[0014] Preferably, the process of determining the local mutation of each data in the subsequence is:
[0015] Obtain the neighbor difference index of each data according to the second-order difference of the data in the local range of each data in the subsequence;
[0016] Linear fitting is performed on the data within the subsequence and the data within the local range of each data within the subsequence, and the difference in the slopes of the two fitted lines is analyzed. The sum of the slope difference and the neighbor difference index is taken as the local mutation of each data within the subsequence.
[0017] Preferably, the neighbor difference index of each data is the mean value of the elements in the second-order difference sequence of all data in its local range.
[0018] Preferably, obtaining the trend consistency index of each subsequence includes:
[0019] For each element in the first-order difference sequence of the subsequence, if the element is greater than or equal to 0, the element is assigned a value of 1; otherwise, the element is assigned a value of -1. The ratio of the absolute value of the sum of all elements in the re-assigned first-order difference sequence to the length of the first-order difference sequence is determined as the trend consistency index of the subsequence.
[0020] Preferably, the calculation formula for the data interference degree of each subsequence is:
[0021] ; Where C is the data interference of the subsequence; , are the element mean and variance of the point-line distance sequence respectively; is the element mean of the mutation sequence, and the mutation sequence is composed of the local mutation of all data in the subsequence arranged according to the order of each data in the subsequence; Q is the trend consistency index of the subsequence.
[0022] Preferably, the construction of the point-line distance sequence includes: taking the position order of each element in the subsequence as the horizontal coordinate and the element value as the vertical coordinate, and performing straight line fitting, calculating the shortest distance between the corresponding coordinate point of each element in the subsequence and the subsequence fitting straight line, and arranging the shortest distance results according to the position order of each element to form a point-line distance sequence.
[0023] Preferably, the edge interference index calculation formula of each distance sequence is:
[0024] ; In the formula, G is the edge interference index of the distance sequence; L is the absolute value of the difference between the data interference of the two subsequences corresponding to the distance sequence; M is the DTW distance between the mutation sequences corresponding to the two subsequences; I is the mean value of the data interference of the two subsequences corresponding to the distance sequence.
[0025] Preferably, the expression of the filter window size is:
[0026] ; In the formula, is the window size, is the rounding function, is an exponential function with a natural constant as the base, G is the edge interference index, and is a preset odd number, where Greater than .
[0027] Preferably, the step of measuring the size of the quartz glass in combination with the filtered data further comprises: adding all data of the same bit sequence in the two distance sequences to obtain an average value, and determining the difference between the distance of the two laser ranging sensors and the average value as the size data of the quartz glass.
[0028] This application has at least the following beneficial effects:
[0029] This application takes into account the possible tilt phenomenon of quartz glass when it is transported on a roller, and divides the sequence according to the data trend; by calculating the local mutation of each data in the subsequence, the deviation degree of the reflected light beam from the true value at each data is evaluated; then the data interference degree is constructed to evaluate whether the data trend within the subsequence still has strict consistency; finally, the edge interference index is constructed to comprehensively evaluate the interference degree of the reflected light beam affected by the edge of the quartz glass;
[0030] At the same time, the present application takes into account that the tilt of the quartz glass will also cause errors, so the sequence is first divided to avoid large deviations in the calculation due to the tilt of the quartz glass; and the overall interference degree of the reflected light beam is evaluated according to the edge interference index, and the window size of the moving average filter is calculated based on this, and the collected data is filtered to improve the data collection accuracy, thereby achieving accurate measurement of the quartz glass size. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0032] Figure 1 A flow chart of the steps of a method for measuring the size of quartz glass provided in this application;
[0033] Figure 2 Schematic diagram of quartz glass size data collection provided for this application. DETAILED DESCRIPTION
[0034] In order to further explain the technical means and effects adopted by the present application to achieve the predetermined invention purpose, the following is a detailed description of a quartz glass size measurement method proposed in the present application, its specific implementation, structure, features and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0035] Unless otherwise defined, terms such as "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a circuit structure, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such articles or devices. In the absence of further restrictions, an element defined by the statement "comprising a ..." does not exclude the presence of other identical elements in the article or device comprising the element. In addition, the term "and\or" used herein includes any and all combinations of one or more related listed items. All technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present application belongs.
[0036] The specific scheme of the quartz glass size measurement method provided by the present application is described in detail below with reference to the accompanying drawings.
[0037] An embodiment of the present application provides a method for measuring the size of quartz glass. For details, please refer to Figure 1 , including the following steps:
[0038] Step 1: Collect dimensional data from both sides of the quartz glass through a laser distance sensor to form two distance sequences.
[0039] During the manufacturing process of flat quartz glass, the size of the quartz glass needs to be measured before leaving the factory. Therefore, in this embodiment, two laser ranging sensors are symmetrically placed on the left and right sides of the quartz glass to obtain the size data of both sides of the quartz glass. During the data acquisition process, the laser ranging sensors on both sides of the quartz glass move synchronously and emit lasers to the quartz glass. After that, the receiver of the laser ranging sensor receives the light beam reflected by the edge of the quartz glass and analyzes it to obtain the distance between the edge of the quartz glass and the laser ranging sensor. The size data of the quartz glass can be obtained by calculating the distance between the two laser ranging sensors and subtracting the distance between the two sides of the quartz glass and the laser ranging sensor. The schematic diagram of quartz glass size data acquisition is shown in the figure. Figure 2 As shown, numbers 1, 2, and 3 represent the laser distance sensor, quartz glass, and fixed platform, respectively. Figure 2 Where s1 and s2 are the distance between the laser ranging sensor and the edge of the quartz glass, and the distance between the laser ranging sensors respectively.
[0040] When the laser ranging sensor continuously collects data during the movement process, in order to facilitate subsequent analysis and processing, the data collected by the two laser ranging sensors are sampled at equal intervals, and the sampling data is set to 1000, and two discrete distance sequences are obtained. In this embodiment, for the convenience of understanding and description, they are respectively recorded as the left distance sequence and the right distance sequence.
[0041] Step 2: Divide each distance sequence into two subsequences according to the minimum value in the distance sequence.
[0042] Furthermore, in order to accurately analyze the quality of the dimensional data collected by the laser ranging sensor, this embodiment will divide the distance sequence to improve the analysis efficiency, and at the same time analyze the relationship between the data of different subsequences in the distance sequence to ensure the data analysis effect. In this embodiment, taking the left distance sequence as an example, the specific division process is as follows: First, obtain the minimum value in the left distance sequence, and divide the left distance sequence into two subsequences by the minimum value. It should be noted that: if there are multiple minimum values in the left distance sequence, arrange each minimum value in ascending order according to the position order in the left distance sequence, and divide the left distance sequence into two subsequences by the minimum value corresponding to the median in the arrangement result. The two divided subsequences are respectively recorded as subsequence J1 and subsequence J2.
[0043] At this point, the division of the left distance sequence is achieved. Accordingly, the above method is used to divide the right distance sequence to obtain two subsequences corresponding to the right distance sequence.
[0044] Step 3: According to the degree of change of the data in the local range of each data in the subsequence after division, and the difference between the data change trend in the local range of each data in the subsequence and the overall change trend of all data in the subsequence, the local mutation of each data in the subsequence is constructed.
[0045] If the quartz glass is not well ground, the edge of the quartz glass is relatively rough or there are edge defects, it will cause a large reflection fluctuation difference of the laser beam at the edge of the quartz glass, thereby affecting the signal received by the receiver, and further making the measurement effect of the laser ranging poor, affecting the size measurement of the quartz glass.
[0046] The neighbor difference index of each data is obtained according to the second-order difference of the data in the local range of each data in the subsequence. In this embodiment, a 1×9 window is constructed as the local range of each data with each data in the subsequence J1 as the center, and the mean of the elements in the second-order difference sequence corresponding to all the data in the window is calculated as the neighbor difference index of the data at the center of each window. It should be noted that when the center of the window is near the two ends of the amplitude sequence, causing the window to exceed the sequence range, the excess part of the window is filled, and the filling data is the mean of the data in the window that does not exceed the sequence range, that is, the mean filling method is used for filling. The specific process is the existing technology and is not elaborated in detail in this embodiment. The neighbor difference index can be used to represent the degree of data difference within the local range of each data.
[0047] In the subsequence J1, a rectangular coordinate system is constructed by the data value and element sequence of each element, and the first data of the subsequence J1 is used as the coordinate origin, and the sequence of each data in the subsequence is used as the horizontal coordinate, and the value of each data is used as the vertical coordinate to construct a coordinate system to obtain the coordinates of each data. The coordinate points corresponding to all data in the subsequence J1 and the coordinate points corresponding to all data in the window centered on the i-th data are respectively used as inputs of the least squares method, and two fitting lines are output by the least squares method. In this embodiment, for the convenience of description, the slopes of the two fitting lines are respectively recorded as and The acquisition of the second-order difference sequence and the least square method are well-known techniques and will not be described in detail here.
[0048] Further, according to the difference between the data change trend in the local range of each data in the subsequence and the overall change trend of all data in the subsequence, that is, the difference between the two slopes, combined with the neighbor difference index of each data, the local mutation of each data in the subsequence is obtained. In this embodiment, taking the i-th data in the subsequence J1 as an example, the specific calculation formula is:
[0049] ; In the formula, is the local mutation of the i-th data in the subsequence J1; is the neighbor difference index of the i-th data; They are respectively the slope of the fitted straight line of the window data centered on the i-th data and the slope of the fitted straight line of the subsequence J1.
[0050] Understandably, The larger the value is, the more inconsistent the differences between adjacent data in the window data centered on the i-th data are, and the less consistent they are with the standard quartz glass edge flatness and smoothness characteristics; The larger the value of , the greater the difference between the change trend of the data in the window centered on the i-th data and the change trend of the overall data of the subsequence J1. Therefore, if the local mutation of data i is larger, the possibility of mutation at the i-th data is greater. Since the edge of standard quartz glass is smooth and the size is always fixed, the greater the local mutation, the greater the possibility that the edge of the quartz glass is rough or defective at the i-th data, resulting in a greater possibility of changes in the reflected light beam at the i-th data, and the higher the possibility that the collected data deviates from the true size data.
[0051] Correspondingly, the local mutation of each data in the subsequence J1 is obtained in the same manner as the local mutation of the i-th data, and the data are arranged in order in the subsequence to form a mutation sequence T1.
[0052] Step 4: Construct the trend consistency index of each subsequence according to the degree of difference between adjacent data in the first-order difference sequence of each subsequence, and construct the data interference degree of each subsequence by combining the average level of local mutation of all data in the subsequence, as well as the average level and fluctuation degree of data deviation before and after subsequence fitting.
[0053] Specifically, obtain the first-order difference sequence of subsequence J1, and pass The function judges and modifies the first-order difference sequence. In this embodiment, the specific element assignment is as follows: in the first-order difference sequence, if the element is greater than or equal to 0, the element is assigned 1; otherwise, the element is assigned -1, and the ratio of the absolute value of the sum of all elements in the re-assigned first-order difference sequence to the length of the first-order difference sequence is taken as the trend consistency index of the subsequence J1.
[0054] If the edge of the quartz glass is smooth, the first-order difference sequence values of the subsequence J1 are all 0, and the trend consistency index is 1; if the edge is not smooth, the trend consistency index is less than 1.
[0055] In the subsequence J1, the shortest distance between the coordinate point corresponding to each data in the subsequence J1 and the fitting straight line of the subsequence J1 is calculated, and all the calculated shortest distances are arranged according to the order of each data in the subsequence to form a point-line distance sequence.
[0056] Furthermore, according to the trend consistency index of each subsequence, combined with the average level of local mutation of all data in the subsequence, and the average level and fluctuation degree of data deviation before and after subsequence fitting, the data interference degree of each subsequence is constructed. In this embodiment, the calculation formula of the data interference degree of the subsequence is:
[0057] ; Where C is the data interference of the subsequence; , are the element mean and variance of the point-line distance sequence respectively; is the element mean of the mutation sequence; Q is the trend consistency index of the subsequence.
[0058] If the edge of the quartz glass is smooth and standard, then all coordinate points and the fitting straight line should be overlapped, then the element values in the point-line distance sequence are all 0, the element mean and variance values of the point-line distance sequence are all 0, and the data interference is 0, which indicates that the smoother the edge of the quartz glass is, the higher the reliability of the data collected by the laser distance sensor, and the higher the dimensional accuracy of the measurement. If the element mean and variance of the point-line distance sequence are larger, there are more data that deviate from the overall data trend, and the degree of deviation is more inconsistent. At the same time, the larger the element mean of the mutation sequence, the more data that mutates and the more serious the mutation degree. Further, the smaller the trend consistency index, the more inconsistent the data trend of the data, the greater the fluctuation, and therefore the greater the data interference obtained, the higher the unevenness of the corresponding quartz glass edge, the greater the degree of interference of the reflected light beam as a whole, and the less accurate the overall measurement result.
[0059] Based on the data interference degree of the subsequence J1 and the calculation method and construction principle of the mutation sequence T1, the data interference degree of the subsequence J2 and the mutation sequence T2 of the subsequence J2 are obtained respectively.
[0060] Step 5: Based on the difference and mean of the data interference degree of the two subsequences corresponding to the distance sequence, and combined with the difference between the local mutation of the data in the two subsequences, the edge interference index of each distance sequence is constructed.
[0061] Furthermore, this embodiment analyzes the difference and mean of the data interference between the two subsequences corresponding to the distance sequence, and at the same time, analyzes the difference between the local mutation of the data in the two subsequences to construct the edge interference index of each distance sequence. In this embodiment, the corresponding calculation formula is:
[0062] ; In the formula, G is the edge interference index of the distance sequence; L is the absolute value of the difference between the data interference of the two subsequences corresponding to the distance sequence; M is the DTW distance between the mutation sequences corresponding to the two subsequences; I is the mean value of the data interference of the two subsequences corresponding to the distance sequence.
[0063] If the edge of the quartz glass is smooth, the data interference of the two subsequences will be more similar, and the local mutation of each data in the two subsequences will be more consistent. Therefore, the smaller the absolute value of the difference in data interference between the two subsequences, the smaller the mean of the data interference of the two subsequences, and the smaller the DTW distance between the corresponding two mutation sequences. Therefore, the smaller the edge interference index, the smoother the edge of the quartz glass, and the less interference the laser beam receives. Otherwise, the larger the edge interference index, the greater the possibility of error in the distance data collected by the laser in the distance sequence.
[0064] At this point, the edge interference index is used to evaluate the degree of interference of the laser beam by the edge of the quartz glass.
[0065] Step 6: Set the filter window size according to the edge interference index of each distance sequence, filter the distance sequence, and measure the size of the quartz glass based on the filtered data.
[0066] After obtaining the edge interference index, the data collected by the laser ranging sensor can be filtered by a moving average filter. Considering that when using a moving average filter, the setting of the window size has a great influence on the filtering effect, if the window is too small, the filtering effect is not obvious, and if the window is too large, the signal will be over-smoothed, or even the signal characteristics will be lost. Therefore, in this embodiment, the distance sequence will be adaptively filtered according to the edge interference index of each distance sequence, so as to adaptively set the window size according to the data characteristics of the distance sequence.
[0067] Specifically, in this embodiment, the window size of the moving average filter is denoted as K. ; In the formula, is the rounding function, is an exponential function with a natural constant as the base, G is the edge interference index, and is a preset odd number, where Greater than , in this embodiment, the values are 45 and 11 respectively; it should be noted that in order to ensure that the core element of the filter is located at the center, the weights on both sides are symmetrically distributed to process the window size. Therefore, if the calculated result of the window size is an odd number, K is directly used as the final filtering window size. If the calculated result of the window size is an even number, K-1 is used as the final filtering window size.
[0068] After obtaining the filter window size, the left distance sequence is processed by a moving average filter to obtain a filtered left distance sequence; accordingly, the edge interference index of the right distance sequence is calculated in the same way, and the window size of the moving average filter on the right distance sequence is calculated and filtered, and the filtered right distance sequence is output.
[0069] The size of the quartz glass is measured according to the distance sequence after filtering. The specific measurement process is not limited in this embodiment, and the implementer can set it by himself in combination with the actual application scenario. In this embodiment, for the convenience of understanding and description, when the two laser distance measuring sensors are symmetrical about the quartz glass, the distance between the two laser distance measuring sensors is recorded as the sensor distance. In this embodiment, all the data with the same bit sequence in the left distance sequence and the right distance sequence are added and averaged, and the difference between the sensor distance and the object distance is used as the size data of the quartz glass.
[0070] Thus, according to the above method and process of this embodiment, the precise measurement of the size of the quartz glass can be achieved, the data purity in the process of measuring the size of the quartz glass can be ensured, and the accuracy of the measurement of the size of the quartz glass can be improved.
[0071] It is understood that references to "one embodiment" or "some embodiments" etc. described in the specification of the present application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, if "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appear in different places in this specification, they do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0072] It should be noted that the sequence of the above-mentioned embodiments of the present application is only for description and does not represent the advantages and disadvantages of the embodiments. And the above-mentioned specific embodiments of this specification are described. In addition, the process depicted in the accompanying drawings does not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multi-tasking and parallel processing are also possible or may be advantageous. At the same time, the size of the sequence number of each step in the embodiment does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments in this specification.
[0073] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for measuring the size of quartz glass, It is characterized in that The following steps are involved: The laser distance sensors on both sides of the quartz glass move synchronously to collect size data, forming two distance sequences; Divide each distance sequence into two subsequences according to the minimum value in the distance sequence; construct the local mutation of each data in the subsequence according to the degree of change of the data in the local range of each data in the divided subsequence, and the difference between the data change trend in the local range of each data in the subsequence and the overall change trend of all data in the subsequence; The trend consistency index of each subsequence is constructed based on the difference degree of adjacent data in the first-order difference sequence of each subsequence. The data interference degree of each subsequence is constructed by combining the average level of local mutation of all data in the subsequence, as well as the average level and fluctuation degree of data deviation before and after subsequence fitting. Based on the difference and mean of the data interference degree of the two subsequences corresponding to the distance sequence, and combined with the difference between the local mutation of the data in the two subsequences, the edge interference index of each distance sequence is constructed; The filter window size is set according to the edge interference index of each distance sequence, the distance sequence is filtered, and the size of the quartz glass is measured based on the filtered data; The division of the subsequences further comprises: Divide the distance sequence into two subsequences by the minimum value in the distance sequence. If there are multiple minimum values in the distance sequence, arrange the minimum values in ascending order according to their position in the distance sequence, and divide the distance sequence by the minimum value corresponding to the median after arrangement. The process of determining the local mutation of each data in the subsequence is as follows: Obtain the neighbor difference index of each data according to the second-order difference of the data in the local range of each data in the subsequence; Perform straight line fitting on the data in the subsequence and the data in the local range of each data in the subsequence respectively, analyze the difference in slopes of the two fitted straight lines, and take the sum of the slope difference and the neighbor difference index as the local mutation of each data in the subsequence; The neighbor difference index of each data is the mean value of the elements in the second-order difference sequence of all data in its local range; The acquisition of the trend consistency index of each subsequence includes: For each element in the first-order difference sequence of the subsequence, if the element is greater than or equal to 0, the element is assigned a value of 1; otherwise, the element is assigned a value of -1, and the ratio of the absolute value of the sum of all elements in the re-assigned first-order difference sequence to the length of the first-order difference sequence is determined as the trend consistency index of the subsequence; The calculation formula of the data interference degree of each subsequence is: ; Where C is the data interference of the subsequence; , are the element mean and variance of the point-line distance sequence respectively; is the element mean of the mutation sequence, and the mutation sequence is composed of the local mutation of all data in the subsequence arranged according to the order of each data in the subsequence; Q is the trend consistency index of the subsequence; The construction of the point-line distance sequence includes: taking the position sequence of each element in the subsequence as the horizontal coordinate and the element value as the vertical coordinate, and performing straight line fitting, calculating the shortest distance between the coordinate point corresponding to each element in the subsequence and the subsequence fitting straight line, and arranging the shortest distance results according to the position sequence of each element to form a point-line distance sequence; The calculation formula of the edge interference index of each distance sequence is: ; Where G is the edge interference index of the distance sequence; L is the absolute value of the difference between the data interference of the two subsequences corresponding to the distance sequence; M is the DTW distance between the mutation sequences corresponding to the two subsequences; I is the mean value of the data interference of the two subsequences corresponding to the distance sequence; The expression of the filter window size is: ; In the formula, is the window size, is the rounding function, is an exponential function with a natural constant as the base, G is the edge interference index, and is a preset odd number, where Greater than .
2. A method for measuring the size of quartz glass according to claim 1, It is characterized in that The combining the filtered data to measure the size of the quartz glass further includes: adding all the data with the same bit sequence in the two distance sequences to obtain an average value, and determining the difference between the distance of the two laser ranging sensors and the average value as the size data of the quartz glass.
