CN212484348U - A RS-485-based ocean sensor array data transmission bus - Google Patents

A RS-485-based ocean sensor array data transmission bus Download PDF

Info

Publication number
CN212484348U
CN212484348U CN202020832183.4U CN202020832183U CN212484348U CN 212484348 U CN212484348 U CN 212484348U CN 202020832183 U CN202020832183 U CN 202020832183U CN 212484348 U CN212484348 U CN 212484348U
Authority
CN
China
Prior art keywords
module
level
transmission
main control
acquisition
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
CN202020832183.4U
Other languages
Chinese (zh)
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.)
Ningbo University
Original Assignee
Ningbo University
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 Ningbo University filed Critical Ningbo University
Priority to CN202020832183.4U priority Critical patent/CN212484348U/en
Application granted granted Critical
Publication of CN212484348U publication Critical patent/CN212484348U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

本实用新型公开了一种基于RS‑485的海洋传感器阵列数据传输总线,特点是包括多个由浅至深逐级分布在海水中的采集传输节点,每级采集传输节点包括电源模块、单片机主控模块、海洋环境传感模块、RS‑485发送模块、第一RS‑485接收模块和第二RS‑485接收模块;优点是采用多回路接力式总线拓扑结构,本级的采集传输节点通过第一RS‑485双绞线与相邻一级的采集传输节点连接,同时通过第二RS‑485双绞线与间隔一级的采集传输节点连接,位于最上一级的采集传输节点与上位机连接,传输效率较高;提高系统的冗余性,能够及时对故障采集传输节点进行维修,使海洋复杂环境下所采集数据的传输可靠性得到保证。

Figure 202020832183

The utility model discloses an RS-485-based ocean sensor array data transmission bus, which is characterized by comprising a plurality of acquisition and transmission nodes distributed in seawater from shallow to deep in stages, and each level of acquisition and transmission nodes comprises a power supply module and a single-chip microcomputer main control module, marine environment sensing module, RS‑485 sending module, first RS‑485 receiving module and second RS‑485 receiving module; the advantage is that the The RS-485 twisted pair is connected to the acquisition and transmission node of the adjacent level, and at the same time, it is connected to the acquisition and transmission node of the interval level through the second RS-485 twisted pair. The transmission efficiency is high; the redundancy of the system is improved, and the faulty acquisition and transmission nodes can be repaired in time, so that the transmission reliability of the collected data in the complex marine environment is guaranteed.

Figure 202020832183

Description

Ocean sensor array data transmission bus based on RS-485
Technical Field
The utility model belongs to the technical field of pull-type ocean sensor array bus and specifically relates to an ocean sensor array data transmission bus based on RS-485.
Background
The method is characterized in that a towing observation system drags an underwater observation system by a tugboat, the underwater observation system is connected with the tugboat by adopting a cable, sensors are arranged on the cable at intervals from top to bottom, the whole underwater observation system is dragged to move forward by the boat in the advancing process to observe a multi-parameter ocean profile, and the array type towing observation system has the characteristics of real-time, high resolution and multi-factor synchronous observation.
The depth of an observation section of the array type towing observation system can reach thousands of meters, the number of sensor nodes arranged on a cable is hundreds, and at present, the existing towing chain adopts an underwater inductive coupling data transmission mode, so that the defects that the transmission speed is limited by the number of underwater nodes and the transmission distance, and the transmission speed is generally low exist; although an RS-485 bus commonly adopted for long-distance transmission has the advantages of low cost, expandability and the like, the defects are obvious, such as a single main structure, low speed, limited information quantity, and only a host polling or token transmission mode can be selected in a medium access mode, a host polling master station sequentially sends polling instructions and control commands to each slave station, and the slave stations reply acquired data and command execution results according to the addresses of the polling instructions of the master station; the existing RS-485 system has low working transmission rate efficiency under long distance, thereby restricting the application of communication under high-speed and long-distance environment, and once a main line on an RS-485 bus fails, the whole transmission system fails, and the system needs to be put into use after fault troubleshooting and maintenance, which is time-consuming and labor-consuming; therefore, how to solve the problem of high-speed real-time transmission of the ocean sensor array under a long-distance and complex working environment is an urgent need to solve at present.
Disclosure of Invention
The utility model aims to solve the technical problem that a higher ocean sensor array data transmission bus based on RS-485 of transmission reliability and transmission efficiency is provided.
The utility model provides a technical scheme that above-mentioned technical problem adopted does: an RS-485-based ocean sensor array data transmission bus comprises a plurality of acquisition transmission nodes distributed in seawater step by step from shallow to deep, each stage of the acquisition transmission nodes comprises a power module, a singlechip main control module, an ocean environment sensing module, an RS-485 transmitting module, a first RS-485 receiving module and a second RS-485 receiving module, the power module is used for supplying power to the singlechip main control module and the ocean environment sensing module, the ocean environment sensing module acquires information of each ocean element in real time according to setting and transmits the information to the singlechip main control module, a first receiving end of the singlechip main control module is connected with a transmitting end of the first RS-485 receiving module, a second receiving end of the singlechip main control module is connected with a transmitting end of the second RS-485 receiving module, the sending end of the single-chip microcomputer main control module is connected with the receiving end of the RS-485 sending module, the first sending end of the RS-485 sending module is connected with the receiving end of the first RS-485 receiving module in the adjacent upper-stage acquisition transmission node through a first RS-485 twisted pair, and the second sending end of the RS-485 sending module is connected with the receiving end of the second RS-485 receiving module in the upward second-stage acquisition transmission node at one stage interval through a second RS-485 twisted pair.
The single-chip microcomputer main control module in the acquisition transmission node of the current stage receives data sent by the RS-485 sending module in the acquisition transmission node of the next stage through the first RS-485 receiving module when detecting that the connection state of the first RS-485 twisted pair is normal, receives data sent by the RS-485 sending module in the acquisition transmission node of the next stage through the second RS-485 receiving module when detecting that the connection state of the first RS-485 twisted pair is abnormal, the single-chip microcomputer main control module in the acquisition transmission node of the current stage sends all the received data to the first RS-485 receiving module in the acquisition transmission node of the previous stage through the RS-485 sending module, and simultaneously, the single-chip microcomputer main control module in the acquisition transmission node of the current stage sends all the received data through the RS-485 receiving module And the 485 sending module sends the data to the second RS-485 receiving module in the acquisition transmission node which is separated by one level and is upward at the second level. When the current-stage acquisition transmission node receives normal data uploading of an adjacent lower-stage acquisition transmission node, the current-stage acquisition transmission node preferentially receives data uploaded by the adjacent lower-stage acquisition transmission node through the first RS-485 twisted pair, and when the connection state of the first RS-485 twisted pair connected with the lower-stage acquisition transmission node is a communication fault, the current-stage acquisition transmission node stops using a fault line, switches to receive data to a downward second-stage acquisition transmission node at one stage of interval through the second RS-485 twisted pair, and has small influence on overall data transmission; when the fault of the adjacent next-stage acquisition and transmission node is repaired and the data is uploaded normally again, the next-stage acquisition and transmission node is switched back to preferentially receive the data uploaded by the adjacent next-stage acquisition and transmission node through the first RS-485 twisted pair, so that the transmission reliability of the acquired data under the marine complex environment is ensured.
The single chip microcomputer main control module adopts an STM32 single chip microcomputer. Like STM32F1 series chips, these chips have been widely used in the field of ocean sensor array buses.
Compared with the prior art, the utility model has the advantages that a multi-loop relay type bus topological structure is adopted, the collection transmission node at the current level is connected with the collection transmission node at the adjacent level through the first RS-485 twisted pair, and is simultaneously connected with the collection transmission node at the interval level through the second RS-485 twisted pair, the collection transmission nodes at the top level and the adjacent lower level are respectively connected with the upper computer on the ship, each collection transmission node which normally works gradually transmits data upwards in each data uploading period until transmitting to the upper computer, meanwhile, as long as the data transmission time between the upper computer and the next collection transmission node is less than the data uploading interval time, the total distance of the bus and the number of the nodes on the bus can be infinitely increased, and the transmission speed between the collection transmission nodes is not influenced by the length of the bus and the number of the nodes, the transmission efficiency is high;
when data transmission of one of the first-stage acquisition transmission nodes fails, the adjacent previous-stage acquisition transmission node of the failure node can read data of the next-stage acquisition transmission node of the failure node through the second RS-485 twisted pair line, and the failure acquisition transmission node can be maintained in time while the overall transmission is not influenced, so that the failure acquisition transmission node can be continuously put into use after being maintained, the redundancy of the system is improved, and the transmission reliability of the acquired data under the ocean complex environment is ensured.
Drawings
Fig. 1 is a schematic structural view of the present invention;
fig. 2 is a block diagram of a structure of an acquisition and transmission node in the embodiment.
Detailed Description
The present invention will be described in further detail with reference to the following embodiments.
An RS-485-based ocean sensor array data transmission bus comprises a plurality of acquisition transmission nodes 1 distributed in seawater step by step from shallow to deep, each stage of acquisition transmission nodes 1 comprises a power module 11, a singlechip main control module 12, an ocean environment sensing module 13, an RS-485 transmitting module 14, a first RS-485 receiving module 15 and a second RS-485 receiving module 16, the power module 11 is used for supplying power for the singlechip main control module 12 and the ocean environment sensing module 13, the ocean environment sensing module 13 acquires information of each ocean element in real time according to setting and transmits the information to the singlechip main control module 12, a first receiving end of the singlechip main control module 12 is connected with a transmitting end of the first RS-485 receiving module 15, a second receiving end of the singlechip main control module 12 is connected with a transmitting end of the second RS-485 receiving module 16, the sending end of the single chip microcomputer main control module 12 is connected with the receiving end of the RS-485 sending module 14, the first sending end of the RS-485 sending module 14 is connected with the receiving end of the first RS-485 receiving module 15 in the adjacent upper-stage acquisition transmission node 1 through the first RS-485 twisted pair 21, the second sending end of the RS-485 sending module 14 is connected with the receiving end of the second RS-485 receiving module 16 in the upward second-stage acquisition transmission node 1 at one stage interval through the second RS-485 twisted pair 22, the single chip microcomputer main control module 12 in the acquisition transmission node 1 receives the data sent by the RS-485 sending module 14 in the next-stage acquisition transmission node 1 through the first RS-485 receiving module 15 when detecting that the connection state of the first RS-485 twisted pair 21 is normal, and receives the data sent by the upward second RS-485 receiving module 16 at one stage interval when detecting that the connection state of the first RS-485 twisted pair 21 is abnormal The data that RS-485 sending module 14 sent in the transmission node 1 is gathered to lower second grade, this level gathers transmission node 1 in singlechip main control module 12 with all received data through RS-485 sending module 14 sending to the first RS-485 receiving module 15 in the transmission node 1 of last grade collection, simultaneously, this level gathers transmission node 1 in singlechip main control module 12 with all received data through RS-485 sending module 14 sending to the interval one-level upwards second grade gather transmission node 1 in second RS-485 receiving module 16, singlechip main control module 12 adopts STM32 singlechip.
In the above embodiment, the single-chip microcomputer main control module 12 of the current stage collection and transmission node 1 monitors the uploading of the next stage collection and transmission node through the RS-485 bus, during a detection process, the maximum waiting time of the current stage collection and transmission node 1 is set to T, if the data uploaded by the next stage collection and transmission node 1 through the first RS-485 twisted pair 21 is not received within the time T, the connection state of the first RS-485 twisted pair 21 connected with the next stage collection and transmission node 1 is marked as a communication error, and the time T is waited again, if the current stage collection and transmission node 1 does not receive the normal data uploading of the next stage collection and transmission node 1 within the time T for two consecutive times, the connection state of the first RS-twisted pair 21 connected with the next stage collection and transmission node 1 is marked as a communication fault, if the current stage collection and transmission node 1 receives the normal data uploading of the next stage collection and transmission node 1 within the time 2T, the data uploaded by the next-level acquisition and transmission node 1 through the first RS-485 twisted pair 21 is preferentially received, when the connection state of the first RS-485 twisted pair 21 connected with the next-level acquisition and transmission node 1 is a communication fault, the current-level acquisition and transmission node 1 stops using a fault line, the data is switched to be received by the next-level acquisition and transmission node 1 at one level below through the second RS-485 twisted pair 22, when the fault of the next-level acquisition and transmission node 1 is repaired and the data is uploaded normally again, the data uploaded by the next-level acquisition and transmission node 1 through the first RS-485 twisted pair 21 is preferentially received, and the acquisition and transmission nodes at the top level and the next level are respectively connected with an upper computer on the ship 3 to upload the data.

