A rail vehicle derailment prevention control method, device, equipment and storage medium

By preprocessing and clustering the synchronous sensing signals of the bogie drive system, a relaxed co-association graph is generated. Combined with representative points and similarity calculations, the problem of the disconnect between the bogie fault detection results and the vehicle operation control is solved, achieving stable fault detection and effective vehicle handling, and reducing the risk of derailment.

CN123169969APending Publication Date: 2026-11-27DALIAN MARITIME UNIVERSITY
View PDF 1 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In existing technologies for detecting bogie faults in rail vehicles, the sample attribution under complex manifold characteristics is unstable, leading to a disconnect between fault detection results and vehicle operation control and maintenance, thus increasing the risk of derailment.

Method used

By acquiring the synchronous sensing signal of the bogie transmission system, preprocessing and time window segmentation are performed to generate multiple basic clustering partitions. The basic clustering partitions with high consistency are selected, a relaxed co-association graph is constructed, and K-means++ is used for local subdivision. Combining representative points and similarity calculations, a minimum spanning tree is constructed, the fault status is output, and a vehicle handling strategy is matched.

Benefits of technology

It enables stable detection and effective handling of bogie faults, reduces the risk of derailment, improves the connection between fault detection results and vehicle control, and reduces the risk of erroneous vehicle actions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123169969A_ABST
    Figure CN123169969A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of rail vehicle operation safety control, and particularly relates to a rail vehicle derailment prevention control method, device, equipment and storage medium. A bogie multi-sensor signal is acquired and a feature sample is constructed; a base cluster is divided and an initial cluster is obtained through a loose co-correlation graph; a local subdivision is performed and a natural neighborhood representative point is selected, and a sample is assigned with uncertainty in combination with an Euclidean distance and an absolute rank; a minimum spanning tree is constructed and edge merging is performed, a reference sample is used to calibrate a fault state; a time limit check is performed on a fault confirmed in a continuous window, a disposal strategy is matched according to a vehicle type, a fault component and a type, an alarm and a maintenance notice are sent, a speed limit or a stop request is sent to a vehicle controller, an execution feedback is received and a limit state is latched, and the control is released after meeting maintenance and retest conditions. The scheme connects complex manifold fault detection and vehicle operation control, and is used for reducing a derailment risk caused by a bogie fault continuous development.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of rail vehicle operation safety control technology, and in particular to a rail vehicle derailment prevention control method, device, equipment and storage medium. Background Technology

[0002] The bogie serves functions such as wheelset support, vehicle guidance, and power transmission. Failures in the traction motor, gearbox, and axle boxes can cause changes in vibration, current, or sound response. Severe damage to supporting components such as axle box bearings, if not addressed promptly, can further develop into overheating, support failure, or axle damage, affecting the normal operation of the wheelsets and potentially leading to train derailment. Therefore, after detecting bogie faults, it is necessary to correlate the fault with vehicle operation control and maintenance requirements to promptly prevent the fault from escalating.

[0003] Chinese patent CN122863460A discloses a method, system, equipment, and medium for diagnosing faults in railway vehicle bogies. This method collects multi-source data including axle box vibration, frame vibration, car body vibration, axle temperature, speed, load, braking and traction status, track curve radius, gradient, turnout position, ambient temperature, and operating mileage. It then constructs vibration modes, temperature modes, operating condition modes, track environment modes, and physical prior modes. Combining physical priors such as bearing characteristic frequencies, wheelset rotation frequencies, polygonal excitation frequencies, temperature rise patterns, and suspension dynamic responses, a scene vector is generated through an operating scene recognition module. This scene vector is then used to adaptively modulate the multi-modal fusion weights, KAN side functions, and alarm thresholds. The method trains a diagnostic network using samples labeled with fault category, fault location, and health status, and updates the model based on maintenance feedback. Its diagnostic mapping relies on the coverage of fault states and operating scenarios by training samples. When fault samples are insufficiently labeled, or when the same health state exhibits a non-convex, unevenly dense, and ambiguous distribution, it is still necessary to address the issues of stable grouping independent of fault label fitting, retention and attribution determination of uncertain samples, and global integration of local groupings. Furthermore, although the document provides adaptive early warning, maintenance suggestions, and work order generation, it does not specifically provide the control objects and result timeliness verification after fault confirmation, the sending of speed limit or stop requests to the vehicle controller, the execution of feedback confirmation, the latching of the restriction state, and the controlled release process after maintenance and repair. An executable connection still needs to be established between the diagnostic results and the anti-derailment operation measures.

[0004] Under different combinations of rotational speed, load, and fault conditions, characteristic samples of the same health state may be distributed along a curved trajectory or in multiple local regions, and samples of different health states may also be close in their local neighborhoods. The resulting complex manifold data can be characterized by non-convex clusters, uneven density, and blurred boundaries, making it difficult to describe all states simultaneously using a single center distance or a fixed neighborhood scale.

[0005] When using single-radix clustering, changes in center initialization or clustering parameters may cause local cluster breakage or incorrect merging. Directly assigning samples near the boundary to the nearest center may result in low-density samples of the same fault state being assigned to adjacent states; directly removing these samples as noise may result in the loss of responses with fault discrimination value. Performing only local subdivision may also result in the same state corresponding to multiple subclusters, failing to form consistent fault state groupings.

[0006] Therefore, continuous processing is needed to address the stability of the initial partitioning, the assignment of uncertain samples, and the global relationships between subclusters, mapping the resulting groupings to verifiable health states. Furthermore, the disconnect between detection results and operational procedures needs to be resolved: alarms and operational limitations should be determined by combining the faulty object, vehicle type, and detection timeframe, establishing a seamless process for control feedback, component maintenance, and retesting to reduce the risk of derailment caused by bogie fault development. Summary of the Invention

[0007] To address the shortcomings of existing technologies, this invention provides a method, device, equipment, and storage medium for preventing derailment of rail vehicles. It combines fault detection and alarm based on the complex manifold characteristics of bogies, vehicle operation restrictions, and maintenance procedures to solve the problems of unstable sample attribution, excessive segmentation of the same state, and ineffective integration of fault detection results with vehicle operation control and maintenance procedures under the complex manifold characteristics of bogies.

[0008] To achieve the above objectives, the present invention provides the following technical solution: A method for preventing derailment of rail vehicles includes: S101, acquire the synchronous sensing signals of the traction motor, gearbox and axle box in the bogie transmission system, preprocess and segment the synchronous sensing signals into time windows, extract and standardize features, and obtain a feature sample set including the sample to be detected and the reference sample with confirmed health status. The synchronous sensing signals include vibration signals arranged at the measuring points of the traction motor, gearbox, and axle box, and also include at least one of the motor current signal, speed signal, or sound signal near the axle box; the preprocessing includes channel time alignment, removal of DC components, and removal of abnormal acquisition records; the features include at least time-domain amplitude features and frequency-domain distribution features; the same feature dimension uses standardized parameters determined by pre-established calibration samples and kept fixed.

[0009] S102, generate multiple base clustering partitions for the feature sample set, determine the consistency score based on the normalized mutual information between each base clustering partition and the other base clustering partitions, and filter the base clustering partitions; construct a co-association matrix based on the filtered base clustering partitions, connect sample pairs that meet the relaxed co-association threshold into an undirected graph, use the non-isolated connected components of the undirected graph as the initial clusters, and retain isolated samples as uncertain samples. The number of the multiple base cluster partitions is N, where N≥2, and the normalized mutual information between the base cluster partitions P and P' is: ; Where MI represents mutual information and H represents partition entropy; the consistency score of the i-th base cluster partition and the average consistency score of all base cluster partitions are: ; Retain the base cluster partitions whose consistency scores are greater than the average consistency score; when there are no base cluster partitions that meet this condition, retain the base cluster partition that reaches the maximum consistency score. Suppose that after filtering, k basis cluster partitions are retained, and the total number of elements in the association matrix is ​​A. ab Let be the number of times sample a and sample b are assigned to the same cluster in the k basis clustering partitions; the relaxed co-association threshold is λk, 0.9≤λ≤1, which applies only to mutually distinct samples that satisfy A. ab Undirected edges are established for sample pairs ≥λk; the uncertain samples are isolated samples that do not have the above-mentioned undirected edges and are not directly discarded as noise.

[0010] S103, K-means++ is used to subdivide each initial cluster locally to obtain sub-clusters; within each sub-cluster, the natural neighborhoods of the nearest neighbors are expanded, the local density is estimated based on the natural neighborhoods, and representative points are selected by combining the distance to higher density samples to obtain the representative point set of each sub-cluster. The construction of the natural neighborhood includes: sorting the nearest neighbors of samples in each sub-cluster according to Euclidean distance, increasing the nearest neighbor order step by step, and using samples that are each other's nearest neighbors to form the natural neighborhood until all samples have each other's neighboring samples, or the number of samples without each other's neighboring samples no longer changes between adjacent orders; using the obtained natural neighborhood to calculate the local density ρ, calculating the distance δ from the sample to the nearest sample with a density greater than its own density, and using the maximum distance to the sample in its sub-cluster as δ for samples that do not have samples with higher density, and selecting a representative point based on the product of ρ and δ; a sub-cluster containing only one sample directly uses that sample as the representative point.

[0011] S104, using the representative point set, calculate the average Euclidean distance, average inverse distance weight, and average absolute Spearman rank correlation of each uncertain sample to each sub-cluster, combine the average Euclidean distance, average inverse distance weight, and average absolute Spearman rank correlation into a composite similarity, and assign each uncertain sample to the sub-cluster with the largest composite similarity to obtain the updated sub-cluster; For uncertain samples u and subclusters Q s Its composite similarity is: ; Among them, Ds (u) represents u to Q s n s Representative point r sj The average Euclidean distance, W s (u) is the average inverse distance weight, R s (u) represents the average absolute Spearman rank correlation, and ε > 0 represents the numerical stability constant, respectively: ; Where d is the Euclidean distance, r sp This is the Spearman rank correlation coefficient calculated by averaging the ranks of the eigenvectors under the same feature order; when the variance of any rank vector is zero, r... sp Set to zero; when composite similarity is tied, prioritize the sub-cluster with the higher average local density of representative points, and if they are still tied, determine the affiliation according to the preset sub-cluster number.

[0012] S105, using the updated sub-clusters as nodes, construct sub-cluster similarity using the Euclidean distance and absolute Spearman rank correlation between representative points selected in step S103 and unchanged in step S104, convert the sub-cluster similarity into dissimilarity cost corresponding to its monotonically decreasing value, construct a minimum spanning tree based on the dissimilarity cost; cut the K-1 edges with the highest cost in the minimum spanning tree according to the preset target number of clusters K, and merge the sub-clusters in the remaining connected components into the final cluster; The two updated subclusters Q s 'With Q t The similarity S between ' st and dissimilarity cost c st They are respectively: ; Where, n s and n t r represents the number of representative points in the two subclusters, respectively. sa and r tb Let be the representative points of the corresponding sub-clusters, ε>0; use Prim's algorithm to construct the minimum spanning tree, the target number of clusters satisfies 1≤K≤L, where L is the total number of sub-clusters.

