A train length automatic detection device and method

By combining ground and onboard units, the train length is automatically calculated using sensors and satellite positioning information, solving the problems of cumbersome manual operation and high cost in existing technologies, and realizing intelligent detection of train length and wide applicability.

CN115571195BActive Publication Date: 2024-11-01CASCO SIGNAL LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211412620.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-11
Publication Date
2024-11-01
Estimated Expiration
2042-11-11

AI Technical Summary

Technical Problem

Existing technologies require manual operation when calculating train length, resulting in a large workload, high cost, and limited applicability, failing to meet the intelligent requirements of train control systems.

Method used

By combining ground-based and onboard units, the system monitors the arrival and departure times of the train's front and rear ends using sensors and calculates the train's length using satellite positioning information, thus achieving automatic detection.

Benefits of technology

It enables automatic detection of train length, improves the level of intelligence, reduces labor intensity and maintenance workload, has a wider range of applications, and does not rely on trackside equipment such as track circuits.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115571195B_ABST
    Figure CN115571195B_ABST
Patent Text Reader

Abstract

The present invention provides a train length automatic detection device and method, which are used to measure the length of a train passing through a measurement position; the device includes a ground unit and a vehicle-mounted unit that can communicate with each other, wherein: the ground unit is arranged at the ground end, and includes a sensor for monitoring the measurement position, the ground unit is used to monitor and record the first time when the front end of the train arrives at the measurement position and sends it to the vehicle-mounted unit, and to record the second time when the end of the train leaves the measurement position and sends it to the vehicle-mounted unit; the vehicle-mounted unit is arranged at the train end, and is used to receive the first and second times sent by the ground unit, and obtain the first and second running distances of the accumulated running of the train corresponding to the first and second times, and then calculate the train length based on the first and second running distances. The present invention does not rely on trackside equipment conditions such as track circuits and axle counters, improves the intelligence level of the train control system, and conforms to the technical development direction of intelligent sensing and perception of the operating environment of the train control system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of rail transportation, and in particular to a train length automatic detection device and method. Background Art

[0002] After the coupling operation, the driver needs to manually calculate the total length of the train based on the length change information in the train formation sequence table and then input it into the train control system. The accuracy of the train length data depends on the driver, which introduces uncontrollable factors to driving safety.

[0003] In the prior art, the methods for calculating the train length by equipment are:

[0004] 1) Calculate the train length by installing positioning equipment on the locomotive and the rear car. This method requires train maintenance personnel to manually install it on the rear car after marshaling is completed, which is labor-intensive and inconvenient to maintain.

[0005] 2) Install active electronic tags on the locomotive and each vehicle to calculate the train length. This method has high installation costs and inconvenient maintenance;

[0006] 3) The train length is calculated by calculating the displacement of the train by the front and rear of the train passing through the insulating joint continuously. This method requires the installation of track circuits beside the track and has limited application scope. Summary of the invention

[0007] The purpose of the present invention is to provide a train length automatic detection device and method, which is based on pattern recognition technology, does not rely on track circuits, axle counters and other trackside equipment conditions, improves the intelligence level of the train control system, and conforms to the technical development direction of intelligent sensing and perception of the train control system operating environment.

[0008] To achieve the above object, the present invention is implemented through the following technical solutions:

[0009] A train length automatic detection device is used to measure the length of a train passing through a measurement position, comprising a ground unit and a vehicle-mounted unit that can communicate with each other, wherein:

[0010] The ground unit is arranged at the ground end, and includes a sensor for monitoring the measurement position. The ground unit is used to monitor and record a first time when the front end of the train arrives at the measurement position and sends it to the on-board unit, and to record a second time when the rear end of the train leaves the measurement position and sends it to the on-board unit;

[0011] The on-board unit is arranged at the train end, and is used for receiving the first and second times sent by the ground unit, and obtaining the first and second accumulated running distances of the train corresponding to the first and second times, and then calculating the train length based on the first and second running distances.

[0012] Optionally, the vehicle-mounted unit includes:

[0013] An on-vehicle communication module communicates with the ground unit and receives the first and second times;

[0014] The on-board detection module is electrically connected to the on-board communication module, and is used to receive the first and second times from the on-board communication module, and obtain a first running distance corresponding to the first time and a second running distance corresponding to the second time, and then calculate the difference between the first and second running distances to obtain the train length.

[0015] Optionally, the ground unit further includes:

[0016] A ground sensing module, electrically connected to the sensor, for receiving and processing the sensing signal output by the sensor, determining and recording a first time when the front end of the train arrives at the measurement position, and a second time when the rear end of the train leaves the measurement position;

[0017] The ground communication module is electrically connected to the ground sensing module and can communicate with the vehicle-mounted communication module of the vehicle-mounted unit, and is used to send the first time and the second time recorded by the ground sensing module to the vehicle-mounted unit.

[0018] Optionally, the sensor is a visual sensor disposed near the measuring position, and its field of view is capable of capturing images of the train when it passes through the measuring position.

[0019] Optionally, the visual sensor is arranged directly above the track and collects images perpendicularly downward to the ground.

[0020] Optionally, the ground perception module includes a visual processing submodule, which can capture a train passing through the measurement position in the video output by the visual sensor through machine vision, and can monitor when the front end of the train arrives at the measurement position and when the end of the train leaves the measurement position.

[0021] Optionally, the ground perception module divides the field of view of the visual sensor into two half fields of view along the track direction, and the vertical plane where the middle dividing line is located is the measurement position. When the front end of the train arrives at the measurement position, it means when the image of the front end of the train only fills one of the half fields of view. When the end of the train leaves the measurement position, it means when the image of the end of the train only fills one of the half fields of view.

[0022] Optionally, the ground communication module and the vehicle-mounted communication module are satellite communication ground devices based on the same satellite, the ground communication module communicates with the vehicle-mounted communication module through the satellite, and can obtain satellite clock information from the satellite, so that the vehicle-mounted unit and the ground unit work based on the same time standard;

[0023] The first and second times are satellite clock information acquired by the ground unit from the satellite.

[0024] Optionally, the on-board communication module can obtain satellite positioning information corresponding to the satellite clock information from the satellite, and the on-board detection module calculates the cumulative travel distance of the train corresponding to the satellite clock information based on the satellite positioning information;

[0025] The vehicle-mounted communication module obtains first and second satellite positioning information corresponding to the first and second times from the satellite, and then the vehicle-mounted detection module calculates the first and second travel distances based on the first and second satellite positioning information.

[0026] Optionally, the vehicle-mounted communication module periodically obtains satellite clock information T from the satellite in advance. i and T i Corresponding satellite positioning information D i , and based on D i Calculate the T i The corresponding train cumulative running distance information S i , and then T i and S i Composed of time distance pairs (T i , S i ) is cached in the vehicle-mounted detection module, and the cache period is within the most recent time period N.

[0027] Optionally, when the vehicle-mounted communication module receives the first time T from the ground unit a / Second time T b When the vehicle detection module is based on T a / T b From the cached time distance pairs (T i , S i ), find out a / T b The clock information of the closest satellite before and after T n-1 , T n / T m-1 , T m ;

[0028] Then, based on T a / T b and time distance pair (T n-1 , S n-1 )、(T n , S n ) / (T m-1 , S m-1 )、(T m , S m ) Calculate the first / second travel distance S a / S b , the calculation formula is:

[0029] S a =((S n -S n-1 )×(T a –T n-1 )) / (T n –T n-1 )+S n-1 ;

[0030] S b =((S m -S m-1 )×(T b –T m-1 )) / (T m –T m-1 )+S m-1 ;

[0031] Finally, based on the first travel distance S a and the second travel distance S b Calculate the train length L using the formula:

[0032] L=S b -S a .

[0033] Optionally, the satellite is a Beidou satellite, the ground communication module and the vehicle-mounted communication module are Beidou ground equipment, and the two communicate through Beidou short messages. The first and second time and satellite clock information are Beidou clock information, and the satellite positioning information is Beidou positioning information.

[0034] Optionally, there are multiple sensors, which are arranged one-to-one at the measuring position of each track.

[0035] A method for automatically detecting train length, implemented based on any one of the above-mentioned automatic train length detection devices, comprises the steps of:

[0036] S1. The vehicle-mounted unit periodically obtains Beidou clock information T from the Beidou satellite in advance i and T i Corresponding Beidou positioning information D i , and based on D i Calculate the T i The corresponding train cumulative running distance information S i , and then T i and S i Composed of time distance pairs (T i , S i ) is cached in the vehicle detection module, and the cache period is within the most recent time period N;

