A ship-bridge collision detection method, system, computer device and storage medium

By combining cointegration theory and variational Bayesian adaptive Kalman filtering technology with multimodal state prediction and Mahalanobis distance hierarchical gain modulation, real-time and accurate identification and alarm of ship-bridge collisions are achieved, solving the problem of false alarms and missed alarms in the existing system under harsh environments, and improving the bridge safety monitoring and emergency response capabilities.

CN123155016APending Publication Date: 2026-11-24JIANGSU HUATONG ENG TESTING CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing ship-bridge collision warning systems are susceptible to interference from harsh environments, resulting in significant false alarms and missed alarms. Furthermore, their adaptive capabilities are insufficient, leading to frequent ship-bridge collision accidents and an inability to issue timely warnings.

Method used

A collision detection method for ships and bridges is proposed, which integrates cointegration theory, multimodal state prediction, Mahalanobis distance hierarchical gain modulation and variational Bayesian adaptive Kalman filtering. By acquiring multi-directional displacement response data on both sides of the bridge pier, a state space model is constructed, and probabilistic weighted fusion and Kalman filtering iterative calculations are performed to estimate the cointegration coefficient in real time and trigger an alarm.

Benefits of technology

It effectively suppresses environmental noise interference, has good self-adaptability, maintains high recognition accuracy under complex working conditions, realizes rapid and accurate identification and alarm of ship-bridge collision events, reduces the cost of manual parameter debugging, and provides support for bridge emergency response.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123155016A_ABST
    Figure CN123155016A_ABST
Patent Text Reader

Abstract

This invention provides a method, system, computer equipment, and storage medium for ship-bridge collision detection, belonging to the field of bridge safety monitoring technology. The method includes: acquiring multiple sets of displacement response data from both sides of the impacted bridge pier; sequentially performing stationarity and Johansen cointegration tests to obtain a cointegration equation; constructing a state-space model using the cointegration equation as the state equation, the cointegration coefficients as the initial state vector, and the displacement response as the observed variable, combined with preset process noise and observation noise; obtaining prior state vector estimates for four prediction modes based on the model, and outputting a comprehensive state vector estimate through weighted fusion; calculating the Mahalanobis distance, classifying collision levels according to confidence levels, and hierarchically modulating the Kalman filter gain matrix; inputting relevant parameters into a variational Bayesian adaptive Kalman filter iteration, outputting a real-time estimate of the cointegration coefficients; triggering a ship-bridge collision alarm when a sudden change in the cointegration coefficients exceeds the safety limit. This invention achieves real-time and accurate collision monitoring, adapting to the robust monitoring requirements of complex impact scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of bridge structural health monitoring and safety alarm technology, specifically relating to a ship-bridge collision detection method, system, computer equipment, and storage medium. Background Technology

[0002] In recent years, my country's bridge construction has entered a stage of rapid development, and the inland waterway transportation industry has achieved leapfrog growth accordingly. Affected by factors such as the increase in the number of ships and the increased traffic density, ship collisions with bridges have become frequent in waterways. These incidents not only cause serious damage to bridge structures but can also lead to casualties and have a severe social impact. Currently, many bridges are equipped with ship-bridge collision warning systems that issue warnings to ships that may collide, allowing ship crews to take emergency evasive measures to reduce the risk of accidents. However, existing ship-bridge collision warning systems have significant limitations in practical engineering applications. Traditional visible light monitoring and ordinary microwave radar are easily interfered with by adverse environmental conditions such as rain, fog, and strong light, resulting in prominent false alarms and missed alarms. As a result, accidents where ships breach warning systems and ultimately collide with bridges still occur frequently. Secondary disasters arising from delayed alarms and failure to take emergency measures after a ship-bridge collision are equally significant. For example, in 2024, the Guangzhou Lixinsha Bridge suffered a bridge deck fracture after being struck by a ship. Because the bridge was not closed in time, many vehicles were swept into the water, causing significant personal and property damage. By building an efficient alarm technology based on bridge structural response signals, the monitoring and intelligent identification of ship-bridge collision events can be significantly enhanced. This has important engineering practical value and practical guiding significance for extending the service life of bridges, ensuring traffic safety, and providing timely and effective emergency decision support for bridge maintenance units.

[0003] Current research on alarm methods for ship-bridge collision accidents is relatively limited. The main approach involves rapidly identifying collision events and issuing alarms through data monitoring and analysis, which is a core technical means to ensure emergency response to bridge structures and reduce the harm caused by accidents. The primary research method is a feature extraction alarm method based on signal processing. This method uses wavelet transform, empirical mode decomposition, and other techniques to denoise and refine the response signal, then combines statistical indicators to complete collision discrimination. Compared to the fixed threshold method, this effectively suppresses noise interference and improves recognition accuracy. However, this type of method relies heavily on manual selection of features and parameters, lacks adaptability, and has limited generalization performance under complex field conditions. Summary of the Invention

[0004] To address the aforementioned problems, this invention provides a method for detecting collisions between ships and bridges.

