Embedded track geometry detection method and device based on space-time marking
By using spatiotemporal labeling technology in the track detection system to add labels and sample alignment to sensor data, the problem of tight module coupling and timing alignment in the existing system is solved, the flexibility and stability of detection are improved, and the track geometry parameters are realized accurate calculation.
Patent Information
- Application Number
- CN202410701583.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-09-20
AI Technical Summary
When the existing track detection system detects environmental diversity and expands its functions, the modules are tightly coupled and lack time stamp information and timing alignment flexibility, making it difficult to guarantee detection stability and accuracy.
An embedded track geometry detection method based on spatio-temporal tags is adopted, and by adding time information labels and spatial information labels to multi-channel sensor data, sampling alignment processing is performed to achieve precise control of the timing of each channel and data alignment.
It improves the flexibility and stability of detection data, ensures the accuracy of track geometric parameter calculation and system scalability, and enhances technical support for track detection.
Smart Images

Figure CN118674608A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of track detection technology, and in particular to an embedded track geometry detection method and device based on time-space marking. Background Art
[0002] This section is intended to provide a background or context to the embodiments of the invention recited in the claims. No admission is made that the description herein is prior art by inclusion in this section.
[0003] Track inspection is an important means to understand the quality status of tracks, guide line maintenance and repair, and ensure driving safety. Track inspection equipment mainly includes track inspection vehicles, comprehensive inspection trains, etc. Track inspection vehicles are track inspection equipment widely used in countries around the world. They are used to detect geometric dimensional deviations of railway tracks, including track gauge, track direction, height, superelevation (horizontal), triangular pits and other geometric irregularities. The comprehensive inspection train is a large-scale inspection equipment equipped with a track inspection system and other multi-professional inspection systems. It is mainly used to inspect the status of high-speed railway infrastructure. There are more than 50 track inspection vehicles and 16 high-speed comprehensive inspection trains, which are the main equipment for dynamic detection of geometric parameters of existing railway tracks.
[0004] At present, the data synchronization acquisition of the track inspection system is based on the QNX platform. The QNX platform adopts a multi-process concurrent mode, and the data interaction between multiple processes adopts three forms: shared memory, semaphores, and resource managers. The advantage of this system architecture is that the operating system can accurately control the interrupt response sequence, achieve accurate control of the timing between acquisition, interaction and synthesis models, and realize real-time detection. However, with the diversity of the detection environment and the continuous changes in customer needs, the disadvantages of the above system architecture have gradually become prominent, mainly manifested in: the tight coupling of each module makes any modification extremely complicated and time-consuming; the lack of timestamp information leads to extremely high requirements for the accuracy of timing control in the existing system, and lacks the flexibility and controllability of the timing alignment of each channel. When the system detection function needs to be expanded (such as network-track fusion detection), this precise control becomes more and more complex, and the risk of stability increases.
[0005] In summary, there is an urgent need for a technical solution that can overcome the above-mentioned defects, improve detection flexibility, and ensure detection stability. Summary of the invention
[0006] In order to solve the problems existing in the prior art, the present invention proposes an embedded track geometry detection method and device based on spatiotemporal marking; the present invention solves the problems existing in the prior art of lack of spatiotemporal marking information and lack of flexible and controllable timing alignment of each channel, and improves the flexibility and controllability of multi-channel data alignment through spatiotemporal marking technology, thereby improving detection stability and accuracy.
[0007] In a first aspect of an embodiment of the present invention, a method for detecting embedded track geometry based on spatiotemporal marking is proposed, comprising:
[0008] Building an embedded track geometry detection system, and collecting detection data of multiple sensors through the embedded track geometry detection system;
[0009] According to the time information and space information corresponding to the collected detection data, adding a time information tag and a space information tag to the collected detection data of the multi-channel sensor;
[0010] Performing sampling alignment processing on the detection data according to the time information tag and the space information tag;
[0011] Real-time data processing is performed based on the detection data after sampling alignment processing to determine the calculation results of the track geometry parameters.
[0012] In a second aspect of an embodiment of the present invention, an embedded track geometry detection device based on spatiotemporal marking is proposed, comprising:
[0013] A data acquisition module is used to collect detection data from multiple sensors;
[0014] A label adding module, used for adding a time information label and a space information label to the detection data collected by the multi-channel sensor according to the time information and space information corresponding to the collected detection data;
[0015] An alignment processing module, used for performing sampling alignment processing on the detection data according to the time information tag and the space information tag;
[0016] The data processing module is used to perform real-time data processing based on the detection data after sampling alignment processing to determine the calculation results of the track geometry parameters.
[0017] In a third aspect of an embodiment of the present invention, a computer device is proposed, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements an embedded track geometry detection method based on spatiotemporal marking when executing the computer program.
[0018] In a fourth aspect of an embodiment of the present invention, a computer-readable storage medium is proposed, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, an embedded track geometry detection method based on spatiotemporal marking is implemented.
[0019] In a fifth aspect of an embodiment of the present invention, a computer program product is proposed. The computer program product includes a computer program. When the computer program is executed by a processor, an embedded track geometry detection method based on spatiotemporal marking is implemented.
[0020] The embedded track geometry detection method and device based on spatiotemporal tagging proposed in the present invention collect detection data from multiple sensors; add time information tags and space information tags to the detection data collected from the multiple sensors according to the time information and space information corresponding to the collected detection data; perform sampling alignment processing on the detection data according to the time information tags and space information tags; perform real-time data processing on the detection data after the sampling alignment processing to determine the calculation results of track geometry parameters. The overall solution can achieve precise control of the timing of each channel of the system by performing spatiotemporal tagging and sampling alignment processing on the data collected by the multiple sensors, eliminate the tight coupling of each module, expand the detection function of the system, improve the stability of the system, and provide strong data support and technical support for track detection scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0022] Figure 1 It is a schematic flow chart of an embedded track geometry detection method based on spatiotemporal labeling according to an embodiment of the present invention.
[0023] Figure 2 It is a schematic diagram of the architecture relationship of an embedded track geometry detection system according to an embodiment of the present invention.
[0024] Figure 3 It is a schematic diagram of data flow relationship of an embodiment of the present invention.
[0025] Figure 4 It is a flowchart of synchronization processing according to an embodiment of the present invention.
[0026] Figure 5 It is a schematic diagram of the structure of data storage according to an embodiment of the present invention.
[0027] Figure 6 It is a schematic diagram of a data alignment process according to an embodiment of the present invention.
[0028] Figure 7 It is a data schematic diagram of multiple channels according to an embodiment of the present invention.
[0029] Figure 8 It is a schematic diagram of the architecture of an embedded track geometry detection device based on spatiotemporal marking according to an embodiment of the present invention.
[0030] Fig. 9It is a schematic diagram of the structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0031] The principles and spirit of the present invention will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided only to enable those skilled in the art to better understand and implement the present invention, and are not intended to limit the scope of the present invention in any way. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.
[0032] Those skilled in the art will appreciate that the embodiments of the present invention may be implemented as a system, device, apparatus, method or computer program product. Therefore, the present disclosure may be specifically implemented in the following forms, namely: complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.
[0033] According to an embodiment of the present invention, an embedded track geometry detection method and device based on spatiotemporal marking are proposed, which relates to the field of track detection technology. The present invention realizes data collection of each sensor by building an embedded track geometry detection system; spatiotemporal marking is performed on the data collected from different sensors; sampling and alignment processing is performed on the collected data according to the spatiotemporal marking; and the data after spatiotemporal alignment is sent to the algorithm to calculate the track geometry parameters at different spatial positions.
[0034] The principle and spirit of the present invention are explained in detail below with reference to several representative embodiments of the present invention.
[0035] Figure 1 FIG. 1 is a flow chart of an embedded track geometry detection method based on spatiotemporal labeling according to an embodiment of the present invention. Figure 1 As shown, the method includes:
[0036] S101, building an embedded track geometry detection system, and collecting detection data of multiple sensors through the embedded track geometry detection system;
[0037] S102, adding a time information tag and a space information tag to the detection data collected by the multi-channel sensor according to the time information and space information corresponding to the collected detection data;
[0038] S103, performing sampling alignment processing on the detection data according to the time information tag and the space information tag;
[0039] S104, performing real-time data processing according to the detection data after the sampling alignment processing to determine the calculation results of the track geometry parameters.
[0040] In order to explain the above-mentioned embedded track geometry detection method based on spatiotemporal marking more clearly, each step is described in detail below.
[0041] In one embodiment, for S101, an embedded track geometry detection system is built, and detection data of multiple sensors are collected through the embedded track geometry detection system.
[0042] The embedded track geometry detection system is provided with a data interface, which is connected to a front-end mileage positioning server, a vehicle acceleration sensor, a digital ground marker sensor (ALD, Automatic Location Detector), an inertial sensor component and a laser camera component for collecting detection data.
[0043] refer to Figure 2 , is a schematic diagram of the architecture of an embedded track geometry detection system according to an embodiment of the present invention. Figure 2 As shown in the figure, the raw data of the mileage positioning server, vehicle acceleration sensor, ALD, inertial group and camera component are collected into the internal cache of the embedded track geometry detection system through the onboard 422 serial port and CAN port.
[0044] Speed encoder, (microsecond) counter: provide counting information and coding information; for time tag, under the control of the internal clock of the embedded track geometry detection system, the detection data is collected according to the different frequencies and data volumes corresponding to the multiple sensors, and the counting information of the microsecond counter is superimposed on the detection data as the time information tag; for space tag, the speed encoder is used to provide an external trigger interrupt for the data sampling of the embedded track geometry detection system, and is associated with the vehicle running speed, and the coding information of the speed encoder is superimposed on the detection data as the space information tag.
[0045] The mileage positioning server processes the mileage information and determines the position data during track detection.
[0046] 422 serial port, a serial communication interface, used for data transmission. Figure 2 , the 422 serial port is used to transmit the raw data of the vehicle acceleration sensor and the mileage information of the mileage positioning server.
[0047] The body acceleration sensor is used to provide information about the body acceleration, which is used to analyze the dynamic characteristics of the track.
[0048] ALD (Digital Ground Marking Sensor), collects track marking information related to the train.
[0049] IMU refers to the inertial measurement unit (IMU), which is used to provide dynamic data of train movement.
[0050] Camera components provide visual data for track inspection.
[0051] Track inspection image processor: used to process the image data captured by the camera component to extract the geometric information of the track.
[0052] CAN port 1, CAN port 2, CAN port 3, and CAN port 4 represent different CAN interfaces, which are used to connect different sensors and devices and transmit data through the CAN bus.
[0053] Internal clock: provides a unified time base for the system.
[0054] Data overlay time and space tags are used to overlay time and space information onto the original data during data collection to ensure the time and space synchronization of the data.
[0055] The collected data is further processed and analyzed through the data processing server.
[0056] The embedded track geometry detection system will collect raw data of different frequencies and data volumes in multiple channels under the control of a unified internal clock.
[0057] refer to Figure 3 , is a schematic diagram of data flow relationship of an embodiment of the present invention. Figure 3 As shown in the figure, the external 50M and 200MHZ clock chips provide clock signals for the internal logic processing of the FPGA. The 16M clock chip provides timing information for the CAN bus interface chip. The register read-write module reads the program information stored in the external EEPROM (Electrically Erasable Programmable Read-Only Memory) after power-on, and configures the FPGA internal input logic, data packaging, data reading and other modules. The external data interface part can send the divided frequency pulse to the external device through the trigger output module, and receive the vehicle acceleration and mileage positioning information through the RS422 interface. The embedded track geometry detection system peripheral CAN bus interface converts the data into a high-speed serial interface through the CAN bus interface chipset and sends it to the FPGA data receiving module. An independent FIFO is set up for each channel data to cope with the differences in data frequency and data volume. Under the control of the unified clock and internal logic of the FPGA, the data space and time information are packaged according to the specific communication protocol and sent to the data output module. The data processing module sends the packaged data to the GIGE conversion module according to the pre-set timing relationship. The module sends the converted data to the GIGE interface chip, which converts the data packet into the standard GIGE protocol format and sends it to the back-end PC device.
[0058] exist Figure 3In the system, DDR controller is a double data rate (DDR) memory controller, which is used to manage system memory. Cameralink base is a high-speed camera interface standard. MIG is a memory interface generator, which is used to generate hardware related to memory interface. DDR3 is the third generation of double data rate synchronous dynamic random access memory, which is used for system data storage.
[0059] In one embodiment, for S102, according to the time information and space information corresponding to the collected detection data, a time information tag and a space information tag are added to the collected detection data of the multi-channel sensor. The specific process is as follows:
[0060] Under the control of the internal clock of the embedded track geometry detection system, detection data are collected according to different frequencies and data volumes corresponding to the multiple sensors, and the counting information of the microsecond counter is superimposed on the detection data as a time information tag;
[0061] The speed encoder is used to provide an external trigger interrupt for data sampling of the embedded track geometry detection system, and is associated with the vehicle running speed, and the encoding information of the speed encoder is superimposed on the detection data as a spatial information tag.
[0062] Specifically, in order to solve the problem of timing alignment of each channel, it is first necessary to superimpose the time and space marks of the acquisition moment on the data collected by the embedded acquisition platform. The time and space marks are time mark (microsecond count) and space mark (encoder count).
[0063] Time stamp: Under the control of a unified internal clock, the acquisition platform collects raw data of different frequencies and data volumes in multiple channels, and superimposes time stamps of microsecond counting.
[0064] Space marking: The photoelectric encoder provides external trigger interrupts for system sampling and is related to the train running speed. It is an important sensor. After filtering, photoelectric isolation, signal distribution and other processing, the photoelectric encoder signal under the vehicle is provided to the embedded acquisition platform for encoder counting of data space marking.
[0065] Since the track inspection image processor in the acquisition platform does not have the ability to access the encoder counter and the processing data time cannot be determined, it is impossible to record accurate time information and spatial information for the original data of the laser camera component. The present invention proposes a time-space marking method for multi-sensor data across acquisition devices. By designing a CAN-based time calibration communication protocol, the time interval calibration time and transmission delay calculation between the FPGA and the track inspection image processor are realized, solving the problem of synchronous marking of sensor time-space information across acquisition devices.
[0066] The laser camera assembly is connected to a track inspection image processor, and the embedded track geometry detection system provides a CAN interface to connect to the track inspection image processor;
[0067] The method further comprises:
[0068] A time synchronization communication protocol is set for the CAN interface; according to the time synchronization communication protocol, the time interval correction time and the transmission delay between the FPGA chip of the embedded track geometry detection system and the track inspection image processor are determined, and the time interval correction time and the transmission delay are used to synchronize the time information tag and the space information tag.
[0069] The specific processing methods are:
[0070] The FPGA chip sends a first message at a first moment, and carries a timestamp corresponding to the first moment in the first message;
[0071] The track inspection image processor receives the first message at a second moment, generates a second timestamp corresponding to the second moment locally, and extracts the first timestamp from the message;
[0072] The track inspection image processor sends a second message at a third moment, and locally generates a third timestamp corresponding to the third moment;
[0073] The FPGA chip receives the second message at a fourth moment, generates a fourth timestamp corresponding to the fourth moment locally, carries the fourth timestamp in the second message, and transmits it back to the track inspection image processor;
[0074] The track inspection image processor receives the second message and extracts a fourth timestamp from the message;
[0075] Determine the path delay and time deviation between the FPGA chip and the track inspection image processor according to the first timestamp, the second timestamp, the third timestamp and the fourth timestamp;
[0076] The track inspection image processor sends the path delay to the FPGA chip and sets the local time according to the time deviation;
[0077] When the track inspection image processor receives the inspection data from the laser camera assembly, it adds a timestamp to the inspection data according to the local time and sends it to the FPGA chip;
[0078] When receiving the detection data processed by the track inspection image processor, the FPGA chip reads the timestamp, adds the time corresponding to the recorded path delay, obtains the data time, determines the time information tag according to the data time, and searches for the space information tag corresponding to the data time through historical records.
[0079] In one embodiment, determining the path delay and time deviation between the FPGA chip and the track inspection image processor according to the first timestamp, the second timestamp, the third timestamp and the fourth timestamp includes:
[0080] Use the following calculation formula to determine the path delay and time deviation:
[0081] t2-t1=Delay+Offset;
[0082] t4-t3=Delay-Offset;
[0083] Where t1 represents the first timestamp;
[0084] t2 represents the second timestamp;
[0085] t3 represents the third timestamp;
[0086] t4 represents the fourth timestamp;
[0087] Delay indicates the path delay;
[0088] Offset indicates time deviation;
[0089] After calculation:
[0090] (t2-t1)-(t4-t3)=(Delay+Offset)-(Delay-Offset);
[0091] (t2-t1)+(t4-t3)=(Delay+Offset)+(Delay-Offset);
[0092] get:
[0093]
[0094] The time information label and the space information label of the laser camera assembly are unified with the time information labels and the space information labels of other multi-channel sensors according to Delay and Offset.
[0095] Take an actual application scenario as an example, refer to Figure 4 The specific processing process is:
[0096] S401, FPGA sends a Sync message at time t1, and carries the t1 timestamp in the Sync message;
[0097] S402, the track inspection image processor receives the Sync message at time t2, generates a t2 timestamp locally, and extracts a t1 timestamp from the message;
[0098] S403, the track inspection image processor sends a Delay_Req message at time t3 and generates a t3 timestamp locally;
[0099] S404, the FPGA receives the Delay_Req message at time t4, generates a t4 timestamp locally, and then carries the t4 timestamp in the Delay_Resp message and sends it back to the track inspection image processor;
[0100] S405, the track inspection image processor receives the Delay_Resp message and extracts the t4 timestamp from the message. Finally, the track inspection image processor node obtains a set of timestamps (t1, t2, t3, t4).
[0101] S406, calculating the path delay Daley and the time offset Offset according to the timestamps (t1, t2, t3, t4);
[0102] S407, the track inspection image processor sends the calculated Daley to the FPGA and sets its own time according to the Offset;
[0103] S408, when the track inspection image processor receives the raw data of the laser camera assembly, it adds a time stamp;
[0104] S409, when receiving the data processed by the track inspection image processor, the FPGA reads out the timestamp, adds the recorded Daley time, obtains the accurate time of the data, and finds the spatial information of this time by searching the historical records.
[0105] Based on the above processing method, the time and space information of the laser camera component can be unified with other sensors.
[0106] In one embodiment, for S103, sampling alignment processing is performed on the detection data according to the time information tag and the space information tag.
[0107] Specifically, the sensor data sampling alignment based on spatiotemporal labeling includes the following main processes: data storage and sampling alignment
[0108] The data of superimposed spatiotemporal markers are stored in an array, and the array length of each data type is 5120. The collected data is stored in a "first in, first out" process, such as Figure 5 As shown, after the data is sampled, the data is copied in a circular overwriting manner, and the storage location changes accordingly.
[0109] Data sampling alignment is performed based on the encoder pulse. When the system receives a group of encoder pulses, the system uses the microsecond count of the superimposed data of each channel as the benchmark, searches for data near the encoder pulse microsecond count in the data storage array, and performs sampling alignment. The data alignment process is as follows: Figure 6 shown.
[0110] In one embodiment, the embedded function of aligning the temporal and spatial marking of sensor data with sampling is described as follows:
[0111] The raw data of multi-source sensors received by the acquisition platform are associated through their superimposed time and space tags. After the acquisition platform completes the reception of the 422 serial port and CAN port, it outputs the detection data with added time and space information tags through the GIGE interface.
[0112] The collection platform has the following additional data to add:
[0113] 1. Absolute time: year, month, day, hour, minute, and second, mainly used to record the time of saving data.
[0114] 2. Line information: Line name - start station - end station - up / down. Every time you save data, the line information of the data will be recorded.
[0115] 3. Start or correct mileage: the unit is meter, and the host computer sets the mileage information through the serial port.
[0116] 4. Shaft encoder count: Starting from power-on, the encoder count is accumulated. Through the mileage information and encoder count, the location of any packet of data can be located.
[0117] 5. Microsecond count: From power on, the microsecond count is accumulated. Through the microsecond count, the time interval between adjacent packets of each data channel can be determined, so that the sequence and time interval of the data can be checked, which is very useful for inertial navigation data.
[0118] 6. Packet counting: Design packets of different sizes according to different data and add packet counting information.
[0119] For different data interfaces, the specific data formats are:
[0120] 1. CAN port data format:
[0121] The data packet sent through the CAN port is ID + valid data, a total of 10 bytes. After receiving this data, the 6-byte microsecond count, 6-byte encoder count and 2-byte header are added to the front, a total of 32 bytes.
[0122] 2. Serial port data format:
[0123] The data packet sent through the RS422 serial port is a frame header + valid data, a total of 15 bytes. After receiving this data, the 6-byte microsecond count, 6-byte encoder count and 2-byte header are added to the front, a total of 32 bytes.
[0124] 3. Data packet header format:
[0125] The packaged data of the 9 data sources are stored in 9 FIFOs respectively. When any FIFO of the 9 FIFOs is full of 1024 bytes, it is packaged into a row and output through the GIGE interface after adding a 32-byte header.
[0126] In one embodiment, for S104, real-time data processing is performed based on the detection data after the sampling alignment process to determine the calculation results of the track geometry parameters.
[0127] refer to Figure 7 As shown, the data packet is opened through the data analysis software. Since the raw data of each channel are superimposed with time and pulse count, a coordinate system is established with time or pulse count as the horizontal axis, and information from different data sources is displayed using different channels. The vertical line at the bottom represents the sampling pulses at four points in one meter.
[0128] By searching for the data source information of the time when the sampling pulse was generated and the position it passed near the vertical line corresponding to the pulse, the timing relationship between the data can be restored through time and space tags. This will get rid of the dependence on the real-time QNX platform while ensuring the real-time performance of the system, establish data association, and achieve offline data analysis.
[0129] It should be noted that, although the operations of the method of the present invention are described in a specific order in the above embodiments and the accompanying drawings, this does not require or imply that the operations must be performed in the specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.
[0130] After introducing the method of the exemplary embodiment of the present invention, next, refer to Figure 8 An embedded track geometry detection device based on spatiotemporal marking according to an exemplary embodiment of the present invention is introduced.
[0131] The implementation of the embedded track geometry detection device based on spatiotemporal marking can refer to the implementation of the above method, and the repeated parts will not be repeated. The term "module" or "unit" used below can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0132] Based on the same inventive concept, the present invention also proposes an embedded track geometry detection device based on time-space marking, such as Figure 8 As shown, the device comprises:
[0133] The data acquisition module 810 is used to collect detection data from multiple sensors;
[0134] The tag adding module 820 is used to add a time information tag and a space information tag to the detection data collected by the multi-channel sensor according to the time information and space information corresponding to the collected detection data;
[0135] An alignment processing module 830 is used to perform sampling alignment processing on the detection data according to the time information tag and the space information tag;
[0136] The data processing module 840 is used to perform real-time data processing based on the detection data after the sampling alignment processing to determine the calculation results of the track geometry parameters.
[0137] It should be noted that although several modules of the embedded track geometry detection device based on spatiotemporal marking are mentioned in the above detailed description, such division is only exemplary and not mandatory. In fact, according to an embodiment of the present invention, the features and functions of two or more modules described above can be embodied in one module. Conversely, the features and functions of one module described above can be further divided into multiple modules for embodiment.
[0138] Based on the above invention concept, Fig. 9 As shown, the present invention also proposes a computer device 900, including a memory 910, a processor 920, and a computer program 930 stored in the memory 910 and executable on the processor 920, wherein the processor 920 implements the aforementioned embedded track geometry detection method based on spatiotemporal marking when executing the computer program 930.
[0139] Based on the aforementioned inventive concept, the present invention proposes a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the aforementioned embedded track geometry detection method based on spatiotemporal marking is implemented.
[0140] Based on the aforementioned inventive concept, the present invention proposes a computer program product, which includes a computer program. When the computer program is executed by a processor, an embedded track geometry detection method based on spatiotemporal marking is implemented.
[0141] The embedded track geometry detection method and device based on spatiotemporal tagging proposed in the present invention collect detection data from multiple sensors; add time information tags and space information tags to the detection data collected from the multiple sensors according to the time information and space information corresponding to the collected detection data; perform sampling alignment processing on the detection data according to the time information tags and space information tags; perform real-time data processing on the detection data after the sampling alignment processing to determine the calculation results of track geometry parameters. The overall solution can achieve precise control of the timing of each channel of the system by performing spatiotemporal tagging and sampling alignment processing on the data collected by the multiple sensors, eliminate the tight coupling of each module, expand the detection function of the system, improve the stability of the system, and provide strong data support and technical support for track detection scenarios.
[0142] The acquisition, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of laws and regulations.
[0143] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0144] The present invention is described with reference to flowcharts and / or block diagrams of methods and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0145] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0146] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0147] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. An embedded track geometry detection method based on spatiotemporal labeling, characterized in that: include: Building an embedded track geometry detection system, and collecting detection data of multiple sensors through the embedded track geometry detection system; According to the time information and space information corresponding to the collected detection data, adding a time information tag and a space information tag to the collected detection data of the multi-channel sensor; Performing sampling alignment processing on the detection data according to the time information tag and the space information tag; Real-time data processing is performed based on the detection data after sampling alignment processing to determine the calculation results of the track geometry parameters.
2. The embedded track geometry detection method based on spatiotemporal marking according to claim 1 is characterized in that: The embedded track geometry detection system is provided with a data interface, which is connected to a front-end mileage positioning server, a vehicle acceleration sensor, a digital ground mark sensor, an inertial sensor assembly and a laser camera assembly for collecting detection data.
3. The embedded track geometry detection method based on spatiotemporal marking according to claim 1, characterized in that: According to the time information and space information corresponding to the collected detection data, adding a time information tag and a space information tag to the collected detection data of the multi-channel sensor includes: Under the control of the internal clock of the embedded track geometry detection system, detection data are collected according to different frequencies and data volumes corresponding to the multiple sensors, and the counting information of the microsecond counter is superimposed on the detection data as a time information tag; The speed encoder is used to provide an external trigger interrupt for data sampling of the embedded track geometry detection system, and is associated with the vehicle running speed, and the encoding information of the speed encoder is superimposed on the detection data as a spatial information tag.
4. The embedded track geometry detection method based on spatiotemporal marking according to claim 2, characterized in that: The laser camera assembly is connected to a track inspection image processor, and the embedded track geometry detection system provides a CAN interface to connect to the track inspection image processor; The method further comprises: A time synchronization communication protocol is set for the CAN interface; according to the time synchronization communication protocol, the time interval correction time and the transmission delay between the FPGA chip of the embedded track geometry detection system and the track inspection image processor are determined, and the time interval correction time and the transmission delay are used to synchronize the time information tag and the space information tag.
5. The embedded track geometry detection method based on spatiotemporal marking according to claim 4 is characterized in that: According to the time calibration communication protocol, the time interval calibration time and the transmission delay between the FPGA chip of the embedded track geometry detection system and the track inspection image processor are determined, and the time interval calibration time and the transmission delay are used to synchronize the time information tag and the space information tag, including: The FPGA chip sends a first message at a first moment, and carries a timestamp corresponding to the first moment in the first message; The track inspection image processor receives the first message at a second moment, generates a second timestamp corresponding to the second moment locally, and extracts the first timestamp from the message; The track inspection image processor sends a second message at a third moment, and locally generates a third timestamp corresponding to the third moment; The FPGA chip receives the second message at a fourth moment, generates a fourth timestamp corresponding to the fourth moment locally, carries the fourth timestamp in the second message, and transmits it back to the track inspection image processor; The track inspection image processor receives the second message and extracts a fourth timestamp from the message; Determine the path delay and time deviation between the FPGA chip and the track inspection image processor according to the first timestamp, the second timestamp, the third timestamp and the fourth timestamp; The track inspection image processor sends the path delay to the FPGA chip and sets the local time according to the time deviation; When the track inspection image processor receives the inspection data from the laser camera assembly, it adds a timestamp to the inspection data according to the local time and sends it to the FPGA chip; When receiving the detection data processed by the track inspection image processor, the FPGA chip reads the timestamp, adds the time corresponding to the recorded path delay, obtains the data time, determines the time information tag according to the data time, and searches for the space information tag corresponding to the data time through historical records.
6. The embedded track geometry detection method based on spatiotemporal marking according to claim 5 is characterized in that: Determining a path delay and a time deviation between the FPGA chip and the track inspection image processor according to the first timestamp, the second timestamp, the third timestamp, and the fourth timestamp includes: Use the following calculation formula to determine the path delay and time deviation: t2-t1=Delay+Offset; t4-t3=Delay-Offset; Where t1 represents the first timestamp; t2 represents the second timestamp; t3 represents the third timestamp; t4 represents the fourth timestamp; Delay indicates the path delay; Offset indicates time deviation; After calculation: (t2-t1)-(t4-t3)=(Delay+Offset)-(Delay-Offset); (t2-t1)+(t4-t3)=(Delay+Offset)+(Delay-Offset); get: The time information label and the space information label of the laser camera assembly are unified with the time information labels and the space information labels of other multi-channel sensors according to Delay and Offset.
7. An embedded track geometry detection device based on spatiotemporal labeling, characterized in that: include: A data acquisition module is used to collect detection data from multiple sensors; A label adding module, used for adding a time information label and a space information label to the detection data collected by the multi-channel sensor according to the time information and space information corresponding to the collected detection data; An alignment processing module, used for performing sampling alignment processing on the detection data according to the time information tag and the space information tag; The data processing module is used to perform real-time data processing based on the detection data after sampling alignment processing to determine the calculation results of the track geometry parameters.
8. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
Citation Information
Cited By
Track multi-source data alignment method and device and track system
CN119441744A
Line feature region identification method and system for track geometric detection, and electronic equipment
CN119624945A