[0037] S2. Set the measurement position. When the front end of the train reaches the measurement position, the ground unit records the first time T a, and T a Send to the on-board unit;

[0038] S3, the on-board unit based on the first time T a and the cached time distance pair (T i , S i ) Calculate the first travel distance S a ;

[0039] S4. When the end of the train leaves the measurement position, the ground unit records the second time T b , and T b Send to the on-board unit;

[0040] S5, the on-board unit based on the second time T b and the cached time distance pair (T i , S i ) Calculate the second travel distance S b ;

[0041] S6, vehicle-mounted unit according to S a With S b The train length is calculated from the difference.

[0042] Optionally, in step S3, the onboard unit a , from the cached time distance pair (T i , S i ) to find out the a The clock information of the closest satellite before and after T n-1 and T n , then based on T a and time distance pair (T n-1 , S n-1 )、(T n , S n ) Calculate the first travel distance S a , the calculation formula is:

[0043] S a =((S n -S n-1 )×(T a –T n-1 )) / (T n –T n-1 )+S n-1 ;

[0044] In step S5, the onboard unit calculates the time according to the second time T b , from the cached time distance pair (T i , S i ) to find out the b The clock information of the closest satellite before and after T m-1and T m , then based on T b and time distance pair (T m-1 , S m-1 )、(T m , S m ) Calculate the second travel distance S b , the calculation formula is:

[0045] S b =((S m -S m-1 )×(T b –T m-1 )) / (T m –T m-1 )+S m-1 .

[0046] Optionally, in step S2, the sensor is a visual sensor that is arranged directly above the track and collects images perpendicularly to the ground. The method for setting the measurement position is: the ground unit divides the field of view of the visual sensor into two half fields of view along the track direction, and the vertical plane where the dividing line in the middle is located is the measurement position.

[0047] In summary, compared with the prior art, the automatic train length detection device and method provided by the present invention has the following beneficial effects:

[0048] 1. It can automatically detect the length of the train and improve the intelligent level of freight train driving;

[0049] 2. It is not dependent on track circuits, axle counters, signal machines and other trackside equipment, and is applicable to a wider range of line conditions;

[0050] 3. There is no need to install related equipment at the end of the train or on each vehicle, which reduces the labor intensity and maintenance workload of locomotive / vehicle maintenance. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 It is a schematic diagram of the automatic train length detection device of the present invention;

[0052] Figure 2 A schematic diagram of the visual field division and measurement position of the visual sensor of the present invention;

[0053] Figure 3 The figure is a flow chart of the method for automatically detecting train length of the present invention. DETAILED DESCRIPTION

[0054] The following is a further detailed description of an automatic train length detection device and method proposed by the present invention in conjunction with the accompanying drawings and specific implementation methods. According to the following description, the advantages and features of the present invention will become clearer. It should be noted that the accompanying drawings are in a very simplified form and use non-precise proportions. They are only used to conveniently and clearly assist in explaining the purpose of the implementation method of the present invention, and are not used to limit the limiting conditions for the implementation of the present invention. Therefore, they have no technical substantive significance. Any structural modification, change in proportional relationship or adjustment of size should still fall within the scope of the technical content disclosed by the present invention without affecting the efficacy and purpose that can be achieved by the present invention.

[0055] It should be noted that, in the present invention, relational terms such as and are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only the elements explicitly listed, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0056] Combined with Figures 1 to 3 The present invention provides a train length automatic detection device and method for measuring the length of a train passing through a measuring position C, wherein the measuring position C may be an area. Preferably, the measuring position C is a vertical plane or line perpendicular to the track, which has higher measurement accuracy.

[0057] As attached Figure 1 As shown, the train length automatic detection device includes a ground unit and a vehicle-mounted unit that can communicate with each other, wherein:

[0058] The ground unit is arranged at the ground end, and is used to monitor the train passing through the measurement position C, and record the first time when the front end of the train arrives at the measurement position C and sends it to the on-board unit, and record the second time when the rear end of the train leaves the measurement position C and sends it to the on-board unit; it includes:

[0059] A sensor is arranged near the measuring position C, and is used for outputting a sensor signal when the train passes through the measuring position C; preferably, in some embodiments, the sensor is a visual sensor arranged near the measuring position C, and its field of view can collect images when the train passes through the measuring position C. The use of the visual sensor does not rely on track circuits, axle counters, signal lights and other trackside equipment, and is applicable to a wider range of line conditions; more preferably, in some embodiments, the visual sensor is arranged directly above the track at the measuring position C, and collects images vertically downward from the ground, and the post-processing results are more accurate; preferably, there are multiple sensors, which are arranged one-to-one at the measuring position of each track, and measurements can be performed on multiple tracks.