[0013] S106, the final cluster is calibrated according to the confirmed health status of the reference sample, and the bogie normal status or fault status is output according to the calibration status of the final cluster where the sample to be tested is located; for the final cluster that cannot meet the preset calibration conditions, the result to be reviewed is output. The confirmed health status of the reference samples includes normal status and at least one bogie component failure status. The proportion of reference samples for each confirmed health status within each final cluster is calculated. Only when the total number of reference samples reaches a preset minimum number, the maximum reference sample proportion reaches a preset consistency rate threshold, and the maximum reference sample proportion is unique, is the health status corresponding to the maximum proportion used as the calibration status of the final cluster. Normal status corresponds to normal test results, failure status corresponds to test results including failure components and failure types, and other cases correspond to results pending verification. The fault states include at least one of the following: motor bearing fault, gear tooth missing fault, axle box bearing fault, and multi-component composite fault; confirmation is made based on the detection results of consecutive time windows in the same original acquisition record and the same combination of measurement points, i.e., continuous confirmation; when the same fault state occurs consecutively to reach the preset number of time windows, the corresponding fault prompt and the original window time identifier are output; invalid windows, missing windows, normal results, other fault states, or results pending verification all interrupt the continuous confirmation.

[0014] S107, confirm the fault prompt based on the detection results of the same original acquisition record and continuous time window within the measurement point combination, verify the vehicle correspondence and data timeliness of the fault prompt, match the preset handling strategy according to the vehicle model, faulty component and fault type, and generate alarm information and maintenance notice containing fault location, type and handling requirements. For confirmed faults that pass the verification and match a restricted operation or shutdown maintenance strategy, a speed limit request or a stop request is sent to the vehicle controller. The vehicle controller then adjusts traction and braking and records the control status based on the execution feedback. Triggered operation restrictions are latched, and the corresponding restrictions are released upon confirmation by the vehicle controller after receiving the maintenance completion record, the retest pass result, and the authorized reset command. If the verification fails or no strategy is matched, a verification alarm is output, but existing operation restrictions are not released accordingly. The handling strategies are established according to vehicle model, faulty component, and fault type, and include handling level, speed limit, traction permission status, parking request, and maintenance items. The handling level includes review, restricted operation, and parking for maintenance. The restricted operation strategy restricts traction through the vehicle controller and reduces the vehicle speed according to the configured braking mode when the actual vehicle speed exceeds the speed limit. The parking for maintenance strategy requests to restrict traction and executes parking braking. When there are multiple confirmed component faults, the lowest speed limit in the matching strategy is used. If any matching strategy requires parking, the parking for maintenance strategy is used. The validity period of the verification data includes: the confirmation sequence of the fault prompt ends with the time window of the latest completed test of the same object; the difference between the result output time and the end time of the last window of the confirmation sequence does not exceed the preset result validity period; and the vehicle identification, bogie identification, acquisition session, and current operating mode are consistent with the controlled object; the actual vehicle speed is obtained from the vehicle controller interface and is not replaced by the nominal rotation frequency of the motor; historical records are used to generate maintenance analysis results and notifications and do not directly trigger online vehicle control; when data expires, status is pending verification, or continuous confirmation is not met, a verification task is generated and data is re-acquired. The execution feedback includes the request reception status, the restriction or stop execution status, and the actual vehicle speed. If no valid feedback is received after the preset feedback waiting time, an execution unconfirmed alarm is output and the unresolved restriction request is retained. The maintenance notification includes the fault object, the original window range, and the inspection, adjustment, or replacement items, and is associated with the maintenance receipt with an event identifier. Before lifting the restriction, the maintenance completion and component inspection qualification records are checked. Steps S101 to S106 are re-executed for new valid collection records. The retest window is confirmed to be normal after a preset number of consecutive tests, and there are no unresolved related faults or higher priority restrictions before the authorized reset command is accepted.

[0015] Save the bogie identifier, measuring point identifier, working condition identifier, and time window identifier of each feature sample according to the original acquisition record. Combine the reference sample with the current sample to be tested according to the preset batch sample capacity and then execute steps S102 to S106. When the feature configuration of this batch is invalid, no initial cluster is formed, no representative point is obtained, or the number of sub-clusters after adjusting the local subdivision according to the preset rules is still less than the target number of clusters, output the result to be reviewed and the corresponding reason identifier.

[0016] A track vehicle derailment prevention control device includes: a feature construction module, an initial cluster construction module, a local representation module, an uncertain sample allocation module, a global topology module, and a state detection module connected in sequence. The feature construction module is used to acquire synchronous sensing signals from the bogie traction motor, gearbox, and axle box, extract and standardize features, and form a feature sample set including the sample to be detected and reference samples with confirmed health status. The initial cluster construction module is used to generate multiple base cluster partitions, and to filter them using the normalized mutual information score between the base cluster partitions. Based on the filtered base cluster partitions, a relaxed co-association graph is constructed to obtain an initial cluster composed of non-isolated connected components and an uncertain sample set composed of isolated samples. The local representative module is used to subdivide each initial cluster locally using K-means++, and select representative points in each sub-cluster using the natural neighborhood density and the distance to higher density samples; The uncertain sample allocation module is used to calculate the composite similarity by combining the average Euclidean distance, the average inverse distance weight, and the average absolute Spearman rank correlation, and allocate the uncertain samples generated in the initial cluster construction module according to the maximum value of the composite similarity. The global topology module is used to construct sub-cluster similarity based on representative points, convert sub-cluster similarity into dissimilarity cost, construct minimum spanning tree, cut the maximum cost edge according to the preset target number of clusters, and merge to obtain the final cluster; The status detection module is used to calibrate the final cluster based on the confirmed health status of the reference sample, and output the normal, faulty, or pending verification result of the sample to be detected.

[0017] A derailment prevention control device for rail vehicles includes a processor, a memory, and a communication interface; the communication interface is used to receive bogie acquisition signals, exchange operating status and control requests with the vehicle controller, and output alarms and maintenance notifications; the memory stores a computer program, which, when executed by the processor, implements the method described above.

[0018] A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described above.

[0019] The rail vehicle derailment prevention control method provided by this invention has the following characteristics: In step S101, multi-channel signals from the bogie traction motor, gearbox, and axle box are acquired. Features are extracted from signals within the same time window, and fixed standardization parameters are used to eliminate the influence of different signal dimensions and feature scales. The reference sample and the sample to be tested use the same measurement point definition, feature order, and processing parameters, so that the distance between representative points and the feature rank correlation have consistent calculation meaning.

[0020] In step S102, multiple base clustering partitions are generated for the same feature sample set. Base partitions with high consistency are selected based on the average normalized mutual information between the base partitions and the remaining base partitions. The co-cluster relationships in the retained base partitions are accumulated as the number of co-associations. A relaxed co-association threshold is used to establish reliable sample pair connections. Non-isolated connected components are used as initial clusters, and isolated samples are saved separately as uncertain samples.

[0021] In step S103, K-means++ is used to locally subdivide the initial clusters. The natural neighborhood is expanded stepwise within each sub-cluster according to the nearest neighbor relationship, and the local density is estimated using the obtained neighborhood. Representative points are selected while taking into account both density and distance to higher density samples, so that a curved or density-uneven state group can be represented by multiple local regions.

[0022] In step S104, local evidence is provided by representative points of each sub-cluster, and the average Euclidean distance, average inverse distance weight, and average absolute Spearman rank correlation between uncertain samples and representative points are combined. The attribution of uncertain samples is determined according to the principle of maximizing composite similarity, and the average density of representative points and sub-cluster number are used to handle the case of ties.

[0023] In step S105, a complete graph is constructed using subclusters as nodes. The similarity between subclusters is determined by the absolute rank correlation and Euclidean distance between representative points. The similarity is converted into the inverse form of dissimilarity cost. A global connectivity skeleton is formed using a minimum spanning tree. After removing the edge with the maximum cost, the subclusters in each remaining connected component are merged to obtain the predetermined number of final clusters.

[0024] In step S106, the confirmed health status of the reference samples is associated with the final cluster. When the total number of reference samples in a final cluster reaches a preset minimum number, the maximum state ratio reaches a preset consistency rate threshold, and the maximum value is unique, the health status corresponding to the maximum ratio is marked as the status of the final cluster. Based on the cluster affiliation of the sample to be tested, a normal or fault result is output; clusters with insufficient references, maximum ratios not reaching the threshold, or maximum ratios being tied are output as pending review results.

[0025] In step S107, faults are confirmed within consecutive time windows of the same original record, linking the vehicle, bogie, and faulty component. For currently valid test results, preset restricted operation or shutdown maintenance strategies are matched according to vehicle model and fault type, and alarms and notifications for inspection, adjustment, or replacement are output. Review tasks are generated when pending verification, data expires, or strategies are missing. Historical data analysis results do not directly drive vehicle control.

[0026] Speed ​​limit or stop requests are sent via the vehicle control interface, and the vehicle controller adjusts traction and braking according to the vehicle model configuration. The received confirmation, execution status, and vehicle speed feedback are associated with the same fault event; triggered limits are latched and released after maintenance is completed, retesting is passed, authorized reset is performed, and vehicle controller confirmation is received.

[0027] The beneficial effects of this invention include: 1. By using consistency screening and relaxed co-association connections among multiple base partitions, the impact of a single random partition on the initial state grouping is reduced; samples lacking reliable co-association connections are temporarily retained, allowing low-density or boundary samples to still participate in subsequent fault identification. Base partition generation, screening, and subsequent grouping do not require supervised training using fault state labels; reference state labels are only used for final state labeling, reducing reliance on pre-trained fault diagnosis networks.

[0028] 2. By preserving the local structure of the state distribution through local subdivision and representative points in natural neighborhoods, and combining distance evidence and rank correlation evidence to determine the attribution of uncertain samples, the assignment criteria cover multiple local regions and the relative ranking of feature responses. Subsequently, the minimum spanning tree after cost transformation is used to unify subcluster relationships, alleviating the over-segmentation of the same state caused by local subdivision.

[0029] 3. By calibrating the output with component-specific fault states through reference samples, and associating continuously confirmed and timely valid results with vehicle model handling strategies, alarms can further trigger vehicle speed limits, stopping, and maintenance notifications. Through timeliness verification of controlled objects and results, the risk of historical, expired, or inconsistent results mistakenly triggering current vehicle actions is reduced. By executing feedback confirmation, limiting state latching, and controlled reset after maintenance and testing, unconfirmed execution or temporary normality is avoided from being mistakenly considered as completed handling. This invention intervenes in the derailment risk caused by fault development; the specific detection and control effects are determined by verification results under corresponding vehicle conditions. Attached Figure Description

[0030] Figure 1 This is a flowchart of the overall process for preventing derailment of rail vehicles.

[0031] Figure 2 A schematic diagram illustrating the source and feature sample construction of bogie detection signals.

[0032] Figure 3 A flowchart for local subdivision, representative point selection, and assignment of uncertain samples.

[0033] Figure 4 This is a schematic diagram illustrating the principle of cutting edges and merging subclusters in a minimum spanning tree.

[0034] Figure 5 This is a schematic diagram of the functional modules of a rail vehicle derailment prevention control device.

[0035] Figure 6 This is a schematic diagram of the handling process for fault alarms, vehicle control, and maintenance feedback.

[0036] In the diagram: 101, Traction Motor; 102, Gearbox; 103, Wheelset and Axle Box; 201, Motor Measurement Point; 202, Gearbox Measurement Point; 203, Axle Box Measurement Point; 204, Synchronization Signal Recording; 205, Feature Sample Construction Steps; 301, Feature Construction Module; 302, Initial Cluster Construction Module; 303, Local Representative Module; 304, Uncertain Sample Allocation Module; 305, Global Topology Module; 306, State Detection Module; 307, State Reference Library; 308, Detection Result Interface; 309, Handling Control Module; 310, Handling Strategy Library; 311, Vehicle Control Interface; 312, Vehicle Controller; 313, Alarm and Maintenance Interface. Detailed Implementation

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

[0038] Example 1

[0039] like Figure 1 The method for preventing derailment of a rail vehicle, as shown, includes: S101, acquire the synchronous sensing signals of the traction motor, gearbox and axle box in the bogie transmission system, preprocess and segment the synchronous sensing signals into time windows, extract and standardize features, and obtain a feature sample set including the sample to be detected and the reference sample with confirmed health status. The synchronous sensing signals include vibration signals arranged at the measuring points of the traction motor, gearbox, and axle box, and also include at least one of the motor current signal, speed signal, or sound signal near the axle box; the preprocessing includes channel time alignment, removal of DC components, and removal of abnormal acquisition records; the features include at least time-domain amplitude features and frequency-domain distribution features; the same feature dimension uses standardized parameters determined by pre-established calibration samples and kept fixed.

[0040] like Figure 2 As shown, in this embodiment, the detection signal sources are the traction motor 101, gearbox 102, and wheelsets and axle boxes 103. Motor measuring point 201 corresponds to the vibration signal, three-phase current signal, and speed signal at the motor's drive and non-drive ends; gearbox measuring point 202 corresponds to the vibration signal near the input and output shafts; axle box measuring point 203 corresponds to the vibration signal of the left and right axle box end covers and the sound signal near the axle boxes. The signals from each channel are used to form a synchronous signal record 204 with a unified timestamp. The synchronous signal record is then segmented into time windows and its features are extracted, and the feature sample construction step 205 is executed. The above signals can be obtained from existing acquisition systems or read from historical acquisition records with consistent measuring point definitions, timestamps, and sampling parameters.

[0041] One acquisition configuration includes 18 acceleration channels, 3 current channels, 1 speed measurement channel, and 2 sound channels, for a total of 24 channels. Acceleration, current, and sound are recorded in their respective physical units. If the speed channel records a voltage waveform, the rotational frequency should be obtained according to the pulse count and calibration relationship of the speed sensor, and the voltage amplitude should not be directly interpreted as the speed.

[0042] This embodiment uses 24 channels of synchronous recording as input. Channels CH1 to CH3 correspond to the three-dimensional acceleration at the motor drive end, CH4 to CH6 to the three-dimensional acceleration at the non-drive end of the motor, CH7 to CH9 to the three-phase current, and CH10 to the motor speed sensor voltage; CH11 to CH13 correspond to the three-dimensional acceleration near the gearbox input shaft, and CH14 to CH16 to the three-dimensional acceleration near the gearbox output shaft; CH17 to CH19 and CH21 to CH23 correspond to the three-dimensional acceleration near the left and right axle box end covers, respectively, and CH20 and CH24 correspond to the sound near the left and right axle boxes, respectively. The recording units for acceleration, current, speed sensor voltage, and sound are g, A, V, and Pa, respectively. Each three-dimensional channel maintains the axial order specified for acquisition and recording.

[0043] A single synchronous record includes four sets of measurement point data: motor, gearbox, left axle box, and right axle box. These are associated with a common original record identifier, operating condition identifier, and sampling sequence number. With a sampling frequency of 64 kHz and an effective recording duration of 10 s, each channel corresponds to 640,000 sample values. During reading, the record identifier, sampling frequency, start time, and number of effective sampling points for the four sets of data are verified. For synchronous records that share a common sampling start point, a relative time axis is formed using the sampling sequence number, where the relative time equals the sampling sequence number starting from zero divided by the sampling frequency. Records whose synchronization relationship cannot be confirmed are treated as invalid acquisitions.

[0044] The speed sensor voltage is retained as auxiliary operating condition information and is not involved in the 115-dimensional feature vector concatenation. When using a pulse-type speed sensor, the rotational frequency is obtained by dividing the number of effective pulses within the statistical duration by the product of the number of pulses per revolution and the statistical duration. The number of pulses per revolution and the level discrimination threshold are taken from the calibration record of the corresponding sensor. When using an analog voltage-type speed sensor, the calibration curve is used for conversion. If there is no corresponding calibration information, only the original voltage and the nominal rotational frequency specified for the operating condition are recorded, and the voltage amplitude is not converted into the actual speed; the calculation of root mean square, peak value, kurtosis, and fixed frequency spectrum characteristics in this embodiment does not depend on this conversion.

[0045] In this embodiment, the sampling frequency of each channel is 64 kHz, and the duration of each valid raw record is 10 s. The nominal rotational frequency and lateral load of the motor for operating conditions W01 to W09 are as follows: 20 Hz and 0 kN, 40 Hz and 0 kN, 60 Hz and 0 kN, 20 Hz and +10 kN, 40 Hz and +10 kN, 60 Hz and +10 kN, 20 Hz and -10 kN, 40 Hz and -10 kN, and 60 Hz and -10 kN, respectively. The positive lateral direction points to the motor side of the tested transmission chain, and the negative direction points to the gearbox side; the vertical load for all nine operating conditions is 10 kN downwards. The nominal operating condition parameters and the actual measured values ​​in the acquisition records are saved separately.

[0046] Based on the unified timestamp recorded by each channel, signals at the same acquisition time are time-aligned. If there is a sensor disconnection, acquisition saturation, or uncorrectable time mismatch, it is recorded as invalid acquisition and a re-acquisition is performed; these acquisition anomalies and subsequent uncertain samples caused by insufficient co-correlation are recorded separately.

[0047] After removing the DC component from each channel, according to the window length L w and step size h w Divide the time window. If the preprocessed sequence of channel c is y... c Then the i-th time window is: (1) Where i is the time window number, c is the channel number, and t is the sampling point number within the window. This execution configuration uses L. w =64,000 sampling points, corresponding to 1 second, h w =L w The data is segmented in a non-overlapping manner. Each 10-second valid synchronous record forms 10 complete time windows. Based on the nominal rotational frequencies of the motors at 20 Hz, 40 Hz, and 60 Hz, each window corresponds to 20, 40, and 60 rotational cycles, respectively. The actual rotational speed information is saved separately. If a window has fewer than 64,000 valid sampling points, zeros are not padded to form a test sample. Each window saves the bogie, original record, operating condition, and start and end time identifiers.

[0048] For the 23 channels CH1 to CH9 and CH11 to CH24, the root mean square, absolute peak value, kurtosis, spectral centroid, and spectral spread width were extracted sequentially, forming a 115-dimensional feature vector for each window. The rotational speed channel was used only for operating condition recording and spectral interpretation. The calculation formulas are (2) to (6) in sequence.

[0049] Features are concatenated in ascending order of the channel numbers mentioned above. Within the same channel, features are arranged in the order of root mean square, absolute peak value, kurtosis, spectral centroid, and spectral spread. Envelope spectral features are not included in this configuration. The reference sample and the sample to be detected are concatenated and eliminated using the same rules. After eliminating constant dimensions, m represents the number of non-constant features retained.

[0050]

[0051] in, ε is the mean of the samples within the window. f To prevent zero-energy signals from generating positive numbers divided by zero, the kurtosis is the ratio of the fourth-order central moment to the square of the second-order central moment, without subtracting 3. The frequency domain characteristics are the one-sided power spectrum of the DC-de-DC signal after Hann window processing, where v... b For frequency grid points, P icb For the corresponding power spectral density value, then:

[0052] In each formula, 'b' traverses the effective one-sided frequency grid points. The spectrum calculation method, window function, and frequency range remain consistent between the reference sample and the sample to be tested; for a specified bearing or gear fault, the envelope spectrum characteristic band energy determined by the rotational speed can also be added, but its dimensions and order should be determined before deployment.

[0053] Frequency domain processing uses a length equal to L w The Hann window and discrete Fourier transform of the same length are used, with a frequency grid spacing of 1 Hz. The single-sided power spectrum covers 0 Hz to 32 kHz, and a consistent double power coefficient is used for positive frequency grid points except for DC and Nyquist grid points. The Hann window, single-sided spectrum amplitude rules, and effective frequency grid points are used consistently in the calibration record, reference record, and test record.

[0054] Let f be the j-th dimension feature after splicing. ij The mean μ of historical calibration records. j and standard deviation σ j After standardization, we get: (7) ε z μ is the numerical stability constant. j and σ j Freeze for use under the same detection configuration, σ j Constant dimensions with a value of zero are discarded during configuration creation. If no feature dimension is retained, the record is considered invalid and output as pending review; windows containing non-finite values ​​in features are recorded as invalid samples and do not participate in subsequent clustering. Standardized dimensions represent the degree of deviation from the response relative to the same calibration rule; the ordering within the feature vector reflects the relative deviation order of each response dimension. The raw unit values ​​from different sensors are not directly used for rank correlation calculation.

[0055] Stability term ε of kurtosis and spectral characteristics f Take 10 in the numerical representation of their respective denominators. -12 And maintains the same dimensions as the denominator; standardize the stable term ε. z Take 10 under the same numerical representation of the standard deviation of each characteristic. -12 Constant dimensions are removed during configuration setup. The remaining dimensions are calculated using the mean and standard deviation of the calibration set. The standard deviation for this configuration is the population standard deviation with the number of calibration samples as the denominator. The standardized samples are stored as double-precision floating-point numbers, and subsequent distance, natural neighborhood, and rank correlation calculations are performed in this feature space.

[0056] The feature sample set is denoted as D={x1,...,x} nEach sample corresponds to a specific time window and is distinguished by a fixed sample identifier. Samples with the same feature values ​​are retained according to their respective sources. D is a reference sample set whose health status has been confirmed. ref and the current sample set to be detected D mon The original records of the two sets are independent of each other. The status of the reference sample is confirmed through maintenance records, faulty component settings, or independent testing, and its status information is stored in association with the reference sample identifier.

[0057] Reference state information is not involved in sample fitting during basis partitioning, filtering, selection of local representative points, and minimum spanning tree construction; it is only used for final state calibration. Unsupervised grouping is performed on the features of all samples to be detected within the same batch; therefore, this embodiment adopts a batch detection method. New samples are re-executed after entering a new batch.