[0005] To achieve the above objectives, the present invention provides the following technical solution: A bridge collision detection method includes the following steps: Acquire multiple displacement response data in three directions at different locations on both sides of the bridge pier of the impacted bridge; The stationarity test and Johansen cointegration test are performed on multiple displacement response data in sequence to obtain the cointegration equation. The cointegration equation is used as the state equation, the cointegration coefficient is used as the initial state vector, the displacement response is used as the observation variable, and a state-space model is constructed by combining the preset process noise and observation noise. Based on the state-space model, the prior state vector estimates corresponding to the zero-order hold-up mode, first-order linear mode, second-order polynomial mode, and adaptive weighted historical prediction mode for the steady-state stage, linearly gradually changing stage, nonlinearly gradually changing stage, and irregular fluctuation stage of the bridge pier displacement after impact are obtained. The prior state vector estimates are probabilistically weighted and fused with preset weights to output the comprehensive state vector estimate at the current time. The mean and covariance matrix of all comprehensive state vector estimates from the initial time to the current time are calculated. The Mahalanobis distance is solved based on the mean and covariance matrix. The collision severity level is divided based on the confidence interval corresponding to the Mahalanobis distance. The gain modulation coefficients corresponding to each level are read, and the Kalman filter gain matrix is ​​subjected to graded scaling modulation to obtain the modulated Kalman filter gain matrix. The integrated state vector estimate, gain modulation coefficient, and modulated Kalman filter gain matrix are input into the variational Bayesian adaptive Kalman filter to complete the iterative calculation and output the real-time estimated value of the cointegration coefficient; when the real-time estimated value of the cointegration coefficient changes abruptly and exceeds the safety limit, the bridge collision alarm is triggered.

[0006] Preferably, the acquisition of multiple displacement response data in three directions at different locations on both sides of the impacted bridge pier specifically involves: Displacement sensors were installed on both sides of the piers of the bridge that was hit. , via displacement sensor Displacement response data in three directions were collected from different locations on both sides of the bridge pier, resulting in a total of six sets of displacement response data output by two displacement sensors.

[0007] Preferably, the acquisition of the preset process noise and observation noise includes the following steps: The initial noise covariance matrix is ​​set as follows: Process noise covariance matrix ; The observation noise covariance matrix R = 0.1; The noise sequence that matches the corresponding covariance matrix is ​​generated as follows: Process noise for: ; Observation noise for: ; In the formula, The process noise covariance matrix The Cholesky factor, by Calculated; It is a 6-dimensional standard normal distributed random variable. Each element in the matrix follows a standard normal distribution. , These are random numbers from a standard normal distribution. .

[0008] Preferably, after setting the process noise and observation noise, the method further includes normalizing the displacement response data and the corresponding process noise and observation noise.

[0009] Preferably, the construction of the state-space model includes the following steps: Read the preset ADF test lag order and test model configuration, and use the ADF unit root stationarity test to conduct stationarity tests on the normalized six-dimensional displacement response data sequence by sequence; When all time series of the six-dimensional displacement response are determined to be non-stationary, the preset lag order and preset significance level of the Johansen cointegration test are read, and the Johansen cointegration test is performed on the normalized six-dimensional displacement response data to screen out effective cointegration equations: ; In the formula, , , and , , These are sensors , The lateral, longitudinal, and vertical displacement response variables, , … For the corresponding cointegration coefficient, For random disturbance terms; The cointegration equation is used as the state equation, the cointegration coefficient is used as the initial state vector, the normalized displacement response is used as the observation variable, and the normalized process noise and observation noise are combined to construct a complete state-space model.

[0010] Preferably, the step of inputting the comprehensive state vector estimate, gain modulation coefficients, and modulated Kalman filter gain matrix into the variational Bayesian adaptive Kalman filter to complete the iterative calculation and output the real-time estimated value of the cointegration coefficients is as follows: The comprehensive state vector estimate, gain modulation coefficient, and modulated Kalman filter gain matrix are imported into the variational Bayesian adaptive Kalman filter algorithm for iteration to obtain: ; ; ; In the formula, yes( l +1) iterations and the filtered gain matrix after gain modulation, for( l +1) The final posterior state vector estimate output after the second iteration. for( l +1) iterations later, the state vector The covariance matrix; Estimation of posterior state vector After normalization, the real-time estimates of the cointegration coefficients are obtained. The normalization formula is as follows: ; In the formula, It is a real-time estimate of the cointegration coefficient after normalization. , for The maximum and minimum values ​​of the posterior state vector estimate within the time interval. It is the final posterior state vector estimate of the original output.

[0011] Preferably, the step of triggering a bridge collision alarm when the real-time estimated value of the cointegration coefficient suddenly changes and exceeds the safety limit specifically includes: A warning safety threshold is set. When the real-time estimated value of the cointegration coefficient after normalization changes abruptly and exceeds the safety threshold, an automatic alarm for ship-bridge collision is triggered. Specifically: In the formula, These are the upper and lower limits of the safety boundary, respectively. This represents the average value of the real-time estimated cointegration coefficients after normalization. This corresponds to the standard normal distribution value at a 95% confidence level; express The standard deviation.

