Railway geological disaster foreign matter intrusion monitoring method, system and device based on multi-dimensional sensor

By using multi-dimensional sensor fusion technology and constraining the target position with the three-dimensional reference of the railway track, the accurate determination of foreign object intrusion monitoring on railways is realized, which solves the problems of false alarms and missed alarms in the existing technology and improves the stability and reliability of the system.

CN123179309APending Publication Date: 2026-11-27CHINA RAILWAY ELECTRIFICATION ENGINEERING GROUP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611673338.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-28
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing railway foreign object intrusion monitoring technologies are prone to false alarms and missed alarms in adverse weather, at night, and under complex backgrounds. Multi-source fusion is difficult to correct system errors online and fails to fully utilize the railway spatial reference to constrain the target position.

Method used

A multi-dimensional sensor fusion method is adopted to obtain the three-dimensional spatial reference of the railway track, establish the spatial constraint of the railway track centerline, solve the optimal state of the target and sensor error through a joint estimation model, classify the target by combining geometric, motion and texture features, and perform joint verification of heterogeneous features.

Benefits of technology

It improves the measurement accuracy and data consistency of the monitoring system after long-term deployment, reduces the probability of false alarms, and ensures accurate alarms in complex environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123179309A_ABST
    Figure CN123179309A_ABST
Patent Text Reader

Abstract

The present application belongs to the field of railway safety monitoring, and relates to a railway geological disaster foreign matter intrusion monitoring method, system and equipment based on a multi-dimensional sensor, aiming to solve the problems of high false positives and false negatives of a single sensor in a complex environment, difficulty in correcting errors of multi-source fusion, and insufficient target positioning constraints. The method acquires a three-dimensional space reference of the track and establishes a center line constraint, collects millimeter wave radar, laser radar and camera observation data and unifies mapping, constructs a joint state quantity containing target state and multi-sensor error, combines the track constraint for joint estimation, obtains the optimal state of the target and the error estimation value; extracts geometric, motion and texture features for target classification, updates sensor parameters according to the classification results, and projects the target position to the track reference for intrusion judgment, combines with the joint verification of heterogeneous features, and outputs the intrusion result. The accuracy, robustness and real-time performance of railway foreign matter intrusion monitoring are improved, and the false positive and false negative probabilities are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of railway safety monitoring technology, and specifically relates to a method, system and equipment for monitoring foreign object intrusion into railway geological disasters based on multi-dimensional sensors. Background Technology

[0002] Railways, especially high-speed railways, operate along long lines in complex environments, making them susceptible to geological disasters such as rockfalls, landslides, and mudslides, as well as foreign objects such as animals, vehicles, and debris. Failure to detect and warn of these intrusions in a timely manner can easily jeopardize train safety. Current railway foreign object intrusion monitoring technologies mainly employ single sensors or simple cascaded fusion methods, such as independent monitoring schemes based on millimeter-wave radar, lidar, or cameras. These schemes typically have significant limitations in practical applications: millimeter-wave radar is less affected by the environment but has limited ability to identify small, low-speed, or stationary targets, and its target classification capabilities are weak; lidar can provide rich three-dimensional spatial information, but it is prone to noise interference in adverse weather conditions such as rain, snow, fog, haze, and sandstorms, leading to false detections; cameras have good target appearance recognition capabilities, but their detection effectiveness is highly dependent on lighting conditions, and they are prone to missed detections and false alarms at night, in backlight, or against complex backgrounds.

[0003] Furthermore, existing multi-sensor fusion schemes often focus on simply stitching together, voting on, or serially confirming observation results, failing to effectively handle the systematic error drift generated by individual sensors during long-term operation, and also failing to fully utilize the high-precision spatial prior information of the railway geometry to jointly constrain target position and sensor errors. Therefore, under complex environments and long-term online operation conditions, existing technologies struggle to simultaneously achieve monitoring accuracy, false alarm control, and stability. There is an urgent need for a monitoring method that can integrate millimeter-wave radar, lidar, and cameras, and combine them with railway spatial references for joint estimation, dynamic correction, and multi-source verification. Summary of the Invention

[0004] To address the aforementioned problems in existing technologies, namely the susceptibility of single sensors to false alarms or missed alarms in adverse weather, at night, and under complex backgrounds, the difficulty in online correction of system errors through multi-source fusion, and the inability to fully utilize the spatial reference of the railway track to constrain the target position, this invention provides a method, system, and equipment for monitoring foreign object intrusion into railway geological disasters based on multi-dimensional sensors.

[0005] In a first aspect, this invention proposes a method for monitoring the intrusion of foreign objects into railway geological hazards based on multi-dimensional sensors, comprising: Obtain the three-dimensional spatial reference of the railway track within the monitoring section, and establish the spatial constraint of the railway track centerline based on the three-dimensional spatial reference; Acquire observation data from millimeter-wave radar, lidar, and cameras, and perform a unified spatial mapping on the observation data; A joint state variable is constructed, which includes the target state, millimeter-wave radar system error, lidar system error and camera system error. The joint state variable and the spatial constraint of the rail centerline are input into the joint estimation model, and the optimal state of the target and the error estimates of each sensor are obtained by solving the model. Based on the target's optimal state, extract the target's geometric features, motion features, and texture features, and output the target category and classification confidence based on the target's geometric features, motion features, and texture features; Based on the error estimates of each sensor and the target category, the sensor observation parameters are updated; the optimal state of the target is projected onto the three-dimensional spatial reference and an intrusion limit determination is performed; Joint verification is performed based on the heterogeneous features corresponding to millimeter-wave radar, lidar, and camera, and the intrusion limit determination result is output.

[0006] Furthermore, obtaining the three-dimensional spatial reference of the railway track within the monitoring section includes: Based on preset measurement data, design drawing data, or laser scanning data, obtain the three-dimensional coordinate set of the rail centerline, and construct the three-dimensional coordinate set into a rail space reference model; Establish the spatial correspondence between the railway spatial reference model and the world coordinate system, and map the railway spatial reference model to the millimeter-wave radar coordinate system, lidar coordinate system and camera coordinate system respectively, so as to form spatial constraints on the relative relationship between the target position and the centerline of the railway.

[0007] Furthermore, the joint state variables include at least the target's three-dimensional position, velocity, and acceleration, as well as the ranging bias and angular offset of the millimeter-wave radar, the ranging ratio error and angular offset of the lidar, the focal length error of the camera, the radial distortion parameter error, and the attitude offset. The target's three-dimensional position, velocity, and acceleration are configured as the same joint estimation variable along with the millimeter-wave radar system error, lidar system error, and camera system error, and are solved synchronously through the same observation update process.

[0008] Furthermore, the joint estimation model includes a first observation factor based on millimeter-wave radar range, azimuth angle, and Doppler velocity; a second observation factor based on the geometric center of the lidar point cloud; a third observation factor based on the target center pixel coordinates of the camera image; and a fourth constraint factor based on the spatial constraints of the railway centerline. The joint estimation model solves for the first observation factor, the second observation factor, the third observation factor, and the fourth constraint factor through a sliding time window, and adjusts the length of the sliding time window according to the residual of each factor during the joint solution process.

[0009] Furthermore, the extraction of target geometric features, motion features, and texture features based on the target's optimal state includes: Based on the lidar point cloud cluster, the volume, projected area, height, and normal vector change features of the target are extracted. Based on the optimal state of the target and the optimal state of the target at adjacent time points, the velocity change rate and trajectory curvature of the target are extracted. Based on the camera image, the texture features of the target area are extracted. The volume, projected area, height, normal vector change features, velocity change rate, trajectory curvature, and target area texture features are combined to form a target classification feature vector. The target category and classification confidence level are output based on the target classification feature vector.

[0010] Furthermore, updating the sensor observation parameters based on the estimated error values ​​of each sensor and the target category includes: Based on the system errors of millimeter-wave radar, lidar, and camera, the observation model parameters and spatial transformation relationships of the corresponding sensors are updated respectively. Furthermore, the covariance parameters of the millimeter-wave radar observation factors, lidar observation factors, and camera observation factors are adjusted based on the classification confidence level of the target category. Specifically, the covariance parameter is updated when the classification confidence level meets a preset trigger condition, and remains unchanged when the classification confidence level does not meet the preset trigger condition.

[0011] Furthermore, the infringement limit determination includes: The optimal state of the target is projected onto the three-dimensional spatial reference, the shortest distance from the target position to the center line of the rail is calculated, and the shortest distance is compared with a preset encroachment threshold. When the shortest distance meets the intrusion limit condition, the intrusion limit candidate result is output; and the intrusion limit candidate result is consistently correlated with the micro-Doppler features of the millimeter-wave radar, the echo intensity features of the lidar, and the texture features of the camera image to form the subsequent joint verification input.