Claims (3)

1.一种基于RS-485的海洋传感器阵列数据传输总线,其特征在于包括多个由浅至深逐级分布在海水中的采集传输节点,每级所述的采集传输节点包括电源模块、单片机主控模块、海洋环境传感模块、RS-485发送模块、第一RS-485接收模块和第二RS-485接收模块,所述的电源模块用于为所述的单片机主控模块和所述的海洋环境传感模块供电,所述的海洋环境传感模块根据设定实时采集各个海洋要素信息并发送至所述的单片机主控模块,所述的单片机主控模块的第一接收端与所述的第一RS-485接收模块的发送端连接,所述的单片机主控模块的第二接收端与所述的第二RS-485接收模块的发送端连接,所述的单片机主控模块的发送端与所述的RS-485发送模块的接收端连接,所述的RS-485发送模块的第一发送端通过第一RS-485双绞线与相邻的上一级所述的采集传输节点中所述的第一RS-485接收模块的接收端连接,所述的RS-485发送模块的第二发送端通过第二RS-485双绞线与间隔一级的向上第二级的所述的采集传输节点中所述的第二RS-485接收模块的接收端连接。1. a marine sensor array data transmission bus based on RS-485, it is characterized in that comprising a plurality of acquisition and transmission nodes that are distributed in seawater step by step from shallow to deep, and the described acquisition and transmission nodes of each level include a power supply module, a single-chip microcomputer main unit. control module, marine environment sensing module, RS-485 sending module, first RS-485 receiving module and second RS-485 receiving module, the power supply module is used for the single-chip main control module and the The marine environment sensing module is powered, and the marine environment sensing module collects the information of each marine element in real time according to the setting and sends it to the single-chip main control module. The first receiving end of the single-chip main control module is connected to the The sending end of the first RS-485 receiving module is connected, the second receiving end of the single-chip main control module is connected with the sending end of the second RS-485 receiving module, and the sending end of the single-chip main control module is connected. The terminal is connected to the receiving terminal of the RS-485 sending module, and the first sending terminal of the RS-485 sending module is connected to the adjacent upper-level acquisition and transmission node through the first RS-485 twisted pair. The receiving end of the first RS-485 receiving module described in is connected, and the second transmitting end of the RS-485 sending module is connected with the second RS-485 twisted pair spaced one level up to the second level. The receiving end of the second RS-485 receiving module described in the acquisition and transmission node is connected. 2.根据权利要求1所述的一种基于RS-485的海洋传感器阵列数据传输总线,其特征在于本级所述的采集传输节点中所述的单片机主控模块在检测到第一RS-485双绞线连接状态正常时通过所述的第一RS-485接收模块接收下一级所述的采集传输节点中所述的RS-485发送模块发送的数据,当检测到第一RS-485双绞线连接状态非正常时通过所述的第二RS-485接收模块接收间隔一级的向下第二级所述的采集传输节点中所述的RS-485发送模块发送的数据,本级所述的采集传输节点中所述的单片机主控模块将所有接收到的数据通过所述的RS-485发送模块发送至上一级所述的采集传输节点中所述的第一RS-485接收模块,同时,本级所述的采集传输节点中所述的单片机主控模块将所有接收到的数据通过所述的RS-485发送模块发送至间隔一级的向上第二级的所述的采集传输节点中所述的第二RS-485接收模块。2. A kind of marine sensor array data transmission bus based on RS-485 according to claim 1, it is characterized in that the single chip main control module described in the collection and transmission node described in this level detects the first RS-485 When the twisted pair connection status is normal, the first RS-485 receiving module receives the data sent by the RS-485 sending module described in the collection and transmission node described in the next level. When the twisted wire connection status is abnormal, the second RS-485 receiving module receives the data sent by the RS-485 sending module described in the collection and transmission node described in the second stage at the interval one level down, and the data sent by the RS-485 sending module at the second level is received. The single-chip main control module described in the collection and transmission node sends all the received data to the first RS-485 receiving module described in the collection and transmission node described in the previous level through the RS-485 sending module, At the same time, the single-chip main control module described in the collection and transmission nodes described at this level sends all the received data to the collection and transmission nodes at the second level upward at the interval one level through the RS-485 sending module. The second RS-485 receiver module described in . 3.根据权利要求1或2所述的一种基于RS-485的海洋传感器阵列数据传输总线,其特征在于所述的单片机主控模块采用STM32单片机。3. A RS-485-based ocean sensor array data transmission bus according to claim 1 or 2, characterized in that the single-chip microcomputer main control module adopts STM32 single-chip microcomputer.
CN202020832183.4U 2020-05-19 2020-05-19 A RS-485-based ocean sensor array data transmission bus Active CN212484348U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202020832183.4U CN212484348U (en) 2020-05-19 2020-05-19 A RS-485-based ocean sensor array data transmission bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202020832183.4U CN212484348U (en) 2020-05-19 2020-05-19 A RS-485-based ocean sensor array data transmission bus

