A subway track inspection system data synchronization acquisition system and method
Through the combination of MCU processor and clock module, the synchronous collection and processing of subway track sensor data is realized, which solves the problem of low data processing efficiency in the existing technology and realizes the online monitoring of subway track and the synchronous collection of multi-sensor data. .
Patent Information
- Application Number
- CN202211634549.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-19
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-12-19
AI Technical Summary
It is difficult to achieve synchronous collection and control of subway track sensor data with existing technology, resulting in low data processing efficiency.
The MCU processor is used to receive the sensor data in real time, and the clock module is used for synchronization processing. The data is summarized and transmitted to the PC host computer, and the high-precision clock module and Ethernet are used to achieve data synchronization and unpacking processing.
It realizes online monitoring of subway track data and synchronous collection of multi-sensor data, improves data processing efficiency, and solves the problem of difficulty in synchronizing sensor data.
Smart Images

Figure CN115817571B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data synchronization, and in particular to a data synchronization acquisition system and method for a subway track inspection system. Background Art
[0002] With the development of subway track inspection technology, the number of items that need to be inspected has increased. The automated inspection of tracks relies on various sensors to collect various data. By analyzing the data collected by each sensor, it is possible to determine whether the various parameters of the track meet the requirements. However, due to the large number of types and quantities of sensors, how to control the synchronous collection of each sensor has become an important issue.
[0003] At present, the existing technology relies on separate collection such as PLC and data converter when collecting data from each sensor. Each sensor will transmit the data to the industrial computer for processing, which makes it difficult to achieve synchronous collection and control.
[0004] Therefore, it is necessary to improve the existing technology.
[0005] The above information is presented as background information only to assist with understanding the present disclosure and no determination or admission is made as to whether any of the above may be used as prior art with respect to the present disclosure. Summary of the invention
[0006] The present invention provides a subway track inspection system data synchronization acquisition system and method to solve the deficiencies of the prior art.
[0007] To achieve the above object, the present invention provides the following technical solutions:
[0008] In a first aspect, the present invention provides a data synchronization acquisition system for a subway track inspection system, the system comprising an MCU processor, a speed encoder, an inertial navigation sensor, a clock module, an acceleration acquisition module, a contour acquisition module and a PC host computer; wherein:
[0009] The speed encoder, inertial navigation sensor, clock module, acceleration acquisition module, profile acquisition module and PC host computer are respectively connected to the MCU processor, and the profile acquisition module is connected to the PC host computer;
[0010] The speed encoder is used to collect the rotation speed, direction and mileage of the wheel;
[0011] The inertial navigation sensor is used to collect the roll angle, pitch angle, azimuth angle and XZY axis acceleration of the object under test;
[0012] The acceleration acquisition module is used to acquire the X-axis and Y-axis acceleration of the object being measured;
[0013] The contour acquisition module is used to acquire the contour of the object to be measured;
[0014] The clock module is used to provide stable and accurate clock information for the entire system;
[0015] The MCU processor is used to obtain a real-time clock through the clock module to synchronously receive data collected by the speed encoder, inertial navigation sensor and acceleration acquisition module, and aggregate the data into a frame and transmit it to the PC host computer together with the clock information;
[0016] The PC host computer is used to receive the data synchronously received by the MCU processor and the data collected by the contour acquisition module in real time, and synchronize and unpack the received data through the clock information.
[0017] Furthermore, in the subway track inspection system data synchronization acquisition system, the inertial navigation sensor is connected to the MCU processor via an RS422 serial port.
[0018] Furthermore, in the subway track inspection system data synchronization acquisition system, the clock module is composed of a high-precision active temperature compensated crystal oscillator.
[0019] Furthermore, in the subway track inspection system data synchronization acquisition system, the acceleration acquisition module includes an XY dual-axis acceleration sensor and an analog-to-digital converter;
[0020] The analog-to-digital converter is connected to the XY dual-axis acceleration sensor and the MCU processor respectively.
[0021] Further, in the subway track inspection system data synchronization acquisition system, the contour acquisition module includes a synchronous IO trigger module and a contour meter;
[0022] The synchronous IO trigger module is connected to the profiler and the MCU processor respectively;
[0023] The profiler is connected to the PC host computer.
[0024] Furthermore, in the subway track inspection system data synchronization acquisition system, the MCU processor is connected to the PC host computer via Ethernet.
[0025] In a second aspect, the present invention provides a method for synchronously collecting data of a subway track inspection system, which is performed by the synchronously collecting data of a subway track inspection system as described in the first aspect, and the method comprises:
[0026] The MCU processor receives the rotation speed, direction and mileage of the wheel collected by the speed encoder in real time, triggers the contour collection module at equal intervals according to the mileage, and synchronously receives the data collected by the inertial navigation sensor and the acceleration collection module;
[0027] The MCU processor will obtain the real-time clock through the clock module to synchronously collect the data collected by the speed encoder, inertial navigation sensor and acceleration acquisition module, and aggregate the data into one frame and transmit it to the PC host computer together with the clock information;
[0028] The PC host computer receives the data synchronously collected by the MCU processor and the data collected by the contour collection module in real time, and synchronizes and unpacks the received data through the clock information.
[0029] Furthermore, in the subway track inspection system data synchronization acquisition method, the steps of the MCU processor receiving the rotation speed, direction and mileage of the wheel acquired by the speed encoder in real time, triggering the contour acquisition module at equal intervals according to the mileage, and synchronously receiving the data acquired by the inertial navigation sensor and the acceleration acquisition module include:
[0030] The MCU processor receives the orthogonal coded pulse signal of the speed encoder in real time, and calculates the rotation speed, direction and mileage of the wheel according to the orthogonal coded pulse signal;
[0031] The MCU processor determines whether the preset mileage has been reached;
[0032] If not, return to the step of executing the MCU processor receiving the orthogonal coded pulse signal of the speed encoder in real time, and calculating the rotation speed, direction and mileage of the wheel according to the orthogonal coded pulse signal;
[0033] If so, the MCU processor triggers the contour acquisition module according to the equidistant and synchronously receives the data acquired by the inertial navigation sensor and the acceleration acquisition module.
[0034] Furthermore, in the subway track inspection system data synchronization acquisition method, the MCU processor obtains a real-time clock through the clock module to synchronously acquire data acquired by the speed encoder, the inertial navigation sensor and the acceleration acquisition module, and the data is aggregated into one frame and then transmitted to the PC host computer together with the clock information, the steps include:
[0035] The MCU processor will obtain the real-time clock through the clock module to synchronously collect the data collected by the speed encoder, inertial navigation sensor and acceleration acquisition module, and aggregate the data into one frame and transmit it to the PC host computer through Ethernet;
[0036] The MCU processor calibrates the clock locally and outputs a pulse signal to the PC host computer through the IO interface.
[0037] Furthermore, in the subway track inspection system data synchronization acquisition method, the PC host computer receives the data synchronously collected by the MCU processor and the data collected by the contour acquisition module in real time, and synchronizes and unpacks the received data through the clock information, including the following steps:
[0038] The PC host computer receives the data synchronously collected by the MCU processor and the data collected by the contour collection module in real time, and receives the pulse signal;
[0039] After receiving the pulse signal, the PC host computer synchronizes and calibrates the clock to synchronize the received data and perform unpacking processing.
[0040] Compared with the prior art, the present invention has the following beneficial effects:
[0041] The present invention provides a subway track inspection system data synchronization acquisition system and method, which can realize online monitoring of subway tracks by adopting an MCU processor to receive data collected by each sensor in real time and relying on a clock module for synchronization, which is conducive to solving the problem that multi-sensor data is difficult to synchronize and is very worthy of adoption and promotion. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0043] Figure 1 This is a functional module diagram of a data synchronization collection system for a subway track inspection system provided by the first embodiment of the present invention;
[0044] Figure 2 It is a flow chart of a method for synchronously collecting data of a subway track inspection system provided in the second embodiment of the present invention;
[0045] Figure 3 is a detailed flow chart of step S101 in the second embodiment of the present invention;
[0046] Figure 4 is a detailed flow chart of step S102 in the second embodiment of the present invention;
[0047] Figure 5 It is a detailed flowchart of step S103 in the second embodiment of the present invention.
[0048] Reference numerals:
[0049] MCU processor 1, speed encoder 2, inertial navigation sensor 3, clock module 4, acceleration acquisition module 5, contour acquisition module 6, PC host computer 7, RS422 serial port 8, Ethernet 9;
[0050] XY dual-axis acceleration sensor 51, analog-to-digital converter 52;
[0051] Synchronous IO trigger module 61, profiler 62. DETAILED DESCRIPTION
[0052] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0053] In the description of the present invention, it is to be understood that when a component is considered to be "connected" to another component, it may be directly connected to the other component or there may be a centrally disposed component. When a component is considered to be "disposed on" another component, it may be directly disposed on the other component or there may be a centrally disposed component.
[0054] In addition, terms such as "long", "short", "inside" and "outside" indicating directions or positional relationships are based on the directions or positional relationships shown in the accompanying drawings and are only used to facilitate the description of the present invention. They do not indicate or imply that the device or component referred to must have this specific direction or operate with a specific direction structure, and should not be understood as a limitation of the present invention.
[0055] The technical solution of the present invention is further described below with reference to the accompanying drawings and through specific implementation methods.
[0056] Embodiment 1
[0057] In view of the defects of the existing subway track inspection system data synchronization acquisition technology, the applicant, based on many years of rich practical experience and professional knowledge in design and manufacturing in this field, and in conjunction with the application of theory, actively conducts research and innovation, hoping to create a technology that can solve the defects in the existing technology and make the subway track inspection system data synchronization acquisition technology more practical. After continuous research and design, and after repeated trial samples and improvements, the present invention with real practical value was finally created.
[0058] Please refer to Figure 1, is a functional module diagram of a subway track inspection system data synchronization acquisition system provided in Embodiment 1 of the present invention. The system is suitable for the scenario of synchronously acquiring subway track inspection system data. The system can be implemented by software and / or hardware. The system specifically includes the following modules:
[0059] MCU processor 1, speed encoder 2, inertial navigation sensor 3, clock module 4, acceleration acquisition module 5, contour acquisition module 6 and PC host computer 7; Among them,
[0060] The speed encoder 2, the inertial navigation sensor 3, the clock module 4, the acceleration acquisition module 5, the profile acquisition module 6 and the PC host computer 7 are respectively connected to the MCU processor 1, and the profile acquisition module 6 is connected to the PC host computer 7;
[0061] The speed encoder 2 is used to collect the rotation speed, direction and mileage of the wheel;
[0062] The inertial navigation sensor 3 is used to collect the roll angle, pitch angle, azimuth angle and XZY axis acceleration of the object under test;
[0063] The acceleration acquisition module 5 is used to acquire the X-axis and Y-axis acceleration of the object being measured;
[0064] The contour acquisition module 6 is used to acquire the contour of the object to be measured;
[0065] The clock module 4 is used to provide stable and accurate clock information for the entire system;
[0066] The MCU processor 1 is used to obtain a real-time clock through the clock module 4 to synchronously receive data collected by the speed encoder 2, the inertial navigation sensor 3 and the acceleration acquisition module 5, and aggregate the data into a frame and transmit it to the PC host computer 7 together with the clock information;
[0067] The PC host computer 7 is used to receive the data synchronously received by the MCU processor 1 and the data collected by the contour collection module 6 in real time, and synchronize and unpack the received data through the clock information.
[0068] In this embodiment, illustratively, the MCU processor 1 is connected to the PC host computer 7 via Ethernet 9 .
[0069] It should be noted that the MCU processor 1 can also be connected to the PC host computer 7 through other wired or wireless methods, such as industrial serial bus, GPS network, etc.
[0070] In this embodiment, illustratively, the inertial navigation sensor 3 is connected to the MCU processor 1 via the RS422 serial port 8 .
[0071] In this embodiment, illustratively, the clock module 4 is composed of a high-precision active temperature-compensated crystal oscillator.
[0072] It should be noted that the output signal of the active crystal oscillator has good quality, high stability, and is not affected by the external circuit. The temperature compensated crystal oscillator has greater advantages in temperature frequency stability. Temperature compensation is divided into: direct compensation and indirect compensation, and indirect compensation is divided into analog and digital forms. In view of the fact that these designs have been implemented in many existing technologies and are not the focus of this design, they will not be elaborated in depth here.
[0073] On the basis of the above technical solution, optionally, the acceleration acquisition module 5 includes an XY biaxial acceleration sensor 51 and an analog-to-digital converter 52;
[0074] The analog-to-digital converter 52 is connected to the XY dual-axis acceleration sensor 51 and the MCU processor 1 respectively.
[0075] It should be noted that the XY dual-axis acceleration sensor 51 is provided with two accelerometers, namely an X-axis accelerometer and a Y-axis accelerometer, and the axes of the sensitive axes of the two accelerometers are perpendicular to each other. The analog-to-digital converter 52 is used to perform analog-to-digital conversion on accelerations in two perpendicular directions.
[0076] On the basis of the above technical solution, optionally, the contour acquisition module 6 includes a synchronous IO trigger module 61 and a contour meter 62;
[0077] The synchronous IO trigger module 61 is connected to the profiler 62 and the MCU processor 1 respectively;
[0078] The profiler 62 is connected to the PC host computer 7 .
[0079] It should be noted that the processing flow of the synchronous acquisition system provided in this embodiment is as follows:
[0080] The MCU processor 1 receives the signal of the speed encoder 2 in real time, and the signal is an orthogonally encoded pulse signal. The rotation speed, direction and mileage of the wheel are calculated according to the orthogonally encoded pulse signal of the speed encoder 2, and the contour acquisition module 6 is triggered at equal intervals according to the mileage, and the data of the inertial navigation sensor 3 and the acceleration acquisition module 5 are synchronously collected. The real-time clock is obtained through the clock module 4, and the data of each sensor is aggregated into a frame, which is transmitted to the PC host computer 7 in real time through the Ethernet 9. The PC host computer 7 then unpacks the data of each sensor for processing. The data of each sensor received by the MCU processor 1 and the data of the contour meter 62 received by the PC host computer 7 are synchronized by relying on clock information. The MCU processor 1 synchronizes the clock with the PC host computer 7 through the IO interface. The signal of the IO interface is a TTL pulse signal. The MCU processor 1 first sends the clock information to the PC host computer 7 through the Ethernet 9, and then the MCU processor 1 locally calibrates the clock and outputs a pulse signal through the IO interface. After receiving the pulse signal through the IO interface, the PC host computer 7 immediately synchronizes and calibrates the clock to ensure that the clock error of the MCU processor 1 and the PC host computer 7 is within 2ms.
[0081] Although the terms MCU processor, speed encoder, inertial navigation sensor, clock module, acceleration acquisition module, profile acquisition module and PC host computer are used more frequently in this article, the possibility of using other terms is not excluded. These terms are used only to more conveniently describe and explain the essence of the present invention; interpreting them as any additional restrictions is contrary to the spirit of the present invention.
[0082] The embodiment of the present invention provides a subway track inspection system data synchronization acquisition system, which adopts an MCU processor to receive data collected by each sensor in real time and relies on a clock module for synchronization, thereby realizing online monitoring of subway tracks, which is conducive to solving the problem that multi-sensor data is difficult to synchronize, and is very worthy of adoption and promotion.
[0083] Embodiment 2
[0084] Please refer to Figure 2 , is a flow chart of a method for synchronous data collection of a subway track inspection system provided in Embodiment 2 of the present invention. The method is executed by the synchronous data collection system for a subway track inspection system provided in Embodiment 1 of the present invention, and the method specifically comprises the following steps:
[0085] S101, the MCU processor receives the rotation speed, direction and mileage of the wheel collected by the speed encoder in real time, and triggers the contour collection module at equal intervals according to the mileage, and synchronously receives the data collected by the inertial navigation sensor and the acceleration collection module.
[0086] Please refer to Figure 3 In this embodiment, step S101 can be further refined to include the following steps:
[0087] S1011. The MCU processor receives the orthogonal coded pulse signal of the speed encoder in real time, and calculates the rotation speed, direction and mileage of the wheel according to the orthogonal coded pulse signal.
[0088] S1012, the MCU processor determines whether the preset mileage has been reached; if not, it returns to execute step S1011, and if so, it executes step S1013.
[0089] S1013: The MCU processor triggers the contour acquisition module according to the equidistant mode and synchronously receives data acquired by the inertial navigation sensor and the acceleration acquisition module.
[0090] S102, the MCU processor obtains a real-time clock through the clock module to synchronously collect data collected by the speed encoder, inertial navigation sensor and acceleration acquisition module, and aggregates the data into a frame and transmits it to the PC host computer together with the clock information.
[0091] Please refer to Figure 4 In this embodiment, step S102 can be further refined to include the following steps:
[0092] S1021, the MCU processor will obtain the real-time clock through the clock module to synchronously collect the data collected by the speed encoder, inertial navigation sensor and acceleration acquisition module, and aggregate the data into one frame and transmit it to the PC host computer via Ethernet.
[0093] S1022: The MCU processor calibrates the clock locally, and outputs a pulse signal to the PC host computer through the IO interface.
[0094] S103, the PC host computer receives in real time the data synchronously collected by the MCU processor and the data collected by the contour collection module, and synchronizes and unpacks the received data through the clock information.
[0095] Please refer to Figure 5 In this embodiment, step S103 can be further refined to include the following steps:
[0096] S1031. The PC host computer receives in real time the data synchronously collected by the MCU processor and the data collected by the contour collection module, and receives the pulse signal.
[0097] S1032: After receiving the pulse signal, the PC host computer synchronizes and calibrates the clock to synchronize the received data and perform unpacking processing.
[0098] The embodiment of the present invention provides a method for synchronously collecting data of a subway track inspection system. By adopting an MCU processor to receive data collected by each sensor in real time and relying on a clock module for synchronization, online monitoring of subway tracks can be realized, which is conducive to solving the problem that multi-sensor data is difficult to synchronize, and is very worthy of adoption and promotion.
[0099] In summary, after reading this detailed disclosure, it will be apparent to those skilled in the art that the aforementioned detailed disclosure may be presented only by way of example and may not be restrictive. Although not explicitly stated herein, it will be appreciated by those skilled in the art that this application is intended to encompass various reasonable changes, improvements and modifications to the embodiments. These changes, improvements and modifications are intended to be proposed by this application and are within the spirit and scope of the exemplary embodiments of this application.
[0100] In addition, certain terms in this application have been used to describe embodiments of the present application. For example, "one embodiment", "embodiment" and / or "some embodiments" mean that a particular feature, structure or characteristic described in conjunction with the embodiment may be included in at least one embodiment of the present application. Therefore, it can be emphasized and should be understood that two or more references to "embodiment" or "one embodiment" or "alternative embodiment" in various parts of this specification do not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics may be appropriately combined in one or more embodiments of the present application.
[0101] It should be understood that in the foregoing description of the embodiments of the present application, in order to help understand a feature and for the purpose of simplifying the present application, the present application combines various features in a single embodiment, drawing or its description. However, this does not mean that the combination of these features is necessary. When reading the present application, it is entirely possible for a person skilled in the art to extract some of the features and understand them as separate embodiments. In other words, the embodiments in the present application can also be understood as the integration of multiple secondary embodiments. This is also true when the content of each secondary embodiment is less than all the features of a single aforementioned disclosed embodiment.
[0102] Each patent, patent application, patent application publication, and other materials, such as articles, books, specifications, publications, documents, articles, etc., cited herein may be incorporated herein by reference in its entirety for all purposes, except for any prosecution document history related thereto, any equivalent that may be inconsistent or conflicting with this document, or any equivalent prosecution document history that may have a limiting effect on the broadest scope of the claims now or later associated with this document. For example, if there is any inconsistency or conflict between the description, definition, and / or use of a term associated with any of the incorporated materials and the term, description, definition, and / or use associated with this document, the term in this document shall control.
[0103] Finally, it should be understood that the embodiments of the application disclosed herein are explanations of the principles of the embodiments of the present application. Other modified embodiments are also within the scope of the present application. Therefore, the embodiments disclosed in the present application are merely examples and not limitations. Those skilled in the art can adopt alternative configurations according to the embodiments in the present application to implement the application in the present application. Therefore, the embodiments of the present application are not limited to the embodiments accurately described in the application.
Claims
1. A subway track inspection system data synchronization acquisition system, characterized in that: The system includes an MCU processor, a speed encoder, an inertial navigation sensor, a clock module, an acceleration acquisition module, a contour acquisition module and a PC host computer; wherein, The speed encoder, inertial navigation sensor, clock module, acceleration acquisition module, profile acquisition module and PC host computer are respectively connected to the MCU processor, and the profile acquisition module is connected to the PC host computer; The speed encoder is used to collect the rotation speed, direction and mileage of the wheel; The inertial navigation sensor is used to collect the roll angle, pitch angle, azimuth angle and XZY axis acceleration of the object under test; The acceleration acquisition module is used to acquire the X-axis and Y-axis acceleration of the object being measured; The contour acquisition module is used to acquire the contour of the object to be measured; The clock module is used to provide stable and accurate clock information for the entire system; The MCU processor is used to receive the rotation speed, direction and mileage of the wheel collected by the speed encoder in real time, and trigger the contour collection module at equal intervals according to the mileage, and synchronously receive the data collected by the inertial navigation sensor and the acceleration collection module; The MCU processor is also used to obtain a real-time clock through the clock module to synchronously receive data collected by the speed encoder, inertial navigation sensor and acceleration acquisition module, and aggregate the data into a frame and transmit it to the PC host computer together with the clock information; The PC host computer is used to receive the data synchronously received by the MCU processor and the data collected by the contour acquisition module in real time, and synchronize and unpack the received data through the clock information.
2. The subway track inspection system data synchronization acquisition system according to claim 1, characterized in that: The inertial navigation sensor is connected to the MCU processor via an RS422 serial port.
3. The subway track inspection system data synchronization acquisition system according to claim 2, characterized in that: The clock module is composed of a high-precision active temperature-compensated crystal oscillator.
4. The subway track inspection system data synchronization acquisition system according to claim 3, characterized in that: The acceleration acquisition module includes an XY dual-axis acceleration sensor and an analog-to-digital converter; The analog-to-digital converter is connected to the XY dual-axis acceleration sensor and the MCU processor respectively.
5. The subway track inspection system data synchronization acquisition system according to claim 4, characterized in that: The profile acquisition module includes a synchronous IO trigger module and a profiler; The synchronous IO trigger module is connected to the profiler and the MCU processor respectively; The profiler is connected to the PC host computer.
6. The subway track inspection system data synchronization acquisition system according to claim 5, characterized in that: The MCU processor is connected to the PC host computer via Ethernet.
7. A method for synchronously collecting data of a subway track inspection system, which is performed by using the synchronously collecting data of a subway track inspection system according to any one of claims 1 to 6, characterized in that: The method comprises: The MCU processor receives the rotation speed, direction and mileage of the wheel collected by the speed encoder in real time, triggers the contour collection module at equal intervals according to the mileage, and synchronously receives the data collected by the inertial navigation sensor and the acceleration collection module; The MCU processor will obtain the real-time clock through the clock module to synchronously collect the data collected by the speed encoder, inertial navigation sensor and acceleration acquisition module, and aggregate the data into one frame and transmit it to the PC host computer together with the clock information; The PC host computer receives the data synchronously collected by the MCU processor and the data collected by the contour collection module in real time, and synchronizes and unpacks the received data through the clock information.
8. The method for synchronously collecting data of a subway track inspection system according to claim 7, characterized in that: The steps of the MCU processor receiving the rotation speed, direction and mileage of the wheel collected by the speed encoder in real time, triggering the contour collection module at equal intervals according to the mileage, and synchronously receiving the data collected by the inertial navigation sensor and the acceleration collection module include: The MCU processor receives the orthogonal coded pulse signal of the speed encoder in real time, and calculates the rotation speed, direction and mileage of the wheel according to the orthogonal coded pulse signal; The MCU processor determines whether the preset mileage has been reached; If not, return to the step of executing the MCU processor receiving the orthogonal coded pulse signal of the speed encoder in real time, and calculating the rotation speed, direction and mileage of the wheel according to the orthogonal coded pulse signal; If so, the MCU processor triggers the contour acquisition module at equal intervals and synchronously receives the data collected by the inertial navigation sensor and the acceleration acquisition module.
9. The method for synchronously collecting data of a subway track inspection system according to claim 7, characterized in that: The MCU processor obtains a real-time clock through the clock module to synchronously collect data collected by the speed encoder, the inertial navigation sensor and the acceleration acquisition module, and the steps of aggregating the data into one frame and transmitting it to the PC host computer together with the clock information include: The MCU processor will obtain the real-time clock through the clock module to synchronously collect the data collected by the speed encoder, inertial navigation sensor and acceleration acquisition module, and aggregate the data into one frame and transmit it to the PC host computer through Ethernet; The MCU processor calibrates the clock locally and outputs a pulse signal to the PC host computer through the IO interface.
10. The method for synchronously collecting data of a subway track inspection system according to claim 9, characterized in that: The step of the PC host computer receiving the data synchronously collected by the MCU processor and the data collected by the contour collection module in real time, and synchronizing and unpacking the received data through the clock information includes: The PC host computer receives the data synchronously collected by the MCU processor and the data collected by the contour collection module in real time, and receives the pulse signal; After receiving the pulse signal, the PC host computer synchronizes and calibrates the clock to synchronize the received data and perform unpacking processing.