[0060] A ground sensing module is electrically connected to the sensor, and is used to receive and process the sensor signal output by the sensor, determine and record the first time when the front end of the train arrives at the measurement position C, and the second time when the end of the train leaves the measurement position C; preferably, in the embodiment in which the sensor is a visual sensor, the ground sensing module includes a visual processing submodule, which can capture the train passing through the measurement position C in the video output by the visual sensor through machine vision, and can monitor when the front end of the train arrives at the measurement position C and when the end of the train leaves the measurement position C; further, more preferably, in the embodiment in which the visual sensor is arranged just above the track and collects images perpendicularly downward from the ground, as shown in the attached Figure 2 As shown, the ground perception module divides the visual field A of the visual sensor into two half-fields along the track direction: the upper half field of view A1 and the lower half field of view A2, and sets the vertical plane where the dividing line between the upper half field of view A1 and the lower half field of view A2 is located as the measurement position C. The front end of the train arrives at the measurement position C when the image of the front end of the train fills only one of the half fields of view, and the end of the train leaves the measurement position C when the image of the end of the train fills only one of the half fields of view. This embodiment can have a more accurate measurement result;

[0061] A ground communication module, electrically connected to the ground sensing module, capable of communicating with the vehicle-mounted unit, and used to send the first time and the second time recorded by the ground sensing module to the vehicle-mounted unit;

[0062] The on-board unit is arranged at the train end, and communicates with the ground unit to receive the first time and the second time, and obtains the first running distance of the train corresponding to the first time and the second running distance of the train corresponding to the second time, and then calculates the difference between the first and second running distances to obtain the train length; including:

[0063] The vehicle-mounted communication module communicates with the ground communication module of the ground unit and is used to receive the first time and the second time;

[0064] The on-board detection module is electrically connected to the on-board communication module, and is used to receive the first time and the second time from the on-board communication module, and obtain the first cumulative running distance of the train corresponding to the first time and the second cumulative running distance of the train corresponding to the second time, and then calculate the difference between the first and second running distances to obtain the train length.

[0065] Preferably, in some embodiments, the ground communication module and the vehicle-mounted communication module are satellite communication ground devices based on the same satellite. The ground communication module communicates with the vehicle-mounted communication module through the satellite and can obtain satellite clock information from the satellite, so that the vehicle-mounted unit and the ground unit work based on the same time standard. The first and second times are the satellite clock information obtained by the ground unit from the satellite. This embodiment can unify the time standards of the vehicle-mounted unit and the ground unit and make the measurement more accurate. Further, more preferably, in some embodiments, the vehicle-mounted communication module can obtain satellite positioning information corresponding to the satellite clock information while obtaining satellite clock information from the satellite, and the vehicle-mounted detection module calculates the accumulated running distance of the train corresponding to the satellite clock information based on the satellite positioning information through the algorithm of the prior art. The first and second running distances are obtained by the vehicle-mounted communication module obtaining the first and second satellite positioning information corresponding to the first and second times from the satellite, and then calculated by the vehicle-mounted detection module. This embodiment can achieve the first and second running distances only by connecting the device of the present invention to the satellite without the need for other external devices.

[0066] However, due to the data processing and transmission delay in the above embodiment, when the on-board unit receives the first and second times from the ground unit, the current time has passed the first and second times. At this time, the first and second satellite positioning information obtained by the on-board communication module from the satellite no longer correspond to the first and second times, so the first and second travel distances calculated by the on-board detection module are also not corresponding to the first and second times, resulting in measurement result errors. Therefore, more preferably, in some embodiments, the on-board communication module periodically obtains satellite clock information T from the satellite in advance. i and T i Corresponding satellite positioning information D i , and the vehicle detection module is based on D i Calculate the T i The corresponding train cumulative running distance information S i , and then T i and S i Composed of time distance pairs (T i , S i ) is cached in the vehicle detection module, and the cache period is within the most recent time period N, that is, i=1,2...N;

[0067] The time interval for the vehicle-mounted communication module to periodically acquire information from the satellite is set according to actual needs, and is 1s in this embodiment; the value of N is mainly considered in terms of the duration of data processing and transmission delay, and in this embodiment, N=10s;