[0012] Furthermore, the joint verification includes: Micro-Doppler features from millimeter-wave radar, echo intensity features from lidar, and texture features from camera images are extracted respectively. The confidence scores for these three features are then calculated. When the first judgment condition is met, the intrusion limit confirmation result is output. The first judgment condition is that the confidence level of the micro-Doppler feature of the millimeter-wave radar, the confidence level of the echo intensity feature of the lidar, and the confidence level of the texture feature of the camera image all meet the joint confirmation condition. When the second decision condition is met, the observation result is output and verified based on subsequent frames. The second decision condition is that two of the following three conditions are met: the confidence level of the micro-Doppler feature of the millimeter-wave radar, the confidence level of the echo intensity feature of the lidar, and the confidence level of the texture feature of the camera image. When the third decision condition is met, a false alarm result is output. The third decision condition is that at most one of the following three conditions is met: the confidence level of the micro-Doppler feature of the millimeter-wave radar, the confidence level of the echo intensity feature of the lidar, and the confidence level of the texture feature of the camera image.

[0013] In a second aspect, the present invention proposes a railway geological hazard foreign object intrusion monitoring system based on multi-dimensional sensors, comprising: The rail space reference construction module is used to obtain the three-dimensional spatial reference of the rail within the monitoring section and establish the spatial constraint of the rail centerline based on the three-dimensional spatial reference. The data acquisition and mapping module is used to acquire observation data from millimeter-wave radar, lidar, and cameras, and to perform spatial unified mapping on the observation data; The joint estimation module is used to construct a joint state quantity that includes the target state, millimeter-wave radar system error, lidar system error and camera system error. The joint state quantity and the spatial constraint of the rail centerline are input into the joint estimation model to solve for the optimal state of the target and the estimated values ​​of each sensor error. The feature extraction and classification module is used to extract the geometric features, motion features and texture features of the target based on the optimal state of the target, and output the target category and classification confidence based on the geometric features, motion features and texture features of the target; The parameter update module is used to update the sensor observation parameters based on the error estimates of each sensor and the target category, and to project the optimal state of the target onto the three-dimensional spatial reference and perform an intrusion limit determination. The joint verification module is used to perform joint verification based on the heterogeneous features corresponding to millimeter-wave radar, lidar and camera respectively, and output the intrusion limit determination result.

[0014] In a third aspect, the present invention provides an apparatus comprising: At least one processor; and a memory communicatively connected to at least one of the processors; The memory stores instructions that can be executed by the processor to implement a method for monitoring foreign object intrusion into railway geological hazards based on multi-dimensional sensors.

[0015] The beneficial effects of this invention are: This invention incorporates key system errors of the sensor, such as ranging, angle, and focal length, into a dynamic joint estimation model, which is solved in real time along with the target state. This method enables the system to continuously self-correct parameter drift caused by changes in ambient temperature, equipment vibration, or long-term use, thereby better maintaining the measurement accuracy and data consistency of the monitoring system after long-term deployment.

[0016] By using a precise 3D model of the railway track as a fixed spatial reference, this method provides a unified reference for the measurement data of all sensors. When the measurement value of a certain sensor deviates due to interference from adverse weather conditions such as rain or fog, this deviation will conflict with the railway track reference and other sensor data during the joint optimization process, and will be identified and corrected by the system. This is equivalent to using the railway track as an "anchor point" to achieve online mutual calibration between sensors, improving the overall reliability of the entire system when the quality of some data sources deteriorates.

[0017] This invention constructs a bidirectional feedback mechanism between target state estimation and sensor model parameters. The system not only uses sensor data to estimate the target state but also uses the estimated optimal target state to update the observation models of each sensor. This feedback loop enables the system to adaptively adjust the weights of different sensors based on the specific classification results of the target, such as determining whether the target is a small rock or a large animal, and in conjunction with observation quality, thereby achieving more refined deep fusion.

[0018] After initially determining the intrusion, this invention adds an additional joint verification checkpoint based on different physical characteristics. It comprehensively analyzes the micro-Doppler characteristics of millimeter-wave radar to determine the target's motion details, infers the target's material through the echo intensity of lidar, and identifies the target's surface structure through the texture features of a camera. Only when these physical evidences from different dimensions corroborate each other will the system finally confirm the alarm. This cross-verification of multi-source heterogeneous features effectively distinguishes between real intruding objects and environmental interference such as birds and swaying vegetation, significantly reducing the probability of false alarms and making the final alarm decision more prudent and reliable. Attached Figure Description

[0019] Other features, objects, and advantages of this application will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings: Figure 1 This is a flowchart of the railway geological disaster foreign object intrusion monitoring method based on multi-dimensional sensors according to the present invention; Figure 2 This is a structural diagram of the railway geological disaster foreign object intrusion monitoring system based on multi-dimensional sensors according to the present invention; Figure 3This is a schematic diagram of the structure of a computer system used to implement the methods, systems, and electronic devices of this application. Detailed Implementation

[0020] The present application will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the invention. Furthermore, it should be noted that, for ease of description, only the parts relevant to the invention are shown in the accompanying drawings.

[0021] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.

[0022] This application applies to sections along railway lines where there is a risk of falling rocks, landslide debris, trees, vehicles, animals, or other foreign objects encroaching on the railway clearance. Millimeter-wave radar, lidar, and cameras are installed on fixed support structures to the side, above, or adjacent to the monitored section. The detection range of each sensor covers the rails and the pre-defined monitoring areas on both sides of the rails. Each sensor communicates with an edge computing device, which performs spatial mapping, joint estimation, feature extraction, target classification, parameter updating, encroachment determination, and joint verification.

[0023] This embodiment establishes a world coordinate system, a millimeter-wave radar coordinate system, a lidar coordinate system, and a camera coordinate system. The first axis of the world coordinate system is along the direction of increasing route mileage, the second axis is horizontal along the route, and the third axis is vertical. Spatial coordinates are expressed in meters. The origin of the camera image coordinate system is located at the upper left corner of the image, with horizontal pixel coordinates increasing to the right and vertical pixel coordinates increasing downwards. Observation frames from the millimeter-wave radar, lidar, and camera all carry timestamps. Each sensor can be synchronized using a precise time protocol or a hardware trigger signal.

[0024] The three-dimensional spatial reference for the railway track includes the three-dimensional coordinates of the track centerline, track mileage, track orientation, and local elevation. The spatial constraint of the track centerline represents the spatial geometric relationship between the target location and the track centerline. The optimal target state represents the target's three-dimensional position, velocity, and acceleration obtained by the joint estimation model within the current sliding time window. The estimated errors of each sensor represent the millimeter-wave radar system error, lidar system error, and camera system error obtained synchronously by the joint estimation model. The intrusion limit candidate results represent intermediate results where the target location meets the intrusion limit conditions but awaits joint verification using heterogeneous features.

[0025] The first embodiment of this invention proposes a method for monitoring the intrusion of foreign objects into railway geological hazards based on multi-dimensional sensors, comprising the following steps: S10: Obtain the three-dimensional spatial reference of the rail within the monitoring section, and establish the spatial constraint of the rail centerline based on the three-dimensional spatial reference; S20: Acquire observation data from millimeter-wave radar, lidar, and cameras, and perform spatial unified mapping on the observation data; S30: Construct a joint state variable that includes the target state, millimeter-wave radar system error, lidar system error and camera system error. Input the joint state variable and the spatial constraint of the rail centerline into the joint estimation model, and solve to obtain the optimal state of the target and the estimated values ​​of each sensor error. S40: Extract the target's geometric features, motion features, and texture features based on the target's optimal state, and output the target category and classification confidence based on the target's geometric features, motion features, and texture features; S50: Update the sensor observation parameters based on the error estimates of each sensor and the target category; project the optimal state of the target onto the three-dimensional spatial reference and determine the intrusion limit; S60: Performs joint verification based on the heterogeneous features corresponding to millimeter-wave radar, lidar, and camera, and outputs the intrusion limit determination result.

[0026] To more clearly illustrate the method for monitoring foreign object intrusion into railway geological hazards based on multi-dimensional sensors according to the present invention, the following is a detailed explanation. Figure 1 The steps in the embodiments of the present invention are described in detail below.

[0027] S10: Obtain the three-dimensional spatial reference of the rail within the monitoring section, and establish the spatial constraint of the rail centerline based on the three-dimensional spatial reference; In this embodiment, step S10 includes: Step S11: Obtain the three-dimensional coordinate set of the rail centerline based on preset measurement data, design drawing data or laser scanning data, and construct the three-dimensional coordinate set into a rail space reference model. Step S12: Establish the spatial correspondence between the rail spatial reference model and the world coordinate system, and map the rail spatial reference model to the millimeter-wave radar coordinate system, lidar coordinate system and camera coordinate system respectively to form spatial constraint terms for the relative relationship between the target position and the centerline of the rail.