[0058] S102, generate multiple base clustering partitions for the feature sample set, determine the consistency score based on the normalized mutual information between each base clustering partition and the other base clustering partitions, and filter the base clustering partitions; construct a co-association matrix based on the filtered base clustering partitions, connect sample pairs that meet the relaxed co-association threshold into an undirected graph, use the non-isolated connected components of the undirected graph as the initial clusters, and retain isolated samples as uncertain samples. The number of the multiple base cluster partitions is N, where N≥2, and the normalized mutual information between the base cluster partitions P and P' is: ; Where MI represents mutual information and H represents partition entropy; the consistency score of the i-th base cluster partition and the average consistency score of all base cluster partitions are: ; Retain the base cluster partitions whose consistency scores are greater than the average consistency score; when there are no base cluster partitions that meet this condition, retain the base cluster partition that reaches the maximum consistency score. Suppose that after filtering, k basis cluster partitions are retained, and the total number of elements in the association matrix is ​​A. ab Let be the number of times sample a and sample b are assigned to the same cluster in the k basis clustering partitions; the relaxed co-association threshold is λk, 0.9≤λ≤1, which applies only to mutually distinct samples that satisfy A. ab Undirected edges are established for sample pairs ≥λk; the uncertain samples are isolated samples that do not have the above-mentioned undirected edges and are not directly discarded as noise.

[0059] In this embodiment, N basis clustering partitions are generated on the same feature sample set D, where N≥2. The basis partition set P={P} is formed by changing the random seed and the number of basis clusters in K-means++. (1) ,...,P (N)One configuration is N=100, with the number of base clusters cyclically selected between 2 and 10, and each random seed is recorded; the number of base clusters does not exceed the number of distinct feature vectors in the samples. Under this execution configuration, if there are fewer than two distinct valid feature vectors, no base partition is generated, and the reason for insufficient feature differentiation is output as a point to be verified.

[0060] In a base partition, the cluster number of a sample only indicates the grouping within that partition, not the fault type. For two base partitions P and P', the partition entropy and mutual information are calculated based on the sample frequency of each cluster:

[0061] Among them, C P and C P' Let n be the number of non-empty clusters in the two partitions. a and n b n represents the number of samples in each cluster. ab Let be the number of samples in the cross-cluster, and n be the total number of samples; zero-frequency terms are treated as zero, and both expressions use the same logarithmic base. Normalized mutual information is:

[0062] If two partitions have zero entropy and are identical, the normalized mutual information is defined as 1; if only one partition has zero entropy, it is defined as 0. This definition is used for numerical processing of degenerate cases. The consistency score s of the i-th base partition... i and overall average score for:

[0063] Retain the satisfaction of s i > The base partitions are determined. If, for any reason, all base partitions have the same score, no partition satisfies this strict condition, then the base partition with the highest score is retained; in case of a tie, the one with the smallest pre-fixed number is selected. i The consistency between the base partitions is measured, but not based on the true state of the sample to be tested.

[0064] Suppose that k basis partitions are retained. For each basis partition, construct a binary co-correlation matrix: set it to 1 if two samples belong to the same cluster, otherwise set it to 0. Then sum the elements of the retained matrix:

[0065] in, For sample a in the th The cluster number in the reserved partition, This is an indicator function. The number of co-associations, A. abThe value of λ ranges from 0 to k, representing the number of times the corresponding sample pair is assigned to the same cluster in the reserved partition. The relaxed connection threshold is determined using λ ∈ [0.9, 1], and edges are constructed only for different samples:

[0066] Because A ab If A is an integer, the above condition is equivalent to A ab The number of times λk is rounded up. The sample is used as a node, E. λ An undirected graph is constructed using edges. The matrix diagonal is not used for connection determination; each connected component containing at least two nodes is used as an initial cluster C. i Isolated samples that are not connected to other nodes constitute an uncertain sample set U.

[0067] Uncertainty only indicates that the sample lacks sufficient co-correlation support and cannot be directly identified as a fault or noise. The initial cluster and the uncertain sample set together cover the valid feature samples of this batch, preserving their original time windows and measurement point sources. If all nodes in this batch are isolated, record the configuration anomaly and output the results to be verified.

[0068] S103, K-means++ is used to subdivide each initial cluster locally to obtain sub-clusters; within each sub-cluster, the natural neighborhoods of the nearest neighbors are expanded, the local density is estimated based on the natural neighborhoods, and representative points are selected by combining the distance to higher density samples to obtain the representative point set of each sub-cluster. The construction of the natural neighborhood includes: sorting the nearest neighbors of samples in each sub-cluster according to Euclidean distance, increasing the nearest neighbor order step by step, and using samples that are each other's nearest neighbors to form the natural neighborhood until all samples have each other's neighboring samples, or the number of samples without each other's neighboring samples no longer changes between adjacent orders; using the obtained natural neighborhood to calculate the local density ρ, calculating the distance δ from the sample to the nearest sample with a density greater than its own density, and using the maximum distance to the sample in its sub-cluster as δ for samples that do not have samples with higher density, and selecting a representative point based on the product of ρ and δ; a sub-cluster containing only one sample directly uses that sample as the representative point.

[0069] Specifically, such as Figure 3 The steps for local subdivision, representative point selection, and uncertain sample allocation are shown in steps S301-S305. Step S301 involves processing each initial cluster C... iPerform K-means++ local subdivision; steps S302 and S303 respectively perform the following natural neighborhood construction and representative point selection. Steps S301 to S303 correspond to step S103, and steps S304 and S305 correspond to step S104. Step S304 uses the representative points of each sub-cluster to calculate the average Euclidean distance, average inverse distance weight, and average absolute Spearman rank correlation of each uncertain sample to each sub-cluster, forming distance evidence and absolute rank correlation evidence respectively. Step S305 combines the above three pieces of evidence into a composite similarity, assigning uncertain samples according to the maximum composite similarity value. When samples are tied, their affiliation is determined sequentially by the average local density of representative points and the preset sub-cluster number. Let C... i The number of subclusters is K i First, select a center, then select a new center using the square of the nearest distance D(x) from the sample to the selected center as the weight:

[0070] The set of selected centers is denoted as After the center is selected, iterate according to the nearest center assignment and mean center update steps. The stopping conditions, parallel assignments, and empty cluster handling are executed according to the following rules: the maximum number of iterations is 300, and the maximum Euclidean norm of the center displacement does not exceed 10. -6 The process may stop when the maximum number of iterations is reached, outputting the last complete member partition and its mean center, and recording the reason for stopping each partition. Initialization is performed once for each partition; when samples have the same distance to multiple centers, they are assigned in ascending order of fixed center numbers. When an empty cluster is generated, it is processed sequentially according to its empty cluster number. From the non-empty clusters with at least 2 members, the sample with the largest distance to its center is selected and moved into the empty cluster. The empty cluster center is reset using this sample vector. When distances are equal, the sample with the smallest number is selected, and the relevant mean centers are updated. If the required non-empty partition cannot be formed, the process is output as pending review and the reason. K i It is not less than 1 and does not exceed C i An integer representing the number of distinct eigenvectors in a subset. Subclusters are uniformly denoted as Q1 to Q... L L represents the total number of subclusters after the initial clusters are subdivided, and the subcluster numbers are fixed before the uncertain sample allocation.

[0071] In each sub-cluster Q s Calculate the Euclidean nearest neighbor sequence. For the nearest neighbor order r, increase it incrementally starting from 1, excluding the sample itself, and form a neighborhood with samples that are each other's nearest neighbors of order r:

[0072] KNN(x,r) represents the r nearest neighbors of x, ordered by sample number according to the distance. It records the number of samples that have no mutual neighbors.

[0073] When b r It is zero, or r≥2 and b r If the value is the same as the previous order, stop expanding and record the current order as . The nearest neighbor order is no more than one less than the number of samples in the subcluster. For a subcluster with only one sample, that sample is taken as the representative point, and its local density ρ, distance δ, and density peak score γ are all recorded as zero, skipping nearest neighbor expansion.

[0074] Local density is estimated based on the final set of mutual neighbors. To provide an implementable computation method, this embodiment uses a kernel summation form for the distances in the final natural neighborhood:

[0075] σ s For Q s The final average distance between neighboring sample pairs with positive Euclidean distance within the natural neighborhood is calculated, with each unordered sample pair counted only once; σ is calculated when there are no such sample pairs. s Set to zero. Calculate the sub-cluster scale and the standard deviation of each dimension in equation (7) respectively. Set the sample density to zero for samples without natural neighbors. Then calculate the minimum distance from sample x to higher-density samples within the same sub-cluster:

[0076] When no higher-density samples exist, the maximum distance from x to the samples in the subcluster is taken, and a density peak score is formed. When the subcluster contains only one sample, that sample is directly taken as the representative point, and its local density ρ, distance δ, and density peak score γ are all recorded as zero, skipping nearest neighbor expansion.

[0077] Select the preset quantity t from largest to smallest γ. s One representative point, t s The integer is not less than 1 and does not exceed the number of samples in the subcluster. In case of a tie, the order is determined by descending density followed by ascending fixed sample number. t s It can be configured as min(3,|Q) s |), the resulting set is denoted as Rs={r s1 ,...,r sns} represents the number of points satisfying n s =t s =|R s |

[0078] Each sub-cluster independently calculates its natural neighborhood and density according to equations (15) to (19), without the need to preset a fixed number of nearest neighbors or a cutoff radius. Representative points, corresponding densities, and sample identifiers are fixedly stored for use by S104 and S105.

[0079] S104, using the representative point set, calculate the average Euclidean distance, average inverse distance weight, and average absolute Spearman rank correlation of each uncertain sample to each sub-cluster, combine the average Euclidean distance, average inverse distance weight, and average absolute Spearman rank correlation into a composite similarity, and assign each uncertain sample to the sub-cluster with the largest composite similarity to obtain the updated sub-cluster; For uncertain samples u and subclusters Q s Its composite similarity is: ; Among them, D s (u) represents u to Q s n s Representative point r sj The average Euclidean distance, W s (u) is the average inverse distance weight, R s (u) represents the average absolute Spearman rank correlation, and ε > 0 represents the numerical stability constant, respectively: ; To distinguish between sets and scalars, let R represent the set of points. S Refers to the saved sample set, with the relevant mean R. S (u) refers to the aforementioned average absolute rank correlation. d represents the Euclidean distance in the same standardized feature space, and r... sp ε is the Spearman rank correlation coefficient, and ε is a positive numerical stability constant.

[0080] Take the rank of each of the two feature vectors a and b along their respective m dimensions, and assign an average rank to vectors with the same values. and The mean of each rank vector and calculate:

[0081] Rank correlation is calculated for the feature dimensions within the same window, not along the time axis of the original signal. When the variance of any rank vector is zero, r... sp Take zero; the absolute value retains the positive and negative rank correlation, and the distance term retains the closeness of the samples.

[0082] Step S305 combines the three pieces of evidence into a composite similarity score:

[0083] Use ε to avoid singular values ​​when the mean distance is zero or the mean absolute rank correlation is close to 1. For each uncertain sample, select the one with the highest composite similarity among all subclusters:

[0084] If multiple subclusters have the same score, the subcluster with the highest average local density of its representative points is selected; if they are still the same, the subcluster is determined by the preset subcluster number. All uncertain samples are calculated using the same set of representative points and densities saved at the end of S303, and the evidence for the next sample is not changed due to the allocation of the previous sample.