[0012] The present invention also provides a bridge collision detection system, comprising: The data acquisition module acquires multiple displacement response data in three directions at different locations on both sides of the bridge piers of the impacted bridge. The model building module is used to perform stationarity tests and Johansen cointegration tests on multiple displacement response data in sequence to obtain cointegration equations. The cointegration equations are used as state equations, cointegration coefficients are used as initial state vectors, displacement responses are used as observation variables, and a state-space model is constructed by combining preset process noise and observation noise. The parameter calculation module is used to obtain the prior state vector estimates corresponding to the zero-order hold-up mode, first-order linear mode, second-order polynomial mode, and adaptive weighted historical prediction mode for each of the steady-state stage, linearly gradually changing stage, nonlinearly gradually changing stage, and irregular fluctuation stage of the bridge pier displacement after impact, based on the state-space model. It performs probability weighted fusion of each prior state vector estimate with preset weights and outputs the comprehensive state vector estimate value at the current time. It calculates the mean and covariance matrix of all comprehensive state vector estimates from the initial time to the current time, solves the Mahalanobis distance based on the mean and covariance matrix, divides the collision severity level based on the confidence interval corresponding to the Mahalanobis distance, reads the gain modulation coefficient corresponding to each level, and performs graded scaling modulation on the Kalman filter gain matrix to obtain the modulated Kalman filter gain matrix. The early warning module is used to input the comprehensive state vector estimate, gain modulation coefficient, and modulated Kalman filter gain matrix into the variational Bayesian adaptive Kalman filter to complete the iterative calculation and output the real-time estimate of the cointegration coefficient; when the real-time estimate of the cointegration coefficient changes abruptly and exceeds the safety limit, a bridge collision alarm is triggered.

[0013] The present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement any of the steps in the bridge collision detection method.

[0014] The present invention also provides a computer-readable storage medium storing a computer program that, when loaded by a processor, can execute any of the steps in the bridge collision detection method.

[0015] The ship-bridge collision detection method provided by this invention has the following beneficial effects: To address the shortcomings of signal processing-based feature extraction alarm methods, such as reliance on manual feature and parameter selection, insufficient adaptability, and limited generalization performance under complex field conditions, this invention integrates cointegration theory, multimodal state prediction fusion strategies, Mahalanobis distance graded gain modulation, and variational Bayesian adaptive Kalman filtering for ship-bridge collision detection. This invention eliminates the need for manual extraction of signal time-frequency features. Instead, it utilizes cointegration theory to uncover the inherent long-term equilibrium relationship between the six-dimensional displacement responses of bridge piers, using the cointegration coefficient as an anomaly identification indicator. A weighted fusion of four prediction modes achieves comprehensive state vector estimation, and Mahalanobis distance confidence grading identifies the severity of the collision. The filter gain matrix is ​​adaptively modulated. Iterative updates of the observation noise covariance matrix using variational Bayesian theory adaptively adapt to changes in field noise, eliminating the need for repeated manual adjustment of filter parameters. The algorithm estimates the cointegration coefficient online in real time, captures parameter mutations caused by ship collisions, and uses statistical process algorithms to set safety limits for automatic alarm activation. This invention effectively suppresses environmental noise interference, has good self-adaptability, and can maintain high recognition accuracy and robustness under complex working conditions. It reduces the cost of manual parameter adjustment, enables rapid and accurate identification and alarm of ship-bridge collision events, and provides reliable technical support for bridge emergency response. Attached Figure Description

[0016] To more clearly illustrate the embodiments and design schemes of the present invention, the accompanying drawings required for this embodiment will be briefly described below. The drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0017] Figure 1 This is a flowchart of the ship-bridge collision detection method proposed in this invention.

[0018] Figure 2 This is a numerical model diagram of a barge-bridge collision in Embodiment 1 of the present invention; Figure 3 This is the displacement response diagram after normalization in Embodiment 1 of the present invention; Figure 4 This is a diagram showing the alarm effect of the cointegration coefficient in Embodiment 1 of the present invention. Detailed Implementation

[0019] To enable those skilled in the art to better understand and implement the technical solutions of the present invention, the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments. The following embodiments are only used to more clearly illustrate the technical solutions of the present invention and should not be construed as limiting the scope of protection of the present invention.

[0020] To address the persistent problem of ships breaching early warning systems and ultimately colliding with bridges, this invention proposes a variational Bayesian adaptive Kalman filter cointegrated ship-bridge collision detection method that integrates multi-layer state control. Based on variational Bayesian theory, noise parameters are adaptively updated, and filter parameters are dynamically adjusted by combining noise feature analysis. A four-modal state prediction fusion strategy is introduced to achieve optimal state estimation, and a multi-dimensional anomaly detection system is implemented to complete hierarchical anomaly identification and gain modulation. Online real-time estimation of cointegration coefficients is achieved through adaptive Kalman filtering. This method is used to estimate cointegration coefficients and their evolution rules in real time to detect abnormal changes in selected features in complex environments, enabling timely identification and alarm of ship-bridge collision events.

[0021] Based on this, the present invention proposes a ship-bridge collision detection method, specifically a ship-bridge collision detection method that integrates multimodal state prediction, such as... Figure 1 As shown, the specific steps include: S1. Data acquisition and preprocessing.

[0022] S1.1 Displacement sensors are installed on both sides of the piers of the bridge that were impacted. , via displacement sensor , Displacement response data in three directions were collected from different locations on both sides of the bridge pier, resulting in a total of six sets of displacement response data output by two displacement sensors.

[0023] S1.2 Read the preset process noise covariance matrix and observation noise covariance matrix, and generate the corresponding process noise sequence and observation noise sequence based on the statistical characteristics of the covariance matrix.

[0024] Specifically, for two displacement sensors , A total of six displacement response data were collected. D and its corresponding process noise Observation noise Before performing normalization, it is necessary to set the key parameters in the filtering process, namely the process noise covariance matrix and the observation noise covariance matrix, and generate reasonable process noise and observation noise accordingly.

[0025] To ensure the stability of the entire filtering system, the process noise covariance matrix and the observation noise covariance matrix need to be set more conservatively, and therefore their values ​​are relatively small, as shown below: The initial noise covariance matrix is ​​set as follows: ; R = 0.1; The noise sequence that matches the corresponding covariance matrix is ​​generated as follows: Process noise for: ; The observation noise is: ; In the formula, The process noise covariance matrix The Cholesky factor, by Calculated; It is a 6-dimensional standard normal distributed random variable. Each element in the matrix follows a standard normal distribution. , These are random numbers from a standard normal distribution. .

[0026] S1.3 According to the preset extreme value acquisition rules, obtain the maximum and minimum values ​​corresponding to the six sets of displacement response data, process noise sequence, and observation noise sequence. Perform normalization processing on all the above data and output the normalized six-dimensional displacement response data, process noise, and observation noise.

[0027] The specific normalization formula is as follows: In the formula, These are the normalized variables. , For the maximum and minimum values ​​of the corresponding variables, It is the original displacement variable D k Process noise Observation noise any one of them, D k It consists of displacement signals in three directions collected by two sensors, specifically represented as follows: , , and , , , k For time indexing.

[0028] S2. Perform stationarity tests and Johansen cointegration tests on the normalized displacement response data in sequence to obtain the cointegration equation. Use the cointegration equation as the state equation, the cointegration coefficient as the initial state vector, the normalized displacement response as the observation variable, and construct a state-space model by combining the normalized process noise and observation noise.

[0029] As a further preferred embodiment of the present invention, step 2 is implemented as follows: S2.1 Read the preset ADF test lag order and test model configuration, and use the ADF unit root stationarity test to perform stationarity tests on the normalized six-dimensional displacement response data sequence by sequence; when all time series of the six-dimensional displacement response are determined to be non-stationary, proceed to the next step.

[0030] Specifically, cointegration theory is an analytical method for non-stationary sequences, so the first step is to perform a stationarity test, namely the ADF test, on the six displacement signals. The test model is shown below: ; In the formula, For displacement variables, The position index of the lag order, For constant terms, This is the trend coefficient. The unit root coefficient, These are the model coefficients. Defined as , It is a white noise process. It is the lag order of the autoregressive process.

[0031] Corresponding ADF statistic It can be described as: ; In the formula, For the least squares estimate of the unit root coefficients, the corresponding unit root test critical value can be checked. If the calculated value is... If the value is greater than the critical value of the unit root, it proves that the time series is a non-stationary series; otherwise, it is a stationary series.

[0032] S2.2 Read the preset lag order and preset significance level of the Johansen cointegration test, perform the Johansen cointegration test on the normalized six-dimensional displacement response data, and screen to obtain effective cointegration equations.

[0033] Specifically, after identifying the six-dimensional displacement response data as a non-stationary sequence through a stationarity test, a cointegration test is then performed on the normalized six-dimensional displacement response data to obtain a cointegration equation: ; In the formula, , , and , , These are sensors , The lateral, longitudinal, and vertical displacement response variables, , … For the corresponding cointegration coefficient, This is a random disturbance term.

[0034] S2.3. Based on the results of the cointegration test above, the cointegration equation is used as the state equation, the cointegration coefficient is used as the initial state vector, the normalized displacement response is used as the observation variable, and a complete state-space model is constructed by combining the normalized process noise and observation noise: In the formula, It is represented as a state vector composed of cointegration coefficients. Indicates covariance as The noise of a zero-mean stationary process. The covariance matrix is The observation noise, the observation matrix is ​​represented as .

[0035] S3. Based on the state-space model, a four-modal state prediction fusion strategy is introduced under the dynamic change law of the displacement response of the bridge after the impact. That is, from "no change (zero order) → linear (first order) → nonlinear gradual change (second order) → irregular fluctuation (weighted history)", the initial state vector is comprehensively estimated and the comprehensive state vector estimate at the current moment is output.

[0036] S3.1 Based on the dynamic evolution law of pier displacement under ship-bridge impact, the displacement evolution is divided into four stages: steady state without change, linear gradual change, nonlinear evolution, and irregular fluctuation, which correspond to four prediction modes: zero-order maintenance, first-order linear, second-order polynomial, and adaptive weighted history, respectively.

[0037] Specifically, the zero-order hold mode is as follows: ; The first-order linear mode is: ; The second-order polynomial pattern is: ; The adaptive weighted historical prediction model is as follows: ; S3.2 Execute the calculation of the four prediction modes respectively to obtain the prior state vector estimates corresponding to the four modes; among them, the adaptive weighted history mode reads the preset historical window size and the preset historical weighting coefficient to complete the calculation.

[0038] S3.3 Read the preset modal weight coefficients, perform probability weighted fusion calculation on the prior state vector estimates of the four modes, and output the comprehensive state vector estimate at the current time.

