A data synchronous acquisition system and method for suspended tunnel testing
By using a 10-gigabit fiber optic network and a four-database separation design, the problems of sensor time inconsistency and data storage difficulties in the suspended tunnel test were solved, achieving high-precision data synchronization and real-time storage, and meeting the high-efficiency analysis requirements of the suspended tunnel test.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TIANJIN RES INST FOR WATER TRANSPORT ENG M O T
- Filing Date
- 2023-05-30
- Publication Date
- 2026-05-26
AI Technical Summary
In the suspended tunnel test, the sensor acquisition system had inconsistent time and lacked a high-precision time synchronization mechanism, making it impossible to guarantee the accuracy of data synchronization. Furthermore, the massive amount of data was difficult to store efficiently and extract features.
A 10 Gigabit fiber optic network solution is adopted, combined with an NTP-based time synchronization mechanism and a probabilistic statistical time deviation estimation method. A four-database separation database structure is designed to achieve real-time data storage and intelligent judgment of feature data.
It improves the stability and accuracy of network transmission, enables efficient synchronous data acquisition and real-time storage, and meets the high-precision requirements of suspended tunnel tests.
Smart Images

Figure CN116647301B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of suspended tunnel testing technology, and more particularly to a data synchronous acquisition system and method for suspended tunnel testing. Background Technology
[0002] Suspended tunnels, as a novel form of underwater transportation structure, have become a research hotspot in the tunnel industry in recent years. Physical model tests can study the dynamic response of suspended tunnel structures under simulated wave, water flow, or large object impact conditions, providing a scientific basis for theoretical analysis and engineering design, and are currently the main method for studying suspended tunnels. To accurately measure the model's response under different environmental conditions, a large number of sensors need to be deployed to monitor changes in physical quantities. Data acquisition time, as a crucial benchmark for the measurement system, is particularly important for experimental data analysis. Ensuring that sensor data is synchronized along the time axis facilitates the discovery of experimental patterns, especially under extreme conditions. Analyzing the relationship between the extreme values of various physical quantities at specific moments is a key focus of suspended tunnel model tests.
[0003] The physical model test of the suspended tunnel involves a wide variety and large number of measuring instruments, generating massive amounts of data during the test. Furthermore, the data varies in acquisition frequency, time scale, and data format, which presents numerous challenges for data analysis: ① Different acquisition systems have inconsistent time systems and lack a high-precision time synchronization mechanism; ② It is impossible to guarantee that the starting acquisition time of each acquisition system is at the same moment; ③ Some sensors do not record the original time, and using the acquisition system's time to replace the actual acquisition time results in transmission delays; ④ The data is multi-source, heterogeneous, and large in volume, making feature extraction difficult under extreme conditions.
[0004] To meet the principles of repeatability and reproducibility in model experiments, the following issues need to be addressed:
[0005] (1) Most experimental data acquisition systems are custom-developed, lacking data and information interaction mechanisms between systems, making it difficult to achieve synchronous data acquisition and control. Currently, they still rely on manual operation and control, and the accuracy of data synchronization cannot be guaranteed. For different types of acquisition software, overcoming the information interaction barriers of customized software through technical means is the key and challenge in achieving synchronous control of data acquisition. Therefore, it is necessary to establish a terminal communication collaboration mechanism within a local area network and study external calling methods for various acquisition systems to achieve synchronous control of the experimental data acquisition system.
[0006] (2) The data collected by the sensors is parsed and converted by the lower-level computer and then sent to the experimental data acquisition system (i.e., the upper-level computer). Considering the short data transmission time between the lower-level computer and the upper-level computer in the experimental environment, the upper-level computer time can be used to replace the data acquisition time. However, due to the existence of manual time adjustment errors and accumulated errors of the hardware clock, it is difficult to ensure that all terminals are at the same time during data acquisition, which cannot meet the requirements of high-precision model experiments. It is necessary to study the time synchronization mechanism within the local area network to reduce the delay caused by network transmission and ensure the consistency and accuracy of time.
[0007] (3) Model tests require recording dynamic monitoring data such as tension, strain, wave height, acceleration, and flow velocity. The data has high real-time requirements and a large volume. How to automatically extract characteristic segments of data that meet specific working conditions when hydrodynamic parameters such as wave height and flow velocity are constantly changing is the key to the analysis of mechanistic test data. Therefore, it is necessary to study efficient storage methods for massive data and rapid extraction methods for characteristic data to achieve complete data preservation and intelligent judgment of characteristic data. Summary of the Invention
[0008] The present invention aims to solve at least one of the technical problems existing in the prior art, and discloses a data synchronous acquisition system and method for suspended tunnel tests.
[0009] In a first aspect, the present invention provides a data synchronous acquisition system for floating tunnel testing, the system adopting a 10 Gigabit optical fiber network, the 10 Gigabit optical fiber network including a network layer, a software control layer and an acquisition layer;
[0010] The network layer includes 10 Gigabit fiber optic cable, 10 Gigabit switch, and fiber optic network interface card (NIC); the software control layer includes a synchronization control terminal, a data server, a data acquisition client, and a large display screen, all of which are equipped with the fiber optic NIC; the acquisition layer includes various sensors and lower-level machines installed in the suspended tunnel mechanism test environment.
[0011] The synchronization control terminal is used to send data acquisition instructions to the acquisition client;
[0012] The data acquisition client is used to send instructions to the lower-level machine or the sensor after receiving the acquisition command, and to feed back the latest acquired data through a 10 Gigabit Ethernet card; and...
[0013] The acquisition client is also used to transmit the acquired data to the data server in real time, and to synchronously transmit the system's real-time image signals to the display screen.
[0014] Furthermore, the system also includes a time deviation calculation module, used for:
[0015] Acquire multiple sets of total network transmission time sampling data during the round-trip signal transmission between the synchronization control terminal and the acquisition client;
[0016] Based on the multiple sets of network transmission total time sampling data, the mean and standard deviation of the network transmission total time sampling data are calculated;
[0017] The target time deviation between the synchronization control terminal and the acquisition client is calculated based on the mean and standard deviation of the total network transmission time sampling data.
[0018] Furthermore, before calculating the mean and standard deviation of the total network transmission time sampling data based on the multiple sets of network transmission time sampling data, the time deviation calculation module is also used for:
[0019] Outlier detection methods based on mean and standard deviation remove sampled data that deviate from the mean by more than ±5%.
[0020] Furthermore, the synchronization control terminal is also used to: create a ServerSocket object and bind it to an IP address and port, start a listening command, and receive connection requests sent by the acquisition client;
[0021] The data acquisition client is further configured to: create a ClientSocket object and send a connection request to the synchronization control terminal; and,
[0022] After the synchronization control terminal and the acquisition client establish a connection, they communicate via Socket communication.
[0023] Furthermore, the system also includes a data acquisition and control middleware, which is located between the data acquisition client and the lower-level machine;
[0024] The acquisition control middleware is used to enable interactive control and data access for the acquisition client.
[0025] Furthermore, the acquisition and control middleware was developed using a combination of SDK interface development and SPY++ message simulation.
[0026] Furthermore, the system also includes a unified management database, which includes a temporary database, a formal database, a permanent database, and a historical database;
[0027] The temporary library is used to store real-time monitoring data and experimental process record data collected by various sensors;
[0028] The formal database is used to store monitoring data that meets specific working conditions and is automatically extracted after intelligent judgment.
[0029] The permanent library is used to store the monitoring data that meets the requirements for experimental data analysis from the screened formal library;
[0030] The historical database is used to store real-time monitoring data from historical experiments.
[0031] Furthermore, the system also includes an extraction module for:
[0032] By monitoring changes in the hydrodynamic environment, monitoring data that meet specific operating conditions are automatically extracted; wherein, the hydrodynamic environment parameters include wave height, flow rate and flow velocity, and the extraction rules include pure flow condition judgment, pure wave condition judgment and wave-current condition judgment.
[0033] Secondly, the present invention also provides a data synchronization acquisition method for suspended tunnel tests, employing the system described above, the method comprising:
[0034] The synchronization control terminal sends a data acquisition command to the acquisition client;
[0035] Upon receiving the acquisition command, the acquisition client sends instructions to the lower-level machine or the sensor, and feeds back the latest acquired data via a 10 Gigabit Ethernet card; and...
[0036] The acquisition client transmits the acquired data to the data server in real time, and synchronously transmits the system's real-time image signals to the display screen.
[0037] Furthermore, the method also includes:
[0038] Acquire multiple sets of total network transmission time sampling data during the round-trip signal transmission between the synchronization control terminal and the acquisition client;
[0039] Based on the multiple sets of network transmission total time sampling data, the mean and standard deviation of the network transmission total time sampling data are calculated;
[0040] The target time deviation between the synchronization control terminal and the acquisition client is calculated based on the mean and standard deviation of the total network transmission time sampling data.
[0041] The beneficial effects of this invention are as follows:
[0042] The data synchronization acquisition system and method for suspended tunnel testing of the present invention can improve the efficiency and stability of network transmission through a 10 Gigabit fiber optic networking scheme, providing basic support for synchronous acquisition control and real-time data storage.
[0043] Furthermore, in 10 Gigabit fiber optic networks, the probabilistic statistical time deviation estimation method can achieve millisecond-level time synchronization accuracy within the local area network compared to the traditional NTP-based time synchronization method, and is also more stable and reliable.
[0044] Furthermore, a database design scheme employing temporary, formal, permanent, and historical databases can meet the requirements for real-time access and efficient analysis of massive amounts of experimental data. Attached Figure Description
[0045] Figure 1 This is a schematic diagram of the NTP protocol in existing technology.
[0046] Figure 2 This is a network topology diagram of a 10 Gigabit fiber optic network for a data synchronization acquisition system for suspended tunnel testing, according to an embodiment of the present invention.
[0047] Figure 3 This is a diagram showing the results of a single time synchronization test of the data synchronization acquisition system for suspended tunnel testing according to an embodiment of the present invention.
[0048] Figure 4 This is a diagram of the data acquisition synchronization control mechanism of the data synchronization acquisition system for suspended tunnel testing according to this embodiment. Detailed Implementation
[0049] The technical solution of the present invention will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0050] In the description of this invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing the invention and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0051] In the description of this invention, it should be noted that, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific circumstances.
[0052] The background of this invention will be explained below.
[0053] Suspended tunnels, as a novel form of underwater transportation structure, have become a research hotspot in the tunnel industry in recent years. Physical model tests can study the dynamic response of suspended tunnel structures under simulated wave, water flow, or large object impact conditions, providing a scientific basis for theoretical analysis and engineering design, and are currently the main method for studying suspended tunnels. To accurately measure the model's response under different environmental conditions, a large number of sensors need to be deployed to monitor changes in physical quantities. Data acquisition time, as a crucial benchmark for the measurement system, is particularly important for experimental data analysis. Ensuring that sensor data is synchronized along the time axis facilitates the discovery of experimental patterns, especially under extreme conditions. Analyzing the relationship between the extreme values of various physical quantities at specific moments is a key focus of suspended tunnel model tests.
[0054] Currently, research on synchronous acquisition technology for levitation tunnels remains in its infancy. In terms of local area network (LAN) time synchronization, time synchronization technologies are widely used in communications, industrial automation, and other fields. Common methods include GNSS (Global Navigation Satellite System), PTP (Precision Time Protocol), and NTP (Network Time Protocol). GNSS, based on satellite positioning, achieves nanosecond-level accuracy, but requires receiving satellite signals for time calculation, making it unsuitable for the closed model testing environment of levitation tunnel mechanism experiments. Both PTP and NTP can be used for time synchronization between devices within a LAN. The PTP protocol can be implemented in hardware or software; hardware implementations achieve microsecond-level accuracy, while software implementations achieve millisecond-level accuracy. However, PTP requires modifications to network equipment and protocols, resulting in low cost-effectiveness. The NTP protocol, based on the concept of timestamps, uses bidirectional transmission to synchronize computers within a LAN to a clock source, achieving millisecond-level accuracy.
[0055] Existing NTP protocols use timestamps to record the time of information transmission and reception between the server and client, and calculate time differences to determine time delays and deviations. Specifically, this is combined with... Figure 1 as follows:
[0056] like Figure 1As shown, T1 is the time when the server sends the synchronization command, T2 is the time when the client receives the synchronization command, T3 is the time when the client sends the confirmation command, and T4 is the time when the server receives the confirmation command. Assume the time difference between the server and client is θ, δ1 is the network transmission time for the synchronization command, δ2 is the network transmission time for the confirmation command, and δ is the total network transmission time.
[0057] T2=T1+θ+δ1 (1)
[0058] T4=T3-θ+δ2 (2)
[0059] δ=δ1+δ2 (3)
[0060] Based on formulas (1), (2) and (3), the total network transmission time δ and the time deviation between the server and the client θ can be calculated.
[0061]
[0062]
[0063] However, due to network stability issues, the network transmission times of synchronization and acknowledgment commands differ, and the transmission times of each synchronization and acknowledgment command are not identical. This is the main source of error for the time deviation θ. Therefore, conventional NTP-based time synchronization methods are significantly affected by network transmission, resulting in low accuracy and unreliability.
[0064] Based on the above analysis, this invention addresses the complex nature of the suspended tunnel mechanism test measurement system, the massive amount of test data, and the requirements for high precision and reproducibility in the test process. It designs and implements a high-precision synchronous test data acquisition system from both hardware and software perspectives. A 10-gigabit fiber optic networking scheme is proposed to improve network transmission efficiency and stability. The time synchronization mechanism based on NTP and the time deviation estimation method based on probability statistics are used to solve the coaxial time problem in high-precision model tests. A middleware development approach combining SDK and SPY++ is proposed to solve the problems of closed and independent data acquisition systems and difficulties in interaction. A four-database separation data real-time storage and intelligent judgment strategy is designed to achieve automatic extraction of feature data under specific working conditions.
[0065] This invention relates to a data synchronization acquisition system for suspended tunnel testing. The system employs a 10 Gigabit fiber optic network, which aims to improve network transmission stability, reduce latency, and ensure data security. Relying on two key devices—a 10 Gigabit switch and a 10 Gigabit optical module—all network-connected acquisition and control computers are equipped with 10G fiber optic network cards. The data is aggregated via fiber optic cables to the 10 Gigabit switch, forming a 10 Gigabit fiber optic local area network. The network topology is as follows: Figure 2 As shown.
[0066] like Figure 2 As shown, the 10 Gigabit fiber optic network comprises a network layer, a software control layer, and a data acquisition layer. The network layer includes 10 Gigabit fiber optic cables, 10 Gigabit switches, and fiber optic network interface cards (NICs). The software control layer includes a synchronization control terminal, a data server, data acquisition clients, and a large display screen; all three are equipped with the fiber optic NICs. The data acquisition layer includes various sensors and lower-level machines installed in the suspended tunnel mechanism experimental environment.
[0067] The synchronization control terminal is used to send data acquisition commands to the acquisition client. The acquisition client, upon receiving the acquisition command, sends commands to the lower-level machine or the sensor, and feeds back the latest acquired data via a 10 Gigabit Ethernet card; furthermore, the acquisition client is used to transmit the acquired data to the data server in real time, and to synchronously transmit the system's real-time image signals to the display screen.
[0068] The data synchronization acquisition system for suspended tunnel testing according to this invention adopts a 10 Gigabit fiber optic network scheme, which can improve the efficiency and stability of network transmission and provide basic support for synchronous acquisition control and real-time data storage.
[0069] Furthermore, the system also includes a time deviation calculation module (not shown in the figure), used for:
[0070] Multiple sets of network transmission total time sampling data are acquired during the round-trip signal transmission between the synchronization control terminal and the acquisition client. Based on these multiple sets of network transmission total time sampling data, the mean and standard deviation of the network transmission total time sampling data are calculated. Based on the mean and standard deviation of the network transmission total time sampling data, the target time deviation between the synchronization control terminal and the acquisition client is calculated.
[0071] Furthermore, before calculating the mean and standard deviation of the total network transmission time sampling data based on the multiple sets of network transmission time sampling data, the time deviation calculation module is also used for:
[0072] Outlier detection methods based on mean and standard deviation remove sampled data that deviate from the mean by more than ±5%.
[0073] Specifically, assuming that the bidirectional network transmission times δ1 and δ2 are equal, the total network transmission time δ and the approximate time deviation θ1 can be accurately calculated, and the maximum error value of the time deviation Δθ is...
[0074]
[0075]
[0076] Based on the above algorithm and analysis, a time synchronization experiment was conducted. Data was collected in sets of 150 round-trip synchronization requests, for a total of 10 sets. The results of a single set of time synchronization experiments are as follows: Figure 3 As shown, there is a clear linear correlation between the total network transmission time δ and the approximate time deviation θ1, and these correlations tend to be constant. The stability of network transmission directly affects the measurement of the time deviation. Therefore, the target value can be obtained through probabilistic statistical methods. First, outlier detection methods based on the mean and standard deviation are used to remove sampled data that deviate from the mean by more than ±5%. Then, the mean and standard deviation are calculated for the remaining data.
[0077] Repeated time synchronization tests were conducted, and the results of this test were obtained using probabilistic statistical methods: the approximate time deviation θ1 was about 13.955s, the maximum time deviation was about 2ms, and the time deviation was 13.955s±2ms, which met the time accuracy requirements of the suspension system test.
[0078] For example, such as Figure 2 As shown, the synchronization control terminal is further configured to: create a ServerSocket object and bind its IP address and port, initiate a listening command, and receive connection requests sent by the acquisition client. The acquisition client is further configured to: create a ClientSocket object and send a connection request to the synchronization control terminal; and, after establishing a connection between the synchronization control terminal and the acquisition client, communicate via Socket communication.
[0079] Specifically, a Socket communication connection is established between the synchronous control terminal and the acquisition client using a 10 Gigabit fiber optic network, and bidirectional communication and data exchange are achieved based on the C#.NET platform and TCP / IP protocol.
[0080] The synchronization control program creates a ServerSocket object and binds it to an IP address and port. It then starts listening for connection requests from the acquisition client software. The acquisition client creates a ClientSocket object and sends a connection request to the synchronization control program. After establishing a connection, the synchronization control program communicates with the acquisition client via Socket communication. The synchronization control program sends time synchronization or acquisition control commands to the acquisition client software. Upon receiving the commands, the acquisition client executes the corresponding operations and sends the results back to the synchronization control program. The synchronization control communication mechanism between the synchronization control program and the acquisition client is as follows: Figure 4 As shown.
[0081] For example, such as Figure 2As shown, the system also includes a data acquisition and control middleware (not shown in the figure), which is positioned between the data acquisition client and the lower-level machine. The data acquisition and control middleware is used to implement interactive control and data access for the data acquisition client. Preferably, the data acquisition and control middleware is developed using a combination of SDK interface development and SPY++ message simulation.
[0082] Specifically, the acquisition and control middleware sits between the acquisition client and the lower-level machine, enabling interactive control and data access to the data acquisition system, including functions such as starting data acquisition, stopping data acquisition, and reading and writing monitoring data. Because the development technologies and platforms used by the data acquisition systems are not entirely the same and are relatively closed, achieving information interaction through secondary development on the original system is quite difficult. Given the current state of the suspended tunnel mechanism test data acquisition system, a combination of SDK-based interface development and SPY++-based message simulation was adopted to develop the acquisition and control middleware.
[0083] (1) Interface development based on SDK
[0084] SDK-based interface development is the preferred approach because it avoids impacting existing systems and allows for a high degree of customization of interfaces and data. However, it requires secondary development by the software developer and is not entirely applicable.
[0085] (2) Message simulation based on SPY++
[0086] Spy++ can be used to quickly find the handles of the windows and controls to be operated on, and then call the SendMessage function in the Windows API to send the specified message to the specified window. The window will then trigger the events associated with the controls to achieve data acquisition and control.
[0087] The relatively independent and closed nature of the data acquisition system results in data being stored in a scattered manner on the acquisition client. This local storage method has significant limitations: fragmented storage cannot provide real-time feedback on the experimental status, and important data may even be lost due to malfunctions; data accumulation is incomplete, affecting experimental data analysis; and it is difficult to make horizontal comparisons with other data, resulting in low data analysis efficiency.
[0088] To address the aforementioned problems, embodiments of the present invention establish a database to achieve unified management of suspended tunnel test data, and improve the timeliness, efficiency, and security of data retrieval through separate storage of four databases. For example... Figure 1As shown, the system also includes a unified management database, which comprises a temporary database, a formal database, a permanent database, and a historical database. The temporary database stores real-time monitoring data and test process records collected by various sensors; the formal database stores monitoring data that meets specific operating conditions and is automatically extracted after intelligent judgment; the permanent database stores monitoring data from the formal database that meets the requirements for test data analysis after filtering; and the historical database stores real-time monitoring data from historical tests.
[0089] This invention, through its database separation design, effectively ensures efficient storage and timely updates of massive amounts of monitoring data. By setting up automatic database scripts to migrate data exceeding a certain time limit from the temporary database to the historical database, batch data insertion and intelligent judgment are ensured to be performed under low load. Database performance is further improved through techniques such as database partitioning, table splitting, read-write separation, and data index construction.
[0090] For example, such as Figure 2 As shown, the system also includes an extraction module (not shown in the figure), used for:
[0091] By monitoring changes in the hydrodynamic environment, monitoring data that meet specific operating conditions are automatically extracted; wherein, the hydrodynamic environment parameters include wave height, flow rate and flow velocity, and the extraction rules include pure flow condition judgment, pure wave condition judgment and wave-current condition judgment.
[0092] Specifically, by monitoring changes in the hydrodynamic environment, the system automatically extracts monitoring data that meet specific operating conditions. Hydrodynamic environmental parameters include wave height, flow rate, and flow velocity. The intelligent judgment rules include pure flow condition judgment, pure wave condition judgment, and wave-current condition judgment. Specific judgment methods include mean method, extreme value method, cumulative value method, variance method, etc. The trigger conditions for each type of operating condition are preset. When the hydrodynamic environmental conditions reach the set threshold, the system automatically makes a judgment and executes the next operation.
[0093] The testing of suspended tunnel mechanisms involves numerous stages, tests, and operating conditions. As testing and research progress, new and repeated tests are frequently added. To reduce the risk of test failures due to human error and improve the standardization of model tests, a database of test stages, test types, environmental parameters, and model parameters has been established for different test conditions. An operating condition management module has been developed to enable functions such as operating condition query, parameter modification, and operating condition setting. Adopting the principle of "pre-configuration before use," intelligent judgment rules are configured before testing to minimize the loss of test data due to incorrect parameter settings.
[0094] In summary, the data synchronization acquisition system for suspended tunnel experiments according to this invention, through a 10 Gigabit fiber optic network scheme, can improve the efficiency and stability of network transmission, providing fundamental support for synchronous acquisition control and real-time data storage. Under a 10 Gigabit fiber optic network, the time deviation estimation method based on probabilistic statistics achieves millisecond-level time synchronization accuracy within the local area network compared to the traditional NTP-based time synchronization method, and is also more stable and reliable. Furthermore, the database design scheme employing temporary, formal, permanent, and historical databases can meet the real-time access and efficient analysis of massive amounts of experimental data.
[0095] Secondly, this invention also provides a data synchronization acquisition method for suspended tunnel tests, employing the system described above, the details of which can be found in the preceding descriptions and will not be repeated here. The method includes:
[0096] Step 1: The synchronization control terminal sends a data acquisition command to the acquisition client.
[0097] Step 2: After receiving the acquisition instruction, the acquisition client sends the instruction to the lower-level machine or the sensor, and feeds back the latest acquisition data through the 10 Gigabit network card.
[0098] Step 3: The acquisition client transmits the acquired data to the data server in real time, and synchronously transmits the system's real-time image signal to the display screen.
[0099] The data synchronization acquisition method for suspended tunnel tests in this invention adopts a 10 Gigabit fiber optic network scheme, which can improve the efficiency and stability of network transmission and provide basic support for synchronous acquisition control and real-time data storage.
[0100] Furthermore, the method also includes:
[0101] Acquire multiple sets of network transmission total time sampling data during round-trip signal transmission between the synchronization control terminal and the acquisition client; calculate the mean and standard deviation of the network transmission total time sampling data based on the multiple sets of network transmission total time sampling data; calculate the target time deviation between the synchronization control terminal and the acquisition client based on the mean and standard deviation of the network transmission total time sampling data.
[0102] The data synchronization acquisition method for suspended tunnel tests in this invention solves the problem of time coaxiality in high-precision model tests by utilizing an NTP-based time synchronization mechanism and a probability-statistic-based time deviation estimation method.
[0103] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A data synchronization acquisition system for suspended tunnel testing, characterized in that, The system adopts a 10 Gigabit fiber optic network, which includes a network layer, a software control layer, and a data acquisition layer. The network layer includes 10 Gigabit fiber optic cable, 10 Gigabit switch, and fiber optic network interface card (NIC); the software control layer includes a synchronization control terminal, a data server, a data acquisition client, and a large display screen, all of which are equipped with the fiber optic NIC; the acquisition layer includes various sensors and lower-level machines installed in the suspended tunnel mechanism test environment. The synchronization control terminal is used to send data acquisition instructions to the acquisition client; The data acquisition client is used to send instructions to the lower-level machine or the sensor after receiving the data acquisition instruction, and to feed back the latest data acquisition data through the 10 Gigabit network card; as well as, The acquisition client is also used to transmit the acquired data to the data server in real time, and to synchronously transmit the system's real-time image signals to the display screen. The system also includes a time deviation calculation module, used for: Acquire multiple sets of total network transmission time sampling data during the round-trip signal transmission between the synchronization control terminal and the acquisition client; Based on the multiple sets of network transmission total time sampling data, the mean and standard deviation of the network transmission total time sampling data are calculated; The target time deviation between the synchronization control terminal and the acquisition client is calculated based on the mean and standard deviation of the total network transmission time sampling data. Before calculating the mean and standard deviation of the total network transmission time sampling data based on the multiple sets of network transmission time sampling data, the time deviation calculation module is also used to: remove sampling data that deviate from the average value by more than ±5% using an outlier detection method based on the mean and standard deviation.
2. The system according to claim 1, characterized in that, The synchronization control terminal is also used to: create a ServerSocket object and bind it to an IP address and port, start a listening command, and receive connection requests sent by the acquisition client; The data acquisition client is further configured to: create a ClientSocket object and send a connection request to the synchronization control terminal; and, After the synchronization control terminal and the acquisition client establish a connection, they communicate via Socket communication.
3. The system according to claim 1, characterized in that, The system also includes a data acquisition and control middleware, which is set between the data acquisition client and the lower-level machine; The acquisition control middleware is used to enable interactive control and data access for the acquisition client.
4. The system according to claim 3, characterized in that, The acquisition and control middleware was developed using a combination of SDK interface development and SPY++ message simulation.
5. The system according to any one of claims 1 to 3, characterized in that, The system also includes a unified management database, which includes a temporary database, a formal database, a permanent database, and a historical database. The temporary library is used to store real-time monitoring data and experimental process record data collected by various sensors; The formal database is used to store monitoring data that meets specific working conditions and is automatically extracted after intelligent judgment. The permanent library is used to store the monitoring data that meets the requirements for experimental data analysis from the screened formal library; The historical database is used to store real-time monitoring data from historical experiments.
6. The system according to any one of claims 1 to 3, characterized in that, The system also includes an extraction module for: By monitoring changes in the hydrodynamic environment, monitoring data that meet specific operating conditions are automatically extracted; among them, hydrodynamic environment parameters include wave height, flow rate and flow velocity, and extraction rules include pure flow condition judgment, pure wave condition judgment and wave-current condition judgment.
7. A method for synchronous data acquisition for suspended tunnel testing, characterized in that, The method using the system according to any one of claims 1 to 6 comprises: The synchronization control terminal sends a data acquisition command to the acquisition client; Upon receiving the acquisition command, the acquisition client sends instructions to the lower-level machine or the sensor, and feeds back the latest acquired data via a 10 Gigabit Ethernet card; and... The acquisition client transmits the acquired data to the data server in real time, and synchronously transmits the system's real-time image signals to the display screen. The method further includes: Acquire multiple sets of total network transmission time sampling data during the round-trip signal transmission between the synchronization control terminal and the acquisition client; Based on the multiple sets of network transmission total time sampling data, the mean and standard deviation of the network transmission total time sampling data are calculated; The target time deviation between the synchronization control terminal and the acquisition client is calculated based on the mean and standard deviation of the total network transmission time sampling data. Before calculating the mean and standard deviation of the total network transmission time sampling data based on the multiple sets of network transmission time sampling data, the method further includes: removing sampling data that deviates from the mean by more than ±5% based on the outlier detection method of the mean and standard deviation.