[0028] In this embodiment, a ground-based three-dimensional laser scanning device can be used to perform static scanning of the monitoring section. During scanning, at least three control points that can be stored for a long time are set on both sides of the rail, and the three-dimensional coordinates of each control point in the world coordinate system are obtained using a total station. After outlier removal, statistical filtering, and ground point separation, the laser scanning data is used to extract the rail head point clouds of the left and right rails according to the echo intensity and rail head cross-sectional shape.

[0029] Within cross-sections spaced 1m apart along the railway line, the geometric centers of the rail heads of two rails are fitted, and the midpoint of the line connecting the two rail head geometric centers is taken as the rail center point of that cross-section. The rail center points are sorted according to the railway mileage, fitted using cubic spline curves, and resampled at exemplary intervals of 0.2m to form a three-dimensional coordinate set of the rail centerline. For each rail center point, the coordinates of the railway direction, lateral direction, elevation, railway mileage, and track tangent direction are recorded.

[0030] When laser scanning is not available on-site, the lengths of straight sections, transition curves, circular curve radii, mileage of gradient change points, elevation of gradient change points, radius of vertical curves, and superelevation values ​​can be extracted from the route plan, longitudinal profile, and curve element table. The plane and elevation coordinates of each section are calculated sequentially according to the route mileage to form the theoretical rail centerline. Points can be taken at 1-meter intervals for curve sections and at 5-meter intervals for straight sections. Then, cubic spline interpolation is used to resample the theoretical rail centerline to 0.2-meter intervals.

[0031] After the theoretical rail centerline is established, kilometer markers, curve feature points, or corner points of permanent structures are selected as registration feature points within the monitoring section. Each registration feature point is measured at least three times, and the average value is taken. A one-to-one correspondence is established between the theoretical coordinates and the measured coordinates at the corresponding mileage in the design drawings. Registration is performed using a seven-parameter coordinate transformation, which includes three translation parameters, three rotation parameters, and one scaling parameter. The sum of squared residuals between the transformed coordinates of the theoretical feature points and the measured feature point coordinates is used as the solution. The allowable value for the registration residual can be 0.005m. After registration, the obtained coordinate transformation is applied to all theoretical rail center points, forming a rail spatial reference model bound to the world coordinate system.

[0032] Millimeter-wave radar can use corner reflectors to obtain initial values ​​for ranging zero bias and azimuth offset; lidar can use planar targets to obtain initial values ​​for ranging ratio error and angular offset; and cameras can use planar calibration boards to obtain initial values ​​for focal length, optical center coordinates, radial distortion coefficients, and attitude parameters. During extrinsic parameter calibration, a cooperative target that can be simultaneously recognized by the three sensors is set in the world coordinate system. The millimeter-wave radar point traces, the lidar 3D center point, and the camera corner points are extracted separately. The transformation relationship between each sensor coordinate system and the world coordinate system is solved through spatial point matching and nonlinear least squares.

[0033] When mapping the railway spatial reference model to the millimeter-wave radar coordinate system and the lidar coordinate system, the homogeneous coordinates of the railway center point are multiplied by the inverse of the corresponding spatial transformation matrix. When mapping the railway spatial reference model to the camera coordinate system, the railway center point is first transformed to the camera coordinate system, and then projected onto the image plane according to the camera's intrinsic parameters. This yields the railway reference point in the millimeter-wave radar field of view, the railway reference point in the lidar point cloud space, and the railway projection line in the camera image, respectively. All mapping results use the same line mileage index as the railway spatial reference model in the world coordinate system.

[0034] For targets within the monitoring range, the center points of adjacent rails are searched in the three-dimensional coordinate set of the rail centerline according to the predicted position of the target. A local centerline segment is fitted using the center points of adjacent rails, and then the lateral and vertical distances of the target position relative to the local centerline segment are calculated. The resulting rail centerline spatial constraint term includes at least the target identifier, the predicted position of the target, the sequence number of the adjacent rail center points, the corresponding line mileage, the lateral distance, the vertical distance, the constraint residual, and the baseline validity flag. This spatial constraint term is used as the input to the fourth constraint factor in step S30.

[0035] When there are fewer than 3 valid registration feature points or the registration residual exceeds 0.005m, the most recently verified rail spatial reference model is retained, and an anomaly flag for the reference model is output. When laser scan data is partially missing, segmented interpolation is performed using the valid rail center points at both ends of the missing area, and the interpolated segments are marked as low-confidence segments. The spatial constraint covariance of the rail centerline corresponding to the low-confidence segment can be set to 4 times that of the normal segment.

[0036] In this embodiment, the theoretical rail centerline generated from the design drawings can be used as the initial model, and the rail centerline obtained by laser scanning can be used as the basis for local correction. The system registers the two centerlines according to the line mileage, updating only the rail center points with coordinate deviations exceeding 0.005m. The updated rail spatial reference model still enters subsequent processing according to the same world coordinate system, line mileage index, and sensor spatial transformation relationship.

[0037] S20: Acquire observation data from millimeter-wave radar, lidar, and cameras, and perform spatial unified mapping on the observation data; In this embodiment, step S20 includes: Step S21: Obtain the range, azimuth angle and Doppler velocity output by the millimeter-wave radar, obtain the three-dimensional point cloud coordinates and echo intensity output by the lidar, and obtain the continuous image frames output by the camera. Step S22: Time alignment is performed according to the timestamps of each observation data, and the millimeter-wave radar observation data, lidar observation data, and camera observation data are mapped to the world coordinate system using the spatial transformation relationship of each sensor; Step S23: Based on the mapped spatial location, acquisition time, and continuous target trajectory, the millimeter-wave radar observation data, lidar observation data, and camera observation data are correlated to form a multi-source observation data group for the same target.

[0038] Millimeter-wave radar can employ a frequency-modulated continuous wave (FMCV) system, outputting point tracks at an exemplary frequency of 20 Hz. Each millimeter-wave radar point track includes at least target identification, acquisition time, range, azimuth angle, Doppler velocity, signal-to-noise ratio, and echo sequence. LiDAR can output point clouds at an exemplary frequency of 10 Hz, with each point cloud point including at least acquisition time, 3D coordinates, and echo intensity. A camera can output images at an exemplary frame rate of 25 frames per second, with an image resolution of 1920 × 1080 pixels. The above parameters illustrate one feasible data acquisition configuration.

[0039] During time alignment, the observation frame with the smallest time difference is selected from the sensor buffers, centered on the reference time of the current joint estimation period. A time difference of 20ms is allowed. When millimeter-wave radar or lidar observations are located between two adjacent reference times, linear time compensation can be performed based on the existing target velocity. Camera images retain their original frame content, and the difference between the image timestamp and the reference time is passed to the joint estimation model. If a sensor has no available observations within 100ms, the observation factor corresponding to that sensor is not established for the current period; the remaining effective observation factors and the spatial constraints of the rail centerline continue to participate in the solution.

[0040] Millimeter-wave radar observations are first converted from polar coordinates to radar rectangular coordinates, and then mapped to the world coordinate system according to the spatial transformation relationship of millimeter-wave radar. LiDAR point clouds are mapped to the world coordinate system according to the spatial transformation relationship of lidar. For point cloud points belonging to the same target, a clustering threshold of no more than 0.15m between points is used to form target point cloud clusters, and the geometric center of the target point cloud cluster is used as the lidar observation position.

[0041] To illustrate how millimeter-wave radar and lidar observations participate in joint estimation, in each joint estimation cycle, the system first transforms the target's predicted position and velocity to the corresponding sensor coordinate system. The millimeter-wave radar's predicted range is obtained by adding the ranging error to the spatial distance from the target to the radar origin; the predicted azimuth is determined by the target's horizontal and vertical coordinate components on the radar, plus the angular offset; the predicted Doppler velocity is obtained by the component of the target's velocity along the radar's line-of-sight direction. After the lidar's predicted point cloud geometric center completes coordinate transformation at the target position, it is corrected according to the ranging ratio error and angular offset.

[0042] The residuals of the first observation factor are formed by subtracting the predicted range, predicted azimuth angle, and predicted Doppler velocity of the millimeter-wave radar from the corresponding actual observed values; the residuals of the second observation factor are formed by subtracting the predicted geometric center of the point cloud from the actual geometric center of the point cloud of the lidar.

[0043] The center of the target detection bounding box in the camera image forms the target center pixel coordinates. When the camera's 2D pixels lack independent depth, the corresponding pixel ray is transformed to the world coordinate system, and the spatial position on the ray is determined using the millimeter-wave radar distance or the lidar target center depth at the same time. When there is no depth observation available, the camera observation is saved as a spatial ray constraint in the world coordinate system, and the joint estimation model uses the existing target predicted position to complete the association.