[0085] Add u to the selected sub-cluster to obtain Q. s Subclusters that did not receive uncertain samples retain their original members, and the total number of subclusters L remains unchanged. Local subdivisions are used to represent different regions within the initial cluster, and subclusters do not directly correspond to fault categories.

[0086] S105, with the updated L subclusters Q1' to Q L 'Construct a complete graph for the nodes. Equation (26) uses the representative point set R selected in S103 and kept unchanged in S104. s and R t Member updates do not trigger delegate re-election. After any two updates, subcluster Q... s 'and Q t The similarity between ' is:

[0087] The cost of converting this similarity to dissimilarity:

[0088] This transformation reduces the connection cost for subclusters with higher similarity. (Using c...) st As graph edge weights, Prim's algorithm is used to obtain the minimum spanning tree, expanding from the sub-cluster node with the smallest index. When candidate edge costs are the same, the indices of the two endpoints of each edge are arranged in ascending order, and the selection order is determined by the ascending order of the indices. Untransformed similarity is not directly used as the edge cost to be minimized.

[0089] The target cluster number K is predetermined in the detection configuration, for example, based on the number of normal states and confirmed fault state categories monitored. K satisfies 1≤K≤L. The K-1 edges with the highest cost in the spanning tree are removed. When costs are equal, the two endpoints of each edge are numbered in ascending order, and then processed in ascending order of the resulting number pairs. The subclusters within the remaining K connected components are merged to form the final clusters F1 to F2. K When K=1, no edges are cut; when L=1 and K=1, the unique sub-cluster is directly used as the final cluster. The final cluster is numbered in ascending order of the smallest fixed sub-cluster number it contains.

[0090] Figure 4An independent topology diagram with nine subclusters and a target cluster size of 3 is given, where Q1-Q9 represent the nine subclusters. After removing the two maximum-cost edges from the minimum spanning tree, the subclusters within each remaining connected component are merged to obtain three final clusters F1-F3, where F1 contains Q1, Q2, and Q3; F2 contains Q4, Q5, and Q6; and F3 contains Q7, Q8, and Q9. The removal positions in the diagram only explain the processing principle of the maximum-cost edges and are not used as the calculation input for a target cluster size of 5 in Example 2, nor do they represent measured fault data or performance results. The minimum spanning tree is constructed from the dissimilarity costs obtained by transforming the similarity of the current representative point, and graph edges cannot be specified solely based on the mechanical connections between bogie components.

[0091] S106, the final cluster is calibrated according to the confirmed health status of the reference sample, and the bogie normal status or fault status is output according to the calibration status of the final cluster where the sample to be tested is located; for the final cluster that cannot meet the preset calibration conditions, the result to be reviewed is output. The confirmed health status of the reference samples includes normal status and at least one bogie component failure status. The proportion of reference samples for each confirmed health status within each final cluster is calculated. Only when the total number of reference samples reaches a preset minimum number, the maximum reference sample proportion reaches a preset consistency rate threshold, and the maximum reference sample proportion is unique, is the health status corresponding to the maximum proportion used as the calibration status of the final cluster. Normal status corresponds to normal test results, failure status corresponds to test results including failure components and failure types, and other cases correspond to results pending verification. The fault states include at least one of the following: motor bearing fault, gear tooth missing fault, axle box bearing fault, and multi-component composite fault; confirmation is made based on the detection results of consecutive time windows in the same original acquisition record and the same combination of measurement points, i.e., continuous confirmation; when the same fault state occurs consecutively to reach the preset number of time windows, the corresponding fault prompt and the original window time identifier are output; invalid windows, missing windows, normal results, other fault states, or results pending verification all interrupt the continuous confirmation.

[0092] Specifically, in this embodiment, the final cluster labeling is performed based on the confirmed health status of the reference sample. The reference status label is denoted as 0 to J, where 0 represents normal and positive integers correspond to confirmed fault status; a composite fault can be used as a status label, and its status description simultaneously stores multiple faulty components and types.

[0093] In the final cluster F h Internally, the statistical labels are Reference sample size and the total number of reference samples a h Only in a h When >0, calculate the reference state ratio; a hWhen the value is 0, the result indicating insufficient reference samples is directly output as a pending review result. The reference state ratio is:

[0094] Preset minimum reference sample size a min Let be a positive integer, and let η be the state consistency rate threshold satisfying 0 < η ≤ 1. When the maximum proportion corresponds to only one label, that label is denoted as . The following conditions will be used to determine whether to perform state calibration: When equation (29) is satisfied and the maximum proportion is unique, the final cluster is labeled as follows: The output is normal. Output the corresponding component and fault type in real time. If there is insufficient reference, insufficient consistency rate, or the maximum proportion is tied, output "Pending Review" and do not select the status according to cluster number.

[0095] This execution configuration takes 'a'. min =3, η=0.8. The state ratio is the consistency rate of the reference sample and does not represent the posterior probability of failure after probability calibration. This configuration is used to provide a defined state calibration rule; parameter adjustment is completed during the independent calibration phase. The true label of the sample to be tested is not used to determine... Or adjust η.

[0096] Outputs the bogie identifier, measuring point combination, time window identifier, operating condition, test result, related faulty components, and calibration consistency rate corresponding to the sample to be tested. Within the same test batch, only the same original acquisition record, the same bogie, the same measuring point combination, and the same operating condition are continuously confirmed in the original time sequence. This execution configuration uses three consecutive windows for confirmation. The three window numbers must be sequentially adjacent and time-continuous, and all output the same fault status. When these conditions are met, a corresponding fault prompt is generated. Invalid windows, missing windows, normal results, other fault statuses, or results pending verification are all interrupted in the count and will not be skipped before continuing to accumulate; the count is restarted when switching original records or test batches. Windows pending verification are not counted as normal windows, and the number of consecutive confirmations is a configurable parameter.

[0097] The cluster numbers for normal, faulty, or pending verification clusters are only valid within the current batch. The next batch will be recalibrated using the reference status; the semantically meaningless cluster numbers from the previous batch will not be directly used as the current fault category numbers. Samples that have been confirmed after maintenance can be added to the reference library. Adding a new fault status requires updating both the status directory and the target cluster number configuration.

[0098] If L < K, it can be done at K. iIf the number of local subdivisions is increased within the allowed range, S103 is re-executed; if the conditions are still not met, all samples are isolated, or any sub-cluster to be used lacks a representative point, the batch status determination is stopped, and the pending review and reason are output. For batches without initial uncertain samples, S104 is skipped and the global topology stage continues.

[0099] The total number of samples per batch can be limited to 1000. First, freeze the reference sample list according to monitoring status and operating conditions. Then, sort the records to be tested by collection time and record identifier, and add them to all valid windows of each record in sequence. If the next record cannot be completely added or the reading ends, perform testing on the batch containing the windows to be tested. The number of reference samples must be less than the capacity, and the number of windows of a single record to be tested must not exceed the remaining capacity after deducting the reference samples. Otherwise, adjust the capacity and record the reason. Do not delete the required reference status. The co-correlation of each sample within the batch is calculated according to the aforementioned rules. The 540 samples in Example 2 can be combined into a batch, and the actual time taken depends on the operating environment.

[0100] S107, confirm the fault prompt based on the detection results of the same original acquisition record and continuous time window within the measurement point combination, verify the vehicle correspondence and data timeliness of the fault prompt, match the preset handling strategy according to the vehicle model, faulty component and fault type, and generate alarm information and maintenance notice containing fault location, type and handling requirements. For confirmed faults that pass the verification and match a restricted operation or shutdown maintenance strategy, a speed limit request or a stop request is sent to the vehicle controller. The vehicle controller then adjusts traction and braking and records the control status based on the execution feedback. Triggered operation restrictions are latched, and the corresponding restrictions are released upon confirmation by the vehicle controller after receiving the maintenance completion record, the retest pass result, and the authorized reset command. If the verification fails or no strategy is matched, a verification alarm is output, but existing operation restrictions are not released accordingly. The handling strategies are established according to vehicle model, faulty component, and fault type, and include handling level, speed limit, traction permission status, parking request, and maintenance items. The handling level includes review, restricted operation, and parking for maintenance. The restricted operation strategy restricts traction through the vehicle controller and reduces the vehicle speed according to the configured braking mode when the actual vehicle speed exceeds the speed limit. The parking for maintenance strategy requests to restrict traction and executes parking braking. When there are multiple confirmed component faults, the lowest speed limit in the matching strategy is used. If any matching strategy requires parking, the parking for maintenance strategy is used. The validity period of the verification data includes: the confirmation sequence of the fault prompt ends with the time window of the latest completed test of the same object; the difference between the result output time and the end time of the last window of the confirmation sequence does not exceed the preset result validity period; and the vehicle identification, bogie identification, acquisition session, and current operating mode are consistent with the controlled object; the actual vehicle speed is obtained from the vehicle controller interface and is not replaced by the nominal rotation frequency of the motor; historical records are used to generate maintenance analysis results and notifications and do not directly trigger online vehicle control; when data expires, status is pending verification, or continuous confirmation is not met, a verification task is generated and data is re-acquired. The execution feedback includes the request reception status, the restriction or stop execution status, and the actual vehicle speed. If no valid feedback is received after the preset feedback waiting time, an execution unconfirmed alarm is output and the unresolved restriction request is retained. The maintenance notification includes the fault object, the original window range, and the inspection, adjustment, or replacement items, and is associated with the maintenance receipt with an event identifier. Before lifting the restriction, the maintenance completion and component inspection qualification records are checked. Steps S101 to S106 are re-executed for new valid collection records. The retest window is confirmed to be normal after a preset number of consecutive tests, and there are no unresolved related faults or higher priority restrictions before the authorized reset command is accepted.

[0101] Save the bogie identifier, measuring point identifier, working condition identifier, and time window identifier of each feature sample according to the original acquisition record. Combine the reference sample with the current sample to be tested according to the preset batch sample capacity and then execute steps S102 to S106. When the feature configuration of this batch is invalid, no initial cluster is formed, no representative point is obtained, or the number of sub-clusters after adjusting the local subdivision according to the preset rules is still less than the target number of clusters, output the result to be reviewed and the corresponding reason identifier.

[0102] Example 2 This embodiment provides execution configurations, allocations, and calibration calculation examples for five monitoring states. States H0 to H4 correspond to normal, motor bearing failure, gear tooth loss, left axle box bearing inner ring failure, and a combined fault involving both broken motor rotor bars and missing gear teeth; each is labeled with a state tag from 0 to 4, with a target cluster number of K=5. The combined fault tag H4 stores fault descriptions for both the motor and gearbox. The above state directory is determined before testing and is not obtained from the actual tags of the sample to be tested.

[0103] One data acquisition configuration involves independently acquiring three 10-second valid synchronous records for each combination of five monitoring states and nine operating conditions. The nine operating conditions consist of combinations of the motor's nominal rotational frequencies of 20 Hz, 40 Hz, and 60 Hz with three preset lateral loads. The internal identifier of each record is defined as R. h,c,bWhere h is the status directory number from 0 to 4, c is the operating condition number from 1 to 9, and b is the independent acquisition test number from 1 to 3. Each record retains the original acquisition record identifier, test number, and operating condition information. This configuration contains a total of 5 × 9 × 3 = 135 synchronous records. The four sets of measurement point files for each record constitute one original record, and duplicates are not counted based on the number of files. R h,c,b For data organization, numerical calculations use separately fixed, semantically neutral sample numbers, and 'h' is not written into the features. The listed number of records is used to illustrate the organization method of this implementation configuration; when using historical records, it should be verified that each combination has sufficient independent collection records, and supplementary collection should be carried out if insufficient, and duplicate records or segments of the same record should not be used as independent trials.