[0068] When the vehicle communication module receives the first time T from the ground unit a When the vehicle detection module is based on T a From the cached time distance pairs (T i , S i ), find out a The clock information of the closest satellite before and after T n-1 and T n , that is: T n-1 ≤T a ≤T n ;

[0069] Then, based on T a and time distance pair (T n-1 , S n-1 )、(T n , S n ) Calculate the first travel distance S a , the calculation formula is:

[0070] S a =((S n -S n-1 )×(T a –T n-1 )) / (T n –T n-1 )+S n-1 ;

[0071] Afterwards, when the vehicle communication module receives the second time from the ground unit, the vehicle detection module calculates the second travel distance S based on the same method. b ;

[0072] Afterwards, based on the first travel distance S a and the second travel distance S b Calculate the train length L using the formula:

[0073] L=S b -S a ;

[0074] This embodiment takes into account the influence of data processing and transmission delays. It pre-caches time-distance pairs, queries the accumulated running distance of the nearest train based on the first and second times, and then calculates the precise first and second running distances through the above algorithm, thereby obtaining the precise train length that is not affected by data delays, making the measurement result more accurate.

[0075] Further, preferably, the satellite is a Beidou satellite, the ground communication module and the vehicle communication module are Beidou ground equipment, the first and second time and satellite clock information T i Beidou clock information, satellite positioning information D i It is Beidou positioning information, and the ground communication module and the vehicle communication module communicate through Beidou short messages;

[0076] In addition, as attached Figure 3 As shown, the present invention also provides a method for automatically detecting train length, which is implemented by any of the above-mentioned automatic train length detection devices, comprising the steps of:

[0077] S1. The vehicle communication module periodically obtains Beidou clock information T from the Beidou satellite in advance i and T i Corresponding Beidou positioning information D i , and the vehicle detection module is based on D i Calculate the T i The corresponding train cumulative running distance information S i , and then T i and S i Composed of time distance pairs (T i , S i ) is cached in the vehicle detection module, and the cache period is within the most recent time period N, that is, i=1, 2...N;

[0078] S2. Setting a measurement position C, wherein the ground perception module divides the visual sensor's field of view into two half fields of view along the track direction, and the vertical plane where the dividing line in the middle is located is the measurement position C;

[0079] When the train enters the visual sensor's field of view, the ground perception module captures the train running on the corresponding track through machine vision, and when the front end of the train reaches the measurement position C, the ground perception module records the current Beidou clock information as the first time T a , and then the ground communication module transmits T a Send to the vehicle communication module;

[0080] S3, the vehicle detection module receives T a , from the cached time distance pair (T i , S i ) to find out the a The clock information of the closest satellite before and after T n-1 and T n , then based on T a and time distance pair (T n-1 , S n-1 )、(T n , S n) Calculate the first travel distance S a , the calculation formula is:

[0081] S a =((S n -S n-1 )×(T a –T n-1 )) / (T n –T n-1 )+S n-1 ;

[0082] S4. When the train end leaves the measurement position C, the ground sensing module records the current Beidou clock information as the second time T b , and the ground communication module transmits T b Send to the vehicle communication module;

[0083] S5, the vehicle detection module receives T b , from the cached time distance pair (T i , S i ) to find out the b The clock information of the closest satellite before and after T m-1 and T m , then based on T b and time distance pair (T m-1 , S m-1 )、(T m , S m ) Calculate the second travel distance S b , the calculation formula is:

[0084] S b =((S m –S m-1 )×(T b –T m-1 )) / (T m –T m-1 )+S m-1 ;

[0085] S6, vehicle detection module according to S a With S b The train length is calculated from the difference.

[0086] Furthermore, a specific embodiment of a train length automatic detection device based on Beidou satellite is provided, which includes a ground unit and a vehicle-mounted unit, wherein:

[0087] The ground unit includes:

[0088] One or more visual sensors are installed on a gantry or overhead wire support directly above one or more tracks, and the shooting direction is perpendicular to the ground and downward, and is used to collect images when the train passes the measurement position C;

[0089] The ground sensing server is installed in the central machinery room of the station and is electrically connected to each visual sensor for processing images collected by the visual sensor and Beidou short messages. In addition, the visual sensor's field of view A is divided into two half fields of view along the track direction: the upper field of view A1 and the lower field of view A2, and the vertical plane where the dividing line between the upper field of view A1 and the lower field of view A2 is located is set as the measurement position C.

