Disclosure of Invention
The invention provides a straightness calibration method of a cloth guide roller, which aims to solve the problem of inaccurate straightness detection of the conventional cloth guide roller, and adopts the following technical scheme:
the invention provides a straightness calibration method of a cloth guide roller, which comprises the following steps:
When straightness detection is carried out on the cloth guide roller, a distance value sequence of a plurality of measuring heads is obtained;
Recording any one distance value in the distance value sequence of any one measuring head as a target distance value, acquiring a plurality of axial distance values of the target distance value, and correcting the target distance value according to all the axial distance values of the target distance value to obtain a corrected distance value of the target distance value;
obtaining detection consistency of the target distance value according to the difference relation between the corrected distance value of the target distance value and the corrected distance values of the distance values of other measuring heads at the same moment as the target distance value in the distance value sequence of the other measuring heads;
obtaining a plurality of neighborhood distance values of a target distance value according to the axial distance value of the target distance value, obtaining the distance proximity of the target distance value and each neighborhood distance value according to the similarity relation between the target distance value and the correction distance value of the neighborhood distance value, obtaining the measurement reliability of the target distance value according to the distance proximity of the target distance value and all the neighborhood distance values, forming a plurality of single point distance sets by the distance values in the distance value sequences of all the credible measuring heads, and obtaining the result distance value of each single point distance set according to the measurement reliability of the distance value in the single point distance set;
And obtaining the straightness detection result of the cloth guide roller according to the result distance values of all the single-point position distance sets.
Further, the method for obtaining the plurality of axial distance values of the target distance value comprises the following specific steps:
the product of the rotating speed of the preset roller and the preset acquisition frequency is recorded as an axial data interval;
and (3) taking a distance value which is separated from the target distance value by an integral multiple of the axial data interval as an axial distance value of the target distance value.
Further, the method for correcting the target distance value according to all the axial distance values of the target distance value to obtain a corrected distance value of the target distance value includes the following specific steps:
In the distance value sequence of the target distance value, the distance value closest to the target distance value is to be obtained The average value of the axial distance values is recorded as the corrected distance value of the target distance value,Is the preset axial distance quantity.
Further, the specific method for obtaining the detection consistency of the target distance value according to the difference relation between the corrected distance value of the target distance value and the corrected distance value of the distance value at the same time as the target distance value in the distance value sequence of other measuring heads includes the following steps:
In the formula, The detection consistency of the target distance value is achieved; a corrected distance value that is the target distance value; the average value of the corrected distance values of the distance values at the same time as the target distance value in the distance value sequences of all the measuring heads is obtained; the standard deviation of the corrected distance value of the distance value at the same moment as the target distance value in the distance value sequences of all the measuring heads; is an exponential function with a natural constant as a base; As a function of absolute value.
Further, according to the detection consistency of all the distance values in the distance value sequence of the measuring head where the target distance value is, obtaining the fault probability of the measuring head where the target distance value is, and screening to obtain a plurality of credible measuring heads according to the fault probability of the measuring head, the specific method comprises the following steps:
the calculation mode of the fault possibility of the measuring head where the target distance value is located is as follows:
In the formula, The fault possibility of the measuring head where the target distance value is located; the standard deviation of the detection consistency of all the distance values in the distance value sequence of the measuring head where the target distance value is located; the average value of the detection consistency of all the distance values in the distance value sequence of the measuring head where the target distance value is located; is an exponential function with a natural constant as a base; As a hyperbolic tangent function; As a function of absolute value;
sequencing all the measuring heads from small to large according to the fault possibility of the measuring heads, and sequencing the front The measuring heads are recorded as credible measuring heads, wherein,Is a preset trusted quantity.
Further, the specific method for obtaining the plurality of neighborhood distance values of the target distance value according to the axial distance value of the target distance value includes:
and in the distance value sequence of the target distance value, marking two distance values closest to the target distance value, two axial distance values closest to the target distance value and two distance values closest to each axial distance value in the two axial distance values as neighborhood distance values of the target distance value.
Further, the obtaining the distance proximity of the target distance value and each neighborhood distance value according to the similarity relation between the target distance value and the corrected distance value of the neighborhood distance value comprises the following specific methods:
And (3) recording an inverse proportion normalization result of the absolute value of the difference value of the correction distance value of any neighborhood distance value of the target distance value and the correction distance value of the target distance value as the distance proximity of the target distance value and the neighborhood distance value.
Further, the method for obtaining the measurement reliability of the target distance value according to the distance proximity of the target distance value and all the neighborhood distance values comprises the following specific steps:
the measurement reliability of the target distance value is calculated by the following steps:
In the formula, The measurement reliability of the target distance value is obtained; the number of neighborhood distance values that are target distance values; Is the target distance value and the first Distance proximity of the individual neighborhood distance values; the first distance value of the target Detection consistency of the individual neighborhood distance values.
Further, the method for forming the distance values in the distance value sequences of all the trusted measuring heads into a plurality of single-point distance sets comprises the following specific steps:
and in the distance value sequences of all the credible measuring heads, all the distance values at the same time are recorded as a single-point distance set.
Further, the method for obtaining the result distance value of each single-point distance set according to the measurement reliability of the distance value in the single-point distance set comprises the following specific steps:
In the formula, Is the firstA result distance value for the single point bit set; Is the first The number of distance values in the single-point bit set; Is the first Single point bit set ofCorrection distance values of the individual distance values; Is the first Single point bit set ofThe measurement reliability of the individual distance values.
The method has the advantages that in the process of straightness detection of the cloth guide roller, due to the fact that the influence of environmental factors can enable some detection results to be unreliable, different measuring heads are utilized to measure the cloth guide roller for multiple times, the measurement results of each measuring head are required to be analyzed, the detection consistency of the target distance value is obtained through the difference relation between the corrected distance value of the target distance value and the corrected distance value of the other measuring heads at the same moment in a distance value sequence, which is the same as the target distance value, and the reliability of each distance value is judged, due to the fact that some measuring heads are greatly interfered by the outside, the detected data are unreliable, the unreliable data are required to be removed, the method screens the reliable measuring heads through the detection consistency of all the distance values in the distance value sequence of the target distance value, the reliability of the measuring heads is obtained, and the reliability of the data is improved. The straightness error of the cloth guide roller is acquired through the more reliable result distance value, and the accuracy of straightness detection of the cloth guide roller is improved.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a flowchart of a method for calibrating straightness of a cloth guide roller according to an embodiment of the invention is shown, and the method includes the following steps:
And S001, acquiring distance value sequences of a plurality of measuring heads when the straightness detection is performed on the cloth guide roller.
When the straightness detection is performed on the cloth guide roller, whether the heights of the edges are consistent or not needs to be detected when the cloth guide roller is horizontally placed and rotated, so that the distance from the upper edge to the top end of the laser transmitter when the laser transmitter is used for acquiring the distance from the upper edge to the top end of the laser transmitter when the cloth guide roller is horizontally placed is firstly detected.
Specifically, on the cloth guide roller production line, when the production of a plurality of batches of cloth guide rollers is completed, the cloth guide rollers with the completed production of each batch are extractedA root cloth guiding roller, wherein,To preset the number of sampling tests, the embodiment usesDescribing an example, placing all the extracted cloth guide rollers on a detection frame for sequential detection, wherein the detection frame on which the cloth guide rollers are placed is transversely arranged at the position of the detection frame on any side of the cloth guide rollersThe laser transmitters are arranged on the detection frame at the other side of the cloth guide roller, the laser transmitters and the laser receiving devices are used for measuring the vertical distance from the top of the laser generator to the upper side edge of the cloth guide roller,To preset the installation quantity, the embodiment usesThe detection frame at the lower side of the cloth guide roller is provided with a mechanical adjusting mechanism, wherein the mechanical adjusting mechanism comprises a precise sliding rail and a roller bracket, the precise sliding rail is used for adjusting the position of the laser transmitter so as to change the relative position of the cloth guide roller, and the roller bracket is used for rolling the cloth guide roller.
Further, any one laser emitter and a corresponding laser receiving device are recorded as one measuring head, when the straightness detection is carried out on the cloth guide roller by using the detection frame, each measuring head is used for detecting the cloth guide roller which is required to be detected at present, when the cloth guide roller is detected each time, firstly, the placement angle of the cloth guide roller is initialized, the placement angle of the cloth guide roller is ensured to be consistent when the detection is carried out each time, thereby ensuring that the detection of all the measuring heads is the same point on the cloth guide roller at the same time in the time sequence in the respective detection process, and the cloth guide roller is driven by the roller bracketEvery second/rotation speed, every measuring head is driven by every other accurate slideway from one end of cloth-guiding roller to another endSlide once per second, each slide having a length ofMillimeter, continuously collecting the vertical distance from the top of the laser generator to the upper edge of the cloth guide roller by using the measuring head, and recording a time sequence formed by the vertical distance from the top of the laser generator to the upper edge of the cloth guide roller, obtained by the measuring head, as a distance value sequence of the measuring head in the sliding process of any one measuring head from one end of the cloth guide roller to the other end of the cloth guide roller, wherein the collecting frequency of the measuring head is as followsWherein, the method comprises the steps of,In order to preset the rotating speed of the roller,For the preset sliding interval of the measuring head,For the preset sliding step size,Is the preset acquisition frequency andThe measuring head slides once after the cloth guide roller rotates one circle, and the embodiment uses、、、Examples are described.
Step S002, marking any one distance value in the distance value sequence of any one measuring head as a target distance value, obtaining a plurality of axial distance values of the target distance value, and correcting the target distance value according to all the axial distance values of the target distance value to obtain a corrected distance value of the target distance value.
When the distance value sequence is acquired by the measuring head, the distance value measured by the measuring head may have small offset, so that the distance value sequence is primarily denoised first. The cloth guide roller is produced by a lathe, and the feeding speed of the cutter head is slower to ensure the processing quality, so that the radiuses corresponding to a plurality of points in the same axial position on the cloth guide roller within a continuous distance are the same, and the distance values detected by the same measuring head at the same axial position on the cloth guide roller are the same, so that the distance value sequence is primarily denoised accordingly.
It should be further noted that the rotation speed of the roller, the acquisition frequency of the measuring head and the sliding interval of the measuring head are fixed, and other points of the same axial position of the point of the cloth guide roller represented by each distance value in the distance value sequence of each measuring head need to be obtained according to the rotation speed of the roller, the acquisition frequency of the measuring head and the sliding interval of the measuring head.
Specifically, any one distance value in the distance value sequence of any one measuring head is recorded as a target distance value;
the product of the rotating speed of the preset roller and the preset acquisition frequency is recorded as an axial data interval;
and (3) taking a distance value which is separated from the target distance value by an integral multiple of the axial data interval as an axial distance value of the target distance value.
It should be noted that, since the distance value detected by the same measuring head at the same axial position on the cloth guiding roller should be the same, the target distance value is denoised according to the axial distance value of the target distance value.
Specifically, in the distance value sequence where the target distance value is located, the distance value closest to the target distance value will beThe average value of the axial distance values is recorded as the corrected distance value of the target distance value,To preset the axial distance, the embodiment usesExamples are described.
And step S003, obtaining detection consistency of the target distance value according to a difference relation between the corrected distance value of the target distance value and corrected distance values of the distance values of other measuring heads at the same moment as the target distance value in the distance value sequence of the other measuring heads, obtaining fault probability of the measuring head where the target distance value is located according to the detection consistency of all the distance values in the distance value sequence of the measuring head where the target distance value is located, and screening to obtain a plurality of credible measuring heads according to the fault probability of the measuring head.
It should be noted that, because the influence of environmental factors can make some testing results unreliable, so utilize different gauge heads to carry out a lot of measurement to the cloth guide roller, and then need to carry out analysis to the measuring result of every gauge head, if the measuring result of this gauge head is generally different from the measuring result of other gauge heads, it is great to say that this gauge head scans and receives the possibility that environmental factors influence. The detection consistency of the distance value is obtained accordingly.
Specifically, the calculation mode of the detection consistency of the target distance value is as follows:
In the formula, The detection consistency of the target distance value is achieved; a corrected distance value that is the target distance value; the average value of the corrected distance values of the distance values at the same time as the target distance value in the distance value sequences of all the measuring heads is obtained; the standard deviation of the corrected distance value of the distance value at the same moment as the target distance value in the distance value sequences of all the measuring heads; is an exponential function with a natural constant as a base; As a function of absolute value.
The larger the detection consistency of the target distance value is, the more consistent the target distance value is with the detection results of other multiple measuring heads, and the more reliable the detection results are.
It should be noted that, because some measuring heads are greatly disturbed by the outside, the detected data is not trusted, so that the unreliable data needs to be removed. When the data detected by the measuring head is not credible, the fluctuation of the detection consistency of the distance values detected by the measuring head is not large and is small, or the detection consistency of part of the distance values is very low, and the detection consistency of the distance values integrally shows random fluctuation, so that the fault possibility of the measuring head is obtained.
Specifically, the calculation mode of the fault possibility of the measuring head where the target distance value is located is as follows:
In the formula, The fault possibility of the measuring head where the target distance value is located; the standard deviation of the detection consistency of all the distance values in the distance value sequence of the measuring head where the target distance value is located; the average value of the detection consistency of all the distance values in the distance value sequence of the measuring head where the target distance value is located; is an exponential function with a natural constant as a base; As a hyperbolic tangent function, the embodiment is used for normalization processing; As a function of absolute value.
In the formula,The larger the detection distance value is, the smaller the fluctuation of the detection consistency of the detected distance value is, and the higher the possibility of the fault of the measuring head is; the larger the distance value is, the lower the detection consistency of the detected partial distance value is, and the random fluctuation is presented to the detection consistency of the distance value, so that the higher the possibility of the fault of the measuring head is.
In order to improve the accuracy of the detection of the measuring head, a relatively accurate measuring head is selected to analyze the straightness of the cloth guide roller.
Specifically, all the measuring heads are ranked according to the probability of the faults of the measuring heads from small to large, and the front part is rankedThe measuring heads are recorded as credible measuring heads, wherein,To preset the trusted quantity, the embodiment usesExamples are described.
Step S004, a plurality of neighborhood distance values of the target distance value are obtained according to the axial distance value of the target distance value, the distance proximity of the target distance value and each neighborhood distance value is obtained according to the similarity relation between the target distance value and the correction distance value of the neighborhood distance value, the measurement reliability of the target distance value is obtained according to the distance proximity of the target distance value and all the neighborhood distance values, the distance values in the distance value sequences of all the credible measuring heads form a plurality of single-point position distance sets, and the result distance value of each single-point position distance set is obtained according to the measurement reliability of the distance value in the single-point position distance set.
It should be noted that, because the lathe is used in the production of the cloth guide roller, the lathe rotation speed is higher, and the feeding speed of the cutter head is slower, the turning parameters of the local point positions on the cloth guide roller are very close, and further the correction distance values corresponding to the local point positions are relatively close.
Specifically, in a distance value sequence where the target distance value is located, two distance values closest to the target distance value, two axial distance values closest to the target distance value and two distance values closest to each axial distance value in the two axial distance values are recorded as neighborhood distance values of the target distance value;
And (3) recording an inverse proportion normalization result of the absolute value of the difference value of the correction distance value of any neighborhood distance value of the target distance value and the correction distance value of the target distance value as the distance proximity of the target distance value and the neighborhood distance value.
When the point represented by the target distance value is determined by the nearby point, the corrected distance value of the nearby point is not necessarily accurate, so that the distance proximity between the point represented by the target distance value and the nearby point needs to be adjusted by the detection accuracy corresponding to the nearby point, thereby obtaining the measurement reliability of the target distance value.
The measurement reliability of the target distance value is calculated by the following steps:
In the formula, The measurement reliability of the target distance value is obtained; the number of neighborhood distance values that are target distance values; Is the target distance value and the first Distance proximity of the individual neighborhood distance values; the first distance value of the target Detection consistency of the individual neighborhood distance values.
After obtaining the measurement reliability of the distance value, the result distance value of the point location represented by the distance value needs to be determined. The greater the measurement reliability of the distance value, the more likely the distance value is to approach the true distance value.
Specifically, in the distance value sequences of all the credible measuring heads, all the distance values at the same moment are recorded as a single-point distance set;
First, the The calculation mode of the result distance value of each single-point bit set is as follows:
In the formula, Is the firstA result distance value for the single point bit set; Is the first The number of distance values in the single-point bit set; Is the first Single point bit set ofCorrection distance values of the individual distance values; Is the first Single point bit set ofThe measurement reliability of the individual distance values.
And S005, obtaining the straightness detection result of the cloth guide roller according to the result distance values of all the single-point position distance sets.
It should be noted that, each single-point set represents a point on the fabric guiding roller, the result distance value of each single-point set represents the actual distance value corresponding to each single-point set, and after the actual distance value of each point on the fabric guiding roller is obtained, the straightness of the fabric guiding roller needs to be determined according to the actual distance values of all the points on the fabric guiding roller.
Specifically, the result distance values of all single-point bit sets with the interval being the axial data interval are arranged according to the sequence of the moments of the single-point bit sets, so as to obtain a distance observation sequence;
For any distance observation sequence, taking time as a horizontal axis and taking a result distance value as a vertical axis, constructing a two-dimensional rectangular coordinate system, mapping all the result distance values in the distance observation sequence into the two-dimensional rectangular coordinate system, and performing straight line fitting by using a least square method to obtain a distance fitting straight line, wherein the least square method is a known technology, and a specific method is not described herein;
For any one result distance value in the distance observation sequence, if the result distance value is positioned above the distance fitting straight line in the two-dimensional rectangular coordinate system, marking the deviation coefficient of the result distance value as 1, and if the result distance value is positioned below the distance fitting straight line in the two-dimensional rectangular coordinate system, marking the deviation coefficient of the result distance value as-1;
Obtaining the maximum value and the minimum value of the deviation degree of all the result distance values in the distance observation sequence, and recording the difference value between the maximum value and the minimum value as the straightness error index of the distance observation sequence;
and (5) taking the average value of the straightness error indexes of all the distance observation sequences as the straightness error of the cloth guide roller.
Further, regarding the cloth guide rollers of any batch, the average value of the straightness errors of all the cloth guide rollers of the batch is recorded as the overall straightness error of the batch, and if the overall straightness error of the batch is greater than a preset error threshold value, the cloth guide rollers of the batch are manually checked, wherein the preset error threshold value is 0.5mm, and the embodiment is described by taking this as an example.
The embodiment adoptsThe model presents the inverse proportional relationship and the normalization process,For model input, the implementer can set an inverse proportion function and a normalization function according to actual conditions.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the invention, but any modifications, equivalent substitutions, improvements, etc. within the principles of the present invention should be included in the scope of the present invention.