[0104] Before dividing the time window, the original records are first stratified according to health status, rotational speed, and lateral load. Within each state and operating condition combination, records with b=1 are used for feature calibration, records with b=2 are used for reference sample construction, and records with b=3 are used for sample construction to be tested. Each of the three groups contains 45 records, covering the same three rotational speeds, three lateral loads, and five monitoring states, and maintaining the same measurement point definitions, sampling parameters, and feature processing rules. Using a 1-second non-overlapping time window, each group generates 450 candidate feature samples. The same original record and its entire time window belong to only one group. Standardized parameters are obtained only from the calibration group and are frozen for use under this testing configuration; reference labels are saved after confirmation by fault records or maintenance records. The information on the state to be tested used for division and evaluation is separately archived and not entered into the clustering and state calibration process.

[0105] For each record in the reference group, windows 1 and 6 are selected, forming a total of 90 reference samples. This means each state has two reference windows under each operating condition, totaling 18 reference windows across nine operating conditions. The 45 records in the test group form 450 test time windows, which, together with the aforementioned 90 reference samples, constitute a test batch of 540 samples. Both the reference samples and the test samples in this batch cover the nine operating conditions, and their original acquisition records are not reused. Both the reference samples and the test samples participate in unsupervised grouping; only the state labels of the reference samples participate in the final cluster calibration in S106. The feature calibration group is not included in this test batch. The sealed labels of the test records are used for evaluation after calculation, and the test results can be statistically analyzed separately according to rotational speed and lateral load. When the actual number of valid records differs, the sample number and batch are recalculated based on the valid records to maintain the operating condition coverage relationship between the reference and test records.

[0106] The execution configuration uses N=100, λ=0.9, and ε=10. -8 The number of base clusters in the i-th base partition is selected cyclically from 2 to 10, and is limited by the number of distinct feature vectors in that batch. The number of local subdivisions K for each initial cluster... iTake the smaller value among the number of feature vectors that are distinct from the initial cluster (3), and take the minimum number of representative points for each sub-cluster (3, |Q). s |) The state calibration parameter is a min =3, η=0.8, the number of consecutive fault confirmation windows is 3. If L<K, sort the initial clusters in descending order of sample quantity and ascending order of fixed number, and sequentially sort the initial clusters that have not yet reached the upper limit of the number of distinct feature vectors by K. i Increment by 1, and re-execute S103; repeat the above sequence until L≥K or all K are obtained. i All have reached their limits. If the requirements still cannot be met, output "to be reviewed" and the reason.

[0107] Both basic clustering and local subdivision employ K-means++ initialization and nearest-middle assignment, along with mean center updates. The maximum number of iterations is 300, and the maximum Euclidean norm of the center displacement does not exceed 10. -6 The process may stop when the maximum number of iterations is reached, outputting the last complete member partition and its mean center, and recording the reason for stopping. Each partition performs initialization once; when samples have the same distance to multiple centers, they are allocated in ascending order of fixed center numbers. When an empty cluster is generated, it is processed sequentially according to its empty cluster number. From the non-empty clusters with at least 2 members, the sample with the largest distance to its center is selected and moved into the empty cluster. The empty cluster center is reset using this sample vector. When distances are equal, the sample with the smallest number is selected, and the relevant mean centers are updated. If the required non-empty partition cannot be formed, the process is output as pending review and the reason. The initial cluster and sub-clusters after local subdivision are fixedly sorted and numbered according to their smallest sample number; uncertain samples are not renumbered after being added. (Base cluster number, K) i The center, iteration count, and random seed are saved as batch processing records.

[0108] During the repeatability check, the repeatability number q ranges from 1 to 30. The random seed for the i-th base partition is 1000(q-1)+i, and the random seed for the a-th initial cluster local subdivision is 10000+1000(q-1)+a. The pseudo-random number sequence uses an MT19937 generator. The first center is selected uniformly from the sample, and subsequent centers are selected according to the cumulative probability of equation (14). Within the same repeatability number, each control configuration shares the base partition input and the corresponding random seed. The above repeatability calculation rules are used to check the sensitivity of the same batch of processing results to random initialization.

[0109] For valid windows to be tested whose actual state has been sealed, the fault detection rate (DR), false alarm rate (FAR), and verification rate (UR) are statistically analyzed according to the window state output and can be recorded using the following formula; here, fault indication events formed by three consecutive windows are not used as the counting unit:

[0110] Where TP and FN represent the number of output faults and non-output faults in the actual fault window, respectively; FP and TN represent the number of output faults and non-output faults in the actual normal window, respectively. Outputting any fault status is counted as a fault detected, while normal or pending verification is counted as undetected; pending verification in TN does not indicate that normal has been confirmed. test n represents the total number of valid windows to be detected, sealed in the actual state. review The number of windows to be reviewed is included; reference samples and invalid windows for collection and features are not included, and the number and reasons for the latter are recorded separately. When the batch status determination fails, all valid windows to be tested are counted as windows to be reviewed. Equation (30) includes windows to be reviewed, and when the denominator is zero, it is recorded as not applicable. This statistic only evaluates the window failure determination of S106; review alarms and control events are counted separately.

[0111] The fault type accuracy rate is calculated using the effective detection window of all real faults as the denominator, with the numerator being the output corresponding to a single or compound fault state. Normal outputs, incorrect fault types, and those awaiting review are not counted as correct. ACC, ARI, and AMI can be recorded only on the effective detection window to measure the consistency between the final cluster and the sealed real labels. If a final cluster cannot be formed, the above clustering indicators are considered inapplicable. The optimal label replacement used for evaluation is not used for actual fault state output. If a continuous three-window fault prompt is evaluated separately, its event count should be reported separately and not mixed with the window count in equation (30).

[0112] The number of initially uncertain samples n in the test sample U The initial uncertainty ratio of the report and the accuracy of its final state determination:

[0113] n U,correct This refers to the number of correctly output health statuses from an initially uncertain test sample; the reference sample is not included in this proportion or accuracy rate. U When the value is 0, U-ACC is marked as inapplicable. The time consumption of each algorithm includes the basis partitioning, co-correlation, local processing, topology processing and state output of that batch, and the signal acquisition waiting time and feature extraction time are recorded respectively.

[0114] The batch log saves the original number of records, the number of three sets of windows, the number of base partitions k after filtering, the initial number of clusters, the number of uncertain samples, the number of sub-clusters L, and the final number of clusters, and records the actual system, numerical program version, thread configuration, and timing method. Performance indicators are calculated from the actual output according to equations (30), (31), and the aforementioned criteria.

[0115] The following values ​​are used as illustrative input settings for the algorithm, to verify the calculation rules for allocation and state labeling. Assuming that k=37 basis partitions are retained after filtering, the connection threshold corresponding to λ=0.9 is 34. Since the number of co-associations between a sample u and other samples does not reach 34, it is initially retained in the uncertain sample set U. In the local allocation example, the Euclidean distances between the three representative points of candidate subcluster Q3 and u are 0.4, 0.5, and 0.6, respectively, and their absolute rank correlations are 0.943659749, 0.915884163, and 0.880217786, respectively. The three distances of candidate subcluster Q5 are 0.3, 0.35, and 0.4, respectively, and their absolute rank correlations are 0.638917383, 0.549001815, and 0.445277361, respectively. Table 1 lists the mean and composite similarity calculated according to equations (20) to (24). The values ​​shown in the table are rounded to six decimal places. Unrounded values ​​are used in the calculation.

[0116] Table 1. Examples of calculation for composite similarity of uncertain samples

[0117] Although the average distance of Q3 in Table 1 is relatively large, its composite similarity is higher than that of Q5. Therefore, when only these two candidates are compared, u is assigned to Q3; the actual assignment requires comparison of all subclusters. Subsequently, the minimum spanning tree is constructed according to equations (26) and (27), and the four maximum cost edges are cut when K=5. To illustrate the subsequent state output, it is assumed that Q3 and Q4 are in the same residual connected component, then u enters the corresponding final cluster F2. This topological condition cannot be derived from Table 1, nor is it adopted. Figure 4 The independent schematic substitution calculation.

[0118] Table 2 uses 90 reference samples formed by selecting the first and sixth windows from each of the 45 original records in the reference group; each state has 2 reference windows under each operating condition, totaling 18 for the nine operating conditions, and only reference samples are counted. The maximum proportion of the 12 H1 and 3 H0 reference samples in F2 is 12 / 15 = 0.8, satisfying a min =3, η=0.8 and the maximum value is unique, therefore the output indicates a motor bearing fault; other clusters are judged according to the same rules, see Table 2. The total reference count for all clusters is 90, and the total for all states is 18. Tables 1 and 2 are illustrative inputs and calculation results, and are not considered as actual detection rates or accuracy rates.

[0119] Table 2. Final Cluster State Calibration Count Example

[0120] After the corresponding batch calculation is completed, if windows 3, 4, and 5 of the same test record all output H1, and these three windows belong to the same test batch, the same bogie, the same measurement point combination, and the same operating condition, and the window numbers are sequentially adjacent and the time is continuous, then a motor bearing fault indication is generated. The original fault indication interval corresponding to the non-overlapping 1-second window is 2 to 5 seconds relative to the start time of the record; the batch calculation completion time and the result output time are recorded separately and are not equivalent to the end time of the 5th window. The window identifier is associated with the original sampling sequence and measurement points for maintenance backtracking.

[0121] The result graph plots the signal using the actual window time and channel physical units. Feature projection, uncertain samples, and final grouping are associated with the same sample identifier. It shows that the low-dimensional projection does not replace the m-dimensional features used in S102 to S105. The effect comparison adopts the same batch, reference calibration rules, and statistical caliber of Equations (30) and (31), and records the cases of insufficient reference coverage that need to be reviewed.

[0122] Example 3 A rail vehicle derailment prevention control device, see [link / reference] Figure 5 This device includes a feature construction module 301, an initial cluster construction module 302, a local representation module 303, an uncertain sample allocation module 304, a global topology module 305, and a state detection module 306, which execute steps S101 to S106, and a disposal control module 309, which executes step S107. It is connected to a state reference library 307, a detection result interface 308, a disposal strategy library 310, a vehicle control interface 311, and an alarm and maintenance interface 313. Each module transmits detection and disposal data using unified samples and event identifiers. The operating medium is described later in this embodiment.

[0123] The feature construction module 301 receives synchronization signals from existing acquisition systems or historical records, verifies the measurement points, units, and synchronization relationships according to Example 1, completes preprocessing, windowing, feature extraction, and fixed parameter standardization, and outputs feature vectors and identifier correspondence tables to the initial cluster construction module 302. Each sample is associated with the vehicle, bogie, acquisition session, original record, measurement point combination, operating condition, time window, and reference or target attribute; organizational information and status labels are not concatenated into numerical features, and feature calibration groups are not added to the detection batch.

[0124] The handling control module 309 receives window status and continuous fault prompts from the detection result interface 308, reads the handling strategy corresponding to the vehicle model from the handling strategy library 310, obtains the actual vehicle speed and operating mode via the vehicle control interface 311, sends a speed limit, stop, or release request to the vehicle controller 312, and receives feedback. The alarm and maintenance interface 313 connects to the driver's end display and maintenance terminal, outputs fault notifications, and receives maintenance receipts; the control triggering, verification, and reset rules are executed according to Example 4.

[0125] The initial cluster construction module 302 filters the basis partitions and constructs a relaxed co-association graph, sending the initial cluster members to the local representative module 303 and sending uncertain samples and their features to the uncertain sample allocation module 304. The local representative module 303 completes local subdivision and representative point selection, providing the sub-cluster members, fixed numbers, representative point identifiers, features, and densities to the uncertain sample allocation module 304, and providing the same set of representative point information to the global topology module 305.

[0126] Uncertain sample allocation module 304 allocates uncertain samples according to equations (20) to (25), and processes them in parallel using the average density of representative points and sub-cluster numbers in sequence, outputting the updated member table and initial uncertainty flag; the representative points and density selected by the local representative module 303 remain fixed. The global topology module 305 combines the updated member table and fixed representative points, constructs the minimum spanning tree according to equations (26) and (27), cuts K-1 maximum cost edges, and outputs the final cluster member correspondence to the state detection module 306 according to the parallel and numbering rules in Example 1.

[0127] The state reference library 307 stores independent sources, operating conditions, confirmed states, faulty components and faulty parts, and maintenance or independent test confirmation basis according to sample identifiers. When updating, it checks the state catalog and operating condition coverage. Reference features participate in the unsupervised grouping of the initial cluster construction module 302, local representative module 303, uncertain sample allocation module 304, and global topology module 305. Reference tags are only available for reading by the state detection module 306; the real tags to be detected are separately sealed for evaluation. The state detection module 306 calibrates the final cluster according to equations (28) and (29): when the total number of references reaches the lower limit, the maximum state ratio reaches the threshold and the maximum value is unique, it outputs normal or fault; otherwise, it outputs pending review and the reason; when the total number of references is zero, the ratio is not calculated.

[0128] The test result interface 308 outputs sample identifier, time window, operating condition, initial uncertainty flag, assigned sub-cluster, final cluster, calibration consistency rate, status, faulty component and type, and reason for pending verification to the handling control module 309, maintenance analysis program, or result file. Fault indication is only confirmed when three consecutive window numbers are sequentially adjacent, time-continuous, and all output the same fault state within the same test batch, the same original acquisition record, bogie, measuring point combination, and operating condition. Invalid windows, missing windows, normal results, other fault states, or results pending verification interrupt counting and restart counting when switching original records or test batches. The original fault interval, batch calculation completion time, and result output time are saved separately; the result is traced back to the original measuring point and sampling sequence via the sample identifier.

[0129] Invalid windows for data collection and features are removed and recorded according to Example 1; anomalies such as no initial cluster, no representative points, or insufficient number of sub-clusters after local adjustments are output for review according to Examples 1 and 2, and the reason is retained in the detection result interface 308. The handling control module 309 generates a review alarm based on this, without converting the anomaly to normal or releasing the latched restrictions. The batch saves standardized parameters, random seeds, base partitions, member correspondences, and processing times; during the handling phase, the strategy version, requests, execution feedback, and inspection and repair reset records are also saved.

[0130] This device can be implemented by a unit including a processor, a memory, and a communication interface. The processor is connected to the memory via a bus and executes the program stored in the memory to implement steps S101 to S107; the memory also stores feature configurations, a status reference library, a handling strategy library, and event records. The communication interface connects to a synchronous acquisition system, a vehicle controller, and a driver's terminal or maintenance terminal. Online control is performed as in Embodiment 4, while offline analysis is only used for historical record analysis and maintenance output.

[0131] The program is stored in a computer-readable storage medium, which is a non-transitory medium, including flash memory, solid-state memory, or a disk. When the program is executed by a processor having corresponding data and control interfaces, steps S101 to S107 are implemented.

[0132] Example 4 This embodiment describes fault alarm and derailment prevention measures. See also... Figure 6 In step S107, the handling strategy library 310 stores applicable operating modes, handling levels, speed limits, traction permission status, stop requests, maintenance items, and the validity period, feedback waiting time, execution inspection time, and strategy version of test results and operational feedback, indexed by vehicle model, faulty component, and fault type. Strategies are determined by the fault impact analysis, operating procedures, and maintenance specifications for the corresponding vehicle model, and their applicability is verified before deployment; each index and operating mode corresponds to a unique valid strategy. The consistency rate of the reference sample is used to support fault type identification but is not considered as the probability of derailment or the severity of the fault; the handling level is obtained from the strategy entry.

[0133] A fault indication is generated only when three consecutive window numbers within the same test batch, for the same vehicle, bogie, measurement point combination, operating condition, and original record are sequentially adjacent, time-continuous, and all output the same fault status. Invalid windows, missing windows, normal results, other fault statuses, or results awaiting verification all interrupt counting; counting resumes when switching original records or test batches. The online acquisition terminal provides the object and acquisition session identifier along with the record, along with an absolute timestamp under a unified clock. Triggering uses a confirmation sequence ending with the latest completed test window for that object; the difference between the result output time and the end time of the last window must not exceed the result validity period specified by the strategy. The vehicle control interface 311 provides the actual vehicle speed and operating mode with timestamps and verifies the validity period of the operating feedback and the applicable conditions of the strategy; if time or object-related information is missing, it proceeds to verification. The nominal rotation frequency of the motor is not directly converted into vehicle speed.

[0134] If continuous confirmation is not met, status is pending verification, data expires, control object is inconsistent, or strategy is missing, a verification alarm is output, the reason is recorded, and a request for re-collection or manual inspection is made. No new online traction or braking requests are issued based on this, nor are existing operational restrictions lifted. Historical fault prompts are used for maintenance analysis and notification. During online data collection, the reference sample list is first frozen according to monitoring status and operating condition. Then, all valid windows of a currently complete record are added to a smaller batch within the preset capacity. The number of reference samples must be less than the batch capacity. If the record cannot be completely added, the capacity is adjusted and the reason is recorded. Required reference states are not deleted. The times of data collection completion, calculation completion, and result output are recorded separately. The batch calculation method is not equivalent to instantaneous detection. Existing vehicle fault protection still executes independently.

[0135] For confirmed faults that pass verification, when a restricted operation strategy is matched, the fault event identifier, strategy version, and speed limit value are sent to the vehicle controller 312, which restricts the traction permission state. If the actual vehicle speed exceeds the speed limit value, the vehicle speed is reduced according to the braking mode configured for that vehicle type, and subsequent traction is continuously restricted. When a stop maintenance strategy is matched, a request is made to restrict traction and stop braking, which is executed by the vehicle controller according to its stop control procedure; the stop execution and stop completion are recorded separately. When multiple confirmed faults exist on the same train, their matched strategies are merged, and the lowest speed limit value is adopted; if any strategy requires stopping, the stop request takes priority. Composite faults are broken down into confirmed component types according to the status catalog and then merged into strategies; if any applicable entry is missing, the process is transferred to verification.

[0136] Alarm information is sent to the driver's display and maintenance terminal via the alarm and maintenance interface 313, including vehicle and bogie identification, faulty component and type, original fault window range, actual result time, handling level, and execution status. Verification, operation restriction, and shutdown maintenance are indicated by corresponding text and audio-visual prompts. Maintenance notifications are associated with the same event identifier: motor bearing fault notifications check bearing, lubrication, and installation status; gear fault notifications check tooth surface and meshing status; axle box bearing fault notifications check bearing and wheelset support status; upon confirmation of damage, notifications are sent to replace the faulty component; permissible adjustments are performed according to the vehicle model's maintenance specifications. Maintenance personnel conduct inspections, adjustments, or replacements after meeting the shutdown and operation conditions, and submit component inspection results and completion receipts.

[0137] In step S107, the handling control module 309 associates the vehicle controller's request reception confirmation, restriction or parking execution status, and actual vehicle speed with the fault event. Receiving a request does not equate to action completion; restriction effectiveness and parking completion are jointly confirmed by the execution status and corresponding vehicle speed feedback. During braking, the vehicle speed is allowed to gradually decrease according to the control program. If the feedback waiting time or execution check time exceeds the vehicle model configuration and confirmation is still not received, it is upgraded to an execution unconfirmed alarm, retaining the unresolved restriction request and requiring manual handling; the vehicle controller's existing communication fault protection handles control link failures, and does not record the lack of feedback as successful execution.

[0138] Triggered operational restrictions are latched as fault events; single normal windows, missing signals, or verification results cannot be cleared. Before release, verify the completion of repairs and the qualified inspection records of the same fault object. Re-execute S101 to S106 using new valid acquisition records, confirming normal operation within the same measurement point configuration and applicable operating conditions according to the preset number of consecutive retest windows. Invalid, missing, faulty, or pending verification windows are all interrupted for retesting. Simultaneously, verify that there are no unresolved related faults or higher priority restrictions. Only after the above conditions are met and an authorized reset command is received will a release request for the corresponding event be sent to the vehicle controller. After receiving release confirmation, the event is closed; otherwise, the latched record remains. Release only applies to this event; operational restrictions still valid from other sources will continue to be executed by the vehicle controller.

[0139] For example, F2 in Table 2 is calibrated as a motor bearing fault. In an online configuration example, assuming that windows 8 to 10 of the same current record all output H1, and pass continuity, object, and validity period checks, and the vehicle model strategy classifies this state as a restricted operation level, then an alarm, a speed limit request for this strategy, and a bearing inspection notification will be output; action confirmation is based on control feedback. If the matched axle box bearing fault strategy is a stop maintenance level, then a stop request and an axle box inspection notification will be output. The results pending verification for F3 or F4 only form a verification task. The historical fault intervals of windows 3 to 5 mentioned above are used for backtracking and cannot directly trigger the current braking. This example illustrates the connection between data and interfaces; the speed limit value, validity period, braking mode, feedback waiting time, and number of retest windows are configured according to the corresponding vehicle model and do not use fixed values ​​for other vehicle models.

[0140] The features of the above embodiments can be combined when there are no technical contradictions. The specific scope of protection is determined by the claims.

[0141] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.

Claims

1. A method for preventing derailment of rail vehicles, characterized in that, include: S101, acquire the synchronous sensing signals of the traction motor, gearbox and axle box in the bogie transmission system, preprocess and segment the synchronous sensing signals into time windows, extract and standardize features, and obtain a feature sample set including the sample to be detected and the reference sample with confirmed health status. S102, generate multiple base clustering partitions for the feature sample set, determine the consistency score based on the normalized mutual information between each base clustering partition and the other base clustering partitions, and filter the base clustering partitions; construct a co-association matrix based on the filtered base clustering partitions, connect sample pairs that meet the relaxed co-association threshold into an undirected graph, use the non-isolated connected components of the undirected graph as the initial clusters, and retain isolated samples as uncertain samples. S103, K-means++ is used to subdivide each initial cluster locally to obtain sub-clusters; within each sub-cluster, the natural neighborhoods of the nearest neighbors are expanded, the local density is estimated based on the natural neighborhoods, and representative points are selected by combining the distance to higher density samples to obtain the representative point set of each sub-cluster. S104, using the representative point set, calculate the average Euclidean distance, average inverse distance weight, and average absolute Spearman rank correlation of each uncertain sample to each sub-cluster, combine the average Euclidean distance, average inverse distance weight, and average absolute Spearman rank correlation into a composite similarity, and assign each uncertain sample to the sub-cluster with the largest composite similarity to obtain the updated sub-cluster; S105, using the updated sub-clusters as nodes, construct sub-cluster similarity using the Euclidean distance and absolute Spearman rank correlation between representative points selected in step S103 and unchanged in step S104, convert the sub-cluster similarity into dissimilarity cost corresponding to its monotonically decreasing value, construct a minimum spanning tree based on the dissimilarity cost; cut the K-1 edges with the highest cost in the minimum spanning tree according to the preset target number of clusters K, and merge the sub-clusters in the remaining connected components into the final cluster; S106, the final cluster is calibrated according to the confirmed health status of the reference sample, and the bogie normal status or fault status is output according to the calibration status of the final cluster where the sample to be tested is located; for the final cluster that cannot meet the preset calibration conditions, the result to be reviewed is output. S107, confirm the fault prompt based on the detection results of the same original acquisition record and continuous time window within the measurement point combination, verify the vehicle correspondence and data timeliness of the fault prompt, match the preset handling strategy according to the vehicle model, faulty component and fault type, and generate alarm information and maintenance notice containing fault location, type and handling requirements. For confirmed faults that pass the verification and match a restricted operation or parking maintenance strategy, a speed limit request or parking request is sent to the vehicle controller. The vehicle controller adjusts traction and braking and records the control status based on the execution feedback. The triggered operation restrictions are latched. After receiving the maintenance completion record, the retest pass result, and the authorized reset command, the corresponding restrictions are released upon confirmation by the vehicle controller. If the verification fails or no strategy is matched, a verification alarm is output, but existing operation restrictions are not released accordingly.

2. The method for preventing derailment of rail vehicles according to claim 1, characterized in that, In step S101, the synchronous sensing signal includes vibration signals arranged at the measuring points of the traction motor, gearbox, and axle box, and also includes at least one of the motor current signal, speed signal, or sound signal near the axle box; the preprocessing includes channel time alignment, removal of DC components, and rejection of abnormal acquisition records; the features include at least time-domain amplitude features and frequency-domain distribution features; the same feature dimension uses standardized parameters determined by pre-established calibration samples and kept fixed; In step S102, the number of multiple base cluster partitions is N, where N≥2, and the normalized mutual information between base cluster partitions P and P' is: ; Where MI represents mutual information and H represents partition entropy; the consistency score of the i-th base cluster partition and the average consistency score of all base cluster partitions are: ; Retain the base cluster partitions whose consistency scores are greater than the average consistency score; when there are no base cluster partitions that meet this condition, retain the base cluster partition that reaches the maximum consistency score. Suppose that after filtering, k basis cluster partitions are retained, and the total number of elements in the association matrix is ​​A. ab Let be the number of times sample a and sample b are assigned to the same cluster in the k basis clustering partitions; the relaxed co-association threshold is λk, 0.9≤λ≤1, which applies only to mutually distinct samples that satisfy A. ab Undirected edges are established for sample pairs ≥λk; the uncertain samples are isolated samples that do not have the above-mentioned undirected edges and are not directly discarded as noise.

3. The method for preventing derailment of rail vehicles according to claim 1, characterized in that, In step S103, the construction of the natural neighborhood includes: sorting the nearest neighbors of samples in each sub-cluster according to Euclidean distance, increasing the nearest neighbor order step by step, and using mutually nearest neighbors to form the natural neighborhood until all samples have mutually neighboring samples, or the number of samples without mutually neighboring samples no longer changes between adjacent orders; using the obtained natural neighborhood to calculate the local density ρ, calculating the distance δ from the sample to the nearest sample with a density greater than its own density, and using the maximum distance to the sample in its sub-cluster as δ for samples without higher density samples, and selecting a representative point based on the product of ρ and δ; a sub-cluster containing only one sample directly uses that sample as the representative point. In step S104, for uncertain sample u and sub-cluster Q s Its composite similarity is: ; Among them, D s (u) represents the distance from u to Q. s n s Representative point r sj The average Euclidean distance, W s (u) is the average inverse distance weight, R s (u) represents the average absolute Spearman rank correlation, and ε > 0 represents the numerical stability constant, respectively: ; Where d is the Euclidean distance, r sp This is the Spearman rank correlation coefficient calculated by averaging the ranks of the eigenvectors under the same feature order; when the variance of any rank vector is zero, r... sp Set to zero; when composite similarity is tied, prioritize the sub-cluster with the higher average local density of representative points, and if they are still tied, determine the affiliation according to the preset sub-cluster number.

4. The method for preventing derailment of rail vehicles according to claim 1, characterized in that, In step S105, the two updated subclusters Q s 'With Q t The similarity S between ' st and dissimilarity cost c st They are respectively: ; Where, n s and n t r represents the number of representative points in the two subclusters, respectively. sa and r tb Let be the representative points of the corresponding sub-clusters, ε>0; use Prim's algorithm to construct the minimum spanning tree, the target number of clusters satisfies 1≤K≤L, where L is the total number of sub-clusters.

5. The method for preventing derailment of rail vehicles according to claim 1, characterized in that, In step S106, the confirmed health status of the reference samples includes the normal status and the fault status of at least one bogie component; the proportion of the reference samples with confirmed health status in each final cluster is calculated, and the health status corresponding to the maximum proportion is taken as the calibration status of the final cluster only when the total number of reference samples reaches the preset minimum number, the maximum proportion of reference samples reaches the preset consistency rate threshold, and the maximum proportion of reference samples is unique. Normal status corresponds to normal test results, fault status corresponds to test results including faulty components and fault types, and other situations correspond to results pending verification. The fault states include at least one of the following: motor bearing fault, gear tooth missing fault, axle box bearing fault, and multi-component composite fault; confirmation is made based on the detection results of consecutive time windows in the same original acquisition record and the same combination of measurement points, i.e., continuous confirmation; when the same fault state occurs consecutively to reach the preset number of time windows, the corresponding fault prompt and the original window time identifier are output; invalid windows, missing windows, normal results, other fault states, or results pending verification all interrupt the continuous confirmation.

6. The method for preventing derailment of rail vehicles according to claim 1, characterized in that, In step S107, the handling strategy establishes a corresponding relationship according to vehicle model, faulty component, and fault type, including handling level, speed limit value, traction permission status, parking request, and maintenance items; the handling level includes review, restricted operation, and parking inspection; the restricted operation strategy restricts traction through the vehicle controller and reduces the vehicle speed according to the configured braking mode when the actual vehicle speed exceeds the speed limit value; the parking inspection strategy requests to restrict traction and executes parking braking; when there are multiple confirmed component faults, the lowest speed limit value in the matching strategy is adopted; when any matching strategy requires parking, the parking inspection strategy is adopted. The validity period of the verification data includes: the confirmation sequence of the fault prompt ends with the time window of the latest completed test of the same object; the difference between the result output time and the end time of the last window of the confirmation sequence does not exceed the preset result validity period; and the vehicle identification, bogie identification, acquisition session, and current operating mode are consistent with the controlled object; the actual vehicle speed is obtained from the vehicle controller interface and is not replaced by the nominal rotation frequency of the motor; historical records are used to generate maintenance analysis results and notifications and do not directly trigger online vehicle control; when data expires, status is pending verification, or continuous confirmation is not met, a verification task is generated and data is re-acquired. The execution feedback includes the request reception status, the restriction or stop execution status, and the actual vehicle speed. If no valid feedback is received after the preset feedback waiting time, an execution unconfirmed alarm is output and the unresolved restriction request is retained. The maintenance notification includes the fault object, the original window range, and the inspection, adjustment, or replacement items, and is associated with the maintenance receipt with an event identifier. Before lifting the restriction, the maintenance completion and component inspection qualification records are checked. Steps S101 to S106 are re-executed for new valid collection records. The retest window is confirmed to be normal after a preset number of consecutive tests, and there are no unresolved related faults or higher priority restrictions before the authorized reset command is accepted.

7. The method for preventing derailment of a rail vehicle according to claim 1, characterized in that, Save the bogie identifier, measuring point identifier, working condition identifier, and time window identifier of each feature sample according to the original acquisition record. Combine the reference sample with the current sample to be tested according to the preset batch sample capacity and then execute steps S102 to S106. When the feature configuration of this batch is invalid, no initial cluster is formed, no representative point is obtained, or the number of sub-clusters after adjusting the local subdivision according to the preset rules is still less than the target number of clusters, output the result to be reviewed and the corresponding reason identifier.

8. A rail vehicle derailment prevention control device, characterized in that, include: The module consists of a feature construction module, an initial cluster construction module, a local representation module, an uncertain sample allocation module, a global topology module, and a state detection module, which are connected in sequence. The feature construction module is used to acquire synchronous sensing signals from the bogie traction motor, gearbox, and axle box, extract and standardize features, and form a feature sample set including the sample to be detected and reference samples with confirmed health status. The initial cluster construction module is used to generate multiple base cluster partitions, and to filter them using the normalized mutual information score between the base cluster partitions. Based on the filtered base cluster partitions, a relaxed co-association graph is constructed to obtain an initial cluster composed of non-isolated connected components and an uncertain sample set composed of isolated samples. The local representative module is used to subdivide each initial cluster locally using K-means++, and select representative points in each sub-cluster using the natural neighborhood density and the distance to higher density samples; The uncertain sample allocation module is used to calculate the composite similarity by combining the average Euclidean distance, the average inverse distance weight, and the average absolute Spearman rank correlation, and allocate the uncertain samples generated in the initial cluster construction module according to the maximum value of the composite similarity. The global topology module is used to construct sub-cluster similarity based on representative points, convert sub-cluster similarity into dissimilarity cost, construct minimum spanning tree, cut the maximum cost edge according to the preset target number of clusters, and merge to obtain the final cluster; The status detection module is used to calibrate the final cluster based on the confirmed health status of the reference sample, and output the normal, faulty, or pending verification result of the sample to be detected.

9. A rail vehicle derailment prevention control device, comprising a processor, a memory, and a communication interface; the communication interface is used to receive bogie acquisition signals, exchange operating status and control requests with the vehicle controller, and output alarms and maintenance notifications; the memory stores a computer program, which, when executed by the processor, implements the method described in any one of claims 1-7.

10. A computer-readable storage medium having a computer program stored thereon, the computer program, when executed by a processor, implementing the method of any one of claims 1-7.

Citation Information

Patent Citations

  • Railway vehicle bogie fault diagnosis method, system, equipment and medium

    CN122863460A