CN111337222A - Event-triggered wave pool/water tank experimental device and method thereof - Google Patents
Event-triggered wave pool/water tank experimental device and method thereof Download PDFInfo
- Publication number
- CN111337222A CN111337222A CN202010214703.XA CN202010214703A CN111337222A CN 111337222 A CN111337222 A CN 111337222A CN 202010214703 A CN202010214703 A CN 202010214703A CN 111337222 A CN111337222 A CN 111337222A
- Authority
- CN
- China
- Prior art keywords
- data acquisition
- ethercat
- wave
- data
- event
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01M—TESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
- G01M10/00—Hydrodynamic testing; Arrangements in or on ship-testing tanks or water tunnels
Landscapes
- Physics & Mathematics (AREA)
- Fluid Mechanics (AREA)
- General Physics & Mathematics (AREA)
- Testing Or Calibration Of Command Recording Devices (AREA)
Abstract
The invention belongs to the technical field of ocean engineering experiments, and relates to an event-triggered wave water pool/water tank experimental device and a method thereof, wherein the method comprises the following steps: (1) designing an acquisition control program, (2) electrically connecting instrument and equipment, (3) installing the instrument and equipment, (4) storing a configuration file, (5) electrifying an operating system, (6) loading a wave-making spectrum file, (7) detecting the occurrence of an event, (8) judging an acquisition stopping condition, (9) selecting whether data arrangement work is required or not according to an experiment requirement, and (10) replacing the spectrum file according to the experiment requirement. The experimental device only integrates a sensing instrument used in a maritime work laboratory model test with wave-making control through a network cable, automatic acquisition control of field data is performed under event triggering, the distributed clock synchronous control performance of the EtherCAT network is fully exerted, and the integral synchronous performance and the experimental data acquisition efficiency of the experimental system are greatly improved.
Description
Technical Field
The invention relates to an event-triggered wave water pool/water tank experimental device and method, and belongs to the technical field of ocean engineering experiments.
Background
Model test research is an important component of research work in ocean engineering laboratories. The model designed according to the engineering proportion is placed in a wave flow pool/water tank, the design idea can be well verified through the interaction research with an artificial wave field/flow field, and meanwhile, the technical hidden danger existing in the future engineering can be found. Therefore, having a set of efficient and advanced experimental systems becomes an important content for the construction of maritime labs.
In order to meet the requirement of ocean engineering research, research and development forces are put into various scientific research units at home and abroad aiming at instruments and equipment required by ocean engineering. The sensing instrument and the marine environment simulation system required by the marine engineering model test can basically find relevant products in the market. Therefore, the model test capability of a maritime laboratory through instrument purchase is easily achieved by the abundance of the types of the existing experimental instruments. However, the type and quantity of the experimental equipment are only necessary conditions for making model tests, and whether high-quality experimental data can be obtained depends on the experimental technical level of an experimenter, the overall performance of the built experimental platform and the error control level. At present, in a model test process, a wave flow control system and a data acquisition system work independently, and during an experiment, a worker often selects a start time and a stop time of data acquisition by experience, so that a large amount of redundant data appears during later-stage data analysis, and a great problem is brought to the analysis. In addition, in the experimental process, because the specifications of all instruments are different, it is difficult to achieve synchronous operation of all the instruments, and this problem causes that data collected by each instrument has respective clock attributes, and it is difficult to align the data in the following analysis. In addition, each instrument lacking integrated control is arranged at each position of a laboratory, and field cables are disordered, so that safety events are easy to happen. Therefore, the construction of a complete set of system-level experimental platform is extremely important for the construction of maritime labs.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide an event-triggered wave pool/water tank experimental device and a method thereof. The experimental device not only can organically combine pool/water tank wave-making equipment with various sensors according to a unified clock, but also can automatically complete a data acquisition task according to wave-generating events, so that the generation of redundant data can be greatly reduced, and the efficiency of data analysis is improved; and meanwhile, the error of data alignment is greatly reduced.
In order to achieve the purpose of the invention and solve the problems existing in the prior art, the invention adopts the technical scheme that: an event-triggered wave pool/water tank experiment data acquisition method comprises the following steps:
and 6, loading a wave generation spectrum file, starting a wave generation program by an acquisition control program on the main control computer, simultaneously starting an event monitoring thread and starting a sensor required for sensing an event, namely a wave height sensor, wherein the acquisition control program on the main control computer generates a periodic SYNC signal on an EtherCAT data acquisition board connected with the sensor through an EtherCAT network at the moment, and the frequency is recommended to be 2mAnd m is 1,2,3, and the CPLD on the EtherCAT data acquisition board generates data acquisition pulses at a set acquisition frequency by using the signal as a reference clock, so as to start acquisition of wave height informationCollecting;
and 10, replacing the spectrum file according to the experiment requirement, and repeatedly executing the steps 6-9 according to the experiment requirement until all wave working condition experiment data acquisition tasks are completed.
The experimental device in the method comprises a wave making water pool/water tank, a wave making machine, a main control machine, a 1 st EtherCAT data acquisition board, a 2 nd EtherCAT data acquisition board, a N event perception sensor, a N analog signal output sensor, a N acoustic ADV sensor, a N optical motion measurement sensor and an EtherCAT network, wherein N is a positive integer larger than zero, the main control machine is connected with the 1 st EtherCAT data acquisition board through an RJ45 interface of a network card on the main control machine, the N event perception sensor is connected with the 1 st EtherCAT data acquisition board through an AD port or an RS485/RS232 interface, the N analog signal output sensor is connected with the 2 nd EtherCAT data acquisition board through an AD port, the N acoustic ADV sensor is connected with the N-1 st EtherCAT data acquisition board through an RS485/RS232 interface, the N optical motion measurement sensor is connected with the N EtherCAT data acquisition board through an RS485/RS232 interface, meanwhile, Trig trigger signals on the EtherCAT data acquisition boards are accessed to trigger ports of respective sensing equipment, the EtherCAT data acquisition boards 1,2 … N-1 and N are mutually cascaded together by adopting network cables, the last EtherCAT data acquisition board connected is connected back to the RJ45 of the master control machine network card through an RJ45 interface and then through the network cables, and the interconnected networks form an EtherCAT network of the experimental device.
The invention has the beneficial effects that: an event-triggered wave pool/water tank experimental device and a method thereof are provided, wherein the method comprises the following steps: (1) designing an acquisition control program, (2) electrically connecting instrument and equipment, (3) installing the instrument and equipment, (4) storing a configuration file, (5) electrifying an operating system, (6) loading a wave-making spectrum file, (7) detecting the occurrence of an event, (8) judging an acquisition stopping condition, (9) selecting whether data arrangement work is required or not according to an experiment requirement, and (10) replacing the spectrum file according to the experiment requirement. Compared with the prior art, the experimental device only integrates a sensing instrument used in a maritime work laboratory model test with wave-making control through a network cable, automatic acquisition control of field data is performed under event triggering, the system gives full play to the distributed clock synchronous control performance of the EtherCAT network, and the overall synchronous performance and the experimental data acquisition efficiency of the experimental system are greatly improved. The whole experimental device has the advantages of simple structure, easy installation, convenient operation, safety and reliability.
Drawings
FIG. 1 is a flow chart of the method steps of the present invention.
Fig. 2 is a schematic block diagram of the apparatus of the present invention.
FIG. 3 is a schematic diagram of the structure of the device of the present invention.
In the figure: 1. wave making pond/basin, 2, wave making machine, 3, main control computer (PC), 4, etherCAT network, 5, etherCAT data acquisition board, 6, sensor for the incident perception, 7, analog signal output sensor, 8, acoustics ADV sensor, 9, optical motion measurement sensor.
FIG. 4 is a flowchart of an acquisition control process according to the present invention.
Fig. 5 is a schematic block diagram of an EtherCAT data acquisition board in the apparatus of the present invention.
Detailed Description
The invention will be further explained with reference to the drawings.
As shown in fig. 1, a method for acquiring experimental data of an event-triggered wave water pool/water tank includes the following steps:
and 6, loading a wave generation spectrum file, starting a wave generation program by an acquisition control program on the main control computer, simultaneously starting an event monitoring thread and starting a sensor required for sensing an event, namely a wave height sensor, wherein the acquisition control program on the main control computer generates a periodic SYNC signal on an EtherCAT data acquisition board connected with the sensor through an EtherCAT network at the moment, and the frequency is recommended to be 2mThe CPLD on the EtherCAT data acquisition board generates data acquisition pulses by taking the signal as a reference clock according to a set acquisition frequency, so that the acquisition of wave height information is started;
and 10, replacing the spectrum file according to the experiment requirement, and repeatedly executing the steps 6-9 according to the experiment requirement until all wave working condition experiment data acquisition tasks are completed.
As shown in fig. 2, an event-triggered wave water pool/water tank experimental device comprises a wave making water pool/water tank, a wave making machine, a master control machine, the 1 st, 2 … N-1 st, N EtherCAT data acquisition boards, N sensors for event perception, N analog signal output sensors, N acoustic ADV sensors, N optical motion measurement sensors and an EtherCAT network, wherein N is a positive integer greater than zero, the master control machine is connected with the 1 st EtherCAT data acquisition board through a network card RJ45 interface thereon, the N sensors for event perception are connected with the 1 st EtherCAT data acquisition board through an AD port or an RS485/RS232 interface, the N analog signal output sensors are connected with the 2 nd EtherCAT data acquisition board through an AD port, the N acoustic ADV sensors are connected with the N-1 st EtherCAT data acquisition board through an RS485/RS232 interface, the N optical motion measurement sensors are connected with the N EtherCAT data acquisition board through an RS485/RS232 interface, meanwhile, Trig trigger signals on the EtherCAT data acquisition boards are accessed to trigger ports of respective sensing equipment, the EtherCAT data acquisition boards 1,2 … N-1 and N are mutually cascaded together by adopting network cables, the last EtherCAT data acquisition board connected is connected back to the RJ45 of the master control machine network card through an RJ45 interface and then through the network cables, and the interconnected networks form an EtherCAT network of the experimental device.
Claims (2)
1. An event-triggered wave pool/water tank experiment data acquisition method comprises the following steps:
step 1, designing an acquisition control program, wherein the acquisition control program is designed in a Windows PC (personal computer) provided with wave-making control, also called a main control machine, wherein VC + + is adopted for program design, the program starts a wave-making control program exe file and controls a wave-making starting button and a stopping button on a wave-making operation interface through FindWindow (..) and SendMessage (.) instructions, and in addition, the program comprises an EtherCAT network control function and operates in an EtherCAT main station DC distribution clock mode so as to ensure the synchronous acquisition performance of each part of an experimental system;
step 2, electrically connecting the instruments and equipment, merging all the acquisition instruments for the experiment into an EtherCAT network, using a main control computer as a main station of the network, the EtherCAT data acquisition board is connected with the EtherCAT data acquisition board through a network card through a network cable, the EtherCAT data acquisition board is constructed by adopting a mode of STM32F407+ ET1100, and each sensor is connected with the EtherCAT data acquisition board as a network slave station according to the respective interface, at the moment, analog signal output sensors of the wave height meter and the point pressure meter are connected into the EtherCAT data acquisition board through an AD interface, and the Doppler ADV current meter, namely an acoustic ADV sensor, and the six-component motion measurement system based on stereoscopic vision, namely an optical motion measurement sensor, are provided with an RS485/RS232 protocol data output mode, therefore, the EtherCAT data acquisition board is accessed through the RS485/RS232 interface, meanwhile, Trig trigger signals on the EtherCAT data acquisition board are accessed to trigger ports of respective sensors;
step 3, installing instrument equipment, namely fixing each instrument equipment in a wave-making water pool/water tank according to the position according to the experimental requirement, wherein the instrument equipment is divided into a sensor for triggering an event and other data acquisition sensors according to the function, the determination of the triggering event needs to be determined according to the specific requirement of a model test, the wave number and the position information of waves are used as the triggering event, and a wave height meter for sensing the triggering event is arranged at the experimental set position in advance;
step 4, storing a configuration file, wherein the configuration file is stored for an instrument using an RS485/RS232 protocol in an SD card of the EtherCAT data acquisition board, is used for configuring the instrument to be in an external trigger mode, is named as Config. txt, is added with Send as an identifier before an instruction sent to an instrument end in the file, and is added with Recv as an identifier before an instruction received from the instrument;
step 5, electrifying the operation system, sending a device initialization command and related data to each EtherCAT network slave station through an acquisition control program on the main control computer, wherein the equipment initialization command and the related data are mainly configured to be in an external trigger control mode, and RS485/RS232 equipment reads a configuration file config.tx from an SD card through an EtherCAT data acquisition board to realize and set the acquisition frequency of each slave station, and the recommended frequency is 2kK 1,2,3 and data acquisition length;
and 6, loading a wave generation spectrum file, starting a wave generation program by an acquisition control program on the main control computer, simultaneously starting an event monitoring thread and starting a sensor required for sensing an event, namely a wave height sensor, wherein the acquisition control program on the main control computer generates a periodic SYNC signal on an EtherCAT data acquisition board connected with the sensor through an EtherCAT network at the moment, and the frequency is recommended to be 2mThe CPLD on the EtherCAT data acquisition board generates data acquisition pulses by taking the signal as a reference clock according to a set acquisition frequency, so that the acquisition of wave height information is started;
step 7, detecting the occurrence of an event, analyzing the data of the event perception sensor in real time by an acquisition control program on the main control computer, wherein wave height data is adopted, wave number is obtained by wave peak counting, and the program is generated when the calculated wave number meets the requirementTriggering an event, wherein at the moment, an acquisition control program on the master control computer generates a SYNC signal on an EtherCAT data acquisition board through an EtherCAT network, and the frequency is recommended to be 2mThe signal triggers a CPLD on the board to generate data acquisition pulses, and data acquisition is started according to the respectively set frequency and data length;
step 8, judging the acquisition stopping condition, when the data acquisition length reaches the set condition, namely the data number meets the requirement, the data acquisition pulse on the EtherCAT data acquisition board disappears, the data acquisition work is stopped, and meanwhile, the acquisition control program on the main control computer stops wave generation, so that the data acquisition task triggered by one event is completed;
step 9, selecting whether data sorting work is needed or not according to experimental requirements, directly stopping the machine if the data sorting work is not needed, processing and analyzing the data if the data sorting work is needed, wherein the data sorting work mainly refers to data alignment work, and because instruments are needed to work under different acquisition frequencies sometimes, under the condition, sampling frequencies need to be unified according to the experimental data requirements before fusion analysis is carried out on all sensing data, and at the moment, a spline function method is adopted to carry out fitting operation on the data to meet the requirements;
and 10, replacing the spectrum file according to the experiment requirement, and repeatedly executing the steps 6-9 according to the experiment requirement until all wave working condition experiment data acquisition tasks are completed.
2. The experimental facility in the method of claim 1, comprising a wave generating pool/water tank, a wave generating machine, a main control machine, 1 st, 2 … N-1 st, N EtherCAT data acquisition boards, N event perception sensors, N analog signal output sensors, N acoustic ADV sensors, N optical motion measurement sensors, and an EtherCAT network, where N is a positive integer greater than zero, and wherein: the main control computer is connected with the 1 st EtherCAT data acquisition board through a network card RJ45 interface on the main control computer, N sensors for event perception are connected with the 1 st EtherCAT data acquisition board through an AD port or an RS485/RS232 interface, N analog signal output sensors are connected with the 2 nd EtherCAT data acquisition board through an AD port, N acoustic ADV sensors are connected with the N-1 st EtherCAT data acquisition board through an RS485/RS232 interface, N optical motion measurement sensors are connected with the N th EtherCAT data acquisition board through an RS485/RS232 interface, Trig trigger signals on the EtherCAT data acquisition board are accessed into trigger ports of respective sensing equipment, the 1 st, 2 … N-1 and N EtherCAT data acquisition boards are mutually cascaded through a network cable, the last EtherCAT data acquisition board connected is connected back to the RJ45 of the main control computer through an RJ45 interface and a network cable, these interconnected networks form the EtherCAT network of the experimental setup.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010214703.XA CN111337222B (en) | 2020-03-24 | 2020-03-24 | Event-triggered wave pool/water tank experimental device and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010214703.XA CN111337222B (en) | 2020-03-24 | 2020-03-24 | Event-triggered wave pool/water tank experimental device and method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111337222A true CN111337222A (en) | 2020-06-26 |
CN111337222B CN111337222B (en) | 2021-08-31 |
Family
ID=71184639
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010214703.XA Active CN111337222B (en) | 2020-03-24 | 2020-03-24 | Event-triggered wave pool/water tank experimental device and method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111337222B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101968636A (en) * | 2010-09-18 | 2011-02-09 | 青岛众盟电子科技有限公司 | Closed loop control method for indoor wind wave water tank wave maker |
CN103728117A (en) * | 2013-12-27 | 2014-04-16 | 国家海洋技术中心 | System for collecting and analyzing water power test data of marine monitoring instrument device model |
CN104792494A (en) * | 2015-04-30 | 2015-07-22 | 珠江水利委员会珠江水利科学研究院 | Tank and method for multi-factor coupling simulation test based on dynamics of estuary and coastal |
CN206709833U (en) * | 2017-03-17 | 2017-12-05 | 大连理工大学 | A kind of movement measuring device applied to large-scale more Lamb wave wave simulation systems |
CN209802362U (en) * | 2019-01-26 | 2019-12-17 | 济宁医学院 | Wave characteristic parameter extraction device |
-
2020
- 2020-03-24 CN CN202010214703.XA patent/CN111337222B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101968636A (en) * | 2010-09-18 | 2011-02-09 | 青岛众盟电子科技有限公司 | Closed loop control method for indoor wind wave water tank wave maker |
CN103728117A (en) * | 2013-12-27 | 2014-04-16 | 国家海洋技术中心 | System for collecting and analyzing water power test data of marine monitoring instrument device model |
CN104792494A (en) * | 2015-04-30 | 2015-07-22 | 珠江水利委员会珠江水利科学研究院 | Tank and method for multi-factor coupling simulation test based on dynamics of estuary and coastal |
CN206709833U (en) * | 2017-03-17 | 2017-12-05 | 大连理工大学 | A kind of movement measuring device applied to large-scale more Lamb wave wave simulation systems |
CN209802362U (en) * | 2019-01-26 | 2019-12-17 | 济宁医学院 | Wave characteristic parameter extraction device |
Non-Patent Citations (1)
Title |
---|
王魁: "EtherCAT网络化数据采集系统的构建与研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Also Published As
Publication number | Publication date |
---|---|
CN111337222B (en) | 2021-08-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101012464B1 (en) | Testing method and its apparatus of digital substation Merging Unit | |
CN109799806A (en) | Simulation test method and system for valve control device | |
CN102184749A (en) | Method for automatically testing DCS (Digital Control System) control cabinet | |
CN103913728B (en) | A kind of method of testing based on portable radar comprehensive tester | |
CN106815144A (en) | A kind of diesel engine electric control system automatic testing arrangement for softwares and method | |
CN104579510A (en) | Automatic GNSS (global navigation satellite system) vehicle-mounted terminal testing device | |
CN202694090U (en) | Measurement and control system of wave and current synchronous simulation device | |
CN109143278A (en) | A kind of control platform automation Acceptance Test of satellite standardization hair and metering system and method | |
CN111520191A (en) | Testing device and testing method for digital coal mine safety monitoring system | |
CN111337222B (en) | Event-triggered wave pool/water tank experimental device and method thereof | |
CN100493005C (en) | Communication network test system for entire car of fuel cell car based on TTCAN | |
CN113945743A (en) | Multichannel test automatic management system and method for pulse current injection experiment | |
CN106546936B (en) | Virtual detection system and detection method for detecting energy efficiency monitoring equipment | |
CN206610099U (en) | The configurable time synchronization test system in scene | |
CN201037955Y (en) | Fuel batter whole automobile communication network testing device based on TTCAN | |
CN106020172B (en) | A kind of real-time sine sweep driving method of rudder servo based on FPGA platform and device | |
CN104133136A (en) | Testing device for rotating table frequency response | |
CN114924545A (en) | Test method, device, test equipment and medium for primary frequency modulation device | |
CN207937858U (en) | Test system of safety and stability control device | |
CN101776521A (en) | Fixed rotating speed trigger non-steady state signal acquisition device of mechanical rotation system | |
CN201742169U (en) | Digital real-time testing analyzer of secondary system in transformer station | |
CN208780332U (en) | Vibration acquisition device with pick-up function | |
CN109981399A (en) | A kind of general automation test software platform for common space communication | |
Yun | Design of cross-platform communication software based on a marine underwater acoustic communication network | |
CN215414021U (en) | Special detection analyzer for ship underwater acoustic sensor group |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |