A method and system for rapid detection of torque
By building torque rapid detection features and using optimized models for real-time detection, the problem of accuracy and real-time performance of rotary drilling rig torque detection in complex environments is solved, detection accuracy and adaptability are improved, and real-time monitoring and early warning are achieved to ensure ensure the safety of equipment and operators.
Patent Information
- Application Number
- CN202410887987.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-07-04
AI Technical Summary
The existing rotary drilling rig torque detection method is difficult to ensure real-time and accuracy of detection under complex working conditions and changing environments, and the installation and maintenance costs of mechanical sensors are high, which affects the efficiency and stability of torque detection.
By obtaining the attribute parameter data and real-time working parameter data of the rotary drilling rig, we build torque rapid detection features, including strain features, vibration features, rotation features and power features, and use linear regression and decision tree models for training, optimizing the model to achieve real-time Torque detection and early warning.
It improves the accuracy and adaptability of torque detection, realizes real-time monitoring and early warning, can detect and handle abnormal situations in time, and ensure the safety of equipment and operators.
Smart Images

Figure CN118424534B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of rapid torque detection, and in particular to a rapid torque detection method and system. Background Art
[0002] The rotary drilling rig is a heavy-duty mechanical equipment widely used in foundation engineering construction, mainly used for drilling holes in soil and rock layers. Its high efficiency and adaptability make it widely used in foundation treatment, bridge construction, underground continuous wall construction, etc. However, in the actual operation of the rotary drilling rig, accurate detection and control of torque is one of the key factors to ensure equipment safety and engineering quality.
[0003] Existing methods for detecting torque in rotary drilling rigs mainly rely on mechanical sensors and traditional data acquisition systems. Although these methods can provide basic torque measurements, they often have difficulty ensuring real-time and accurate detection in the face of complex working conditions and changing environments. At the same time, mechanical sensors have high installation and maintenance costs, and are susceptible to interference during data transmission and processing, which affects the efficiency and stability of torque detection. Summary of the invention
[0004] Based on the above-mentioned shortcomings of the prior art, the purpose of the present invention is to provide a method and system for rapid torque detection to solve the above-mentioned technical problems.
[0005] To achieve the above object, the present invention provides the following technical solution: a method for rapid torque detection, comprising:
[0006] Obtain attribute parameter data and real-time working parameter data of the rotary drilling rig;
[0007] Preprocessing the attribute parameter data and the working parameter data, and constructing a torque rapid detection feature according to the preprocessed attribute parameter data and the working parameter data, wherein the torque rapid detection feature includes a strain feature, a vibration feature, a rotation feature, and an electric power feature;
[0008] Inputting the torque rapid detection feature into a trained torque rapid detection model to output real-time torque;
[0009] The torque variation curve is displayed in real time according to the real-time torque, and a torque safety threshold is set. When the real-time torque is greater than the torque safety threshold, an early warning signal is generated to issue an early warning.
[0010] The present invention is further configured such that the attribute parameter data include Young's modulus, material thermal expansion coefficient, damping coefficient, friction coefficient and stiffness coefficient of the rotary drilling rig drill bit, drill rod cross-sectional area, moment arm length, moment of inertia and vibration mass of the rotary drilling rig, and motor efficiency of the rotary drilling rig motor; and the working parameter data include strain, vibration frequency, vibration amplitude, rotational angular velocity of the rotary drilling rig drill bit, current, voltage and motor speed of the rotary drilling rig motor.
[0011] The present invention is further configured to construct a torque rapid detection feature according to the preprocessed attribute parameter data and the working parameter data, including:
[0012] Calculating the strain characteristic according to the strain, the Young's modulus, the drill pipe cross-sectional area and the moment arm length;
[0013] Calculating the vibration characteristic according to the vibration frequency, the vibration amplitude, the vibration mass, the damping coefficient and the stiffness coefficient;
[0014] calculating the rotation characteristic according to the rotation angular velocity, the moment of inertia and the friction coefficient;
[0015] The power characteristic is calculated based on the current, the voltage, the motor efficiency, and the motor speed.
[0016] The present invention is further configured such that the calculation logic of the strain feature is: ,in, is the strain characteristic, For strain, is Young's modulus, is the cross-sectional area of the drill pipe, is the moment arm length.
[0017] The present invention is further configured such that the calculation logic of the vibration characteristics is: ,in, is the vibration characteristic, is the vibrating mass, is the vibration frequency, is the vibration amplitude, is the damping coefficient, is the stiffness coefficient.
[0018] The present invention is further configured such that the calculation logic of the rotation feature is: ,in, is the rotation feature, is the moment of inertia, is the angular velocity of rotation, μ is the friction coefficient, is the angular acceleration, is the angular velocity About Time The first derivative of .
[0019] The present invention is further configured such that the calculation logic of the power feature is: ,in, For the power characteristics, is the voltage, is the current, is the motor efficiency, is the motor speed.
[0020] The present invention is further configured that the construction logic of the torque rapid detection model includes:
[0021] Acquire historical attribute parameter data and historical working parameter data of the rotary drilling rig and corresponding historical torque, calculate the torque rapid detection feature, and set the torque rapid detection feature and the real-time torque as a data set;
[0022] Dividing the data set into a training set and a validation set;
[0023] Use a linear regression model for training, take the torque rapid detection feature as input, take the torque as output, perform mean square error evaluation, and output a first evaluation score;
[0024] Use a decision tree model for training, take the torque rapid detection feature as input, take torque as output, perform mean square error evaluation, and output a second evaluation score;
[0025] When the first evaluation score is greater than the second evaluation score, optimizing the linear regression model by ridge regression to serve as the torque rapid detection model;
[0026] When the first evaluation score is less than the second evaluation score, the decision tree model is optimized by random forest as the torque rapid detection model.
[0027] The present invention is further configured to optimize the decision tree model by random forest, comprising:
[0028] Define the parameter grid of the random forest, set the tuning hyperparameters and value ranges, wherein the tuning hyperparameters include the number of trees, maximum depth, minimum number of sample splits, minimum number of sample leaves, and maximum number of features;
[0029] Perform a parameter grid search to iterate over all parameter combinations and evaluate the performance of the parameter combinations using cross-validation;
[0030] The mean square error of the parameter combination is calculated through cross-validation, and the parameter combination with the lowest mean square error is set as the optimal parameter. The random forest model is retrained using the optimal parameter combination, and the trained random forest model is set as the torque rapid detection model.
[0031] The present invention also provides a torque rapid detection system, the system comprising:
[0032] Data acquisition module: acquires attribute parameter data and real-time working parameter data of the rotary drilling rig;
[0033] Constructing a feature module: preprocessing the attribute parameter data and the working parameter data, and constructing a torque rapid detection feature according to the preprocessed attribute parameter data and the working parameter data, wherein the torque rapid detection feature includes a strain feature, a vibration feature, a rotation feature, and an electric feature;
[0034] Torque output module: inputs the torque rapid detection feature into the trained torque rapid detection model and outputs the real-time torque;
[0035] Rapid detection module: Displays the torque change curve in real time according to the real-time torque, sets a torque safety threshold, and generates an early warning signal when the real-time torque is greater than the torque safety threshold to issue an early warning.
[0036] The present invention provides a method and system for rapid torque detection. The method produces the following beneficial effects:
[0037] 1. Improve torque detection accuracy: By constructing torque rapid detection features, including strain features, vibration features, rotation features and power features, the working status of the rotary drilling rig can be fully reflected, and the prediction accuracy of the model can be improved. The comprehensive use of multiple features can capture more working status information, thereby making the torque prediction more accurate;
[0038] 2. Strong adaptability: By using linear regression and decision tree models for preliminary evaluation, the most suitable model can be selected for optimization according to different data characteristics. If the data has a strong linear relationship, the ridge regression model is selected for optimization; if the data has a strong nonlinear relationship, the random forest model is selected for optimization. The above logic can adaptively select the best model to improve the detection effect;
[0039] 3. Real-time monitoring and early warning: By collecting working parameter data in real time and inputting it into the trained torque rapid detection model, real-time torque detection can be achieved, torque safety thresholds can be set and real-time early warnings can be issued. Abnormal situations can be discovered and handled in a timely manner to ensure the safety of equipment and operators.
[0040] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0042] Figure 1 A flowchart of a method for rapid torque detection is shown as an exemplary embodiment of the present invention;
[0043] Figure 2 The figure is a schematic structural diagram of a torque rapid detection system according to an exemplary embodiment of the present invention. DETAILED DESCRIPTION
[0044] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.
[0045] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0046] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present invention difficult to understand.
[0047] Embodiment 1
[0048] A method for rapid torque detection, such as Figure 1 As shown, including:
[0049] Obtain attribute parameter data and real-time working parameter data of the rotary drilling rig;
[0050] Preprocessing the attribute parameter data and the working parameter data, and constructing a torque rapid detection feature according to the preprocessed attribute parameter data and the working parameter data, wherein the torque rapid detection feature includes a strain feature, a vibration feature, a rotation feature, and an electric power feature;
[0051] Inputting the torque rapid detection feature into a trained torque rapid detection model to output real-time torque;
[0052] The torque variation curve is displayed in real time according to the real-time torque, and a torque safety threshold is set. When the real-time torque is greater than the torque safety threshold, an early warning signal is generated to issue an early warning.
[0053] Specifically, the attribute parameter data of the rotary drilling rig include Young's modulus of the rotary drilling rig drill bit, material thermal expansion coefficient, damping coefficient, friction coefficient and stiffness coefficient, drill rod cross-sectional area, moment arm length, moment of inertia and vibration mass of the rotary drilling rig, motor efficiency of the rotary drilling rig motor, and the working parameter data of the rotary drilling rig include the strain, vibration frequency, vibration amplitude, rotational angular velocity of the rotary drilling rig drill bit, current, voltage and motor speed of the rotary drilling rig motor; Young's modulus describes the elastic deformation ability of the material when subjected to force, and is a measure of the material's ability to resist deformation. ; The thermal expansion coefficient describes the rate of change of volume or length of a material when the temperature changes; The damping coefficient describes the ability of a system to dissipate energy during vibration and is proportional to the speed; The friction coefficient describes the ratio of the friction force between two contact surfaces to the normal pressure; The stiffness coefficient describes the restoring force generated by a material or structure under unit displacement. The above parameters are obtained through the technical specifications corresponding to the material. The cross-sectional area of the drill rod is the area of the cross section of the drill rod; The length of the moment arm is the distance from the point of application of the force to the axis of rotation. The moment of inertia describes the inertia of an object to rotational motion and depends on the object's Mass distribution and position of the rotating axis. Vibration mass is the mass considered in vibration analysis, usually the mass of the component related to vibration. Motor efficiency is the efficiency of the motor in converting electrical energy into mechanical energy. The above parameters are the specifications of the rotary drilling rig. Strain describes the degree of deformation of the material under stress and is measured in real time by a strain gauge. Vibration frequency describes the periodicity of the vibration, that is, the number of vibrations per unit time. The vibration signal is measured by an accelerometer and the frequency is extracted using spectrum analysis. Vibration amplitude describes the intensity of the vibration, that is, the maximum displacement or acceleration of the vibration. The vibration signal is measured by an accelerometer and the vibration amplitude is extracted using signal processing technology. The angular velocity of rotation describes the speed of the object's rotational motion, that is, the angle of rotation per unit time. It is measured in real time by a gyroscope and installed on the rotating part. Current describes the current consumption of the motor and is measured in real time by a current sensor and installed on the power line. Voltage describes the voltage of the motor and is measured in real time by a voltage sensor and installed on the power line. Motor speed describes the rotation speed of the motor, that is, the number of revolutions per unit time and is measured in real time by a speed sensor and installed on the motor.
[0054] The attribute parameter data and the working parameter data are preprocessed. Preprocessing data is an important step to ensure data quality and improve model accuracy and reliability. Preprocessing includes data cleaning, standardization / normalization and noise filtering. Data cleaning includes missing value processing and outlier processing. Missing value processing is used to check missing values in the data set and take appropriate processing methods. The processing methods include filling missing values with mean, median, most frequent value or using interpolation method to fill missing values; outlier processing is used to detect outliers in the data, including identifying outliers through box plots, standard deviation and other methods, and selecting appropriate methods for processing, such as deleting outliers or replacing them with reasonable values; standardization converts data into a form of zero mean and unit variance; normalization: scaling data to a specific range, standardization and normalization help eliminate dimensional differences between different features, so that data can be compared and processed on the same scale, thereby improving the effect and convergence speed of model training; noise filtering removes high-frequency noise in the data through filters. The purpose of noise filtering is to improve the signal-to-noise ratio of the data, reduce the interference of noise on model training and prediction, and make the data smoother and more reliable.
[0055] The present invention is further configured to construct a torque rapid detection feature according to the preprocessed attribute parameter data and the working parameter data, including:
[0056] The strain characteristic is calculated according to the strain, the Young's modulus, the cross-sectional area of the drill pipe and the length of the moment arm; the present invention is further configured such that the calculation logic of the strain characteristic is: ,in, is the strain characteristic, For strain, is Young's modulus, is the cross-sectional area of the drill pipe, is the moment arm length. The strain characteristics reflect the deformation and torque generated by the drill pipe under stress, and the torque generated by the strain can be accurately calculated.
[0057] The vibration characteristic is calculated according to the vibration frequency, the vibration amplitude, the vibration mass, the damping coefficient and the stiffness coefficient; the present invention is further configured that the calculation logic of the vibration characteristic is: ,in, is the vibration characteristic, is the vibrating mass, is the vibration frequency, is the vibration amplitude, is the damping coefficient, is the stiffness coefficient; the vibration characteristic reflects the torque generated by the system during vibration. By combining frequency, amplitude, mass, damping and stiffness, the torque generated by vibration can be accurately calculated.
[0058] The rotation feature is calculated according to the rotation angular velocity, the moment of inertia and the friction coefficient; the present invention is further configured such that the calculation logic of the rotation feature is: ,in, is the rotation feature, is the moment of inertia, is the angular velocity of rotation, μ is the friction coefficient, is the angular acceleration, is the angular velocity About Time The first derivative of the rotation characteristic reflects the torque generated by the system during rotation. The torque generated by rotation can be accurately calculated by combining the rotation angular velocity, moment of inertia and friction coefficient.
[0059] The power characteristic is calculated according to the current, the voltage, the motor efficiency and the motor speed. The present invention is further configured such that the calculation logic of the power characteristic is: ,in, For the power characteristics, is the voltage, is the current, is the motor efficiency, is the motor speed; the power characteristic reflects the torque generated by the motor during operation. By combining current, voltage, efficiency and speed, the torque generated by the motor can be accurately calculated.
[0060] The present invention is further configured that the construction logic of the torque rapid detection model includes:
[0061] Acquire historical attribute parameter data and historical working parameter data of the rotary drilling rig and corresponding historical torque, calculate the torque rapid detection feature, and set the torque rapid detection feature and the real-time torque as a data set;
[0062] The data set is divided into a training set and a validation set; specifically, the sorted data set is divided into a training set and a validation set, usually using a ratio of 8:2 or 7:3, which is not limited here. The training set is used as data for training the model; the validation set is used as data for evaluating the performance of the model, ensuring that the model can be accurately evaluated on the validation set to evaluate its performance on new data;
[0063] Using a linear regression model for training, taking the torque rapid detection feature as input and the torque as output, performing mean square error evaluation, and outputting a first evaluation score; using training set data to train a linear regression model, taking the torque rapid detection feature as input and the torque as output, performing model training, evaluating the performance of the linear regression model on a validation set, and calculating a mean square error (MSE) as a first evaluation score;
[0064] The decision tree model is used for training, the torque rapid detection feature is used as input, the torque is used as output, the mean square error is evaluated, and a second evaluation score is output; the decision tree model is trained using the training set data; the torque rapid detection feature is used as input, and the historical torque is used as output to train the model; the performance of the decision tree model is evaluated on the validation set, and the mean square error (MSE) is calculated as the second evaluation score; the preliminary model training and evaluation are helpful to determine the linear or nonlinear characteristics of the data and select the most appropriate model for further optimization;
[0065] When the first evaluation score is greater than the second evaluation score, the linear regression model is optimized by ridge regression as the torque rapid detection model; when the first evaluation score is less than the second evaluation score, the decision tree model is optimized by random forest as the torque rapid detection model; specifically, the evaluation scores of the linear regression model and the decision tree model are compared, if the first evaluation score (MSE of the linear regression model) is less than the second evaluation score (MSE of the decision tree model), ridge regression is selected to optimize the linear regression model, if the first evaluation score is greater than the second evaluation score, random forest is selected to optimize the decision tree model, wherein ridge regression (L2 regularization) is used for optimization, and the regularization parameters are adjusted to reduce overfitting and improve the generalization ability of the model.
[0066] The present invention is further configured to optimize the decision tree model by random forest, comprising:
[0067] Define the parameter grid of random forest, set the tuning hyperparameters and value ranges, where the tuning hyperparameters include the number of trees, maximum depth, minimum number of sample splits, minimum number of sample leaves and maximum number of features; where the tuning hyperparameters and value ranges are set: number of trees (n_estimators): common value ranges are 100, 200, 300, etc., maximum depth (max_depth): common value ranges are 10, 20, 30, etc., minimum number of sample splits (min_samples_split): common value ranges are 2, 5, 10, etc., minimum number of sample leaves (min_samples_leaf): common value ranges are 1, 2, 4, etc., maximum number of features (max_features): common value ranges are 'auto', 'sqrt', 'log2', etc.; the purpose of defining the parameter grid is to determine which parameter combinations may affect the performance of the model, and to find the best parameter combination through systematic search to improve the predictive ability and stability of the model.
[0068] Perform parameter grid search, traverse all parameter combinations, and use cross-validation to evaluate the performance of parameter combinations; traverse all parameter combinations, use cross-validation to evaluate the performance of each combination, use K-fold cross-validation (such as 5-fold cross-validation) to divide the data set into K subsets, use K-1 subsets for training each time, and the remaining subset for validation. Repeat K times to ensure that each subset is validated once. For each parameter combination, calculate the average mean square error (MSE) of all compromises. The purpose of parameter grid search is to systematically evaluate the effect of each parameter combination, ensure the reliability and stability of the evaluation results through cross-validation, and reduce the risk of overfitting.
[0069] The mean square error of the parameter combination is calculated through cross-validation, and the parameter combination with the lowest mean square error is set as the optimal parameter. The random forest model is retrained using the optimal parameter combination, and the trained random forest model is set as the torque rapid detection model. Specifically, the average MSE is calculated for the cross-validation results of each parameter combination, and the parameter combination with the lowest average MSE is found and set as the optimal parameter. Selecting the optimal parameter combination can ensure that the model performs well in both training and validation stages, improve the generalization ability and prediction accuracy of the model, use the optimal parameter combination to retrain the random forest model on the entire training set, apply the trained model to the validation set, and evaluate its final performance. Retraining the model can ensure that the optimal parameters are fully utilized on the full amount of data, and the final model can provide stable and accurate predictions in practical applications.
[0070] Embodiment 2
[0071] See also Figure 2 , the exemplary torque rapid detection system comprises:
[0072] Data acquisition module: acquires attribute parameter data and real-time working parameter data of the rotary drilling rig;
[0073] Constructing a feature module: preprocessing the attribute parameter data and the working parameter data, and constructing a torque rapid detection feature according to the preprocessed attribute parameter data and the working parameter data, wherein the torque rapid detection feature includes a strain feature, a vibration feature, a rotation feature, and an electric feature;
[0074] Torque output module: inputs the torque rapid detection feature into the trained torque rapid detection model and outputs the real-time torque;
[0075] Rapid detection module: Displays the torque change curve in real time according to the real-time torque, sets a torque safety threshold, and generates an early warning signal when the real-time torque is greater than the torque safety threshold to issue an early warning.
[0076] It should be noted that the torque rapid detection system provided in the above embodiment and the torque rapid detection method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment and will not be repeated here. In practical applications, the torque rapid detection system provided in the above embodiment can allocate the above functions to different functional modules as needed, that is, divide the internal structure of the system into different functional modules to complete all or part of the functions described above, and this is not limited here.
[0077] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.
[0078] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship, but it may also indicate an "and / or" relationship. Please refer to the context for specific understanding.
[0079] In this application, "at least one" means one or more, and "more than one" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0080] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes 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 of the present application.
[0081] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0082] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0083] In the several embodiments provided in the present application, it should be understood that the disclosed system can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0084] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0085] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0086] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.
[0087] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for rapid torque detection, It is characterized in that include: Acquire attribute parameter data and real-time working parameter data of the rotary drilling rig, wherein the attribute parameter data include Young's modulus, material thermal expansion coefficient, damping coefficient, friction coefficient and stiffness coefficient of the rotary drilling rig drill bit, drill rod cross-sectional area, moment arm length, moment of inertia and vibration mass of the rotary drilling rig, and motor efficiency of the rotary drilling rig motor; the working parameter data include strain, vibration frequency, vibration amplitude, rotational angular velocity of the rotary drilling rig drill bit, current, voltage and motor speed of the rotary drilling rig motor; Preprocessing the attribute parameter data and the working parameter data, and constructing a torque rapid detection feature according to the preprocessed attribute parameter data and the working parameter data, wherein the torque rapid detection feature includes a strain feature, a vibration feature, a rotation feature, and an electric feature; constructing a torque rapid detection feature according to the preprocessed attribute parameter data and the working parameter data includes: The strain feature is calculated according to the strain, the Young's modulus, the cross-sectional area of the drill pipe and the length of the moment arm; the calculation logic of the strain feature is: ,in, is the strain characteristic, For strain, is Young's modulus, is the cross-sectional area of the drill pipe, is the length of the moment arm; The vibration characteristic is calculated according to the vibration frequency, the vibration amplitude, the vibration mass, the damping coefficient and the stiffness coefficient; the calculation logic of the vibration characteristic is: ,in, is the vibration characteristic, is the vibrating mass, is the vibration frequency, is the vibration amplitude, is the damping coefficient, is the stiffness coefficient; The rotation feature is calculated according to the rotation angular velocity, the moment of inertia and the friction coefficient; the calculation logic of the rotation feature is: ,in, is the rotation feature, is the moment of inertia, is the angular velocity of rotation, μ is the friction coefficient, is the angular acceleration, is the angular velocity About Time The first derivative of ; The power feature is calculated according to the current, the voltage, the motor efficiency and the motor speed; the calculation logic of the power feature is: ,in, For the power characteristics, is the voltage, is the current, is the motor efficiency, is the motor speed; Inputting the torque rapid detection feature into a trained torque rapid detection model to output real-time torque; The torque variation curve is displayed in real time according to the real-time torque, and a torque safety threshold is set. When the real-time torque is greater than the torque safety threshold, an early warning signal is generated to issue an early warning.
2. A method for rapid torque detection according to claim 1, It is characterized in that The construction logic of the torque rapid detection model includes: Acquire historical attribute parameter data and historical working parameter data of the rotary drilling rig and corresponding historical torque, calculate the torque rapid detection feature, and set the torque rapid detection feature and the real-time torque as a data set; Dividing the data set into a training set and a validation set; Use a linear regression model for training, take the torque rapid detection feature as input, take the torque as output, perform mean square error evaluation, and output a first evaluation score; Use a decision tree model for training, take the torque rapid detection feature as input, take torque as output, perform mean square error evaluation, and output a second evaluation score; When the first evaluation score is greater than the second evaluation score, optimizing the linear regression model by ridge regression to serve as the torque rapid detection model; When the first evaluation score is less than the second evaluation score, the decision tree model is optimized by random forest as the torque rapid detection model.
3. A method for rapid torque detection according to claim 2, It is characterized in that Optimizing the decision tree model by random forest includes: Define the parameter grid of the random forest, set the tuning hyperparameters and value ranges, wherein the tuning hyperparameters include the number of trees, maximum depth, minimum number of sample splits, minimum number of sample leaves, and maximum number of features; Perform a parameter grid search to iterate over all parameter combinations and evaluate the performance of the parameter combinations using cross-validation; The mean square error of the parameter combination is calculated through cross-validation, and the parameter combination with the lowest mean square error is set as the optimal parameter. The random forest model is retrained using the optimal parameter combination, and the trained random forest model is set as the torque rapid detection model.
4. A torque rapid detection system, It is characterized in that include: Data acquisition module: acquiring attribute parameter data and real-time working parameter data of the rotary drilling rig, wherein the attribute parameter data include Young's modulus, material thermal expansion coefficient, damping coefficient, friction coefficient and stiffness coefficient of the rotary drilling rig drill bit, drill rod cross-sectional area, moment arm length, moment of inertia and vibration mass of the rotary drilling rig, and motor efficiency of the rotary drilling rig motor; the working parameter data include strain, vibration frequency, vibration amplitude, rotational angular velocity of the rotary drilling rig drill bit, current, voltage and motor speed of the rotary drilling rig motor; Constructing a feature module: preprocessing the attribute parameter data and the working parameter data, and constructing a torque rapid detection feature according to the preprocessed attribute parameter data and the working parameter data, wherein the torque rapid detection feature includes a strain feature, a vibration feature, a rotation feature, and an electric feature; constructing a torque rapid detection feature according to the preprocessed attribute parameter data and the working parameter data includes: The strain feature is calculated according to the strain, the Young's modulus, the cross-sectional area of the drill pipe and the length of the moment arm; the calculation logic of the strain feature is: ,in, is the strain characteristic, For strain, is Young's modulus, is the cross-sectional area of the drill pipe, is the length of the moment arm; The vibration characteristic is calculated according to the vibration frequency, the vibration amplitude, the vibration mass, the damping coefficient and the stiffness coefficient; the calculation logic of the vibration characteristic is: ,in, is the vibration characteristic, is the vibrating mass, is the vibration frequency, is the vibration amplitude, is the damping coefficient, is the stiffness coefficient; The rotation feature is calculated according to the rotation angular velocity, the moment of inertia and the friction coefficient; the calculation logic of the rotation feature is: ,in, is the rotation feature, is the moment of inertia, is the angular velocity of rotation, μ is the friction coefficient, is the angular acceleration, is the angular velocity About Time The first derivative of ; The power feature is calculated according to the current, the voltage, the motor efficiency and the motor speed; the calculation logic of the power feature is: ,in, For the power characteristics, is the voltage, is the current, is the motor efficiency, is the motor speed; Torque output module: inputs the torque rapid detection feature into the trained torque rapid detection model and outputs the real-time torque; Rapid detection module: Displays the torque change curve in real time according to the real-time torque, sets a torque safety threshold, and generates an early warning signal when the real-time torque is greater than the torque safety threshold to issue an early warning.
Citation Information
Patent Citations
Hydraulic ship lift synchronizing shaft torque test fault diagnosis method
CN112649131A
Processing method, device and equipment of TBM cutterhead torque real-time prediction model
CN113806889A
Control method and control system of servo electric screwdriver
CN113910148A
Variable pitch system fault early warning method and system
CN116717436A
Torque measurement method and system suitable for ship shafting
CN117906805A