Publications (1)

Publication Number Publication Date
CN212484348U true CN212484348U (en) 2021-02-05

Family

ID=74461261

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202020832183.4U Active CN212484348U (en) 2020-05-19 2020-05-19 A RS-485-based ocean sensor array data transmission bus

Country Status (1)

Country Link
CN (1) CN212484348U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112882978A (en) * 2021-03-02 2021-06-01 中慧通(江苏)电子科技有限公司 Serial data transmission device and method and data processing equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112882978A (en) * 2021-03-02 2021-06-01 中慧通(江苏)电子科技有限公司 Serial data transmission device and method and data processing equipment
CN112882978B (en) * 2021-03-02 2023-09-15 北京伟兴彦科技有限公司 Serial data transmission device, method and data processing equipment

Similar Documents

Publication Publication Date Title
CN104090565A (en) Vehicle data collecting device adaptive to OBD interface and self-adaptive to various vehicle buses and diagnostic protocols
CN212484348U (en) A RS-485-based ocean sensor array data transmission bus
CN102055633A (en) Satellite-borne double-CAN (Controller Area Network) bus node failure self-restoration system
CN103487276B (en) Based on the condition monitoring and fault diagnosis general-purpose platform of CAN
CN107276632B (en) Positioning system and method
CN105551222A (en) Embedded bridge health monitoring system
CN106248173B (en) A kind of blast furnace radar burden level monitoring system based on technology of Internet of things
CN105807722A (en) Numerical control system including internal register self-reset function with serial communication signal monitoring
CN105306154A (en) Emission detection unit based on FPGA (Field Programmable Gate Array) and implementation method thereof
CN100385255C (en) Double collecting machine system and it double collecting method for double machine hot back-up
CN102387210B (en) Distribution type file system monitoring method based on rapid synchronization network
CN116684320A (en) Daisy chain communication diagnosis method, battery management system and device
CN210865076U (en) Oil-break protection device of screw air compressor for coal mine
CN202025234U (en) Field bus module used in self-diagnosis sensor
CN102053611A (en) Unmanned management method and system for test equipment
CN107436569A (en) A kind of buoy modularization acquisition system based on CAN
CN111476994B (en) Underwater Monitoring System
CN202058271U (en) CAN bus redundancy ship cabin monitor and alarm system
CN109632842B (en) CT detector with module serial structure and use method thereof
CN203232319U (en) A vehicle-mounted electronic fault diagnosing apparatus
CN109120816B (en) Pier-centered intelligent support synchronous data acquisition method and network system
CN209525577U (en) A kind of coal preparation plant's motor operating parameter remote monitoring system
CN102540248A (en) Earthquake acceleration sensor for railway disaster prevention
CN101908263A (en) Distributed tandem fine formation temperature measurement and wireless transmission collection system
CN214709618U (en) Automatic detection device for blade fall of ventilation opening of henhouse in large-scale chicken farm

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant