[go: up one dir, main page]

CN111800614B - Water quality image acquisition and information transmission system and method based on underwater acoustic communicator networking - Google Patents

Water quality image acquisition and information transmission system and method based on underwater acoustic communicator networking Download PDF

Info

Publication number
CN111800614B
CN111800614B CN202010650289.7A CN202010650289A CN111800614B CN 111800614 B CN111800614 B CN 111800614B CN 202010650289 A CN202010650289 A CN 202010650289A CN 111800614 B CN111800614 B CN 111800614B
Authority
CN
China
Prior art keywords
data
water quality
underwater acoustic
serial port
communicator
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.)
Active
Application number
CN202010650289.7A
Other languages
Chinese (zh)
Other versions
CN111800614A (en
Inventor
刘妹琴
葛志远
郑荣濠
张森林
吴争光
樊臻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CN202010650289.7A priority Critical patent/CN111800614B/en
Publication of CN111800614A publication Critical patent/CN111800614A/en
Application granted granted Critical
Publication of CN111800614B publication Critical patent/CN111800614B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N33/00Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
    • G01N33/18Water

Landscapes

  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Food Science & Technology (AREA)
  • Medicinal Chemistry (AREA)
  • Multimedia (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

本发明公开了一种基于水声通信机组网的水质图像采集和信息传输系统及其方法,属于水下信息采集及通讯领域。包括水质传感器、串口摄像头、串口分配器、水声通信机、5V/1A锂电池及24V/4A锂电池、RS232接口交叉线;所述通信机与分配器输入端连接,传感器及摄像头通过交叉线与分配器的输出端连接,采用锂电池对通信机、传感器、摄像头、分配器进行供电。并在程序上实现通信协议的对接,通过三种通信协议的格式判断传输数据的类型后,增添或删减相应的数据格式,让数据在对应数据格式的设备中进行再次传输。最终可在通信机终端上实现查询水质及其图像情况的功能。

Figure 202010650289

The invention discloses a water quality image acquisition and information transmission system and method based on an underwater acoustic communication unit network, and belongs to the field of underwater information acquisition and communication. Including water quality sensor, serial camera, serial distributor, underwater acoustic communication machine, 5V/1A lithium battery and 24V/4A lithium battery, RS232 interface crossover cable; the communication machine is connected with the input end of the distributor, and the sensor and camera are connected through the crossover cable It is connected to the output end of the distributor, and the lithium battery is used to supply power to the communicator, sensor, camera, and distributor. And realize the docking of communication protocols in the program. After judging the type of data to be transmitted through the formats of the three communication protocols, add or delete the corresponding data format, so that the data can be transmitted again in the device corresponding to the data format. Finally, the function of querying water quality and its image status can be realized on the communication terminal.

Figure 202010650289

Description

Water quality image acquisition and information transmission system and method based on underwater acoustic communicator networking
Technical Field
The invention relates to the field of underwater information acquisition and communication, in particular to a water quality image acquisition and information transmission system and a water quality image acquisition and information transmission method based on underwater acoustic communicator networking.
Background
At present, in a serial port underwater acoustic communication machine, when a communication protocol is docked, a new single chip microcomputer is added to adjust the data format of the communication protocol, so that transmission of subsequent equipment is facilitated. The mode of transferring through the single-chip microcomputer has the defect that the additional single-chip microcomputer needs to be operated continuously to receive data for adjustment, and meanwhile, the underwater acoustic communication machine also receives the data continuously and judges bytes of the data, so that resource redundancy is caused to a certain extent, and energy expenditure is increased. And after the single chip microcomputer is used, serial port buffering is additionally carried out twice, and the data transmission rate and the error rate of data transmission can be influenced due to continuous buffering stagnation and increased data lines. In addition, in the double serial port transmission of the single serial port of the underwater acoustic communication machine, if the mode of switching the serial port transmission in real time by driving a button of the serial port converter through the motor is adopted, certain time delay can be generated in time, the motor consumes more energy, and the transmission rate of serial port data and the consumption of electric energy are greatly influenced.
In addition, when image transmission is performed, if a camera of a data stream is adopted, a frame of data needs to be extracted from the image stream in a hardware or software mode for storage, a physical layer protocol of an RS232 serial port protocol needs to be docked, and a communication protocol of image stream data needs to be docked on software. The mode of acquiring one frame of image through data flow has a defect, and a certain time delay exists when a shooting command is sent out and one frame of image is extracted through a hardware or software mode, and the normal operation of a camera is always transmitting the image flow, so that the loss of image resources and the loss of lithium battery electric energy are caused, and the transmission rate of the image and the endurance of a system are influenced finally.
Therefore, the prior art has the following problems:
(1) the underwater acoustic communication machine is only provided with a single serial port and cannot perform double-peripheral transmission;
(2) the underwater acoustic communicator is different from a water quality sensor and a serial port camera in communication protocol, can only receive messy code data and cannot identify the messy code data;
(3) there is a delay in the process of image capture and data transmission for the mainstream camera, and there is additional energy overhead.
Disclosure of Invention
In order to solve the problems, the invention provides a water quality image acquisition and information transmission system based on underwater acoustic communicator networking and a method thereof.A water quality sensor acquires and stores water quality data, a serial port camera shoots and stores images, the water quality data and the images are bidirectionally transmitted with an output serial port of the underwater acoustic communicator distributed by a serial port distributor, and finally peripheral data are butted through an application layer program of the underwater acoustic communicator carrying a water quality and image acquisition device, wherein the application layer program adds or deletes corresponding data formats after judging the types of the transmitted data through the formats of three communication protocols, so that the data are retransmitted in equipment with the corresponding data formats, and finally, the function of inquiring the water quality and the image conditions can be realized on a communicator terminal through networking.
The technical scheme adopted by the invention for solving the technical problems is as follows:
a water quality image acquisition and information transmission system based on underwater acoustic communicator networking comprises an underwater acoustic communicator networking, a water quality and image acquisition device and a computer, wherein the underwater acoustic communicator networking comprises a plurality of underwater acoustic communicators and a water surface acoustic communicator, an external interface of the water surface acoustic communicator is connected with the computer, the plurality of underwater acoustic communicators are in sound wave communication connection with the water surface acoustic communicator, and at least one underwater acoustic communicator is provided with the water quality and image acquisition device;
the water quality and image acquisition device comprises a serial port distributor, a water quality sensor and a serial port camera, wherein the serial port distributor is provided with an input interface and two output interfaces, a peripheral interface of the underwater acoustic communicator is connected with the input interface on the serial port distributor, and peripheral interfaces of the water quality sensor and the serial port camera are respectively connected with the output interface on the serial port distributor.
Preferably, the underwater acoustic communicator and the water surface acoustic communicator are an A5Mx05N series MISO terminal transceiving system, the external interface is a DB9 pin interface of a standard RS232 protocol, and the interface cache is 512B.
Preferably, the serial port distributor and the serial port camera are powered by a 5V/1A lithium battery power supply, the water surface underwater acoustic communicator and the underwater acoustic communicator are powered by a 24V/4A lithium battery, and the water quality sensor is powered by an 8-section No. two C-type LR14 alkaline 1.5V dry battery.
Preferably, the serial port distributor and the serial port camera are subjected to sealing and waterproof treatment.
Preferably, the serial port camera interface adopts a DB9 pin interface of a standard RS232 protocol, and the communication speed is 115200 bps.
Preferably, the serial port camera has three communication frame structures of a command frame, a response frame and a data frame, and the image data is transmitted in a sub-packet mode through the data frame.
Preferably, the water quality sensor adopts a DB9 needle interface of a standard RS232 protocol, and the communication speed is 19200 bps.
Compared with the prior art, the invention has the beneficial effects that:
(1) the invention changes the application layer program of the underwater acoustic communicator to butt joint the peripheral communication, and effectively reduces redundant singlechip resources compared with the method of adding a new singlechip to coordinate the underwater acoustic communicator and the peripheral equipment simultaneously.
(2) According to the invention, after double transmission of a single serial port is realized through the serial port distributor, the function of automatically switching the transmission serial port can be more conveniently realized through hardware in the serial port distributor, and the operation of automatic distribution and bidirectional transmission of data which cannot be manually switched underwater is ensured. The traditional serial port shifting converter adopting the motor switches communication between input serial ports and different output serial ports, and the serial port distributor adopts electronic elements, so that the motor on the serial port switching converter has larger power compared with the electronic elements, the endurance of a system is greatly influenced, and the rotation of the motor needs certain time delay and cannot be as fast as the high-low level switching between the electronic elements.
(3) The invention can directly take a picture and store a digital image by adding the serial camera, and if the camera of the data stream is adopted, because of the influence of the slow speed of serial transmission and sound wave transmission, the image data needs to be extracted from the image data stream and stored in a software or hardware mode. And because the data stream camera can shoot all the time to obtain the image data stream, and the serial port camera only shoots when the shooting instruction arrives, a lot of unnecessary energy expenses can be saved.
Drawings
FIG. 1 is a distributor output connection of the present invention;
fig. 2 is a networking system of the communicator of the present invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings.
A water quality image acquisition and information transmission system based on underwater acoustic communicator networking comprises an underwater acoustic communicator networking, a water quality and image acquisition device and a computer, wherein the underwater acoustic communicator networking comprises a plurality of underwater acoustic communicators and a water surface acoustic communicator, an external interface of the water surface acoustic communicator is connected with the computer, the plurality of underwater acoustic communicators are in sound wave communication connection with the water surface acoustic communicator, and at least one underwater acoustic communicator is provided with the water quality and image acquisition device;
the water quality and image acquisition device comprises a serial port distributor, a water quality sensor and a serial port camera, wherein the serial port distributor is provided with an input interface and two output interfaces.
In fig. 1, an input interface a of the serial port distributor 4 is connected with an external interface of the underwater acoustic communication machine 3, and output interfaces B and C of the serial port distributor 4 are respectively connected with the water quality sensor 1 and the external interface of the serial port camera 2. When the DB9 interface male and female of the RS232 interface protocol do not correspond, the cross lines of RS232 are adopted for connection. In order to ensure the waterproof condition of data acquisition and devices, the serial port distributor and the serial port camera are subjected to sealing waterproof treatment, and the DS5 water quality transmitter and the underwater acoustic communicator are exposed in a water environment so as to facilitate water quality data acquisition and data underwater acoustic communication.
In one specific implementation of the invention, the serial port distributor and the serial port camera are both provided with 5V/1A lithium battery power supplies, the water surface underwater acoustic communicator and the underwater acoustic communicator are provided with 24V/4A lithium batteries, and the water quality sensor is provided with 8 sections of second C-type LR14 alkaline 1.5V dry batteries.
In the networking system of the underwater acoustic communicator shown in fig. 2, the water quality and image acquisition device is mainly mounted on the underwater acoustic communicator node of one underwater unit, each node transmits acquired data in the form of sound waves according to the set power, and an identifiable serial number ID is stored as a physical address for communication identification.
In one embodiment of the present invention, the serial camera may be set to have three pixel sizes, which are 160 × 120, 320 × 240, 640 × 480, respectively, and belong to the JZ-CAM series, an interface thereof is a DB9 pin interface of a standard RS232 protocol, and a communication rate is 115200 bps.
The water quality sensor is a Hydrolab DS5 transmitter communication port configured with 19200 baud rate, 8-bit data bits, even check bits and 1-bit stop bits, each data is mainly stored in a register with physical address starting with 40001 in a single precision IEEE floating point format (4 bytes). The device can mainly measure parameters such as dissolved oxygen, temperature, PH, conductivity coefficient and the like, and the interface is a DB9 needle interface of a standard RS232 protocol.
The underwater acoustic communicator and the water surface acoustic communicator are A5Mx05N series MISO terminal transceiving systems, the external interfaces of the underwater acoustic communicator and the water surface acoustic communicator are DB9 pin interfaces of a standard RS232 protocol, the interface cache is 512B, and the underwater acoustic communicator and the water surface acoustic communicator are mainly used for the high-speed communication field of the severe underwater environment of the acoustic communication monitoring classical networking.
The method for acquiring the water quality image and transmitting the information by adopting the networking system shown in FIG. 2 specifically comprises the following steps:
connecting a peripheral interface of a communicator to an input interface of a serial port distributor;
connecting the external interface of the water quality sensor to one of the output interfaces of the serial port distributor;
connecting the peripheral interface of the serial port camera to the other output interface of the serial port distributor;
modifying an application layer program of the underwater acoustic communicator to butt joint a communication protocol of the water quality sensor and the serial port camera;
fifthly, carrying out simulation on the modified program in the step four to judge the compiling of the program and the correctness of the logic;
and step six, after actual launching operation, transmitting and receiving the transmitted data through a serial port debugging tool.
In the fourth step, the application layer program of the underwater acoustic communicator is mainly programmed through C language, and after the type of the transmission data is judged through the formats of the three communication protocols, the corresponding data format is added or deleted, so that the data is transmitted again in the equipment corresponding to the data format. The data format of the serial camera communication protocol is mainly that a data head U starts with one byte and ends with a byte of a #; the data format of the underwater acoustic communicator communication protocol is mainly started by a byte of "$", and is divided into hexadecimal transmission and ASCII code transmission according to the encoding mode of communication data; the data format of the water quality sensor communication protocol mainly starts from the address of the slave device and the ModBus protocol function code and ends with the CRC check code. When the data format of a communication protocol is connected, the data type is mainly determined by judging the first byte of the data, the next byte is verified and verified by a check code, and if the byte and the check code are verified, the required data, such as water quality data and image data, are transmitted in the data format of the underwater acoustic communicator, so that the communicator can transmit the data to the next communicator node through sound waves. If the verification of the byte and the check code is not passed, the underwater acoustic communication machine resends the corresponding data request instruction to request the peripheral equipment to resend the related data.
In the fifth step, the simulation platform is a mate2 simulation platform provided by a communication company, and is mainly used for checking the correctness and logic correctness of programs, so that the underwater acoustic communication machine can identify the required data content of the water quality sensor and the serial port camera, the required data can be transmitted between the networked underwater acoustic communication machines, and the underwater acoustic communication machine can convert the control instruction in the communication protocol format of the underwater acoustic communication machine into the control instruction of the water quality sensor and the serial port camera.
In the sixth step, after the actual launching operation:
step 6.1: placing an underwater acoustic communicator, a serial port distributor, a serial port camera and a water quality sensor in the environment of a water area to be detected, and sending a water quality detection instruction or a photographing instruction by a computer; when the serial camera receives a photographing instruction, image information acquisition is started, image data is packetized according to the specified data size, each packetized data forms a data frame to be stored in a register, and the number of the packetized data and the size of the image data are returned in a data format of a serial camera communication protocol; when the water quality sensor receives a water quality detection instruction, water quality information acquisition is started, and detected water quality information is stored in a register;
step 6.2: sending a data request command to the water surface underwater acoustic communicator by the computer in an underwater acoustic communicator communication protocol format, transmitting the data request command to the underwater acoustic communicator through the water surface underwater acoustic communicator, and mutually transmitting the data request command to the underwater acoustic communicator carrying the water quality and image acquisition device through the underwater acoustic communicator nodes;
step 6.3: if the data request command is a water quality information request command, obtaining a register address and the number of registers for storing request data through table lookup, obtaining a 16-bit CRC (cyclic redundancy check) code based on a modbus protocol according to the equipment ID, the register address and the number of the registers of the water quality sensor, packaging the equipment ID, the register address, the number of the registers and the CRC code of the water quality sensor in a water quality sensor communication protocol, and transmitting the equipment ID, the register address, the number of the registers and the CRC code of the water quality sensor to a corresponding water quality sensor through a serial port; after the water quality sensor reads the request command, a 16-bit CRC (cyclic redundancy check) code based on the modbus protocol is obtained according to the equipment ID of the water quality sensor, the numerical value in the corresponding register address and the number of bytes occupied by the numerical value in the corresponding register address, and the equipment ID of the water quality sensor, the numerical value in the corresponding register address, the number of bytes occupied by the numerical value and the CRC code are returned;
if the data request command is an image information request command, the underwater acoustic communicator carrying the water quality and image acquisition device circularly reads image data according to a set register address and the size of a data frame, transmits the image data to the water surface underwater acoustic communicator through a networking underwater acoustic communicator node, and transmits the image data to a computer through a serial port until the number of times of reading the data is equal to the number of returned packets in the step 6.1;
step 6.4: packaging the data returned in the step 6.3 in an underwater acoustic communicator communication protocol, transmitting the sound waves of the nodes of the networked underwater acoustic communicator to a water surface underwater acoustic communicator connected with the computer, and returning the data to the computer through a serial port; the request data is extracted from the data format of the underwater acoustic communicator communication protocol through the computer, and if the request data contains image data, the image data needs to be converted into a JPEG format to complete data receiving and sending. More specifically, if the serial port debugging program on the computer receives the data based on the underwater acoustic communicator communication protocol and contains water quality data, the serial port debugging assistant puts the water quality data out of the data format of the underwater acoustic communicator communication protocol and displays the water quality data at the fixed position of the serial port debugging assistant. If the serial port debugging program on the computer receives the data based on the underwater acoustic communicator communication protocol and comprises the image data, the serial port debugging assistant puts the image data into the data format of the underwater acoustic communicator communication protocol, converts the image data into an image in a JPEG format and displays the image in a fixed position of the serial port debugging program. The serial port debugging assistant is written by the inventor team.
In one embodiment of the present invention, during the operation of the water quality image acquisition and data transmission system in combination with fig. 1 and 2, the water quality sensor acquires data through the multifunctional probe, and updates the data in the register starting from the physical address 40001 at the configured time interval within the set sampling time. If PH data of water quality needs to be obtained, inputting a hexadecimal communication structure character string "$ HHTXD," + target communication machine ID + "," + data packet mode + "," + "amplitude" + "of sending data packet, and a character string" get _ parameter _ note to be fetched into a computer serial port debugging assistant tool: PH ″ is mutually transmitted to an underwater acoustic communicator carrying a water quality sensor through an underwater acoustic communicator node, the underwater acoustic communicator performs table lookup according to formats of last character strings (referred to as "PH" herein) to obtain a register address stored by the water quality sensor PH, embeds data of a start address of the register and the number of registers into a communication protocol of the water quality sensor, namely, a data format beginning with a sensor device ID and a modbus protocol function code 0x03 and ending with a CRC check code, and transmits the data to the water quality sensor through a serial port distributor.
And when the water quality sensor receives a correct data query request, returning the numerical value of the corresponding register. After receiving the returned PH value through the serial port distributor, the underwater acoustic communicator embeds the PH value into the communication structure character strings "$ HHTXD," + target communicator ID + "," + data packet mode + ", the amplitude" + "of the data packet sending and the" + PH value, transmits data to the underwater acoustic communicator connected with the computer through sound waves, and transmits the data to the serial port program of the computer through the serial port.
In one specific implementation of the invention, the serial camera adopted by the invention has three communication frame structures of a command frame, a response frame and a data frame, wherein the command frame is used for transmitting command representative bytes and command contents, the response frame is used for a receiver to return a command whether the command is correct, the data frame is used for transmitting a data packet number, a data packet length and image data contents, and the image data is transmitted in a sub-packet mode through the data frame. When image data is collected, the serial camera is configured in advance, and if the command 'UQ' + equipment ID + compression ratio + end symbol '#' in the command frame is used, the image data shot by the serial camera is compressed and stored. Sending a photographing instruction based on the underwater acoustic communicator through a computer serial port debugging program, wherein if the instruction is "$ HHTXD," + target communicator ID + "," + data packet mode + "," + "amplitude" + "of sending data packet and" + "take a photo", after the underwater acoustic communicator node through networking is transmitted to the underwater acoustic communicator carrying the image acquisition system, the underwater acoustic communicator carrying the image acquisition system sends a picture shooting instruction based on the serial camera to the serial camera, namely, a command frame is "UH" + ID of the serial camera + required image pixel size + specified each packet size + ending symbol "#". After the serial camera successfully takes the picture, the response frame UH + the ID of the serial camera + the end sign # is returned, and the image size and the sub-packet number are returned at the same time. And after the underwater acoustic communication machine receives the returned data, the underwater acoustic communication machine circularly sends a packet taking command frame to read the image data. The camera will return a checksum of each packet size including the order of the packet and the packetization, and the packet content and data, beginning with "UF". The underwater acoustic communicator receives the corresponding data and then sends the data to the water surface underwater acoustic communicator through the networking system in sequence, and transmits the data to a serial port program of the computer through a serial port, and the serial port program can perform further conversion between the data and the image.
To further illustrate the feasibility of the present invention, in this embodiment, an experiment of water quality image acquisition and transmission is performed, where a serial port is configured by a serial port debugging program, and after a control instruction is sent to perform water quality image acquisition, water quality and image data returned by an underwater acoustic communication device carrying a water quality image acquisition device can be received. After the control command is input into the data sending frame, such as a photographing command and a water quality data inquiring command, the data of the water quality and the image can be received in the data receiving frame. If image data is obtained, the program generates an image in an image frame and records the time it takes from the acquisition to the generation of the image. If the water quality data is obtained, the program records the specific data of the water quality at the corresponding position in the water quality data frame, and records the time spent on inquiring the complete water quality data at the upper right corner.
The foregoing lists merely illustrate specific embodiments of the invention. It is obvious that the invention is not limited to the above embodiments, but that many variations are possible. All modifications which can be derived or suggested by a person skilled in the art from the disclosure of the present invention are to be considered within the scope of the invention.

Claims (3)

1. A water quality image acquisition and information transmission method based on an underwater acoustic communication unit network system is disclosed, wherein the underwater acoustic communication unit network system comprises an underwater acoustic communication unit network, a water quality and image acquisition device and a computer, the underwater acoustic communication unit network comprises a plurality of underwater acoustic communication units and a water surface acoustic communication unit, peripheral interfaces of the water surface acoustic communication unit are connected with the computer, the plurality of underwater acoustic communication units are in acoustic communication connection with the water surface acoustic communication unit, and at least one underwater acoustic communication unit is provided with the water quality and image acquisition device;
the water quality and image acquisition device comprises a serial port distributor, a water quality sensor and a serial port camera, wherein the serial port distributor is provided with an input interface and two output interfaces;
the method is characterized by comprising the following steps:
on the basis of a serial port camera communication protocol, a water quality sensor communication protocol and an original underwater acoustic communicator communication protocol, debugging an application layer program of the underwater acoustic communicator to butt joint the water quality sensor and the serial port camera communication protocol, so that the three communication protocols meet communication requirements;
placing the underwater acoustic communicator, the serial port distributor, the serial port camera and the water quality sensor in the environment of the water area to be detected, and sending a water quality detection instruction or a photographing instruction by a computer; when the serial camera receives a photographing instruction, image information acquisition is started, image data is packetized according to the specified data size, each packetized data forms a data frame to be stored in a register, and the number of the packetized data and the size of the image data are returned in a data format of a serial camera communication protocol; when the water quality sensor receives a water quality detection instruction, water quality information acquisition is started, and detected water quality information is stored in a register;
step three, sending a data request command to the water surface underwater acoustic communicator by the computer in an underwater acoustic communicator communication protocol format, transmitting the data request command to the underwater acoustic communicator through the water surface underwater acoustic communicator, and mutually transmitting the data request command to the underwater acoustic communicator carrying the water quality and image acquisition device through the underwater acoustic communicator nodes;
if the data request command is a water quality information request command, obtaining a register address and the number of registers for storing the request data through table lookup, obtaining a 16-bit CRC check code based on a modbus protocol according to the equipment ID, the register address and the number of the registers of the water quality sensor, packaging the equipment ID, the register address, the number of the registers and the CRC check code of the water quality sensor in a water quality sensor communication protocol, and transmitting the equipment ID, the register address, the number of the registers and the CRC check code of the water quality sensor to the corresponding water quality sensor through a serial port distributor; after the water quality sensor reads the request command, a 16-bit CRC (cyclic redundancy check) code based on the modbus protocol is obtained according to the equipment ID of the water quality sensor, the numerical value in the corresponding register address and the number of bytes occupied by the numerical value in the corresponding register address, and the equipment ID of the water quality sensor, the numerical value in the corresponding register address, the number of bytes occupied by the numerical value and the CRC code are returned;
if the data request command is an image information request command, the underwater acoustic communicator carrying the water quality and image acquisition device circularly reads image data according to a set register address and the size of a data frame, transmits the image data to the water surface underwater acoustic communicator through a networking underwater acoustic communicator node, and transmits the image data to the computer through a serial port until the number of times of reading the data is equal to the number of returned sub-packets in the step two;
step five, packaging the data returned in the step four in an underwater acoustic communicator communication protocol, transmitting the sound waves of the nodes of the networked underwater acoustic communicator to a water surface underwater acoustic communicator connected with the computer, and returning the data to the computer through a serial port; the request data is extracted from the data format of the underwater acoustic communicator communication protocol through the computer, and if the request data contains image data, the image data needs to be converted into a JPEG format to complete data receiving and sending.
2. The water quality image acquisition and information transmission method according to claim 1, wherein after the application layer program of the underwater acoustic communicator judges the type of the transmission data through the formats of the three communication protocols, the corresponding data formats are added or deleted, and the data are retransmitted in the equipment corresponding to the data formats.
3. The water quality image acquisition and information transmission method according to claim 1, wherein a serial port debugging tool is installed in the computer.
CN202010650289.7A 2020-07-08 2020-07-08 Water quality image acquisition and information transmission system and method based on underwater acoustic communicator networking Active CN111800614B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010650289.7A CN111800614B (en) 2020-07-08 2020-07-08 Water quality image acquisition and information transmission system and method based on underwater acoustic communicator networking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010650289.7A CN111800614B (en) 2020-07-08 2020-07-08 Water quality image acquisition and information transmission system and method based on underwater acoustic communicator networking

Publications (2)

Publication Number Publication Date
CN111800614A CN111800614A (en) 2020-10-20
CN111800614B true CN111800614B (en) 2021-03-23

Family

ID=72810564

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010650289.7A Active CN111800614B (en) 2020-07-08 2020-07-08 Water quality image acquisition and information transmission system and method based on underwater acoustic communicator networking

Country Status (1)

Country Link
CN (1) CN111800614B (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2833359B1 (en) * 2001-12-10 2004-04-23 Inst Francais Du Petrole SEISMIC DATA ACQUISITION SYSTEM USING SEA-BASED ACQUISITION STATIONS
CN202853611U (en) * 2012-10-14 2013-04-03 北京航天福道高技术股份有限公司 Amphibious hydrological water quality comprehensive tour gauging vehicle
CN104731053A (en) * 2015-01-22 2015-06-24 马鞍山纽泽科技服务有限公司 Multifunctional underwater monitoring and fishing operation system
CN104777845B (en) * 2015-04-15 2018-04-03 上海海事大学 The underwater body apparatus and automatic obstacle avoiding method of underwater robot
CN207600467U (en) * 2017-10-30 2018-07-10 天津水运工程勘察设计院 A kind of six degree of freedom measuring device during submerged wreck salvaging
CN108363291B (en) * 2018-03-06 2024-06-14 杭州电子科技大学 Master-slave double-backup type measurement and control system and method for recyclable detector of under-ice lake
CN108631885B (en) * 2018-05-09 2019-09-06 中国科学院声学研究所 A wireless real-time communication system and method for submarine targets
CN208608992U (en) * 2018-07-03 2019-03-15 深圳市智慧海洋科技有限公司 A kind of wireless remote control underwater robot system

Also Published As

Publication number Publication date
CN111800614A (en) 2020-10-20

Similar Documents

Publication Publication Date Title
CN102098212B (en) Apparatus for processing peripheral component interconnect express protocol
CN111083161A (en) Data transmission processing method and device and Internet of things equipment
CN111064545B (en) Device and method for realizing private network ground inspection with SPW interface based on FPGA
CN101771700B (en) Modbus protocol communication node based on FPGA
CN107360177B (en) A kind of message transmitting method and device based on UDP
CN106131028B (en) A kind of data transmission method of Free-port communication gateway
CN111800614B (en) Water quality image acquisition and information transmission system and method based on underwater acoustic communicator networking
CN105786734A (en) Data transmission method, expansion device, peripheral equipment and system
CN1988537A (en) Data transmission protocol
CN109359082B (en) USB data real-time monitoring system and method based on FPGA
CN112399446B (en) Edge gateway communication method, device, computer equipment and storage medium
CN111930683B (en) Synchronous serial transceiver suitable for HDLC protocol and method thereof
CN115525500B (en) Device debugging method, device, equipment and medium
CN102402494A (en) Data processing method and device for 10 gigabit media independent interface (XGMII) and inter-chip bidirectional handshaking method
CN116346653A (en) VPP-based inter-cloud interconnection observability system and method thereof
CN107481496A (en) A remote transmission system for field observation data based on GPRS network and cloud platform
CN114554454B (en) A method for forwarding vehicle-ground communication data and a communication unit
CN119653047A (en) A smart construction site monitoring method and system with high-speed power line broadband
US12348416B2 (en) Mobile device performing data communication through charging terminals and mobile system including same
TW200828889A (en) Method for identifying transmission of packets
CN119967110A (en) Serializer, camera system, display screen system and vehicle-mounted system
JP2008203959A (en) Serialization method, data format and data transfer device in data transfer
CN119316111A (en) SPI full-duplex data transmission method, system, device and storage medium
Ding A File Transfer Method Based on Modbus Protocol
CN206283532U (en) A kind of data acquisition device

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