Disclosure of Invention
In order to solve the technical problem that the relationship between the rail damage detection capability of a flaw detection vehicle and indexes such as detection speed, damage size, damage angle and the like cannot be quantitatively analyzed in the prior art, the invention provides a method and a device for detecting rail damage of a railway.
The invention provides a method for detecting rail damage of a railway, which is used for calculating the detection capability of a rail flaw detection vehicle on various damages, and comprises the following steps: acquiring original data of rail damage of a railway; the original data of the railway steel rail damage comprises the following steps: the characteristic parameters of rail damage, the speed information of the flaw detection vehicle, wherein the characteristic parameters of rail damage include: the length of a screw hole crack, the detection angle, the aperture of a rail web through hole, the length of a rail head cross hole and the aperture of the rail head cross hole; establishing detection probability models of different damage types according to a logistic regression method and a machine learning method; according to the original data of the rail damage of the railway, fitting and determining model coefficients of detection probability models of different damage types by using an MLE maximum probability estimation method; the detection probability models of different damage types comprise: the method comprises the following steps of (1) detecting a probability model of screw hole cracks when the damage type is the screw hole cracks, detecting a probability model of rail surface flat-bottom holes when the damage type is rail surface flat-bottom holes, detecting a probability model of rail head cross holes when the damage type is rail head cross holes, and detecting a probability model of rail web through holes when the damage type is rail web through holes; and determining the detection probability of different damage types/the vehicle speed range of the steel rail flaw detection vehicle according to the determined detection probability models of different damage types and the current vehicle speed of the steel rail flaw detection vehicle/the set detection probability of the damage types.
Further, the detection probability model of the screw hole crack is as follows:
wherein q is the detection probability of screw hole cracks; v is the current speed of the rail flaw detection vehicle; a is a detection angle; and b is the crack length of the screw hole.
Further, the detection probability model of the rail surface flat bottom hole is as follows:
wherein q is the detection probability of the rail surface flat bottom hole; v is the current speed of the rail flaw detection vehicle; and b is the aperture of the rail surface flat bottom hole.
Further, the detection probability model of the railhead cross hole is as follows:
wherein q is the detection probability of the railhead cross hole; v is the current speed of the rail flaw detection vehicle; a is the aperture of the rail head cross hole; and b is the length of the rail head cross hole.
Further, the detection probability model of the rail web through hole is as follows:
wherein q is the detection probability of the rail web through hole; v is the current speed of the rail flaw detection vehicle; and b is the aperture of the rail web through hole.
In order to achieve the above object, the present invention correspondingly provides a rail damage detection device for calculating the detection capability of a rail flaw detection vehicle for various damages, comprising: the data acquisition module is used for acquiring original data of the railway steel rail damage; the original data of the railway steel rail damage comprises the following steps: the characteristic parameters of rail damage, the speed information of the flaw detection vehicle, wherein the characteristic parameters of rail damage include: the length of a screw hole crack, the detection angle, the aperture of a rail web through hole, the length of a rail head cross hole and the aperture of the rail head cross hole; the model establishing module is used for establishing detection probability models of different damage types according to a logistic regression method and a machine learning method; the model determining module is used for fitting and determining model coefficients of detection probability models of different damage types by utilizing an MLE maximum probability estimation method according to original data of the railway steel rail damage; the detection probability models of different damage types comprise: the method comprises the following steps of (1) detecting a probability model of screw hole cracks when the damage type is the screw hole cracks, detecting a probability model of rail surface flat-bottom holes when the damage type is rail surface flat-bottom holes, detecting a probability model of rail head cross holes when the damage type is rail head cross holes, and detecting a probability model of rail web through holes when the damage type is rail web through holes; and the detection probability/detection vehicle speed determining module is used for determining the detection probability of different damage types/the vehicle speed range of the rail flaw detection vehicle according to the determined detection probability models of different damage types and the vehicle speed of the current rail flaw detection vehicle/the set detection probability of the damage types.
The method and the device for detecting the rail damage of the railway have the advantages that the relationship between the detection capability of the rail damage and indexes such as the detection speed, the size of the damage, the angle of the damage and the like can be quantitatively determined, the detection capability of the flaw detection vehicle on various damages is calculated by combining a detection probability model under the given detection speed, and further, the detection speed required to be set when the flaw detection vehicle detects various damages is calculated under the condition that the detection probability requirement is given (such as not lower than 80%). The detection probability and the detection speed of the flaw detection vehicle can be set according to the expected flaw situation. And the method can also obtain visual display of the relation between related variables according to the establishment of a detection probability model so as to promote the decision of damage detection business and provide support for planning, implementation and supervision control of steel rail flaw detection work.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by persons skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
The invention provides a method and a device for detecting rail damage of a railway, aiming at efficiently and accurately quantitatively analyzing the relationship between the rail damage detection capability of a flaw detection vehicle and indexes such as detection speed, damage size, damage angle and the like by using methods in the fields of data mining and machine learning and providing support for planning, implementing and supervising control of rail flaw detection work.
Fig. 1 is a flowchart illustrating steps of a method for detecting a rail damage according to an embodiment of the present invention, and as shown in fig. 1, the method for detecting a rail damage according to an embodiment of the present invention includes: s100, acquiring original data of rail damage of a railway; s200, establishing detection probability models of different damage types according to a logistic regression method and a machine learning method; s300, according to the original data of the rail damage of the railway, fitting and determining model coefficients of detection probability models of different damage types by utilizing an MLE maximum probability estimation method; and S400, determining the detection probability of different damage types/the vehicle speed range of the steel rail flaw detection vehicle according to the determined detection probability models of different damage types and the current vehicle speed of the steel rail flaw detection vehicle/the set detection probability of the damage types.
In step S100, raw data of rail damage is acquired. In the implementation process, the original data of the railway steel rail damage comprises the following steps: the characteristic parameter of rail damage, the speed of a motor vehicle information of detection car, wherein the characteristic parameter of rail damage includes: screw hole crack length, detection angle, aperture of rail web through hole, length of railhead cross hole and aperture of railhead cross hole. The original data of the railway rail damage can be obtained through the counted historical detection data, or a plurality of sections of test tracks (a plurality of different types of rail damages are set on the test tracks) are set, and the damage information of the plurality of sections of test tracks is collected by using a detection vehicle so as to obtain the original data of the railway rail damage.
After the original data of the rail damage is obtained, in step S200, detection probability models of different damage types are established according to a logistic regression method and a machine learning method. In a specific implementation process, a technician can construct a plurality of logistic regression models as detection probability models of different damage types according to the original data of the railway steel rail damage, wherein the logistic regression models use Sigmoid functions, and the Sigmoid functions are P (y is 1| x; theta) exp (theta)Tx)/(1+exp(θTx)), where θ)TAnd x is a model parameter. The data of various injuries can be realized by using R language or Java programming. Then, establishing the logistic regression according to the speed of the flaw detection vehicle and the characteristic parameters of the rail flawModel parameters in a model, wherein the model parameters are the sum of the speed of the flaw detection vehicle, the product of the characteristic parameters of a plurality of rail flaws and the corresponding regression coefficients, and the characteristic parameters of the rail flaws include: screw hole crack length, detection angle, aperture of rail web through hole, length of railhead cross hole and aperture of railhead cross hole. I.e. thetaTx=w0+w1v+w2a+w3b + …, wherein v, a and b … are characteristic parameters of rail damage, w0、w1、w2… are the corresponding regression coefficients.
In step S300, fitting and determining model coefficients of the detection probability models of different damage types by using an MLE maximum probability estimation method according to the original data of the rail damage of the railway. In a specific implementation process, technicians can establish target variables of the logistic regression model according to detection results of different damage types in original data of the railway steel rail damage, wherein the target variables are detection probabilities, the undetected mark is 0, and the detected mark is 1; according to the original data of the rail damage of the railway, fitting and determining regression coefficients of the multiple logistic regression models by using an MLE maximum probability estimation method, namely determining detection probability models of different damage types; establishing a mathematical relationship between the predicted variable and the target variable according to a Logistic Regression (Logistic Regression) method, establishing detection probability models of different damage types through machine learning, determining parameters in the models by using an MLE maximum probability estimation method, and determining mathematical relationship expressions of the detection probability models of different damage types, namely determining the detection probability models of different damage types.
In the specific implementation process, because different lines or mileage sections have the condition of inconsistent external environments, model training can be performed according to the damage type, the line, the category, the mileage section and the time interval as limiting conditions during data training, and after the model training is completed, the limiting conditions and the calculation time are used as indexes, and the models under different conditions are stored. Based on the damage data of the test line of the general Chinese railway company, the following four relatively common damages are detected, and the determined detection probability model is specifically as follows:
when the damage type is the screw crack, the detection probability model of the screw crack is as follows:
wherein q is the detection probability of screw hole cracks; v is the current speed of the rail flaw detection vehicle; a is a detection angle; and b is the crack length of the screw hole. The relationship between the relevant variables can be obtained according to the detection probability model of the screw hole crack, and fig. 2 to 5 are graphs showing the relationship between the speed and the detection probability of the screw hole crack according to the embodiment of the invention, which are graphs showing the detection probability and the vehicle speed of the screw hole crack with the lengths of 3mm, 5mm and 8mm when the detection angles are 15 °, 25 °, 37 ° and 45 °, respectively. The skilled person can assist the detection work according to fig. 2 to 5. In a specific implementation process, in one case, the detection probabilities of different damage types are determined according to the determined detection probability models of different damage types and the current speed of the rail flaw detection vehicle, a detector can take the current speed of the rail flaw detection vehicle as an independent variable and bring the independent variable into the detection probability model of the screw hole cracks, the detection probabilities of the screw hole cracks with different lengths are calculated, and a measurement report is compiled; in another case, the speed range of the rail flaw detection vehicle is determined according to the determined detection probability models of different flaw types and the set detection probability of the flaw types, and a detector can take the set detection probability of a certain screw hole crack as an independent variable according to the detection probability requirement of the current section and bring the independent variable into the detection probability model of the screw hole crack to calculate the allowable range of the speed of the rail flaw detection vehicle, so that the rail can be conveniently detected at a proper speed within the allowable probability range.
When the damage type is a rail surface flat-bottom hole, the detection probability model of the rail surface flat-bottom hole is as follows:
wherein q is the detection outline of the rail surface flat bottom holeRate; v is the current speed of the rail flaw detection vehicle; and b is the aperture of the rail surface flat bottom hole. FIG. 6 is a velocity-detection probability relationship diagram of a rail plane flat-bottom hole according to an embodiment of the present invention, in which the diameters of the rail plane flat-bottom hole are respectively
In the process, the detection probability of the rail surface flat bottom hole and the vehicle speed are plotted, and the skilled person can assist the detection work according to the graph in fig. 6. In a specific implementation process, in one case, the detection probabilities of different damage types are determined according to the determined detection probability models of different damage types and the current speed of the rail flaw detection vehicle, a detector can take the speed of the current rail flaw detection vehicle as an independent variable and bring the speed into the detection probability model of the rail plane flat-bottom hole, the detection probabilities of the rail plane flat-bottom holes with different apertures are calculated, and a measurement report is compiled; the other situation is that the speed range of the rail flaw detection vehicle is determined according to the determined detection probability models of different flaw types and the set detection probability of the flaw types, a detection person can take the set detection probability of a certain rail plane flat-bottom hole as an independent variable according to the requirement of the detection probability of the current section, the detection person brings the detection probability into the detection probability model of the rail plane flat-bottom hole, the allowable range of the speed of the rail flaw detection vehicle is calculated, and the rail is conveniently detected at a proper speed in the allowable probability range.
When the damage type is the railhead cross bore, the detection probability model of the railhead cross bore is as follows:
wherein q is the detection probability of the railhead cross hole; v is the current speed of the rail flaw detection vehicle; a is the aperture of the rail head cross hole; and b is the length of the rail head cross hole. The relation between related variables can be obtained according to a detection probability model of the rail head cross hole, and the method is shown in figure 7,FIG. 8 is a graph of velocity-probability of cross hole of railhead, wherein the diameter of the cross hole is 35 and 25 when the cross hole is long, respectively
Is plotted against the vehicle speed. The detection work can be assisted by those skilled in the art according to fig. 7 and 8. In a specific implementation process, in one case, the detection probabilities of different damage types are determined according to the determined detection probability models of different damage types and the current speed of the rail flaw detection vehicle, and a detector can take the speed of the current rail flaw detection vehicle as an independent variable and bring the speed into the detection probability model of the rail head cross hole, calculate the detection probability of the rail head cross hole with different aperture diameters and compile a measurement report; in another case, the speed range of the rail flaw detection vehicle is determined according to the determined detection probability models of different flaw types and the set detection probability of the flaw types, and a detection person can take the set detection probability of a certain rail head cross hole as an independent variable according to the detection probability requirement of the current section and bring the independent variable into the detection probability model of the rail head cross hole to calculate the allowable range of the speed of the rail flaw detection vehicle, so that the rail can be conveniently detected at a proper speed within the allowable probability range.
When the damage type is the rail waist through hole, the detection probability model of the rail waist through hole is as follows:
wherein q is the detection probability of the rail web through hole; v is the current speed of the rail flaw detection vehicle; and b is the aperture of the rail web through hole. FIG. 9 is a graph of the velocity-detection probability relationship of the rail web through holes of the rail web holes of the present invention with the diameters of the rail web through holes being respectively
And (4) a relation graph of the detection probability of the rail web through hole and the vehicle speed. The detection work can be assisted by a person skilled in the art according to fig. 9. In one embodiment, the method is based onThe detection probability models of different damage types and the current speed of the rail flaw detection vehicle are determined, the detection probabilities of different damage types are determined, a detector can take the current speed of the rail flaw detection vehicle as an independent variable and bring the independent variable into the detection probability model of the rail waist through hole, the detection probabilities of the rail waist through holes with different apertures are calculated, and a measurement report is compiled; in another case, the speed range of the rail flaw detection vehicle is determined according to the determined detection probability models of different flaw types and the set detection probability of the flaw types, and a detection person can take the set detection probability of a certain rail waist through hole as an independent variable according to the requirement of the detection probability of the current section and bring the detection probability into the detection probability model of the rail waist through hole to calculate the allowable range of the speed of the rail flaw detection vehicle, so that the rail can be conveniently detected at a proper speed within the allowable probability range.
FIG. 10 is a schematic diagram of a lesion detection rate for viewing a certain lesion according to an embodiment of the present invention. As shown in fig. 10, when looking up a certain injury, a person skilled in the art inputs a specific feature and selects a model according to a requirement, and then the system enumerates and displays as many cases as possible; the user inputs a plurality of values in a certain item (such as an angle), and the corresponding damage detection rates under different conditions (such as angles of 30, 45 and 60) are enumerated. The embodiment is helpful for a user to simultaneously grasp various conditions and analyze and compare the influence of different conditions on the detection rate.
After the method for detecting a rail flaw according to the embodiment of the present invention is described, a rail flaw detection apparatus according to the embodiment of the present invention will be described. The implementation of the device can be referred to the implementation of the method, and repeated details are not repeated. The terms "module", "unit", and the like, as used hereinafter, may be software and/or hardware that implements a predetermined function.
Fig. 11 is a schematic structural view of a railway rail flaw detection device according to an embodiment of the present invention. As shown in fig. 11, the apparatus for detecting a rail damage according to an embodiment of the present invention is used for calculating the capability of a flaw detection vehicle to detect various types of damage, and includes: the data acquisition module 100 is used for acquiring original data of rail damage of a railway; the model establishing module 200 is used for establishing detection probability models of different damage types according to a logistic regression method and a machine learning method; the model determining module 300 is used for fitting and determining model coefficients of detection probability models of different damage types by using an MLE maximum probability estimation method according to original data of the railway steel rail damage; and the detection probability/detection vehicle speed determining module 400 is used for determining the detection probability of different damage types/the vehicle speed range of the rail flaw detection vehicle according to the determined detection probability models of different damage types and the vehicle speed of the current rail flaw detection vehicle/the set detection probability of the damage type.
In the detection probability/detection vehicle speed determination module 400, when the damage type is a screw hole crack, the detection probability model of the screw hole crack is as follows:
wherein q is the detection probability of screw hole cracks; v is the current speed of the rail flaw detection vehicle; a is a detection angle; and b is the crack length of the screw hole.
In the detection probability/detection vehicle speed determination module 400, when the damage type is a rail surface flat bottom hole, the detection probability model of the rail surface flat bottom hole is as follows:
wherein q is the detection probability of the rail surface flat bottom hole; v is the current speed of the rail flaw detection vehicle; and b is the aperture of the rail surface flat bottom hole.
In the detection probability/detection vehicle speed determination module 400, when the damage type is a railhead cross hole, the detection probability model of the railhead cross hole is as follows:
wherein q is the detection probability of the railhead cross hole; v is the current speed of the rail flaw detection vehicle; a is the aperture of the rail head cross hole; and b is the length of the rail head cross hole.
In the detection probability/detection vehicle speed determination module 400, when the damage type is a rail web through hole, the detection probability model of the rail web through hole is as follows:
wherein q is the detection probability of the rail web through hole; v is the current speed of the rail flaw detection vehicle; and b is the aperture of the rail web through hole.
The method and the device for detecting the rail damage of the railway have the advantages that the relationship between the detection capability of the rail damage and indexes such as the detection speed, the size of the damage, the angle of the damage and the like can be quantitatively determined, the detection capability of the flaw detection vehicle on various damages is calculated by combining a detection probability model under the given detection speed, and further, the detection speed required to be set when the flaw detection vehicle detects various damages is calculated under the condition that the detection probability requirement is given (such as not lower than 80%). The detection probability and the detection speed of the flaw detection vehicle can be set according to the expected flaw condition. And the method can also obtain visual display of the relation between related variables according to the establishment of a detection probability model so as to promote the decision of damage detection business and provide support for planning, implementation and supervision control of steel rail flaw detection work.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.