[0039] Specifically, the formula for predicting the fusion state is: Among the above formulas, , , , for The prior state vector estimates for the four modes at time points. yes Posterior state vector estimation at time step 1 for The prior integrated state vector estimate at time t. Estimate the posterior state vector output at the last moment of the previous filter. For the corresponding weighting coefficients, , , , The corresponding probabilities of occurrence are set to 0.4, 0.35, 0.15, and 0.1. To weight the historical window size, Take 10, For the outer summation index variable, For the outer summation index variable, The weighted historical prediction weighting coefficient.

[0040] S4. Calculate the Mahalanobis distance of the comprehensive state vector estimate, and implement refined hierarchical anomaly identification of collision severity according to the confidence principle. Based on this, hierarchical modulation of the Kalman filter gain matrix is ​​implemented, thereby enhancing the accuracy and robustness of the filtering algorithm. Specifically, this includes the following steps:

[0041] S4.1 Statistically estimate all integrated state vectors from the initial time to the current time, calculate the mean and covariance matrix, and solve for the Mahalanobis distance of the integrated state vector estimates.

[0042] The specific formula for calculating Mahalanobis distance is as follows: ; In the formula, The Mahalanobis distance, For the covariance inverse matrix operator, From the initial moment to The average of all integrated state vector estimates at time t.

[0043] S4.2 Read the preset multi-level confidence thresholds, and divide the collision severity into four levels: normal health, slight abnormality, severe abnormality, and extreme abnormality based on the matching relationship between Mahalanobis distance and confidence interval.

[0044] Specifically, based on the confidence interval of the Mahalanobis distance, the severity of the accident is divided into four levels: normal health state, corresponding to... Minor abnormality, 90% confidence level, corresponding to ; 95% confidence level for severe abnormal states, corresponding to Extreme abnormal states, 99% confidence level, corresponding to .

[0045] S4.3 Read the preset gain modulation coefficients that correspond one-to-one with the four levels of status. Based on the currently identified collision severity level, scale and modulate the original Kalman filter gain matrix to obtain the modulated Kalman filter gain matrix and the current collision anomaly level.

[0046] Specifically, based on the corresponding confidence level For the Kalman filter gain matrix The modulation formula is as follows: ; In the formula, for The filter gain matrix at time t. This is the gain coefficient. , , , The values ​​are 1, 0.4, 0.1 and 0.03 respectively.

[0047] S5. Based on variational Bayesian theory, it is assumed that the measurement noise covariance matrix follows the prior distribution of the inverse Wishart probability density function. The true joint posterior probability density of the state vector and the observation noise covariance matrix is ​​approximated by the input prior information and the state space model. The key prior parameters and the observation noise covariance matrix are solved iteratively by minimizing the KL (Kullback-Leibler) distance.

[0048] As a further preferred embodiment of the present invention, step 5 is implemented as follows: According to variational Bayesian theory, the measurement noise covariance matrix is ​​chosen as the random variable in variational Bayesian theory, and it is assumed that it follows a prior distribution of the inverse Wishart probability density function. This allows us to obtain the key prior distribution parameters used in subsequent iterations: ; ; In the formula, To observe the noise covariance matrix The degree of freedom parameters, To observe the noise covariance matrix Inverse scaling matrix, change factor This can make time-varying It changes according to a certain probability distribution. When At that time, the initial value , satisfy and , yes Dimensions The prior degrees of freedom parameter is set to 6.

[0049] Assuming state vector and observation noise covariance matrix If they are independent of each other, then their approximate posterior probability density function is... Using posterior probability density Approximate True Joint Posterior Probability Density The key prior parameters and observation noise covariance matrix are solved iteratively by minimizing the KL (Kullback-Leibler) distance:

[0050] ; ; ; go through l After +1 iterations, the observation noise covariance matrix Its prior distribution parameters are shown below: ; ; ; In the formula, l It is the number of internal iterations of the variational Bayes principle. l Take 5. Iteration is l After the next iteration Related auxiliary statistical matrices, , for( l +1) iterations later, the observed noise covariance matrix The degree of freedom parameters, for( l +1) iterations later, the observed noise covariance matrix The inverse scaling matrix, for(l The estimated value of the observation noise covariance matrix after +1) iterations.

[0051] S6. The comprehensive state vector estimate, degree of freedom parameters, inverse scaling matrix, observation noise covariance matrix, and gain coefficients after hierarchical modulation obtained in the above steps are imported into the variational Bayesian adaptive Kalman filter algorithm for iteration. The online real-time estimate of the cointegration coefficient is then obtained and normalized.

[0052] Specifically, the parameters calculated above are imported into the filtering algorithm, and the results are obtained iteratively: ; ; ; In the formula, yes( l +1) iterations and the filtered gain matrix after gain modulation, for( l +1) The final posterior state vector estimate output after the second iteration. for( l +1) iterations later, the state vector The covariance matrix.

[0053] Meanwhile, to facilitate observation of the final posterior state vector estimate The alarm information is normalized: ; In the formula, It is the normalized posterior state vector estimate, i.e., the normalized cointegration coefficient real-time estimate. , for The maximum and minimum values ​​of the posterior state vector estimate within the time interval. It is the final posterior state vector estimate of the original output.

[0054] S7. Set safety limits using statistical process algorithms, when the normalized posterior state vector is estimated... Automatic alarm for bridge collision is triggered when a sudden change occurs and exceeds the safety limit.

[0055] Specifically, the standard normal distribution quantiles corresponding to the preset confidence level are read; based on the statistical mean and standard deviation of the normalized cointegration coefficients within the sliding time window, the upper and lower limits of the safety boundary are calculated.

[0056] Continuously monitor the real-time estimated value of the normalized cointegration coefficient; when the real-time estimated value of the normalized cointegration coefficient changes abruptly and exceeds the upper and lower limits of the safety boundary, the bridge collision alarm is automatically triggered.

[0057] ; In the formula, These are the upper and lower limits of the safety boundary, respectively. Indicates after normalization The average value; This corresponds to the standard normal distribution value at a 95% confidence level; express The standard deviation.

[0058] The advantages of the above technical solution adopted in this invention are: Unlike machine learning and multi-source data fusion methods, which rely on raw data collected by sensors and involve large amounts of computation, alarm methods suffer from low robustness and low real-time performance.

[0059] This invention, based on variational Bayesian theory, cointegration theory, and Kalman filtering algorithm, designs a robust and high-precision ship-bridge collision accident alarm method with real-time parameter estimation and abrupt change identification capabilities. Utilizing cointegration theory, it reveals the long-term stable equilibrium relationship between the multi-channel dynamic response signals of the bridge and uses the cointegration coefficient as a collision anomaly identification index to sensitively capture structural response changes caused by ship collisions. Based on variational Bayesian theory, it adaptively updates noise parameters and dynamically adjusts filter parameters in conjunction with noise feature analysis, adapting to complex engineering scenarios, effectively suppressing environmental interference, and improving the robustness and accuracy of state estimation. Combining Kalman filtering technology and introducing a gain modulation strategy for multimodal state prediction fusion and hierarchical anomaly identification, it achieves dynamic real-time estimation and iterative updating of the cointegration coefficient, thereby effectively capturing abrupt behavior. Simultaneously, this invention introduces the sigma rule and defines its applicable range to ensure a 95% confidence level. Therefore, the range near the normal value is defined as the statistical process control safety limit.

[0060] Compared to structural health monitoring methods based on threshold setting for structural response and machine learning, this invention utilizes cointegration theory to reveal the long-term stable relationship between multi-sensor response signals and uses the cointegration coefficient as a health status indicator to sensitively reflect abnormal structural changes. Based on variational Bayesian theory, noise parameters are adaptively updated and filter parameters are dynamically adjusted in conjunction with noise feature analysis to adapt to complex engineering scenarios, effectively suppressing environmental interference and improving the robustness and accuracy of state estimation. Building upon the Kalman filter recursive algorithm, a gain modulation strategy for multimodal state prediction fusion and hierarchical anomaly identification is introduced, enabling online real-time estimation and dynamic iterative updates. This accurately captures the abrupt changes in cointegration coefficients caused by collisions, meeting practical engineering needs. All of these provide a scientific basis and technical support for bridge structural health monitoring and accident prevention.

[0061] Example 1 The following is a detailed description of the specific implementation methods in conjunction with specific embodiments.

[0062] The example is a numerical simulation of a two-span continuous beam bridge. The detailed calculation steps are as follows: A refined numerical model of the barge-beam bridge collision was developed, and its displacement response matches the actual situation. The numerical model and sensor locations are shown below. Figure 2 .

[0063] Step 1: Apply random wind loads within a certain range of stationary wind speeds at a specific location to a finite element model of a two-span continuous beam bridge to simulate the bridge's normal operating environment. Simulate a scenario where the middle pier of the bridge is struck by a barge. Extract normalized three-dimensional displacement response data at different heights on both sides of the impacted pier under the combined effects of wind load and barge impact. Figure 3 .

[0064] Step 2: After adding 40dB white noise to the processed data, import it into the alarm method, setting the bridge collision to occur at 2000 ms. Extract the X, Y, and Z-directional disturbance features caused by the bridge collision to avoid missed detections and blind spots in single-directional monitoring, thus improving the reliability of the input signal. Adaptively update the noise parameters based on variational Bayesian theory and dynamically adjust the filter parameters by combining noise feature analysis. Introduce a 4-modal state prediction fusion strategy to achieve optimal state estimation, and implement a multi-dimensional anomaly detection system to complete hierarchical anomaly identification and gain modulation. Online real-time estimation of cointegration coefficients is achieved through adaptive Kalman filtering. A significant abrupt change occurs at 2000 ms, exceeding the safety limit, accurately triggering the alarm. All six cointegration coefficients successfully trigger the alarm. Comprehensive decision-making shows that the alarm accuracy is significantly improved in a strong noise environment of 40dB. See the alarm effect diagram below. Figure 4 .

[0065] The alarm effect diagram shows that the system can effectively track changes in the cointegration coefficient, achieving rapid convergence and dynamic capture within a short time. When changes exceed safety limits, they can be detected promptly.

[0066] The ship-bridge collision detection method provided by this invention has the following advantages: This invention, based on the variational Bayesian principle, can adaptively update noise parameters and dynamically adjust filter parameters by combining noise feature analysis, adapting to complex engineering scenarios, effectively suppressing environmental interference, and improving the robustness and accuracy of state estimation. Utilizing cointegration theory, it reveals the long-term stable equilibrium relationship between the multi-channel dynamic response signals of a bridge, and uses the cointegration coefficient as a collision anomaly identification indicator to sensitively capture structural response changes caused by ship collisions. Combining a gain modulation strategy of multimodal state prediction fusion and hierarchical anomaly identification, it achieves online real-time estimation and dynamic iterative updating of the cointegration coefficient, thereby accurately capturing the abrupt changes in the cointegration coefficient caused by collisions and realizing rapid and accurate alarms for ship-bridge collision accidents.

[0067] Based on the same inventive concept, this invention provides a bridge collision detection system, comprising: The data acquisition module obtains multiple displacement response data in three directions at different locations on both sides of the bridge piers that were impacted.

[0068] The model building module is used to perform stationarity tests and Johansen cointegration tests on multiple displacement response data in sequence to obtain cointegration equations. The cointegration equations are used as state equations, cointegration coefficients are used as initial state vectors, displacement responses are used as observation variables, and a state-space model is constructed by combining preset process noise and observation noise.

[0069] The parameter calculation module is used to obtain the prior state vector estimates corresponding to each of the following stages of displacement formation after a bridge pier impact: steady-state stage, linearly gradually changing stage, nonlinearly gradually changing stage, and irregular fluctuation stage. These prior state vector estimates are obtained from the zero-order hold-up mode, first-order linear mode, second-order polynomial mode, and adaptive weighted historical prediction mode. The module then performs probability weighted fusion of these estimates with preset weights to output the comprehensive state vector estimate for the current moment. It calculates the mean and covariance matrix of all comprehensive state vector estimates from the initial moment to the current moment, solves for the Mahalanobis distance based on the mean and covariance matrices, divides the collision severity levels based on the confidence intervals corresponding to the Mahalanobis distance, reads the gain modulation coefficients corresponding to each level, and performs graded scaling modulation on the Kalman filter gain matrix to obtain the modulated Kalman filter gain matrix.

[0070] The early warning module is used to input the comprehensive state vector estimate, gain modulation coefficient, and modulated Kalman filter gain matrix into the variational Bayesian adaptive Kalman filter to complete iterative calculations and output real-time estimates of the cointegration coefficients. When the real-time estimates of the cointegration coefficients suddenly change and exceed the safety limits, a bridge collision alarm is triggered.

[0071] Each module in the aforementioned ship-bridge collision detection system can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the computer device's memory as software, so that the processor can call and execute the corresponding operations of each module.

[0072] The present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory. The processor executes the computer program to implement the steps in the disturbance suppression method embodiment for a quadcopter unmanned aerial vehicle system. Specific implementation methods can be found in the method embodiments, and will not be repeated here.

[0073] Furthermore, the present invention also provides a non-transitory computer-readable storage medium containing instructions on which a computer program is stored. For example, a memory containing instructions that can be executed by a processor of a computer device to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc. When the computer program is executed by the processor, it can implement the steps in the disturbance suppression method embodiment for a quadcopter unmanned aerial vehicle system. Specific implementation methods can be found in the method embodiments, which will not be repeated here.

[0074] It should be noted that the specific embodiments described above enable those skilled in the art to more fully understand the present invention, but do not limit the present invention in any way. Therefore, although the present invention has been described in detail in this specification and embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the present invention; and all technical solutions and improvements that do not depart from the spirit and scope of the present invention are covered within the protection scope of the present invention patent. No reference numerals in the claims should be construed as limiting the scope of the claims. Any simple variations or equivalent substitutions of technical solutions that can be readily obtained by those skilled in the art within the scope of the technology disclosed in the present invention are within the protection scope of the present invention.

Claims

1. A method for detecting collisions between a ship and a bridge, characterized in that, Includes the following steps: Acquire multiple displacement response data in three directions at different locations on both sides of the bridge pier of the impacted bridge; The stationarity test and Johansen cointegration test are performed on multiple displacement response data in sequence to obtain the cointegration equation. The cointegration equation is used as the state equation, the cointegration coefficient is used as the initial state vector, the displacement response is used as the observation variable, and a state-space model is constructed by combining the preset process noise and observation noise. Based on the state-space model, the prior state vector estimates corresponding to the zero-order hold mode, first-order linear mode, second-order polynomial mode and adaptive weighted historical prediction mode are obtained for the steady-state no-change stage, linear slow-change stage, nonlinear slow-change stage and irregular fluctuation stage of the bridge pier after the impact. The prior state vector estimates are then probabilistically weighted and fused with preset weights to output the comprehensive state vector estimate at the current moment. Calculate the mean and covariance matrix of all comprehensive state vector estimates from the initial time to the current time, solve the Mahalanobis distance based on the mean and covariance matrix, divide the collision severity level based on the confidence interval corresponding to the Mahalanobis distance, read the gain modulation coefficient corresponding to each level, and perform graded scaling modulation on the Kalman filter gain matrix to obtain the modulated Kalman filter gain matrix. The integrated state vector estimate, gain modulation coefficient, and modulated Kalman filter gain matrix are input into the variational Bayesian adaptive Kalman filter to complete the iterative calculation and output the real-time estimated value of the cointegration coefficient; when the real-time estimated value of the cointegration coefficient changes abruptly and exceeds the safety limit, the bridge collision alarm is triggered.

2. The ship-bridge collision detection method according to claim 1, characterized in that, The acquisition of multiple displacement response data in three directions at different locations on both sides of the impacted bridge pier specifically involves: Displacement sensors were installed on both sides of the piers of the bridge that was hit. , via displacement sensor Displacement response data in three directions were collected from different locations on both sides of the bridge pier, resulting in a total of six sets of displacement response data output by two displacement sensors.

3. The ship-bridge collision detection method according to claim 2, characterized in that, The acquisition of preset process noise and observation noise includes the following steps: The initial noise covariance matrix is ​​set as follows: Process noise covariance matrix ; The observation noise covariance matrix R = 0.1; The noise sequence that matches the corresponding covariance matrix is ​​generated as follows: Process noise for: ; Observation noise for: ; In the formula, The process noise covariance matrix The Cholesky factor, by Calculated; It is a 6-dimensional standard normal distributed random variable. Each element in the matrix follows a standard normal distribution. , These are random numbers from a standard normal distribution. .

4. The ship-bridge collision detection method according to claim 3, characterized in that, After setting the process noise and observation noise, the process noise and observation noise are normalized.

5. The ship-bridge collision detection method according to claim 4, characterized in that, The construction of the state-space model includes the following steps: Read the preset ADF test lag order and test model configuration, and use the ADF unit root stationarity test to conduct stationarity tests on the normalized six-dimensional displacement response data sequence by sequence; When all time series of the six-dimensional displacement response are determined to be non-stationary, the preset lag order and preset significance level of the Johansen cointegration test are read, and the Johansen cointegration test is performed on the normalized six-dimensional displacement response data to screen out effective cointegration equations: ; In the formula, , , and , , These are sensors , The lateral, longitudinal, and vertical displacement response variables, , … For the corresponding cointegration coefficient, For random disturbance terms; The cointegration equation is used as the state equation, the cointegration coefficient is used as the initial state vector, the normalized displacement response is used as the observation variable, and the normalized process noise and observation noise are combined to construct a complete state-space model.

6. The ship-bridge collision detection method according to claim 5, characterized in that, The process involves inputting the comprehensive state vector estimate, gain modulation coefficients, and modulated Kalman filter gain matrix into a variational Bayesian adaptive Kalman filter to perform iterative calculations and outputting real-time estimates of the cointegration coefficients. Specifically: The comprehensive state vector estimate, gain modulation coefficient, and modulated Kalman filter gain matrix are imported into the variational Bayesian adaptive Kalman filter algorithm for iteration to obtain: ; ; ; In the formula, yes( l +1) iterations and the filtered gain matrix after gain modulation, for( l +1) The final posterior state vector estimate output after the second iteration. for( l +1) iterations later, the state vector The covariance matrix; Estimation of posterior state vector After normalization, the real-time estimates of the cointegration coefficients are obtained. The normalization formula is as follows: ; In the formula, It is a real-time estimate of the cointegration coefficient after normalization. , for The maximum and minimum values ​​of the posterior state vector estimate within the time interval. It is the final posterior state vector estimate of the original output.

7. The ship-bridge collision detection method according to claim 6, characterized in that, The method for triggering a bridge collision alarm when the real-time estimated value of the cointegration coefficient suddenly changes and exceeds the safety limit is as follows: A warning safety threshold is set. When the real-time estimated value of the cointegration coefficient after normalization changes abruptly and exceeds the safety threshold, an automatic alarm for ship-bridge collision is triggered. Specifically: In the formula, These are the upper and lower limits of the safety boundary, respectively. This represents the average value of the real-time estimated cointegration coefficients after normalization. This corresponds to the standard normal distribution value at a 95% confidence level; express The standard deviation.

8. A ship-bridge collision detection system, characterized in that, include: The data acquisition module acquires multiple displacement response data in three directions at different locations on both sides of the bridge piers of the impacted bridge. The model building module is used to perform stationarity tests and Johansen cointegration tests on multiple displacement response data in sequence to obtain cointegration equations. The cointegration equations are used as state equations, cointegration coefficients are used as initial state vectors, displacement responses are used as observation variables, and a state-space model is constructed by combining preset process noise and observation noise. The parameter calculation module is used to obtain the prior state vector estimates corresponding to the zero-order hold mode, first-order linear mode, second-order polynomial mode, and adaptive weighted historical prediction mode for the steady-state stage, linear slow-change stage, nonlinear slow-change stage, and irregular fluctuation stage of the bridge pier after the impact, based on the state space model. The module then performs probability weighted fusion of the prior state vector estimates with preset weights and outputs the comprehensive state vector estimate at the current moment. Calculate the mean and covariance matrix of all comprehensive state vector estimates from the initial time to the current time, solve the Mahalanobis distance based on the mean and covariance matrix, divide the collision severity level based on the confidence interval corresponding to the Mahalanobis distance, read the gain modulation coefficient corresponding to each level, and perform graded scaling modulation on the Kalman filter gain matrix to obtain the modulated Kalman filter gain matrix. The early warning module is used to input the comprehensive state vector estimate, gain modulation coefficient, and modulated Kalman filter gain matrix into the variational Bayesian adaptive Kalman filter to complete the iterative calculation and output the real-time estimate of the cointegration coefficient; when the real-time estimate of the cointegration coefficient changes abruptly and exceeds the safety limit, a bridge collision alarm is triggered.

9. A computer device, comprising a memory, a processor, and a computer program stored in the memory, characterized in that, The processor executes the computer program to implement the steps of the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is loaded by the processor, it is able to perform the steps of the method according to any one of claims 1 to 7.