Time sequence fault abnormal diagnosis analysis method and system for multi-process operation down-the-hole drill

By constructing a unified temporal feature vector and process knowledge graph, the problems of semantic distinction and multi-scale temporal perception in intelligent monitoring and diagnosis of drilling rigs were solved, enabling effective capture of cross-stage anomaly propagation and reliable root cause analysis of faults, thus forming a closed-loop fault handling process.

CN123179259APending Publication Date: 2026-11-27CHINA UNIV OF MINING & TECH
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202611712791.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-11-02
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing intelligent monitoring and diagnostic technologies for drilling rigs are unable to distinguish the differences in the normal state of the same variable in different drilling processes, which can easily lead to false alarms. They lack multi-scale time-series perception capabilities, cannot fully capture the cross-stage abnormal propagation chain, and lack causal reasoning capabilities, resulting in root cause misjudgment and fragmented diagnosis.

Method used

By collecting multi-source sensor data in real time, segmenting data based on process event anchor points, constructing a unified temporal feature vector, extracting features using a multi-scale temporal encoder, and combining it with a process knowledge graph for attention bias and training, the system outputs anomaly scores, root cause candidates, and propagation paths to achieve closed-loop diagnosis and handling.

Benefits of technology

It reduces semantic confusion, explicitly handles missing data, provides an executable root cause chain, solves the problem of scarce abnormal samples, realizes synchronous diagnosis of short-term actions and long-term trends, and forms a closed-loop fault handling process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123179259A_ABST
    Figure CN123179259A_ABST
Patent Text Reader

Abstract

The application discloses a multi-process operation time sequence fault anomaly diagnosis analysis method and system of a down-the-hole drill. The method cuts multi-source time sequence data with process events as anchor points, constructs a unified time sequence feature vector containing original sensing, differential response, control instruction, missing mask, sampling interval, process embedding and instruction state residual; extracts short-time action and long-time trend features through multi-scale time sequence coding, and introduces a process knowledge graph to convert into attention bias and training constraints; synchronously outputs hidden state probability, anomaly score, root cause candidate, evidence variable, propagation path and disposal suggestion through multi-task branch; executes prompt, remote control confirmation or shutdown according to risk level, and checks precondition after disposal to restore autonomous process. The application solves the problems of threshold false alarm, unclear cross-process root cause, difficult hidden state measurement and scarce abnormal samples, realizes low false alarm rate, interpretable root cause tracing and autonomous recovery closed loop, and is suitable for intelligent monitoring of down-the-hole drill operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of industrial equipment fault diagnosis technology, and in particular to a method and system for diagnosing and analyzing timing fault anomalies in multi-process down-the-hole drilling rigs. Background Technology

[0002] Down-the-hole (DH) drilling rigs are critical equipment in open-pit mining. Their operation involves multiple processes, including navigation, borehole positioning, boom alignment, impact drilling, rod connection and unloading, clamping and pre-loosening, rod magazine rotation, and robotic arm grasping. Each process has strict prerequisites and interlocking relationships; even a slight deviation in any step can propagate along the process chain, ultimately manifesting as jamming, overload, or timeouts. The same pressure, displacement, or switching signal has different physical meanings in different processes. Traditional alarm methods based on fixed thresholds struggle to distinguish between normal state transitions and abnormal abrupt changes, leading to numerous false alarms.

[0003] With the development of sensor technology, IoT communication, and artificial intelligence algorithms, significant progress has been made in remote monitoring and fault diagnosis technology for drilling rigs. Existing publicly available patents mainly cover the following areas: Traditional monitoring and alarm systems are based on remote data acquisition and threshold-based fault alarms. Representative solutions such as CN1648408A, CN201556094U, and CN104895547A effectively reduce the cost of manual inspection and improve the ability to gather information at the well site. However, their diagnostic logic is still limited to single sensor signals and preset fault codes. They cannot model the semantic changes of the same variable in different drilling processes, nor can they identify the hidden states that propagate across processes. They often misjudge the result variable as the root cause and lack dynamic memory and causal reasoning capabilities.

[0004] Although digital and subsystem-level acquisition systems have introduced edge computing and digital modeling, such as CN110259433A, CN112012695A, and CN112859674A, to achieve high-precision monitoring and real-time assistance for local equipment, their architecture is still based on independent subsystems (such as pump stations, logging, and robotic arms). They lack multi-scale time-series networks for the complete operation process, making it difficult to simultaneously capture short-term actions (such as robotic arm responses) and long-term trends (such as drilling jams). Furthermore, they cannot achieve root cause sequencing and recovery condition verification across multiple subsystems such as travel, power head, and dust removal, resulting in fragmented system-level anomaly diagnosis.

[0005] In summary, existing intelligent monitoring and diagnostic technologies for drilling rigs still have significant limitations. They fail to fully integrate process semantics to distinguish the differences in the normal state of the same variable at different operational stages, easily leading to a large number of invalid false alarms. They also lack multi-scale temporal perception capabilities that adapt to the entire operation process, making it difficult to fully capture the abnormal propagation chain across stages. Furthermore, these technologies generally lack causal reasoning constraints based on process state transition logic, often misjudging surface-level result variables as root causes of faults, and failing to output practical handling guidelines. In addition, traditional training models heavily rely on complete labeled fault samples, and due to the scarcity of on-site abnormal data and the uneven distribution of fault types, the generalization performance of the models in actual well site scenarios always has significant shortcomings. Summary of the Invention

[0006] In view of this, this application provides a method and system for diagnosing and analyzing timing faults in multi-stage down-the-hole drilling rigs, in order to at least solve some of the problems existing in the prior art.

[0007] According to one aspect of this application, a method for diagnosing and analyzing timing faults in multi-stage down-the-hole drilling rigs is provided, the method comprising the following steps: S1. Real-time acquisition of multi-source sensor data and control commands from the operating equipment, and segmentation of the continuous operation log into variable-length process windows based on process event anchor points. The process event anchor points include at least one of command issuance, switch in place, pressure exceeding limit, action completion, manual takeover, alarm triggering, or state machine switching. S2. For each sampling time, a unified time-series feature vector is constructed. The unified time-series feature vector is obtained by concatenating the original sensing vector, time difference response vector, control command vector, effective observation mask vector, sampling interval vector, process embedding vector and command-state residual vector and then performing feature mapping. S3. Use a multi-scale temporal encoder to extract features from the unified temporal feature vector to obtain a process window representation. The multi-scale temporal encoder includes a short process high-frequency response encoding unit and a long process trend summary encoding unit. S4. Construct a process knowledge graph including process nodes, action nodes, sensor variable nodes, equipment component nodes, hidden state nodes, fault mode nodes and handling rule nodes, and transform the process knowledge graph into an attention bias, and introduce the attention bias into the attention calculation of time-series coding. S5. Based on the process window representation, output synchronously through multi-task branches: the posterior probability of the hidden state, the anomaly score and the anomaly category, as well as the root cause Top-K candidate set and its corresponding evidence variables and anomaly propagation path; S6. Calculate the risk level based on the anomaly score, root cause posterior probability, diagnostic confidence and safety margin, and execute prompt recording, remote confirmation request or safe shutdown according to the risk level. S7. After completing the anomaly handling, perform the precondition verification. Once the verification is successful, resume the autonomous operation process.

[0008] Preferably, the time-difference response vector is calculated according to the following formula:

[0009] in, This is the multivariable sensing vector of the current time and the previous valid sampling time. The time interval between each variable and the last valid observation. To prevent numerical amplification due to excessively short time intervals, a lower bound for the regularization is set. The command-state residual between the measured response and the expected response is calculated as follows:

[0010] in, For control instructions and current process labels, This is the normal sensing response predicted by the model under this process and instruction. The unified temporal feature vector is constructed according to the following formula:

[0011] in, For multilayer perceptron feature mapping, To control the command vector, To effectively observe the mask vector, This is the process embedding vector.

[0012] Preferably, the multi-scale timing encoder further includes a process condition sensor gating unit, which dynamically adjusts the weights of each sensing variable based on the current process label.

[0013] in, For a moment The process condition variable gating vector, For element-wise function, For gating network parameters, This involves concatenating the feature vector with the process embedding. This is the gated feature vector.

[0014] Preferably, attention is calculated as missing perceptual attention, and its attention weight is:

[0015] in, These represent the query vector and the key vector, respectively. This represents the dimension of the key vector. This represents the bias calculated based on the missing mask and the sampling interval. The bias is calculated based on the process knowledge graph. The bias is calculated based on the process adjacency relationship and process dwell time. The Calculated as follows:

[0016] in, These are the state transition adjacency strength and the fault propagation adjacency strength, respectively. For the spectrum from arrive Permissible propagation path strength, The degree of matching between the actual time difference and the allowable propagation delay. These are non-negative combination weights.

[0017] Preferably, the outlier score is calculated according to the following formula:

[0018] in, These are the effective dimensional index sets for the current sensing residual and the representation residual, respectively. To retain only the effective dimensions of the prediction residuals and the reconstructed residuals, This is the principal submatrix of the covariance of the valid data along the effective dimensions, where the two indices within the square brackets specify the selected row and column, respectively, and their order is consistent with the order of the valid variables in the residual vector. For effective dimension, For the normal category posterior, For three non-negative weights, This is a regularization term.

[0019] Preferred multi-task branches include: The latent state estimation branch outputs the posterior probabilities of reliable clamping, pre-loosening completion, rod magazine alignment, and drill string jamming trend. The anomaly diagnosis branch outputs the anomaly score, anomaly category, and detection latency. The root cause analysis branch outputs the Top-K candidate root causes, as well as the evidence variables and anomaly propagation paths corresponding to each candidate root cause. The Top-K candidate set of root causes is determined by the following formula:

[0020] in, Representing a given window and knowledge graph At that time, the root cause category of the fault The posterior probability, For root cause classification header parameters, For category Additional biases are formed by the prior knowledge of the map, path consistency, and preconditions of the process. For the set of candidate root cause categories, Selected in descending order of posterior probability A set of root causes This is the preset output quantity.

[0021] Preferably, the above method further includes a training step: Phase A: Self-supervised training is performed using normal work logs. The training tasks include next-step sensor prediction, mask reconstruction, process sequence recovery, and comparative learning. Phase B: Supervised fine-tuning is performed using data injection from abnormal samples, alarm codes, manual takeover records, maintenance records, and fault scripts. Focal Loss is used to address class imbalance, and prototype learning is employed to handle outlier classes with fewer samples. The fault script injection includes at least one of the following: track sinking script, boom abnormal lifting script, boom magazine angle deviation script, insufficient clamp pressure script, insufficient pre-loosening script, stuck drill script, and sensor missing script; each fault script records the root cause, propagation node, evidence variables, and expected handling actions. The next-step sensor prediction loss and representation reconstruction loss during training are as follows:

[0022] in, These are the next-step sensing prediction loss and the representation reconstruction loss, respectively. This is the set of time indices containing both effective predicted and reconstructed targets in the training batch. for Input at all times The predicted residual of the sensed quantity at time +1 To reconstruct the residual using a mask.

[0023] Preferably, the knowledge graph constraint loss is calculated according to the following formula:

[0024] in, These are the set of allowed edges in the graph and the set of negative edges sampled under the same process conditions, respectively. For the model to nodes , Normalized prediction strength of the spectral correlation between them This represents the upper limit allowed for negative edges.

[0025] According to another aspect of this application, a timing fault anomaly diagnosis and analysis system for multi-stage operations of down-the-hole drilling rigs is provided, the system comprising: The multi-source data acquisition module is used to acquire multi-source sensor data and control command data during the operation of down-the-hole drilling rig; The process event parsing module is used to divide continuous time-series data into variable-length process windows based on process event anchor points; The unified temporal representation module is used to construct a unified temporal feature vector for each sampling time. A multi-scale temporal coding module is used to extract features from the unified temporal feature vector to obtain a process window representation; The process knowledge graph module is used to store and maintain the process knowledge graph and convert the process knowledge graph into attention biases; The multi-task output module is used to synchronously output the latent state posterior probability, anomaly score and anomaly category, as well as the root cause Top-K candidate set and its corresponding evidence variables and anomaly propagation path based on the process window characterization. The risk classification and handling module is used to calculate the risk level based on the anomaly score, root cause posterior probability, diagnostic confidence and safety margin, and execute prompt recording, remote confirmation request or safe shutdown according to the risk level. The recovery verification module is used to perform precondition verification after an anomaly handling, and restore the autonomous operation process after the verification is successful.

[0026] Preferably, the system employs a collaborative deployment of vehicle-side edge computing units and a remote monitoring center: The vehicle-side edge computing unit stores the most recent process windows and lightweight diagnostic models, which are used to perform low-latency anomaly detection, safe shutdown, and hidden state estimation of critical processes; The remote monitoring center stores long-term logs, a complete knowledge graph, and a deep diagnostic model, which are used to perform long-term trend analysis, root cause analysis, knowledge graph updates, and model distillation. The vehicle-side edge computing unit and the remote monitoring center transmit data using an event digest method. The system also includes a model version management and rollback mechanism. When the false positive rate or manual rejection rate exceeds the threshold after a new model is launched, it will automatically roll back to the previous version.

[0027] Compared with the prior art, the present invention has the following beneficial effects: First, data is organized by process events rather than fixed time windows to reduce semantic confusion between variables from different processes. By encoding process labels, missing masks, sampling intervals, and control instructions into a unified temporal feature vector, the model first understands the observability of the current process and variables before judging anomalies.

[0028] Second, explicitly introducing a missing value mask and sampling interval avoids mistaking structurally unobservable values ​​for normal values. When the missing value occurs in a variable irrelevant to the current process, it has little impact on diagnosis; when the missing value occurs in a critical variable of the current process, the missing value itself becomes evidence of risk, preventing communication interruptions from being misjudged as mechanical failures.

[0029] Third, knowledge graphs are used to constrain training and reasoning, enabling diagnostic results to have an actionable root cause chain. The relationship between action, condition, hidden state, fault, and action is defined using a process knowledge graph, and this graph relationship is transformed into attention bias. B KG and constraint loss L KG This constrains root cause reasoning to proceed along a reasonable process chain, avoiding misjudging outcome variables as root causes.

[0030] Fourth, the problem of scarce anomalous samples is addressed through self-supervision of normal logs, injection of fault scripts, and fine-tuning using a small number of anomalous sample prototypes. The fault script does not simply change the label, but simulates a reasonable propagation process in the time series, enabling the model to learn the fault propagation delay rather than just learning single-point anomalous points.

[0031] Fifth, the diagnostic output is integrated into remote control confirmation, safe shutdown, state reconstruction, and recovery verification to form a closed loop. The diagnostic module issues structured state updates to the autonomous controller, such as reliable clamping confidence level, lever drop risk level, and root cause category. Based on this, the autonomous controller prohibits entry into unsafe processes or invokes safe shutdown. After handling, the preconditions are verified to determine whether to resume the autonomous process.

[0032] Sixth, the combination of short-window high-frequency encoding, long-window trend summarization, and process-level converter enables short-term action delays, long-term pressure drift, and cross-process state propagation to be expressed in the same model, while covering short-term responses such as robot arm actions and long-term trends such as drilling jams. Attached Figure Description

[0033] Figure 1 This is a schematic diagram of a multi-task hidden state estimation, anomaly diagnosis, and root cause analysis network framework based on process knowledge constraints according to an embodiment of this application. Figure 2 This is a schematic diagram illustrating the abnormal propagation path and root cause evidence chain analysis of the drilling rig according to an embodiment of this application; Figure 3This is a flowchart illustrating the closed-loop process of online diagnosis, remote control takeover, and autonomous recovery of drilling rig timing anomalies according to an embodiment of this application. Detailed Implementation

[0034] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0035] refer to Figure 1 The diagram illustrates a multi-task hidden state estimation, anomaly diagnosis, and root cause analysis network framework based on process knowledge constraints according to an embodiment of this application. In one embodiment, the system according to this application includes a multi-source data acquisition module, a process event parsing module, a unified temporal representation module, a multi-scale temporal coding module, a process knowledge graph module, a multi-task output module, a risk classification and handling module, and a recovery verification module.

[0036] The multi-source data acquisition module collects drilling rig operation data through various sensors, controller buses, and communication interfaces, including but not limited to: RTK positioning data, track speed and displacement, vehicle attitude (pitch / roll / heading), boom angle and attitude, propulsion pressure, slewing pressure, lifting pressure, clamp pressure, power head displacement, propulsion speed, slewing speed, hole depth, slag discharge status, boom angle and boom position, manipulator displacement, proximity switch status, engine status, air compressor pressure, hydraulic oil temperature, electronic fence status, control commands, and controller alarm codes.

[0037] The process event parsing module receives a continuous data stream and segments the data into variable-length process windows based on the start and end conditions in the process status table. Each process in the process status table contains at least the following: process number, start condition, allowed control command, valid sensor variable, critical hidden state, end condition, timeout condition, interlock condition, recoverable action, and prohibited action.

[0038] For example, effective variables in the navigation and hole finding process include RTK fixed solution, track speed difference, vehicle attitude, obstacle distance, and electronic fence status; effective variables in the boom hole alignment process include boom angle, feed beam attitude, drill tail deviation, vehicle lifting status, and hydraulic pressure; effective variables in the rod loading process include rod magazine angle, rod magazine with rod, robot arm displacement, clamp pressure, and proximity switch; effective variables in the drilling process include feed pressure, slewing pressure, feed speed, hole depth, and slag removal status.

[0039] Each window retains the original sampling interval, resampling flag, and missing mask. For multi-frequency variables, the system employs a time alignment function and a mask matrix to ensure that different frequency sensors maintain traceability of their origin within a unified time-series feature vector.

[0040] In one embodiment, for each sampling time t, the unified temporal representation module constructs a unified temporal feature vector:

[0041] It is a unified feature vector fed into the timing encoder, not the original single sensor value. This represents the feature mapping for a multilayer perceptron. Square brackets indicate concatenation in a fixed order: raw sensing data. ,difference ,instruction Valid mask Sampling interval Process embedding and instruction response residual . A value of 1 for each dimension indicates a valid observation, while a value of 0 indicates a missing or invalid observation. It is a learnable vector representation of discrete process labels.

[0042] The differential response and command-state residual are calculated as follows:

[0043] This is the multivariate sensing vector for the current time and the previous valid sampling time. This represents the time interval between the last valid observation and the current value for each variable; if the variables are sampled asynchronously, values ​​can be taken by dimension. To prevent numerical amplification caused by excessively short time intervals, a lower bound for regularization is set. It is the unit time differential response. For control instructions and current process labels. This represents the normal sensing response predicted by the model under this process and instruction. The command-state residual is the measured response relative to the expected response.

[0044] These are, respectively, the sensing vector, control command, effective observation mask, process label, and sampling interval; The expected response under the current process and instructions; For instruction-state residuals; Embedded into the process; To avoid zero sampling intervals and numerical regularization terms with zero denominators, all time differences are calculated only along the effective observation dimension.

[0045] Characterizing the semantics of the process, ŷ ( , This characterizes the state response that a control command should produce in the current process. Thus, a unified timing representation simultaneously preserves sensor values, command responses, missing states, and process validity.

[0046] In another embodiment, for each sampling time t, the system records the following data structure:

[0047] in, For a moment An ordered set of data records; angle brackets indicate that the field order is fixed and the data is not an unordered set. To standardize clock timestamps, These are respectively process, sensor, instruction, effective mask, and sampling interval. For controller alarm codes, This is a sign indicating manual takeover. This allows for remote control, autonomous, or safety shutdown modes. This record enables subsequent training to review the complete "command-status-alarm-manual intervention" chain.

[0048] The multi-scale temporal coding module includes a short-process high-frequency response encoder, a long-process trend summary encoder, a process condition sensor gating unit, a missing information attention unit, a process-level converter unit, a memory feature vector unit, and a learnable query unit.

[0049] The short-process high-frequency response encoder employs a smaller time window and a higher sampling frequency, focusing on second-level responses such as robot positioning, gripper closure, switching hysteresis, and pressure surges. The long-process trend summary encoder employs a larger time window and a lower sampling frequency, focusing on minute-level trends such as drilling pressure, propulsion speed, rotational pressure, and slag discharge status. Features from both scales are fused through a cross-attention mechanism, allowing short-term action delays, long-term pressure drift, and cross-process state propagation to be expressed in the same model.

[0050] In one embodiment, the process condition sensor gating dynamically generates a variable gating vector based on the current process:

[0051] For a moment The process condition variable gating vector, superscript This indicates variable-level gating. For element-wise A function that sets the gate value between 0 and 1. For the weights and biases of the gated network. This is a concatenation of feature vectors and process embeddings. This is element-wise multiplication. This is the gated feature vector; dimensions close to 0 are suppressed in the current process.

[0052] For example, in the navigation and hole-finding stage, track speed difference, vehicle attitude, obstacle distance, and electronic fence status have higher weights; in the pole loading stage, pole magazine angle, robot arm displacement, clamping pressure, and proximity switch have higher weights; and in the drilling stage, propulsion pressure, rotation pressure, lifting pressure, and propulsion speed have higher weights. The gating value is output by the Sigmoid function, and dimensions close to 0 are suppressed in the current process.

[0053] The missing perception attention mechanism introduces three types of biases in attention computation:

[0054] To query location Key bindings Normalized attention weights, according to implement Therefore, for fixed satisfy . These are the query vector and key vector obtained by linear transformation of the temporal representation. The dimension of the key vector, divided by Used to control the scale of the dot product. This is for missing mask and sampling interval offset. For knowledge graph bias. This is due to the adjacent processes and the offset of dwell time.

[0055] in Calculated from a missing mask and time intervals, it is used to reduce the impact of long-term missing or invalid variables on attention. Provided by process knowledge graph; It is provided by the process adjacency relationship and process dwell time.

[0056] Process Knowledge Graph =( , It includes process nodes, action nodes, sensor variable nodes, equipment component nodes, hidden state nodes, fault mode nodes, and handling rule nodes. The relationships include "preconditions", "execution actions", "observation generation", "state transition", "anomaly propagation", "handling actions", and "recovery conditions".

[0057] Knowledge graphs transformed into attention biases:

[0058] For node / time position , Prior bias of the graph between them. These are the state transition adjacency strength and the fault propagation adjacency strength, respectively. For the spectrum from arrive The strength of the allowed propagation path. This represents the degree of matching between the actual time difference and the allowed propagation delay. The weights are non-negative combinations, calibrated on the validation set; the output of this expression is added to the computation. In the attention score.

[0059] In the above formula, Gating for process condition variables, and process labels distinguish; For query, key, and key dimension; For missing / time interval bias, map bias, and process adjacency bias. Derived from the adjacency relationship of the knowledge graph. and Calculated from the shortest propagation path and allowable delay table, Label on the validation set.

[0060] in This indicates the propagation path strength between two nodes in the graph. This indicates the permissible time delay range for anomaly propagation. This bias makes it easier for the model to focus on temporal correlations that conform to process logic and mechanical propagation relationships, while suppressing invalid correlations that are purely statistically correlated but lack mechanical meaning.

[0061] The multi-task output module outputs posterior probabilities for reliable clamping, pre-loosening completion, rod magazine alignment, and drill string jamming trends.

[0062] For the first A variable length process window, rather than network weight. This is a process knowledge graph. A window representation of the output of the shared timing encoder. This refers to implicit state categories or state vectors such as reliable clamping, pre-loosening completion, and lever alignment. The weight matrix and bias are for the hidden state classification head. Output the posterior probability of each hidden state category, with the sum of all category probabilities equal to 1.

[0063] The anomaly diagnosis branch of the multi-task output module outputs anomaly scores. To avoid missing dimensions participating in the full covariance inverse operation, residual and covariance submatrices are first extracted according to the valid observation index set:

[0064] For a moment The overall abnormal score, superscript This indicates an anomaly. These are the effective dimensional index sets for the current sensing residual and the representation residual, respectively. This refers to the prediction residuals and reconstruction residuals after retaining only the effective dimensions. To validate the principal submatrix of the data covariance in the effective dimensions, the two indices within the square brackets specify the selected rows and columns, respectively, and their order is consistent with the order of the effective variables in the residual vector. This is the effective dimension, used for normalization. This is the posterior for the normal category. For three non-negative weights, This is used to prevent division by zero when the effective dimension is zero; if the effective set is empty, this item should be skipped rather than forcibly calculated.

[0065] The root cause analysis branch of the multi-task output module outputs root causes. Evidence variables and abnormal propagation paths:

[0066] Representing a given window and knowledge graph At that time, the root cause category of the fault The posterior probability. These are the root cause classification header parameters. For category Additional biases are formed by the prior knowledge of the map, path consistency, and preconditions of the process. This is the set of candidate root cause categories. Selected in descending order of posterior probability Root cause set; This is the preset output quantity, not a matrix.

[0067] In the above formula, The first Each process window, window representation, and hidden state; These are the effective dimensional index sets for the current sensing residual and the representation residual, respectively. To extract an effective principal submatrix of dimensions from the covariance of normal validation data, regularization must be used to ensure invertibility. Return the set of root cause candidates with the highest posterior probability.

[0068] in It is formed by graph priors, path consistency, and the degree to which preconditions for the process are met. Evidence variables can be jointly determined by attention weights, gradient contributions, counterfactual masking, and graph paths, rather than simply taking the largest outlier variable.

[0069] The system outputs a chain of evidence for each root cause candidate. For example, the chain of evidence for the root cause "pole library angle deviation" is: pole library angle deviation exceeds the threshold → robot arm displacement response deviation → clamp pressure establishment time delay → abnormal drill pipe attitude → drill pipe connection failure. Each node is accompanied by evidence variables, timestamps, contribution, and confidence levels.

[0070] Reference Figure 2 In one embodiment, training is divided into two phases.

[0071] Phase A uses a large amount of normal work logs for self-supervised training. The tasks include next step prediction, mask reconstruction, process sequence recovery, and comparative learning.

[0072] These are the next-step sensing prediction loss and the representation reconstruction loss, respectively. This is the set of time indices for effective prediction and reconstruction targets in the training batch. for Input at all times The predicted residual of the sensor quantity at time +1. Reconstruct the residual using the mask. (Superscript) Indicates transpose, therefore ^ This is the sum of squared residuals; dividing by the set size avoids the window length changing the loss scale.

[0073] Contrastive learning uses different enhanced views of the same process window as positive samples and windows of different processes or different states as negative samples.

[0074] Phase B uses a small number of anomaly samples, alarm codes, manual takeover records, maintenance records, and fault scripts to inject data for weak supervision or supervision fine-tuning. Focal Loss is used to handle class imbalance.

[0075] Focal Loss is the value corresponding to the true category. Assigning the model to the true category The probability, not the prototype vector. Balance the weights for each category. To focus on the index; The larger the value, the stronger the weight decay for samples that are already correct and have high confidence. It is the natural logarithm.

[0076] For a few-sample anomaly categories, prototype learning is used. The prototype vector for category c is... Then the sample Category The probability is

[0077] For category The few-sample prototype vectors are usually derived from the support set. The mean value is calculated. Characterize the sample to be classified. As prototype Temperature, the smaller the value, the more sharply the distribution. Let be the set of categories. The quadratic form in the exponent is the squared Euclidean distance from the sample to the prototype; the negative sign indicates that the smaller the distance, the higher the probability of the category; the denominator is normalized for all categories.

[0078] Simultaneously, normal sample replay is retained to avoid minor abnormal fine-tuning from damaging normal pattern recognition capabilities. The overall training loss is:

[0079] This represents the total losses from the joint training exercise. The default coefficient for self-supervised prediction and reconstruction loss is 1. These are hidden states, anomaly classification, root causes, knowledge graph constraints, and prototype learning losses, respectively. The weights for each supervision task are determined. Each loss must be normalized to the number of valid samples before being weighted to avoid a particular task dominating training simply because it has a large number of samples.

[0080] in Assign non-negative loss weights to each task; These are hidden state supervision / weak supervision, root cause top-level supervision, etc. Or path consistency, graph constraints, and few-sample prototype loss.

[0081] To address the issue of insufficient real-world anomaly samples, the system injects fault scripts into simulations or historical log playback. These scripts don't simply change labels; instead, they simulate a reasonable propagation process within a time series. For example, the "bar library angle deviation" script first introduces a small deviation into the bar library angle variable, then introduces a response deviation into the robot arm displacement, subsequently delays the clamp pressure build-up time, and finally generates an abnormal posture and process timeout during the bar connection stage. Each script records the root cause, propagation nodes, evidence variables, and expected handling actions, forming a weakly supervised label.

[0082] To prevent the model from learning script traces instead of real fault mechanisms, abnormal segments can be randomized during training, including action duration, pressure rise slope, hydraulic response delay, sensor missing length, process switching time, ground hardness, and operator control habits.

[0083] The risk classification and handling module triages traffic based on the overall risk value: low risk triggers a prompt record, medium risk triggers remote confirmation, and high risk triggers a safety shutdown. After the three branches converge at the handling node, they sequentially perform status review, fault resolution, status reconstruction, and precondition verification. Autonomous workflow resumes only if verification passes; otherwise, the process is re-handled or manual control remains in place.

[0084] The overall risk value is calculated as follows:

[0085] According to the above formula Top- Output Root cause set. Root cause category The preset severity level. The expected severity is weighted by the posterior probability of the root cause. For the first The overall risk score for each process window. This is the maximum value (or preset upper quantile) of the abnormal score at each time point within the corresponding process window. This represents the calibrated diagnostic confidence level. This is the normalized safety margin. For combined weights; >0 prevents division by zero when the safety margin is zero. All inputs are first mapped to a uniform dimensionless scale.

[0086] Risk levels are categorized into alert level, confirmation level, and shutdown level. The alert level is suitable for anomalies with moderate confidence, low propagation risk, and sufficient safety boundaries, such as short-term communication loss. The confirmation level is suitable for anomalies requiring manual judgment, such as low confidence in pre-loosening, questionable rod magazine alignment, or slow clamping pressure build-up. The shutdown level is suitable for anomalies that may pose risks to personnel and equipment, such as abnormal vehicle lifting, clamping failure, rapidly increasing drill string jamming trend, electronic fence crossing, or high-pressure hydraulic anomalies.

[0087] The diagnostic module and the autonomous controller are linked via a secure interface: alert-level anomalies are only logged and displayed on the interface; confirmation-level anomalies send a confirmation request to the remote control and freeze some automatic actions; shutdown-level anomalies send a safe shutdown command to the underlying controller. During recovery, the controller must wait for a pass signal from the diagnostic module, rather than relying solely on a manual "processed" button press.

[0088] The system output should include at least: the procedure in which the anomaly occurred, the start time of the anomaly, the anomaly variables, the anomaly score, the probability of the hidden state, the TopK root causes, the evidence variables, the propagation path, the risk level, the confidence level, and the handling recommendations.

[0089] The system adopts a vehicle-to-cloud collaborative deployment architecture. The vehicle-side edge computing unit stores the most recent process windows and lightweight diagnostic models to ensure low-latency safety responses; the remote monitoring center stores long-term logs, a complete knowledge graph, and deep diagnostic models for complex root cause analysis and model iteration. The vehicle and cloud communicate via event summaries instead of full, high-frequency data transmission. The event summaries include at least the window start and end times, process labels, anomaly flags, root cause Top-K, and confidence levels. Even in the event of a communication interruption, the vehicle can still perform safety diagnostics based on its local process status table and key graph rules.

[0090] The online acceptance testing was conducted in three phases: "shadow mode," "notification mode," and "interlock mode." In shadow mode, the model only records diagnostic results offline; in notification mode, the model can output risk warnings and evidence chains to the remote control; in interlock mode, high-confidence anomalies at the shutdown level are integrated into the control interlock.

[0091] The system retains the frozen baseline model and rollback mechanism. Before a new model goes live, it must pass the metric thresholds on a fixed test set, the most recent job log, and the fault injection set simultaneously. After going live, if the false positive rate, number of takeovers, or manual denial rate exceeds the threshold, it will automatically roll back to the previous stable version.

[0092] In one embodiment, the system updates the knowledge graph after each manual confirmation, remote takeover, and maintenance record:

[0093] For knowledge graphs The weights of the edges before and after the update. To update the step size. To confirm the indication function; it is equal to 1 only when the evidence is confirmed by human, maintenance records, or reliable automatic rules. To assess the overall quality of this evidence. The update formula directs the edge weights towards... The exponential curve converges smoothly; the edge weights remain unchanged when unconfirmed.

[0094] In the above formula, angle brackets represent ordered data records rather than sets; response residuals are weighted by the covariance of the effective response dimension; in The graph edge weights are updated periodically. If no confirmation is made, the indicator function is 0, and the old edge weights remain unchanged.

[0095] For each newly added or enhanced abnormal propagation edge, audit information is recorded, including the source event, confirmer, confirmation time, evidence variables, handling result, and applicable process scope. When new evidence conflicts with existing data, versioned edge weights are generated, and the corresponding data map version is selected during reasoning based on equipment model, work process, sensor availability, and historical reliability.

[0096] To avoid overconfidence in deep models, the system performs temperature scaling or isometric regression calibration on the validation set.

[0097] The expected calibration error is used to measure the consistency between the model confidence and the actual accuracy. The total number of bins for the confidence level. For the first The sample set within each bin. This represents the number of samples in that box. To verify the total number of samples. This represents the actual accuracy rate within the box. This represents the average prediction confidence level within the bin. The absolute value is used to calculate the difference between the two values, which are then weighted according to the proportion of samples within the bin.

[0098] When ECE exceeds the threshold, the diagnostic result will be downgraded to a recommendation rather than a basis for automatic treatment.

[0099] like Figure 3 As shown, the diagnostic process of this invention will be explained below in conjunction with a typical down-the-hole drilling rig operating scenario.

[0100] During the navigation and hole-finding process, the system receives track speed commands, actual displacement, vehicle attitude, and RTK position. If the difference in speed between the left and right tracks is normal, but the vehicle displacement response is insufficient, and pitch or roll changes increase, the differential response and command residuals indicate that the chassis motion is inconsistent with the commands. The model, considering terrain and obstacle conditions, ranks root cause candidates as track sinking, soft ground, or obstacle obstruction, and outputs evidence variables: track speed difference, RTK displacement, IMU attitude change, and target orientation error. Recommended actions include reducing travel speed, adjusting the route, or requesting remote control confirmation.

[0101] If the vehicle body tilt angle changes rapidly and the track contact state is abnormal after the boom is depressed or the propulsion beam attitude changes, the system will treat "abnormal vehicle body lifting" as a high-risk fault during the boom alignment process. At this time, the boom angle may still be within the allowable range, but there is a propagation path of "boom depression - abnormal support force - track lifting off the ground - attitude instability" in the process knowledge graph. Therefore, the risk assessment will trigger a safety shutdown or prohibit further depression.

[0102] During the pole loading or unloading process, there is a strict timing relationship between the pole holder angle, the robot arm displacement, the clamp pressure, and the proximity switch. If the pole holder angle is not in place but the robot arm continues to move, it may cause abnormal robot arm displacement; if the clamp pressure does not reach the reliable threshold but the lifting action begins, there may be a risk of the pole falling. The system outputs a "reliable clamping" confidence level through command response residuals and latent state estimation, and blocks subsequent lifting or rotation actions when the confidence level is insufficient.

[0103] Taking pre-loosening completion as an example, this state is not directly measured by sensors, but it can be determined by the reverse command of the power head, changes in rotational pressure, clamp status, power head displacement, and the smoothness of subsequent rod connection. The system defines the evidence set for pre-loosening completion in the graph and outputs it. If the pre-loosening confidence is low but the process enters the link-connection stage, the system will issue an advance warning of "link-connection failure risk". The root cause of this type of anomaly may not be in the link-connection process itself, but may occur in the pre-loosening state of the previous process. Cross-process memory feature vectors and process map bias can preserve previous evidence.

[0104] If a sensor variable is temporarily missing, the system uses a missing mask. and time interval Explicit representation: If the missing data occurs in variables irrelevant to the current process, its impact on diagnosis is minimal; however, if the missing data occurs in critical variables of the current process, such as clamp pressure or proximity switch during rod assembly, the missing data itself becomes evidence of risk. This mechanism can prevent communication interruptions from being misjudged as mechanical failures and can also prevent the model from becoming overconfident when critical sensors are missing.

[0105] In one embodiment, the temporal encoder can be replaced by LSTM, GRU, temporal convolutional network, state-space model, graph neural network, Transformer variant, or hybrid model. The same objective can be achieved as long as process event anchors, unified temporal feature vector representation, multi-scale encoding, missing information awareness, and process knowledge constraints are retained.

[0106] Knowledge constraints can be implemented using ontology graphs, rule bases, Bayesian networks, causal graphs, state machines, or probabilistic graphical models; graph embedding can employ TransE, RotatE, graph neural networks, or neural symbolic reasoning. Few-shot anomaly augmentation can utilize fault script injection, digital twin simulation, data perturbation, generative models, prototype learning, or meta-learning.

[0107] Online deployment can employ a collaborative approach between a lightweight on-vehicle model and a deep cloud model. The on-vehicle model is responsible for low-latency anomaly detection, safe shutdown, and hidden state estimation of critical processes, while the cloud model is responsible for long-term trend analysis, root cause analysis, knowledge graph updates, and model distillation.

[0108] This application can also be used with large models or intelligent agent systems, but the diagnostic model itself does not rely on the reasoning of the large model. The large model can be used to interpret diagnostic results, generate operation prompts, or invoke standardized handling tools; while anomaly detection, root cause inference, and safe shutdown are still accomplished by the temporal model, graph constraints, and rule interfaces of this invention.

[0109] The technical solution presented in this application can be deployed in the intelligent control systems of various down-the-hole drilling rigs, blasting hole drilling rigs, water well drilling rigs, and similar multi-process engineering machinery. Its real-time diagnostics and closed-loop control capabilities help reduce abnormal downtime, decrease manual intervention costs, and improve the continuity and safety of mining operations. Through collaborative deployment between the vehicle and the cloud, it can adapt to the actual working conditions of unstable networks in mining areas.

[0110] All parts not covered in this application are the same as or can be implemented using existing technology. Although embodiments of this application have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and variations can be made to these embodiments without departing from the principles and spirit of this application, the scope of which is defined by the appended claims and their equivalents.

Claims

1. A method for diagnosing and analyzing timing faults in a multi-stage down-the-hole drilling rig, characterized in that, Includes the following steps: S1. Real-time acquisition of multi-source sensor data and control commands from the operating equipment, and segmentation of the continuous operation log into variable-length process windows based on process event anchor points. The process event anchor points include at least one of command issuance, switch in place, pressure exceeding limit, action completion, manual takeover, alarm triggering, or state machine switching. S2. For each sampling time, a unified time-series feature vector is constructed. The unified time-series feature vector is obtained by concatenating the original sensing vector, time difference response vector, control command vector, effective observation mask vector, sampling interval vector, process embedding vector and command-state residual vector and then performing feature mapping. S3. Use a multi-scale temporal encoder to extract features from the unified temporal feature vector to obtain a process window representation. The multi-scale temporal encoder includes a short process high-frequency response encoding unit and a long process trend summary encoding unit. S4. Construct a process knowledge graph including process nodes, action nodes, sensor variable nodes, equipment component nodes, hidden state nodes, fault mode nodes and handling rule nodes, and transform the process knowledge graph into an attention bias, and introduce the attention bias into the attention calculation of time-series coding. S5. Based on the process window representation, output synchronously through multi-task branches: the posterior probability of the hidden state, the anomaly score and the anomaly category, as well as the root cause Top-K candidate set and its corresponding evidence variables and anomaly propagation path; S6. Calculate the risk level based on the anomaly score, root cause posterior probability, diagnostic confidence and safety margin, and execute prompt recording, remote confirmation request or safe shutdown according to the risk level. S7. After completing the anomaly handling, perform the precondition verification. Once the verification is successful, resume the autonomous operation process.

2. The method according to claim 1, characterized in that, The time-difference response vector is calculated according to the following formula: ; in, This is the multivariable sensing vector of the current time and the previous valid sampling time. The time interval between each variable and the last valid observation. To prevent numerical amplification due to excessively short time intervals, a lower bound for the regularization is set. The command-state residual between the measured response and the expected response is calculated as follows: ; in, For control instructions and current process labels, This is the normal sensing response predicted by the model under this process and instruction. The unified temporal feature vector is constructed according to the following formula: ; in, For multilayer perceptron feature mapping, To control the command vector, To effectively observe the mask vector, This is the process embedding vector.

3. The method according to claim 1, characterized in that, The multi-scale timing encoder also includes a process condition sensor gating unit, which dynamically adjusts the weights of each sensing variable based on the current process label. ; in, For a moment The process condition variable gating vector, For element-wise function, For gating network parameters, This is a concatenation of feature vectors and process embeddings. This is the gated feature vector.

4. The method according to claim 1, characterized in that, The attention calculation is for missing perception attention, and its attention weights are: ; in, These represent the query vector and the key vector, respectively. This represents the dimension of the key vector. This represents the bias calculated based on the missing mask and the sampling interval. The bias is calculated based on the process knowledge graph. The bias is calculated based on the process adjacency relationship and process dwell time. The Calculated as follows: ; in, These are the state transition adjacency strength and the fault propagation adjacency strength, respectively. For the spectrum from arrive Permissible propagation path strength, The degree of matching between the actual time difference and the allowable propagation delay. These are non-negative combination weights.

5. The method according to claim 1, characterized in that, The anomaly score is calculated according to the following formula: ; in, These are the effective dimensional index sets for the current sensing residual and the representation residual, respectively. To retain only the effective dimensions of the prediction residuals and the reconstructed residuals, This is the principal submatrix of the covariance of the valid data along the effective dimensions, where the two indices within the square brackets specify the selected row and column, respectively, and their order is consistent with the order of the valid variables in the residual vector. For effective dimension, For the normal category posterior, For three non-negative weights, This is a regularization term.

6. The method according to claim 1, characterized in that, The multi-task branches include: The latent state estimation branch outputs the posterior probabilities of reliable clamping, pre-loosening completion, rod magazine alignment, and drill string jamming trend. The anomaly diagnosis branch outputs the anomaly score, anomaly category, and detection latency. The root cause analysis branch outputs the Top-K candidate root causes, as well as the evidence variables and anomaly propagation paths corresponding to each candidate root cause. The Top-K candidate set of root causes is determined according to the following formula: ; in, Representing a given window and knowledge graph At that time, the root cause category of the fault The posterior probability, For root cause classification header parameters, For category Additional biases are formed by the prior knowledge of the map, path consistency, and preconditions of the process. For the set of candidate root cause categories, Selected in descending order of posterior probability A set of root causes This is the preset output quantity.

7. The method according to claim 1, characterized in that, It also includes training steps: Phase A: Self-supervised training is performed using normal work logs. The training tasks include next-step sensor prediction, mask reconstruction, process sequence recovery, and comparative learning. Phase B: Supervised fine-tuning is performed using data injection from abnormal samples, alarm codes, manual takeover records, maintenance records, and fault scripts. Focal Loss is used to address class imbalance, and prototype learning is employed to handle outlier classes with fewer samples. The fault script injection includes at least one of the following: track sinking script, boom abnormal lifting script, boom magazine angle deviation script, clamp pressure insufficient script, pre-loosening insufficient script, stuck drill script, and sensor missing script; each fault script records the root cause, propagation node, evidence variables, and expected handling actions. The next-step sensor prediction loss and representation reconstruction loss during training are as follows: ; in, These are the next-step sensing prediction loss and the representation reconstruction loss, respectively. This is the set of time indices containing both effective predicted and reconstructed targets in the training batch. for Input at all times The predicted residual of the sensed quantity at time +1 To reconstruct the residual using a mask.

8. The method according to claim 7, characterized in that, The knowledge graph constraint loss is calculated according to the following formula: ; in, These are the set of allowed edges in the graph and the set of negative edges sampled under the same process conditions, respectively. For the model to nodes , Normalized prediction strength of the spectral correlation between them This represents the upper limit allowed for negative edges.

9. A timing fault anomaly diagnosis and analysis system for multi-stage down-the-hole drilling rigs, characterized in that, include: The multi-source data acquisition module is used to acquire multi-source sensor data and control command data during the operation of down-the-hole drilling rig; The process event parsing module is used to divide continuous time-series data into variable-length process windows based on process event anchor points; The unified temporal representation module is used to construct a unified temporal feature vector for each sampling time. A multi-scale temporal coding module is used to extract features from the unified temporal feature vector to obtain a process window representation; The process knowledge graph module is used to store and maintain the process knowledge graph and convert the process knowledge graph into attention biases; The multi-task output module is used to synchronously output the latent state posterior probability, anomaly score and anomaly category, as well as the root cause Top-K candidate set and its corresponding evidence variables and anomaly propagation path based on the process window characterization. The risk classification and handling module is used to calculate the risk level based on the anomaly score, root cause posterior probability, diagnostic confidence and safety margin, and execute prompt recording, remote confirmation request or safe shutdown according to the risk level. The recovery verification module is used to perform precondition verification after an anomaly handling, and restore the autonomous operation process after the verification is successful.

10. The system according to claim 9, characterized in that, The system employs a collaborative deployment of vehicle-side edge computing units and a remote monitoring center. The vehicle-side edge computing unit stores the most recent process windows and a lightweight diagnostic model, which are used to perform low-latency anomaly detection, safe shutdown, and hidden state estimation of critical processes. The remote monitoring center stores long-term logs, a complete knowledge graph, and a deep diagnostic model, which are used to perform long-term trend analysis, root cause analysis, knowledge graph updates, and model distillation. The vehicle-side edge computing unit and the remote monitoring center transmit data using an event digest method. The system also includes a model version management and rollback mechanism. When the false positive rate or manual rejection rate exceeds the threshold after a new model is launched, it will automatically roll back to the previous version.

Citation Information

Patent Citations

  • Intelligent mobile monitoring and full-automatic maintenance method and device of electric control system of drilling machine

    CN104895547A

  • Solid drill rig digital monitoring method

    CN110259433A

  • Petroleum drilling machine auxiliary guidance equipment based on edge calculation and guidance method thereof

    CN112012695A

  • Unattended system for drilling pump

    CN112859674A

  • Petroleum and natural gas drilling operation monitoring and controlling managing system

    CN1648408A