[0090] The ground Beidou module is installed in the central machinery room of the station and is electrically connected to the ground sensing server. It is used to communicate with the Beidou satellite, obtain Beidou clock information from the Beidou satellite, and send and receive Beidou short messages.

[0091] The on-board unit is installed in the equipment room of the locomotive and includes:

[0092] The vehicle-mounted Beidou module is used to communicate with Beidou satellites and communicate with ground units through Beidou satellites, obtain Beidou clock information and Beidou positioning information from Beidou satellites, and send and receive Beidou short messages;

[0093] The on-board detection module is electrically connected to the on-board Beidou module and is used to process Beidou short messages, calculate and cache time-distance pairs, and calculate the cumulative travel distance and train length of the train.

[0094] There can be multiple on-board units, with one configured for each train.

[0095] In summary, the present invention provides an automatic train length detection device and method, which can realize automatic detection of train length and improve the intelligent level of freight train driving; it does not rely on track circuits, axle counters, signal lights and other trackside equipment, and is applicable to a wider range of line conditions; there is no need to install related equipment at the end of the train or on each vehicle, thereby reducing the labor intensity and maintenance workload of locomotive / vehicle maintenance.

[0096] Although the content of the present invention has been described in detail through the above preferred embodiments, it should be appreciated that the above description should not be considered as a limitation of the present invention. After reading the above content, it will be apparent to those skilled in the art that various modifications and substitutions of the present invention will occur. Therefore, the protection scope of the present invention should be limited by the appended claims.

Claims

1. An automatic train length detection device for measuring the length of a train passing through a measuring position, characterized in that: It includes a ground unit and a vehicle-mounted unit that can communicate with each other, including: The ground unit is arranged at the ground end, and is used to monitor and record the first time when the front end of the train arrives at the measurement position and send it to the vehicle-mounted unit, and record the second time when the rear end of the train leaves the measurement position and send it to the vehicle-mounted unit; the ground unit includes: a sensor for monitoring the measurement position, a ground sensing module, and a ground communication module; The ground sensing module is electrically connected to the sensor, and is used to receive and process the sensing signal output by the sensor, and to determine and record the first time when the front end of the train arrives at the measurement position, and the second time when the rear end of the train leaves the measurement position; The ground communication module is electrically connected to the ground sensing module and can communicate with the vehicle-mounted communication module of the vehicle-mounted unit, and is used to send the first time and the second time recorded by the ground sensing module to the vehicle-mounted unit; The onboard unit is arranged at the train end, and is used to receive the first and second times sent by the ground unit, and obtain the first and second cumulative running distances of the train corresponding to the first and second times, and then calculate the train length based on the first and second running distances; The vehicle-mounted unit comprises: An on-vehicle communication module communicates with the ground unit and receives the first and second times; an on-board detection module, electrically connected to the on-board communication module, for receiving the first and second times from the on-board communication module, obtaining a first running distance corresponding to the first time and a second running distance corresponding to the second time, and then calculating the difference between the first and second running distances to obtain the train length; The ground communication module and the vehicle communication module are satellite communication ground equipment based on the same satellite. The ground communication module communicates with the vehicle communication module through the satellite and can obtain satellite clock information from the satellite, so that the vehicle unit and the ground unit work based on the same time standard; The first and second times are satellite clock information acquired by the ground unit from the satellite; The on-board communication module can obtain satellite positioning information corresponding to the satellite clock information from the satellite, and the on-board detection module calculates the cumulative travel distance of the train corresponding to the satellite clock information based on the satellite positioning information; The vehicle-mounted communication module obtains first and second satellite positioning information corresponding to the first and second times from the satellite, and then the vehicle-mounted detection module calculates the first and second travel distances based on the first and second satellite positioning information; The vehicle-mounted communication module periodically obtains satellite clock information T from the satellite in advance i and T i Corresponding satellite positioning information D i , and based on D i Calculate the T i The corresponding train cumulative running distance information S i , and then T i and S i Composed of time distance pairs (T i , S i ) cached in the vehicle-mounted detection module, and the cache period is within the most recent time period N; When the vehicle communication module receives the first time T from the ground unit a / Second time T b When the vehicle detection module is based on T a / T b From the cached time distance pairs (T i , S i ), find out a / T b The clock information of the closest satellite before and after T n-1 , T n / T m-1 , T m ; Then, based on T a / T b and time distance pair (T n-1 , S n-1 )、(T n , S n ) / (T m-1 , S m-1 )、(T m , S m ) Calculate the first / second travel distance S a / S b , the calculation formula is: S a =((S n - S n-1 )×(T a – T n-1 )) / ( T n – T n-1 ) + S n-1 ; S b =((S m - S m-1 )×(T b – T m-1 )) / (T m – T m-1 ) + S m-1 ; Finally, based on the first travel distance S a and the second travel distance S b Calculate the train length L using the formula: L=S b -S a 。 2. The automatic train length detection device according to claim 1, characterized in that: The sensor is a visual sensor arranged near the measuring position, and its field of view can capture images of a train passing through the measuring position.