[0044] The camera observation factor employs pinhole imaging and radial distortion relationships. The system transforms the target position into the camera coordinate system, first normalizing the lateral and longitudinal coordinates using depth coordinates, and then calculating the predicted lateral and longitudinal pixel coordinates using focal length, optical center coordinates, and the first and second radial distortion coefficients. Specifically, the focal length error is added to the factory-set focal length, and the errors of the two radial distortion parameters are added to their corresponding factory-set distortion coefficients. The difference between the predicted pixel coordinates and the actual target center pixel coordinates is used as the residual of the third observation factor.

[0045] In one example, the factory focal lengths in the horizontal and vertical directions are set to 1180px and 1176px, respectively; the first and second radial distortion coefficients are set to -0.12 and 0.03, respectively; and the horizontal and vertical optical center coordinates are set to 960px and 540px, respectively. These values ​​are used as initial values ​​for the camera's observation relationship and are updated in step S50 based on the camera's system error.

[0046] When associating targets, a spatial threshold is established centered on the predicted location. Candidate associations can be formed when the distance between the mapped millimeter-wave radar point traces and lidar point cloud clusters is less than 0.8m and the time difference is less than 20ms. Observations can be added to the same candidate association when the pixel distance between the center of the camera detection frame and the predicted projection point of the target is less than 50px. When multiple candidate observations exist, an association cost is determined based on spatial distance, time difference, and trajectory continuity, and the observation with the lowest association cost is selected. Observations that do not meet the association threshold are saved as new target candidates or isolated observations.

[0047] The multi-source observation data set includes at least the target identifier, reference time, millimeter-wave radar observation value, geometric center of lidar point cloud, pixel coordinates of the target center from the camera, original timestamps from each sensor, spatial transformation version, and observation validity flag. The multi-source observation data set serves as the input to the first, second, and third observation factors in step S30.

[0048] In this embodiment, target detection and short-term trajectory tracking can be performed first in each sensor coordinate system, and then cross-sensor association can be performed using the degree of overlap of the trajectories in the world coordinate system. If two candidate trajectories cannot form a unique association within three consecutive frames, the candidate trajectories are retained separately and merged after subsequent observations eliminate association ambiguities.

[0049] S30: Construct a joint state variable that includes the target state, millimeter-wave radar system error, lidar system error and camera system error. Input the joint state variable and the spatial constraint of the rail centerline into the joint estimation model, and solve to obtain the optimal state of the target and the estimated values ​​of each sensor error. In this embodiment, step S30 includes: Step S31, the joint state variables include at least the target's three-dimensional position, velocity and acceleration, as well as the ranging deviation and angle offset of the millimeter-wave radar, the ranging ratio error and angle offset of the lidar, the focal length error of the camera, the radial distortion parameter error and attitude offset. In step S32, the three-dimensional position, velocity, and acceleration of the target are configured as the same joint estimation variable along with the millimeter-wave radar system error, lidar system error, and camera system error, and solved synchronously through the same observation update process. Step S33, the joint estimation model includes a first observation factor based on millimeter-wave radar range, azimuth angle and Doppler velocity, a second observation factor based on the geometric center of lidar point cloud, a third observation factor based on the target center pixel coordinates of camera image, and a fourth constraint factor based on the spatial constraint of the railway centerline. Step S34: The joint estimation model solves for the first observation factor, the second observation factor, the third observation factor, and the fourth constraint factor through a sliding time window. Step S35: Adjust the length of the sliding time window based on the residual values ​​of each factor during the joint solution process.

[0050] In the k-th joint estimation period, the joint state variables are expressed as: ; in, This represents the joint state variables of the k-th joint estimation period; Indicates the three-dimensional position of the target; Represents the target's three-dimensional velocity; Represents the target's three-dimensional acceleration; This indicates the ranging deviation of millimeter-wave radar; Indicates the angular offset of the millimeter-wave radar; This indicates the proportional error in lidar ranging. Indicates the angle offset of the lidar; Indicates the camera's focal length error; and These represent the first radial distortion parameter error and the second radial distortion parameter error of the camera, respectively. , and These represent the camera's attitude offsets in the pitch, yaw, and roll directions, respectively; k represents the joint estimation period number; and the superscript T indicates vector transpose.

[0051] The target's motion state is transmitted between adjacent joint estimation cycles according to a uniform acceleration relationship. The predicted position for the next cycle is determined by the sum of the current target position, the displacement generated by the current velocity within that time interval, and the displacement generated by the current acceleration within that time interval. When the joint estimation cycle is 20Hz, the time interval between adjacent cycles is 0.05s. When the target velocity is close to 0 or the observation interval is abnormal, the acceleration is limited to a preset physical range, and the uncertainty of the target's motion state is increased.

[0052] The first observation factor, based on the millimeter-wave radar observation relationship in step S20, generates predicted range, predicted azimuth, and predicted Doppler velocity, and subtracts them from the actual millimeter-wave radar observation values, respectively. The second observation factor, based on the lidar observation relationship in step S20, generates predicted point cloud geometric center, and subtracts it from the actual point cloud geometric center. The third observation factor, based on the camera observation relationship in step S20, generates predicted pixel coordinates, and subtracts them from the actual target center pixel coordinates. The fourth constraint factor reads the local rail centerline segment formed in step S10 and calculates the spatial constraint residual of the target position relative to the local rail centerline segment.

[0053] The joint estimation model uses the weighted sum of squared residuals of each factor as the solution object: ; Where J represents the total objective value of the joint estimation model; Ω represents the set of joint estimation periods within the current sliding time window; The millimeter-wave radar observation residual represents the first observation factor; Represents the lidar observation residuals of the second observation factor; The camera observation residuals represent the third observation factor; The fourth constraint factor represents the spatial constraint residual of the rail centerline; Q represents the millimeter-wave radar observation covariance matrix; R represents the lidar observation covariance matrix; S represents the camera observation covariance matrix; U represents the rail centerline spatial constraint covariance matrix; -1 in the upper right corner of the matrix indicates matrix inversion.

[0054] In one example, the millimeter-wave radar observation covariance is calculated using 0.04m... 2 0.25° 2 and 0.09 (m / s)2 The covariance of lidar observations is constructed using a diagonal matrix with three diagonal elements of 0.01m²; the covariance of camera observations is constructed using a diagonal matrix with two diagonal elements of 16px. 2 The diagonal matrix; the spatial constraint covariance of the railway centerline uses a diagonal element of 0.0025m. 2 The diagonal matrix represents the independent errors of different observation components in the current example. The values ​​above are exemplary initial values ​​for the covariance parameter.

[0055] The joint estimation model reduces the overall target value through Gauss-Newton iteration or Levenberg-Marquardt iteration. Each iteration first calculates the residuals of four factors based on the current joint state variables, then calculates the relationship between each residual and the joint state variables, and finally solves for the joint increment. The target motion state and all sensor system errors are simultaneously corrected in the same observation update. The magnitude of the joint increment is less than 10. -4 Alternatively, the current cycle can be terminated after 20 iterations.

[0056] The sliding time window can initially contain 8 joint estimation periods, with a minimum of 5 and a maximum of 20. When an observation arrives in each new period, the new observation factor and constraint factor are added to the sliding time window, and the oldest factor exceeding the current window length is removed. The system calculates the normalized residuals for the four types of factors separately and uses the average of the four normalized residuals as the basis for window adjustment. If the average value is below 1.0 for three consecutive periods, the window length is reduced by one period, up to a maximum of 5 periods; if the average value is above 3.0 for three consecutive periods, the window length is increased by two periods, up to a maximum of 20 periods; if the average value is between 1.0 and 3.0, the current window length is maintained.

[0057] The solved target 3D position, velocity, and acceleration constitute the target's optimal state. The solved millimeter-wave radar ranging bias and angular offset, lidar ranging ratio error and angular offset, as well as camera focal length error, radial distortion parameter error, and attitude offset constitute the error estimates for each sensor. The target's optimal state proceeds to steps S40 and S50, and the error estimates for each sensor proceed to step S50.

[0058] When the residual of an observation factor exceeds three times its standard deviation, the observation factor is marked as an anomalous observation, and its covariance is amplified to four times the current value. If a sensor is marked as anomalous for five consecutive cycles, the sensor enters a verification state. When the spatial constraint of the rail centerline is missing, the joint estimation model continues to solve based on the effective sensor observations, and a spatial reference unavailable flag is added to the output results. When the joint estimation fails to converge, the target optimal state of the previous cycle is output as a temporary state, and the use of the error estimate of the current cycle to update the sensor parameters is prohibited.

[0059] In this embodiment, extended Kalman filtering, unscented Kalman filtering, or incremental factor graphs can also be used as the joint estimation model. When using an alternative joint estimation model, the target motion state and all sensor system errors are still set in the same joint state variable, and the spatial constraints of millimeter-wave radar, lidar, camera, and rail centerline are still solved synchronously through the same observation update process.

[0060] S40: Extract the target's geometric features, motion features, and texture features based on the target's optimal state, and output the target category and classification confidence based on the target's geometric features, motion features, and texture features; In this embodiment, step S40 includes: Step S41: Extract the volume, projected area, height, and normal vector change features of the target based on the lidar point cloud cluster; extract the target velocity change rate and trajectory curvature based on the target's optimal state and the target's optimal state at adjacent time points; extract the target region texture features based on the camera image; and construct the target classification feature vector by combining the volume, projected area, height, normal vector change features, velocity change rate, trajectory curvature, and target region texture features. Step S42: Output the target category and classification confidence level based on the target classification feature vector.

[0061] Based on the target's optimal position output in step S30, the target's optimal position is transformed to the lidar coordinate system, and a search area is established centered on the transformed target position. The radius of the search area can be 0.5m. Point cloud points within the search area that are no more than 0.15m apart and continuous with the predicted target position are grouped into target point cloud clusters. When the target point cloud cluster has fewer than 20 points, the current geometric feature is marked as a low-confidence geometric feature, and short-term compensation is performed by combining it with the effective point cloud cluster from the previous cycle.

[0062] The target volume is obtained using the voxel occupancy method. The target point cloud cluster is divided into multiple voxels with a voxel side length of 0.05m. The number of voxels occupied by the point cloud is counted and multiplied by the volume of a single voxel. The target projected area is obtained by projecting the point cloud cluster onto the horizontal plane of the world coordinate system and calculating the convex hull area of ​​the projected points. The target height is obtained by the elevation difference between the highest and lowest points in the point cloud cluster.

[0063] The normal vector variation feature is obtained by performing principal component analysis on the neighborhood of each point, extracting the local normal vector, and calculating the standard deviation of the angle between the local normal vector and the average normal vector of the point cloud cluster. The neighborhood can be selected from the 20 points closest to the current point. The volume, projected area, height, and normal vector variation features together describe the spatial dimensions, footprint, vertical scale, and surface roughness of the target.

[0064] The target velocity change rate is determined by the ratio of the difference between the target velocity magnitudes of two adjacent joint estimation periods to the time interval. The trajectory curvature is determined by the cross product magnitude of the current velocity vector and acceleration vector, the current velocity magnitude, and a stability constant (0.000001) to prevent the denominator from being zero at low speeds. When the target velocity is below 0.05 m / s, the trajectory curvature is set to 0 and a low-speed flag is output.

[0065] During texture feature extraction, the optimal target position is projected onto the image plane according to the camera observation relationship in step S20, and the target region in the camera image is determined by combining the spatial bounding box of the target point cloud cluster. After brightness normalization and scale unification of the target region, the contrast, correlation, energy, and homogeneity of the gray-level co-occurrence matrix are extracted, and the directional gradient histogram is extracted. When the image uses a gray-level range of 0 to 255, a low-light flag is output if the average gray-level of the target region is less than 40. If the effective target region is less than 16×16px, the texture features are marked as low-confidence texture features.

[0066] The target classification feature vector is organized in the following fixed order: target volume, target projected area, target height, normal vector change features, target velocity change rate, trajectory curvature, and target region texture features. Each feature is normalized according to the mean and scale parameters saved during the training phase before being input into the classifier.

[0067] In one implementation, the classifier employs a lightweight neural network comprising an input layer, a first fully connected layer, a second fully connected layer, and an output layer. The input layer has the same dimension as the target classification feature vector. The first fully connected layer has 64 nodes, the second fully connected layer has 32 nodes, and the output layer has the same number of nodes as the number of target categories. The first and second fully connected layers sequentially receive the output of the previous layer and perform non-linear activation. The output layer normalizes the category scores into category probabilities. Target categories can include falling rocks, vehicles, animals, vegetation, and other foreign objects. The category with the highest probability is selected as the target category, and its corresponding probability is used as the classification confidence score.

[0068] The classifier's training data consists of pre-collected or constructed multi-sensor target samples. Each sample contains the same target classification feature vector as in step S41 and has a manually labeled target category. During training, cross-entropy loss is used to evaluate the difference between the manually labeled categories and the classifier's output probabilities. The loss value is calculated based on the predicted probability of each sample's corresponding category within a training batch. A training batch can contain 32 samples, with a total of 5 target categories. Within each batch, the samples, categories, labeled values, and predicted probabilities maintain a one-to-one correspondence.

[0069] During training, the weights and biases of each fully connected layer are updated according to the training loss. Training stops when the validation set loss does not decrease for 10 consecutive training epochs or when 100 training epochs have been completed, and the classifier parameters when the validation set loss is low are saved. During inference, the target classification feature vector is processed according to the same feature order and normalization parameters as in the training phase, and then passed sequentially through the first fully connected layer, the second fully connected layer, and the output layer to obtain the target category and classification confidence.

[0070] The classifier evaluation uses labeled data separate from the training samples, and can statistically analyze the confusion matrix, precision, and recall for each class. The evaluation results are used to determine whether the classifier parameters are suitable for the current monitoring segment and to decide whether to update the classifier parameter file. This embodiment does not preset accuracy, recall, or other real performance results.

[0071] When the ranging ratio error of the lidar is large, the effective weights of volume, projected area, and height in the classifier input can be reduced; when the camera focal length error or attitude deviation is large, the effective weights of texture features can be reduced. The adjusted target classification feature vector still maintains the feature composition and arrangement order specified in step S41. When the classification confidence is lower than 0.50, the "Other Foreign Objects" or "Category Undetermined" flag is output, and the covariance parameter of the observation factor remains unchanged in step S50.

[0072] In this embodiment, a support vector machine or a classifier based on class template distance can also be used. When using class template distance, the normalized distance between the current target classification feature vector and the center feature vectors of each class is calculated, the class with the smallest distance is taken as the target class, and the distance is converted into a classification confidence score between 0 and 1. The alternative classifier still receives the target classification feature vector formed in step S41 and outputs the target class and classification confidence score.

[0073] S50: Update the sensor observation parameters based on the error estimates of each sensor and the target category; project the optimal state of the target onto the three-dimensional spatial reference and determine the intrusion limit; In this embodiment, step S50 includes: Step S51: Based on the system errors of millimeter-wave radar, lidar, and camera, update the observation model parameters and spatial transformation relationships of the corresponding sensors respectively; Step S52: Adjust the covariance parameters of the millimeter-wave radar observation factor, lidar observation factor, and camera observation factor based on the classification confidence of the target category. Specifically, when the classification confidence meets a preset trigger condition, the covariance parameter is updated; when the classification confidence does not meet the preset trigger condition, the covariance parameter remains unchanged. Step S53: Project the target optimal state onto the three-dimensional spatial reference, calculate the shortest distance from the target position to the centerline of the rail, and compare the shortest distance with a preset encroachment threshold; when the shortest distance meets the encroachment condition, output the encroachment candidate result; Step S54: Consistently correlate the intrusion limit candidate results with the micro-Doppler features of the millimeter-wave radar, the echo intensity features of the lidar, and the texture features of the camera image to form the subsequent joint verification input.

[0074] For millimeter-wave radar, the angle offset output in step S30 is used to correct the rotation parameters in the millimeter-wave radar spatial transformation relationship, and the ranging deviation is used to correct the zero point of the millimeter-wave radar range observation. For lidar, the angle offset is used to correct the rotation parameters in the lidar spatial transformation relationship, and the ranging scale error is used to correct the scale of the point cloud coordinates. For a camera, the attitude offsets in the pitch, yaw, and roll directions are used to correct the camera spatial transformation relationship, the focal length error is added to the original focal length to form the updated focal length parameter, and the two radial distortion parameter errors are added to the original radial distortion coefficients respectively to form the updated radial distortion coefficients.

[0075] Sensor observation parameters are updated incrementally. Each cycle, 0.2 times the current error estimate is written as the parameter correction, while the remaining 0.8 times is retained from the previous cycle. Millimeter-wave radar ranging corrections are limited to ±0.5m, and angle corrections to ±2°; lidar ranging ratio corrections are limited to ±1%, and angle corrections to ±1°; camera focal length corrections are limited to ±5% of the factory-calibrated focal length, and attitude corrections to ±1°.

[0076] Writing stops when each error parameter meets the convergence condition for 5 consecutive cycles. The corresponding error parameters meet the convergence condition when the change in millimeter-wave radar ranging deviation is less than 0.001m, the change in millimeter-wave radar angular offset is less than 0.005°, the change in lidar ranging ratio error is less than 0.01%, the change in lidar angular offset is less than 0.005°, the change in camera focal length error is less than 0.1px, the change in camera radial distortion parameter error is less than 0.000001, and the change in camera attitude offset is less than 0.005°.

[0077] The preset trigger condition for step S52 is set to the target appearing continuously for at least 3 frames and the classification confidence score being no less than 0.70. When the preset trigger condition is met, the current covariance of the millimeter-wave radar observation, the lidar observation covariance, and the camera observation covariance are used as benchmarks. The current value of each is multiplied by "1 minus the product of the corresponding reliability adjustment coefficient and the classification confidence score" to obtain the covariance for the next period. The updated result is limited to between 0.4 and 2.5 times the corresponding initial covariance. When the reliability adjustment coefficient is positive, the corresponding covariance is reduced, increasing the weight of the observation factor in the joint estimation; when the reliability adjustment coefficient is negative, the corresponding covariance is amplified, reducing the weight of the observation factor.

[0078] Under the rockfall category, the reliability adjustment coefficients for millimeter-wave radar, lidar, and camera can be set to 0.15, 0.25, and 0.10, respectively; under low-light conditions, the camera reliability adjustment coefficient can be set to -0.20. When the classification confidence is below 0.70, the target appears consecutively for less than 3 frames, or the target category is "category pending," the preset triggering conditions are not met, and the covariance parameters of the three observation factors remain at their current values.

[0079] Encroachment determination is based on the shortest Euclidean distance between the target's optimal position and the rail centerline: ; in, This represents the shortest distance from the target location to the centerline of the railway track in the kth joint estimation period; This represents the i-th rail center point formed in step S10; i represents the rail center point number. The total number of track center points is represented; min indicates the minimum value among all candidate distances; the symbol ‖·‖2 represents the L2 norm.

[0080] During project implementation, a nearest neighbor search tree is established using the three-dimensional coordinate set of the rail centerline. First, the nearest rail center points are searched, and then the shortest distance is refined using the line segments formed by these nearby center points. The preset encroachment threshold can be 2.5m, or a threshold sequence varying with the track mileage can be formed based on the building clearance of the monitored section. When the value is less than the preset intrusion threshold, output the intrusion candidate result; when... When the threshold is equal to or greater than the preset intrusion threshold, output an unintruded status and continue tracking the target.

[0081] The intrusion limit candidate results should include at least the target identifier, target category, classification confidence, optimal target location, target speed, target geometry, nearest rail center point number, line mileage, shortest distance, and data timestamp. Step S54, based on the target identifier, target location, and timestamp, retrieves the slow-time echo sequence corresponding to the time range from the millimeter-wave radar raw echo buffer, obtains the echo intensity of the corresponding target point cloud cluster from the lidar point cloud buffer, and obtains the corresponding target area from the camera image buffer.

[0082] The time window for consistency association can be ±50ms, and the spatial association threshold can be 0.5m. The camera uses the predicted projection area corresponding to the target's optimal position for association. After successful association, a joint verification input is generated, containing intrusion candidate results, micro-Doppler feature data, echo intensity feature data, and texture feature data. When data from a certain sensor is missing, the joint verification input retains the corresponding missing flag and initializes the confidence level of the corresponding heterogeneous feature to 0.

[0083] In this embodiment, encroachment thresholds can be set according to the lateral and vertical distances of the target location relative to the centerline of the rail, and encroachment candidate results can be output when either distance meets the corresponding encroachment condition. This implementation still projects the optimal state of the target onto the rail space reference model and inputs the encroachment candidate results into step S60.

[0084] S60: Performs joint verification based on the heterogeneous features corresponding to millimeter-wave radar, lidar, and camera, and outputs the intrusion limit determination result.

[0085] In this embodiment, step S60 includes: Step S61: Extract the micro-Doppler features of the millimeter-wave radar, the echo intensity features of the lidar, and the texture features of the camera image, respectively, and calculate the confidence scores of the micro-Doppler features of the millimeter-wave radar, the echo intensity features of the lidar, and the texture features of the camera image, respectively; wherein, Step S62: When the first decision condition is met, output the intrusion limit confirmation result. The first decision condition is that the confidence level of the micro-Doppler feature of the millimeter-wave radar, the confidence level of the echo intensity feature of the lidar, and the confidence level of the texture feature of the camera image all meet the joint confirmation condition. Step S63: When the second decision condition is met, output the observation result and verify it based on subsequent frames. The second decision condition is that two of the following three conditions are met: the confidence level of the micro-Doppler feature of the millimeter-wave radar, the confidence level of the echo intensity feature of the lidar, and the confidence level of the texture feature of the camera image. Step S64: When the third decision condition is met, output the false alarm result. The third decision condition is that at most one of the following meets the joint confirmation condition: the confidence level of the micro-Doppler feature of the millimeter-wave radar, the confidence level of the echo intensity feature of the lidar, and the confidence level of the texture feature of the camera image.

[0086] The micro-Doppler characteristics of millimeter-wave radar are obtained by performing a short-time Fourier transform on the slow-time echo sequence corresponding to the intrusion limit candidate results. Micro-Doppler characteristics can include the main spectral line position, spectral linewidth, periodic modulation intensity, positive and negative frequency shift distribution, and spectral energy concentration. Based on the target category output in step S40, an appropriate category template is selected. Stationary falling rocks can correspond to templates with near-zero velocity and narrow spectral lines; moving animals can correspond to templates with significant periodic oscillation components; and vehicles can correspond to templates with continuous translational velocity and stable spectral lines.

[0087] The similarity, spectral concentration, and periodic modulation consistency of the current micro-Doppler features with the category template are normalized, and then summed according to exemplary weights of 0.4, 0.3, and 0.3 to obtain the confidence level of the millimeter-wave radar micro-Doppler features between 0 and 1. When the effective slow-time echo is less than 16 sampling periods, the confidence level of the millimeter-wave radar micro-Doppler features is limited to below 0.50.

[0088] The echo intensity features of the lidar are extracted from the target point cloud cluster. First, saturated and invalid points are removed. Then, a normalized intensity histogram is constructed according to a fixed intensity range, and the peak position, distribution width, mean, and dispersion of the histogram are calculated. Based on the target category output in step S40, the corresponding intensity template is selected, and the similarity between the current intensity histogram and the intensity template is calculated. This similarity is then combined with the number of valid points to form the lidar echo intensity feature confidence score. When there are fewer than 20 valid points, the lidar echo intensity feature confidence score is limited to below 0.50.

[0089] The texture features of the camera image are derived from the target region determined in step S40. After gray-level normalization of the target region, gray-level co-occurrence matrix (GLCM) features and histogram of oriented gradients (HOR) features are extracted and compared with the texture template corresponding to the target category. The GLCM similarity and HOR similarity can each account for 0.5 weights. When the effective area of ​​the target region is less than 60% of the complete prediction region, the average gray level of the image is less than 40, or the saturated pixel ratio of the image exceeds 30%, the confidence level of the texture features of the camera image is limited to below 0.50.

[0090] The confidence levels for all three heterogeneous features are set to values ​​between 0 and 1. The joint confirmation condition is set to a confidence level for the corresponding heterogeneous feature not lower than 0.60. When the confidence levels for the micro-Doppler features of the millimeter-wave radar, the echo intensity features of the lidar, and the texture features of the camera image are all not lower than 0.60, the first decision condition is met, and the intrusion confirmation result is output.

[0091] When two of the three heterogeneous features have a confidence level of 0.60 or higher, the second decision condition is met, and the observation result is output. The system retains the target state and associated cache, and re-extracts heterogeneous features that do not meet the joint confirmation condition in the next three frames. If all three confidence levels in the subsequent frames meet the joint confirmation condition, the observation result is updated to an intrusion limit confirmation result; if two of the remaining three confidence levels still meet the joint confirmation condition at the end of the next three frames, the observation result is maintained and a manual review flag is added; if the number of confidence levels that meet the joint confirmation condition drops to no more than one, the observation result is updated to a false alarm result.

[0092] The third decision condition is met when at most one of the three heterogeneous feature confidence levels is not lower than 0.60, and a false alarm result is output. The false alarm result includes the confidence levels of the three heterogeneous features, the sensor's effective status, and the abnormal flag that led to the decision. The system clears the intrusion limit candidate flag and retains the target trajectory until the target leaves the monitoring range.

[0093] The intrusion confirmation result should include at least the target identifier, target category, classification confidence level, optimal target location, target geometric dimensions, intrusion distance, confidence levels for three types of out-of-bounds features, confirmation time, and alarm level. The observation result should include at least the out-of-bounds features to be verified, the count of subsequent verification frames, and the current target status. The false alarm result should include at least the false alarm cause, confidence level combination, and sensor validity status. These results can be sent to the railway disaster monitoring platform or on-site alarm equipment.

[0094] When data from a certain sensor is missing, the confidence level of the corresponding heterogeneous feature is set to 0. If the other two items meet the joint confirmation condition, the observation result is output; if at most one item meets the joint confirmation condition, a false alarm result is output. After the missing sensor is recovered, steps S61 to S64 are re-executed based on the recovered subsequent frames. When the target categories given by different heterogeneous features conflict, the decision is still made according to the number of confidence items that meet the joint confirmation condition, and a category conflict flag is recorded in the output result.

[0095] In this embodiment, the weights for forming the confidence levels of the three heterogeneous features can be adjusted based on weather conditions, day / night cycles, and sensor health status. The adjusted confidence levels still use values ​​between 0 and 1, and the first, second, and third decision conditions are still executed according to the number of confidence level items that satisfy the joint confirmation conditions. The final output intrusion limit determination result is one of the following: intrusion limit confirmation result, observation result, or false alarm result.

[0096] The first embodiment will be described in detail with specific examples.

[0097] In one example, the monitoring section uses an engineering-independent coordinate system, the rail centerline is sampled at 0.2m intervals, and the encroachment threshold is set to 2.5m. The millimeter-wave radar sampling frequency is 20Hz, the lidar sampling frequency is 10Hz, the camera frame rate is 25 frames per second, the time alignment allowable difference is 20ms, and the sliding time window initially contains 8 joint estimation periods.

[0098] In step S10, the rail centerline is extracted using laser scanning data, and coordinate registration is completed using four field control points. The registration residual is 0.003m, which is less than the allowable value of 0.005m. The coordinates of the rail centerlines near the target mileage are 120.36m, 0.00m, and 0.08m, respectively. This centerline and its adjacent centerlines together constitute the local rail centerline segment corresponding to the current target.

[0099] In step S20, the millimeter-wave radar outputs a range of 40.44 m, an azimuth angle of 2.38°, and a Doppler velocity of 0.41 m / s at a certain reference time. The three coordinates of the geometric center of the mapped lidar point cloud cluster are 120.35 m, 1.65 m, and 0.72 m, respectively. The horizontal and vertical pixel coordinates of the center of the camera target detection box are 1018 px and 536 px, respectively. The time difference between the three observations is less than 20 ms, and the spatial mapping satisfies the target association threshold, thus forming a multi-source observation data set for the same target.

[0100] In step S30, the joint estimation model incorporates the multi-source observation data set and the spatial constraint of the rail centerline into a sliding time window. After iterative solution, the three coordinates of the target's optimal position are 120.36m, 1.68m, and 0.75m, respectively; the three components of the target's optimal velocity are 0.40m / s, -0.05m / s, and 0.00m / s, respectively; and the three components of the target's optimal acceleration are 0.02m / s², 0.00m / s², and 0.00m / s², respectively. The estimated ranging bias of the millimeter-wave radar is 0.04 m, and the estimated angular offset is 0.08°. The estimated ranging ratio error of the lidar is 0.12%, and the estimated angular offset is -0.05°. The estimated focal length error of the camera is 1.5 px, the estimated error of the first radial distortion parameter is 0.000012, the estimated error of the second radial distortion parameter is -0.00000008, and the estimated attitude offsets in the pitch, yaw, and roll directions are 0.03°, -0.02°, and 0.01°, respectively. The average normalized residual of each factor is 1.4, and the sliding time window maintains 8 joint estimation periods.

[0101] In step S40, the exemplary volume of the lidar point cloud cluster is 0.86m³ obtained through voxel statistics. 3 The horizontal projected area is 1.12m². 2 The target has a height of 0.78m and a standard deviation of 18° for the angle between its normal vectors. The rate of change of velocity obtained from the optimal state of the target at adjacent time points is 0.03m / s. 2 The trajectory curvature is 0.06m. -1 The camera's target region generates gray-level co-occurrence matrix features and directional gradient histogram features. After the target classification feature vector is input into the classifier, the classification confidence scores are 0.78 for rockfall, 0.08 for animal, 0.05 for vehicle, 0.04 for vegetation, and 0.05 for other foreign objects. Therefore, the target category is rockfall.

[0102] In step S50, the target has been classified as falling rocks for four consecutive frames, and the classification confidence level is 0.78 or higher than 0.70, satisfying the preset triggering condition for covariance parameter update. The millimeter-wave radar reliability adjustment coefficient is set to 0.15, and the millimeter-wave radar observation covariance is updated to 0.883 times the current value; the lidar reliability adjustment coefficient is set to 0.25, and the lidar observation covariance is updated to 0.805 times the current value; the camera reliability adjustment coefficient is set to 0.10, and the camera observation covariance is updated to 0.922 times the current value. All three update results are within the range of 0.4 to 2.5 times the initial covariance.

[0103] The distance between the target's optimal location and the center point of the rail with coordinates of 120.36m, 0.00m, and 0.08m is approximately 1.81m, which is less than the 2.5m intrusion threshold. The system outputs intrusion candidate results and obtains the heterogeneous features corresponding to the intrusion candidate results from the three sensor caches.

[0104] In step S60, the confidence level between the millimeter-wave radar micro-Doppler features and the rockfall template is 0.74, the confidence level between the lidar echo intensity features and the rockfall template is 0.68, and the confidence level between the camera texture features and the rockfall template is 0.72. All three confidence levels are not lower than 0.60, satisfying the first decision condition, and the intrusion confirmation result is output. This result includes the rockfall category, a classification confidence level of 0.78, the optimal target location, the intrusion distance of 1.81m, the confidence levels of the three heterogeneous features, and the corresponding timestamps. These values ​​illustrate the data transmission, calculation, and judgment process in the complete workflow.

[0105] To verify the internal processing, the edge computing device generates a running record when joint estimation converges, sensor parameters are updated, intrusion limit candidate results are formed, or the final decision state changes. The running record includes at least the target identifier, observation frame timestamp, valid flags for each observation, the target's optimal state, error estimates for each sensor, residuals for four types of factors, sliding time window length, target category, classification confidence, covariance version, intrusion limit distance, confidence levels for three heterogeneous features, and the final decision state. The running record is stored in a 2GB circular storage area; when the storage area reaches its capacity limit, the oldest record is overwritten in chronological order. The debugging interface can read the running record according to the target identifier and time range to verify the spatial mapping, error update, and joint decision process.

[0106] like Figure 2 As shown, a railway geological hazard foreign object intrusion monitoring system based on multi-dimensional sensors according to a second embodiment of the present invention includes: The rail space reference construction module is used to obtain the three-dimensional spatial reference of the rail within the monitoring section and establish the spatial constraint of the rail centerline based on the three-dimensional spatial reference. The data acquisition and mapping module is used to acquire observation data from millimeter-wave radar, lidar, and cameras, and to perform spatial unified mapping on the observation data; The joint estimation module is used to construct a joint state quantity that includes the target state, millimeter-wave radar system error, lidar system error and camera system error. The joint state quantity and the spatial constraint of the rail centerline are input into the joint estimation model to solve for the optimal state of the target and the estimated values ​​of each sensor error. The feature extraction and classification module is used to extract the geometric features, motion features and texture features of the target based on the optimal state of the target, and output the target category and classification confidence based on the geometric features, motion features and texture features of the target; The parameter update module is used to update the sensor observation parameters based on the error estimates of each sensor and the target category, and to project the optimal state of the target onto the three-dimensional spatial reference and perform an intrusion limit determination. The joint verification module is used to perform joint verification based on the heterogeneous features corresponding to millimeter-wave radar, lidar and camera respectively, and output the intrusion limit determination result.

[0107] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process and related descriptions of the above system can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0108] It should be noted that the railway geological disaster foreign object intrusion monitoring system based on multi-dimensional sensors provided in the above embodiments is only an example of the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the modules or steps in the embodiments of the present invention can be further decomposed or combined. For example, the modules in the above embodiments can be merged into one module, or further divided into multiple sub-modules to complete all or part of the functions described above. The names of the modules and steps involved in the embodiments of the present invention are only for distinguishing the various modules or steps and are not considered as an improper limitation of the present invention.

[0109] A device according to a third embodiment of the present invention includes: At least one processor; and a memory communicatively connected to at least one of the processors; The memory stores instructions that can be executed by the processor to implement the above-described method for monitoring foreign object intrusion into railway geological hazards based on multi-dimensional sensors.

[0110] A computer-readable storage medium according to a fourth embodiment of the present invention stores computer instructions, which are executed by the computer to implement the above-described method for monitoring foreign object intrusion into railway geological hazards based on multi-dimensional sensors.

[0111] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process and related descriptions of the storage device and processing device described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0112] The following is for reference. Figure 3 It shows a schematic diagram of the structure of a computer system for implementing embodiments of the systems, methods, and electronic devices of this application. Figure 3 The server shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.

[0113] like Figure 3As shown, the computer system includes a Central Processing Unit (CPU) 301, which can perform various appropriate actions and processes based on programs stored in Read Only Memory (ROM) 302 or programs loaded from storage section 308 into Random Access Memory (RAM) 303. The RAM 303 also stores various programs and data required for system operation. The CPU 301, ROM 302, and RAM 303 are interconnected via a bus 304. An Input / Output (I / O) interface 305 is also connected to the bus 304.

[0114] The following components are connected to I / O interface 305: an input section 306 including a keyboard, mouse, etc.; an output section 307 including a cathode ray tube (CRT), liquid crystal display (LCD), and speakers, etc.; a storage section 308 including a hard disk, etc.; and a communication section 309 including a network interface card such as a LAN (Local Area Network) card and a modem, etc. The communication section 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to I / O interface 305 as needed. Removable media 311, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., are installed on drive 310 as needed so that computer programs read from them can be installed into storage section 308 as needed.

[0115] Specifically, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 309, and / or installed from removable medium 311. When the computer program is executed by central processing unit (CPU) 301, it performs the functions defined in the methods of this application. It should be noted that the computer-readable medium described above in this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on a computer-readable medium can be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.

[0116] Computer program code for performing the operations of this application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0117] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0118] The terms “first”, “second”, etc., are used to distinguish similar objects, not to describe or indicate a specific order or sequence.

[0119] The term "comprising" or any other similar term is intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus / device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent in such process, method, article, or apparatus / device.

[0120] The technical solution of the present invention has been described above with reference to the preferred embodiments shown in the accompanying drawings. However, it will be readily understood by those skilled in the art that the scope of protection of the present invention is obviously not limited to these specific embodiments. Without departing from the principles of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will all fall within the scope of protection of the present invention.

Claims

1. A method for monitoring foreign object intrusion into railway geological hazards based on multi-dimensional sensors, characterized in that, include: Obtain the three-dimensional spatial reference of the railway track within the monitoring section, and establish the spatial constraint of the railway track centerline based on the three-dimensional spatial reference; Acquire observation data from millimeter-wave radar, lidar, and cameras, and perform a unified spatial mapping on the observation data; A joint state variable is constructed, which includes the target state, millimeter-wave radar system error, lidar system error and camera system error. The joint state variable and the spatial constraint of the rail centerline are input into the joint estimation model, and the optimal state of the target and the error estimates of each sensor are obtained by solving the model. Based on the target's optimal state, extract the target's geometric features, motion features, and texture features, and output the target category and classification confidence based on the target's geometric features, motion features, and texture features; Based on the error estimates of each sensor and the target category, the sensor observation parameters are updated; the optimal state of the target is projected onto the three-dimensional spatial reference and an intrusion limit determination is performed; Joint verification is performed based on the heterogeneous features corresponding to millimeter-wave radar, lidar, and camera, and the intrusion limit determination result is output.

2. The method for monitoring foreign object intrusion into railway geological hazards based on multi-dimensional sensors according to claim 1, characterized in that, The acquisition of the three-dimensional spatial reference of the railway track within the monitoring section includes: Based on preset measurement data, design drawing data, or laser scanning data, obtain the three-dimensional coordinate set of the rail centerline, and construct the three-dimensional coordinate set into a rail space reference model; Establish the spatial correspondence between the railway spatial reference model and the world coordinate system, and map the railway spatial reference model to the millimeter-wave radar coordinate system, lidar coordinate system and camera coordinate system respectively, so as to form spatial constraints on the relative relationship between the target position and the centerline of the railway.

3. The method for monitoring foreign object intrusion into railway geological hazards based on multi-dimensional sensors according to claim 1, characterized in that, The joint state variables include at least the target's three-dimensional position, velocity, and acceleration, as well as the ranging bias and angular offset of the millimeter-wave radar, the ranging ratio error and angular offset of the lidar, the focal length error of the camera, the radial distortion parameter error, and the attitude offset. The target's three-dimensional position, velocity, and acceleration are configured as the same joint estimation variable along with the millimeter-wave radar system error, lidar system error, and camera system error, and are solved synchronously through the same observation update process.

4. The method for monitoring foreign object intrusion into railway geological hazards based on multi-dimensional sensors according to claim 1, characterized in that, The joint estimation model includes a first observation factor based on millimeter-wave radar range, azimuth angle, and Doppler velocity; a second observation factor based on the geometric center of the lidar point cloud; a third observation factor based on the pixel coordinates of the target center in the camera image; and a fourth constraint factor based on the spatial constraints of the railway centerline. The joint estimation model solves for the first observation factor, the second observation factor, the third observation factor, and the fourth constraint factor through a sliding time window, and adjusts the length of the sliding time window according to the residual of each factor during the joint solution process.

5. A method for monitoring foreign object intrusion into railway geological hazards based on multi-dimensional sensors according to claim 1, characterized in that, The extraction of target geometric features, motion features, and texture features based on the target's optimal state includes: Based on the lidar point cloud cluster, the volume, projected area, height, and normal vector change features of the target are extracted. Based on the optimal state of the target and the optimal state of the target at adjacent time points, the velocity change rate and trajectory curvature of the target are extracted. Based on the camera image, the texture features of the target area are extracted. The volume, projected area, height, normal vector change features, velocity change rate, trajectory curvature, and target area texture features are combined to form a target classification feature vector. The target category and classification confidence level are output based on the target classification feature vector.

6. A method for monitoring foreign object intrusion into railway geological hazards based on multi-dimensional sensors according to claim 5, characterized in that, The step of updating the sensor observation parameters based on the error estimates of each sensor and the target category includes: Based on the system errors of millimeter-wave radar, lidar, and camera, the observation model parameters and spatial transformation relationships of the corresponding sensors are updated respectively. Furthermore, the covariance parameters of the millimeter-wave radar observation factors, lidar observation factors, and camera observation factors are adjusted based on the classification confidence level of the target category. Specifically, the covariance parameter is updated when the classification confidence level meets a preset trigger condition, and remains unchanged when the classification confidence level does not meet the preset trigger condition.

7. A method for monitoring foreign object intrusion into railway geological hazards based on multi-dimensional sensors according to claim 1, characterized in that, The infringement limit determination includes: The optimal state of the target is projected onto the three-dimensional spatial reference, the shortest distance from the target position to the center line of the rail is calculated, and the shortest distance is compared with a preset encroachment threshold. When the shortest distance meets the intrusion limit condition, the intrusion limit candidate result is output; and the intrusion limit candidate result is consistently correlated with the micro-Doppler features of the millimeter-wave radar, the echo intensity features of the lidar, and the texture features of the camera image to form the subsequent joint verification input.

8. A method for monitoring foreign object intrusion into railway geological hazards based on multi-dimensional sensors according to claim 7, characterized in that, The joint verification includes: Micro-Doppler features from millimeter-wave radar, echo intensity features from lidar, and texture features from camera images are extracted respectively. The confidence scores for these three features are then calculated. When the first judgment condition is met, the intrusion limit confirmation result is output. The first judgment condition is that the confidence level of the micro-Doppler feature of the millimeter-wave radar, the confidence level of the echo intensity feature of the lidar, and the confidence level of the texture feature of the camera image all meet the joint confirmation condition. When the second decision condition is met, the observation result is output and verified based on subsequent frames. The second decision condition is that two of the following three conditions are met: the confidence level of the micro-Doppler feature of the millimeter-wave radar, the confidence level of the echo intensity feature of the lidar, and the confidence level of the texture feature of the camera image. When the third decision condition is met, a false alarm result is output. The third decision condition is that at most one of the following three conditions is met: the confidence level of the micro-Doppler feature of the millimeter-wave radar, the confidence level of the echo intensity feature of the lidar, and the confidence level of the texture feature of the camera image.

9. A railway geological hazard foreign object intrusion monitoring system based on multi-dimensional sensors, characterized in that, include: The rail space reference construction module is used to obtain the three-dimensional spatial reference of the rail within the monitoring section and establish the spatial constraint of the rail centerline based on the three-dimensional spatial reference. The data acquisition and mapping module is used to acquire observation data from millimeter-wave radar, lidar, and cameras, and to perform spatial unified mapping on the observation data; The joint estimation module is used to construct a joint state quantity that includes the target state, millimeter-wave radar system error, lidar system error and camera system error. The joint state quantity and the spatial constraint of the rail centerline are input into the joint estimation model to solve for the optimal state of the target and the estimated values ​​of each sensor error. The feature extraction and classification module is used to extract the geometric features, motion features and texture features of the target based on the optimal state of the target, and output the target category and classification confidence based on the geometric features, motion features and texture features of the target; The parameter update module is used to update the sensor observation parameters based on the error estimates of each sensor and the target category, and to project the optimal state of the target onto the three-dimensional spatial reference and perform an intrusion limit determination. The joint verification module is used to perform joint verification based on the heterogeneous features corresponding to millimeter-wave radar, lidar and camera respectively, and output the intrusion limit determination result.

10. A device, characterized in that, include: At least one processor; and a memory communicatively connected to at least one of the processors; The memory stores instructions that can be executed by the processor to implement the method for monitoring foreign object intrusion into railway geological hazards based on multi-dimensional sensors as described in any one of claims 1-8.