3. The automatic train length detection device according to claim 2, characterized in that: The visual sensor is arranged directly above the track and collects images vertically downward from the ground.

4. The automatic train length detection device according to claim 3, characterized in that: The ground perception module includes a visual processing submodule, which can capture a train passing through the measurement position in the video output by the visual sensor through machine vision, and can monitor when the front end of the train arrives at the measurement position and when the end of the train leaves the measurement position.

5. The automatic train length detection device according to claim 4, characterized in that: The ground perception module divides the visual sensor's field of view into two half fields of view along the track direction, and the vertical plane where the dividing line in the middle is located is the measurement position. When the front end of the train arrives at the measurement position, it means when the image of the front end of the train only fills one of the half fields of view. When the end of the train leaves the measurement position, it means when the image of the end of the train only fills one of the half fields of view.

6. The automatic train length detection device according to claim 1, characterized in that: The satellite is a Beidou satellite, the ground communication module and the vehicle-mounted communication module are Beidou ground equipment, and the two communicate via Beidou short messages. The first and second time and satellite clock information are Beidou clock information, and the satellite positioning information is Beidou positioning information.

7. The automatic train length detection device according to claim 1, characterized in that: There are multiple sensors, which are arranged at the measuring position of each track in a one-to-one correspondence.

8. A method for automatically detecting train length, implemented based on the automatic train length detection device according to any one of claims 1 to 7, characterized in that: Includes steps: S1. The vehicle-mounted unit periodically obtains Beidou clock information T from the Beidou satellite in advance i and T i Corresponding Beidou positioning information D i , and based on D i Calculate the T i The corresponding train cumulative running distance information S i , and then T i and S i Composed of time distance pairs (T i , S i ) cached in the vehicle detection module, and the cache period is within the most recent time period N; S2. Set the measurement position. When the front end of the train reaches the measurement position, the ground unit records the first time T a , and T a Send to the vehicle-mounted unit; S3, the on-board unit based on the first time T a and the cached time distance pair (T i , S i ) Calculate the first travel distance S a ; The on-board unit is based on the first time T a , from the cached time distance pairs (T i , S i ) to find out the a The clock information of the closest satellite before and after T n-1 and T n , then based on T a and time distance pair (T n-1 , S n-1 )、(T n , S n ) Calculate the first travel distance S a , the calculation formula is: S a =((S n - S n-1 ) × (T a – T n-1 )) / ( T n – T n-1 ) + S n-1 ; S4. When the end of the train leaves the measurement position, the ground unit records the second time T b , and T b Send to the on-board unit; S5, the on-board unit based on the second time T b and the cached time distance pair (T i , S i ) Calculate the second travel distance S b ; The on-board unit calculates the time according to the second time T b , from the cached time distance pairs (T i , S i ) to find out the b The clock information of the closest satellite before and after T m-1 and T m , then based on T b and time distance pair (T m-1 , S m-1 )、(T m , S m ) Calculate the second travel distance S b , the calculation formula is: S b =((S m - S m-1 ) × (T b – T m-1 )) / ( T m – T m-1 ) + S m-1 ; S6, vehicle-mounted unit according to S a With S b The train length is calculated from the difference.

9. The method for automatically detecting train length according to claim 8, characterized in that: In step S2, the sensor is a visual sensor that is set just above the track and collects images perpendicularly to the ground. The method for setting the measurement position is: the ground unit divides the field of view of the visual sensor into two half fields of view along the track direction, and the vertical plane where the dividing line in the middle is located is the measurement position.