CN109167667A - A kind of sensor data acquisition Transmission system and method based on PTP synchronization - Google Patents
A kind of sensor data acquisition Transmission system and method based on PTP synchronization Download PDFInfo
- Publication number
- CN109167667A CN109167667A CN201811089362.7A CN201811089362A CN109167667A CN 109167667 A CN109167667 A CN 109167667A CN 201811089362 A CN201811089362 A CN 201811089362A CN 109167667 A CN109167667 A CN 109167667A
- Authority
- CN
- China
- Prior art keywords
- acquisition
- node
- interchanger
- acquisition node
- ptp
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
- H04J3/0658—Clock or time synchronisation among packet nodes
- H04J3/0661—Clock or time synchronisation among packet nodes using timestamps
- H04J3/0667—Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/10—Current supply arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/10—Packet switching elements characterised by the switching fabric construction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/161—Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Small-Scale Networks (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
The invention proposes a kind of sensor data acquisition Transmission system and method based on PTP synchronization, by the way that interchanger is connected, it can be extended on a large scale according to concrete application scene, tandem switching system number is customizable, the acquisition node number of each interchanger mounting is customizable, and the sensor passage number that each acquisition node can acquire is customizable, and array length is unrestricted, simple process, number of cables are few;By using PTP synchronization agreement, super remote distribution sensor synchronal data sampling is realized, synchronous acquisition precision is high;By using the transmission of ten thousand mbit ethernets and gigabit Ethernet transmission architecture, transmission belt is wide, can transmit at a distance, data throughout is big;Using Poe power over Ethernet, business datum, sync message and power supply is made all ethernet line to be used to transmit, simplifies acquiring and transmission system structure;The acquisition array length of whole device is unrestricted, and each acquisition node high-precise synchronization acquisition transmission is realized in large-scale sensor array acquisition.
Description
Technical field
The present invention relates to data acquisition transmission field more particularly to a kind of sensor data acquisition biographies based on PTP synchronization
Defeated system and method.
Background technique
Distributed data acquisition transmission technology is very widely used, and most typical application scenarios have military towed array sonar
The acquisition transmission of green end distribution hydrophone data, the ultra-large more more detector data acquisition transmission of cable of offshore oil exploration are deep
Extra large cablet sonar acquisition transmission detection system etc..The defect of traditional and existing distributed data acquisition Transmission system is summarized such as
Under: add first is that traditional data acquires transmission technology frequently with RS485 bus, ATM transmission, customized LVDS transmission, Ethernet
RS485, Ethernet add the framework of LVDS, these framework engineer application performance difficulties, and performance falls behind, less reliable;Second is that same
Step mode is backward, and the prior art method of synchronization is mostly using certain additional communication protocol and common using superfluous cable transmission one
The mode of system master clock node and lock-out pulse, or the mode using serial data clock recovery cooperation order compensation of delay
To realize small-scale synchronous acquisition.Synchronization accuracy is deteriorated with becoming larger for system scale, does not have the extension of large scale system
Extensibility, and implement complex, it needs additional software and hardware to cooperate, adverse effect is caused to system reliability,
It carries out applying in the military sonar extremely stringent to reliability requirement and earthquake petroleum exploration field and be restricted;Third is that existing skill
Art does not have ultra-large system data transmission ability, data throughout and limited transmission distance;Fourth is that prior art business number
According to, synchronization signal, clock, power supply will use individual cable transmission, number of cables is more in whole system, and connection relationship is multiple
Miscellaneous, technique realizes complexity, causes adverse effect to system reliability.Now need it is a kind of based on Ethernet PTP synchronization it is highly reliable,
Extensive extension, the sensor data acquisition Transmission system and method that handling capacity is big, synchronization accuracy is high.
Summary of the invention
In view of this, highly reliable, the extensive extension that the invention proposes a kind of based on Ethernet PTP synchronization, handling up
The sensor data acquisition Transmission system and method that amount is big, synchronization accuracy is high.
The technical scheme of the present invention is realized as follows: on the one hand, the present invention provides a kind of sensings based on PTP synchronization
Device data collection and transfering system comprising several sensors, several acquisition nodes, several interchangers and calculating center,
It further include master clock node and from clock node;
Acquisition node includes A/D conversion chip and the crystal oscillator after PTP synchronization is tamed;
The work clock of A/D conversion chip derives from the crystal oscillator after PTP synchronization is tamed;
Master clock node is calculating center or an acquisition node, and remaining acquisition node is from clock node;
Acquisition node carries out MESSAGE EXCHANGE by PTP protocol and master clock node, and each acquisition node locks master clock section
Point, each acquisition node upload business datum to calculating center by ICP/IP protocol;
Calculating center is connect by ten thousand mbit ethernet transmission lines with an interchanger signal, is led between interchanger and interchanger
The series connection of ten thousand mbit ethernet transmission lines is crossed, an interchanger is connect with multiple acquisition nodes by gigabit Ethernet transmission line signals,
Multiple sensors are connect by analog differential transmission line with an acquisition node signal.
On the basis of above technical scheme, it is preferred that when calculating the starting time and stopping that center setting data acquire
Between, sampling rate adjusting, working frequency and gain;
Starting the time is the sum of current time and default delay time;
Calculating center will start time, sample frequency configuration distributing to each acquisition node by reliable transport protocol.
On the basis of above technical scheme, it is preferred that further include ten thousand mbit ethernet backup transmission lines;
Ten thousand mbit ethernet backup transmission lines are all made of between calculating center and interchanger and interchanger and interchanger.
It is further preferred that further including the isolated power supply of 36V-72V wide scope;
Interchanger is powered using the isolated power supply of 36V-72V wide scope, is supplied using network power supply Poe technology to acquisition node
Electricity.
On the basis of above technical scheme, it is preferred that interchanger includes several 10,000,000,000 optical interfaces and gigabit electrical interface;
Interchanger is the transparent clock node in PTP synchronization, is the power supply unit in the Poe technology powered to acquisition node
Pse;
Acquisition node is the boundary clock node in PTP synchronization, is the powered device PD in Poe power supply technique.
On the other hand, the present invention provides a kind of sensor data acquisition transmission method based on PTP synchronization comprising with
Lower step:
S101, build calculating center connect with an interchanger signal by ten thousand mbit ethernet transmission lines, interchanger and friendship
Pass through gigabit Ethernet transmission line by the series connection of ten thousand mbit ethernet transmission lines, an interchanger and multiple acquisition nodes between changing planes
Signal connection and acquisition node pass through the system architecture that analog differential transmission line is connect with sensor signal;
S102, each acquisition node include A/D conversion chip and the crystal oscillator after PTP is tamed, when the work of A/D conversion chip
Clock derives from the crystal oscillator after PTP synchronization is tamed, and setting master clock node is calculating center or an acquisition node, residue acquisition
Node is from clock node, and each acquisition node independently carries out MESSAGE EXCHANGE by PTP protocol with master clock node, all to adopt
Collection node locks master clock node, after acquisition node locks master clock node, the phase and frequency of each acquisition node work clock
Rate is synchronous with master clock node, and after synchronizing, each acquisition node constantly carries out message interaction with master clock node, remains dynamic
Time synchronization;
S103, calculating center setting acquisition node start to acquire the starting time of data, sampling rate adjusting, and pass through
ICP/IP protocol will start time, sample frequency configuration distributing to each acquisition node;
S104, each acquisition node receive starting time, sample frequency with postponing, and continuously compare starting time and this
The ground time, upon start up between it is equal with local zone time when, immediately by control A/D conversion chip SYNC_IN pin low level come
Control A/D conversion chip starts to acquire data, and the A/D conversion chip of each acquisition node starts simultaneously at acquisition data, and passes through
The data of acquisition are uploaded to calculating center by ICP/IP protocol.
On the basis of above technical scheme, it is preferred that interchanger uses the isolated power supply of 36V-72V wide scope in S101
Power supply is powered using network power supply Poe technology to acquisition node.
Still more preferably, interchanger includes several 10,000,000,000 optical interfaces and gigabit electrical interface;
Interchanger is the transparent clock node in PTP synchronization, is the power supply unit in the Poe technology powered to acquisition node
Pse;
Acquisition node is the boundary clock node in PTP synchronization, is the powered device PD in Poe power supply technique.
On the basis of above technical scheme, it is preferred that calculated in S101 center and interchanger and interchanger with exchange
Ten thousand mbit ethernet backup transmission lines composition backup link is all made of between machine;
Backup link is completed by configuring exchanger chip internal status register.
On the basis of above technical scheme, it is preferred that starting the time in S103 is current time and default delay time
The sum of.
A kind of sensor data acquisition Transmission system and method based on PTP synchronization of the invention has compared with the existing technology
Have it is following the utility model has the advantages that
(1) it by the way that interchanger is connected, can be extended on a large scale according to concrete application scene, tandem switching system number can determine
The acquisition node number of system, each interchanger mounting is customizable, and the sensor passage number that each acquisition node can acquire can be determined
System, it is possible to reduce wiring can enable a system to apply military linear array that can not be good fit in traditional acquiring and transmission system
The acquisition of sonar underwater sound sensing data is adopted with transmission, the more cable multichannel seismic survey systems of offshore oil of big array scale, deep-sea
In collection transmission detection system;
(2) it by using PTP synchronization agreement, realizes the clock signal synchronization of each acquisition node, is based on Ethernet PTP synchronization
The high-precise synchronization of network implementations all the sensors acquires;
(3) work clock of A/D conversion chip derives from the crystal oscillator after PTP is tamed in acquisition node, therefore can keep away
Exempt from entire distributed parallel computing environment and use and transmit unique master clock node signal by other agreements cabling is caused to increase and believe
Number insecure problem of quality;
(4) by using the transmission of ten thousand mbit ethernets and gigabit Ethernet transmission architecture, transmission performance is high, and transmission belt is wide,
Array length is unrestricted, and simple process, number of cables is few, can transmit at a distance, has ultra-large system data transmission energy
Power, data throughout are big;
(5) power supply, acquisition node business datum, synchronization are provided to acquisition node by using Poe power over Ethernet
Signal, clock, power supply all use ethernet cable to transmit, acquisition node can plug and pull individually or it is small-scale use, can also be fast
Speed forms extensive acquiring and transmission system, simplifies acquiring and transmission system structure, improves system reliability;
(6) Ethernet manages all acquisition nodes concentratedly, and uses ICP/IP protocol, and it is reliable to improve transmission
Property, guarantee that data are not lost;
(7) the acquisition permutation length of whole device is unrestricted, realizes in the application of large-scale sensor array data acquisition
Each acquisition node high-precise synchronization.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of structure chart of the sensor data acquisition Transmission system based on PTP synchronization of the present invention;
Fig. 2 is a kind of structure chart of the sensor data acquisition Transmission system based on PTP synchronization of the present invention;
Fig. 3 is a kind of flow chart of the sensor data acquisition transmission method based on PTP synchronization of the present invention;
Fig. 4 is acquisition node and master clock in a kind of sensor data acquisition transmission method based on PTP synchronization of the present invention
Node pulse per second (PPS) relational graph;
Fig. 5 is a kind of each acquisition node sampling signal of sensor data acquisition transmission method based on PTP synchronization of the invention
Figure;
Fig. 6 is the setting method flow chart of the preset time of the embodiment of the present invention one;
Fig. 7 is the default conditions system network architecture figure of the embodiment of the present invention five;
Fig. 8 is the abnormality system network architecture figure of the embodiment of the present invention five.
Specific embodiment
Below in conjunction with embodiment of the present invention, the technical solution in embodiment of the present invention is carried out clearly and completely
Description, it is clear that described embodiment is only some embodiments of the invention, rather than whole embodiments.Base
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts all
Other embodiments shall fall within the protection scope of the present invention.
Embodiment one,
As shown in Fig. 2, a kind of sensor data acquisition transmission method based on PTP synchronization of the invention, including following step
It is rapid:
S101, build calculating center connect with an interchanger signal by ten thousand mbit ethernet transmission lines, interchanger and friendship
Pass through gigabit Ethernet transmission line by the series connection of ten thousand mbit ethernet transmission lines, an interchanger and multiple acquisition nodes between changing planes
Signal connection and acquisition node pass through the system architecture that analog differential transmission line is connect with sensor signal;
S102, each acquisition node include A/D conversion chip and the crystal oscillator after PTP is tamed, when the work of A/D conversion chip
Clock derives from the crystal oscillator after PTP synchronization is tamed, and setting master clock node is calculating center, and remaining acquisition node is from clock
Node, each acquisition node independently carry out MESSAGE EXCHANGE with master clock node by PTP protocol, and all acquisition nodes lock master
Clock node, acquisition node lock master clock node after, the phase and frequency of each acquisition node work clock with master clock section
Point synchronizes, and after synchronizing, each acquisition node constantly carries out message interaction with master clock node, maintains dynamic time synchronization;
S103, calculating center setting acquisition node start acquire data the starting time, starting the time be current time and
The sum of default delay time, and time, sample frequency configuration distributing will be started to each acquisition node by ICP/IP protocol;
S104, each acquisition node receive starting time, sample frequency with postponing, and continuously compare starting time and this
The ground time, upon start up between it is equal with local zone time when, immediately by control A/D conversion chip SYNC_IN pin low level come
Control A/D conversion chip starts to acquire data, and the A/D conversion chip of each acquisition node starts simultaneously at acquisition data, and passes through
The data of acquisition are uploaded to calculating center by ICP/IP protocol.
In the present embodiment, setting calculating center is main clock node, and each acquisition node is from clock node.Acquisition node
The method of locking master clock node is: the transmitting-receiving time of synchronisation message and recorded message between master and slave clock node, passing through
The message round-trip time difference is calculated to calculate round-trip total delay between master and slave clock node, if network is symmetrically that is, two
The transmission delay in a direction is identical, then the half being always delayed back and forth is exactly one-way delay, this one-way delay is master and slave clock
Clock jitter between node adjusts local zone time according to the deviation from clock node, so that it may realize itself and master clock section
The synchronization of point.
Wherein, as in figure step S103, preset the measurement method of delay time the following steps are included:
S201, master clock node send Sync message to from clock node, and record sending time t1, receive from clock node
To after the message, receiving time t2 is recorded;
After S202, master clock node send Sync message, the Follow_Up report for carrying t1 is and then sent
Text;
S203, Delay_Req message is sent from clock node to master clock node, by initiating based on reverse transfer delay
It calculates, and records sending time t3, after master clock node receives the message, record receiving time t4;
After S204, master clock node receive Delay_Req message, the Delay_Resp report for carrying t4 is replied
Text.
At this point, just have this four timestamps of t1~t4 from clock node, thus can calculate between master and slave clock node
Round-trip total delay be [(t2-t1)+(t4-t3)], Time Synchronization Network is symmetrical in the present embodiment, so master and slave clock
One-way delay between node is [(t2-t1)+(t4-t3)]/2.Therefore, inclined relative to the clock of master clock node from clock node
Difference are as follows: Offset=(t2-t1)-[(t2-t1)+(t4-t3)]/2=[(t2-t1)-(t4-t3)]/2.
Embodiment two,
As shown, on the basis of example 1, the present invention provides a kind of sensing datas based on PTP synchronization to adopt
Collect transmission method, comprising the following steps:
S101, build calculating center connect with an interchanger signal by ten thousand mbit ethernet transmission lines, interchanger and friendship
Pass through gigabit Ethernet transmission line by the series connection of ten thousand mbit ethernet transmission lines, an interchanger and multiple acquisition nodes between changing planes
Signal connection and acquisition node pass through the system architecture that analog differential transmission line is connect with sensor signal;
S102, each acquisition node include A/D conversion chip and the crystal oscillator after PTP is tamed, when the work of A/D conversion chip
Clock derive from through PTP synchronization tame after crystal oscillator, setting master clock node be an acquisition node, remaining acquisition node be from
Clock node, each acquisition node independently carry out MESSAGE EXCHANGE with master clock node by PTP protocol, and all acquisition nodes are locked
Determine master clock node, after acquisition node locks master clock node, the phase and frequency of each acquisition node work clock with it is main when
Clock node is synchronous, and after synchronizing, each acquisition node constantly carries out message interaction with master clock node, maintains dynamic time synchronization;
S103, calculating center setting acquisition node start acquire data the starting time, starting the time be current time and
The sum of default delay time, and time, sample frequency configuration distributing will be started to each acquisition node by ICP/IP protocol;
S104, each acquisition node receive starting time, sample frequency with postponing, and continuously compare starting time and this
The ground time, upon start up between it is equal with local zone time when, immediately by control A/D conversion chip SYNC_IN pin low level come
Control A/D conversion chip starts to acquire data, and the A/D conversion chip of each acquisition node starts simultaneously at acquisition data, and passes through
The data of acquisition are uploaded to calculating center by ICP/IP protocol.
In the present embodiment, selecting any one acquisition node in acquisition node is main clock node, remaining acquisition section
Point is from clock node.The MCLK of the A/D conversion chip of each acquisition node derives from the crystal oscillator after PTP synchronization is tamed,
Therefore the working frequency of each acquisition node and clock phase are equal from the point of view of for a long time, and A/D conversion chip is using the clock as source
Clock automatically controls the sampling interval, therefore can guarantee that subsequent acquisition node is all to sample within the scope of synchronization accuracy simultaneously
's.
The measurement method of default delay time is the same as example 1, no longer burdensome herein.
Embodiment three,
As shown in Figure 1, on the basis of example 1, the present invention provides a kind of sensing datas based on PTP synchronization
Acquiring and transmission system comprising several sensors, several interchangers, calculate center, master clock section at several acquisition nodes
Point and from clock node.
Calculating center passes through ten thousand mbit ethernet transmission lines respectively and connect with an interchanger signal, interchanger and interchanger it
Between connected by ten thousand mbit ethernet transmission lines, an interchanger connected with multiple acquisition nodes by gigabit Ethernet transmission line signals
It connects, acquisition node is connect by analog differential transmission line with sensor signal.In the present embodiment, j interchanger, j*m are equipped with
A acquisition node, j*m*n sensor.
Acquisition node improves n-channel sensor signal, analog-to-digital conversion, is packaged transmission process.Master clock node,
For give each acquisition node time service, master clock node be calculating center or an acquisition node, remaining acquisition node be from when
Clock node, if master clock node is calculating center, all acquisition nodes are from clock node, if master clock node is one
Acquisition node, then remaining acquisition node is from clock node.Each acquisition node by PTP protocol independently with master clock node into
Row MESSAGE EXCHANGE, each acquisition node pass through ICP/IP protocol and calculate center to center communications, as shown in figure 3, after a period of time,
All acquisition nodes lock master clock node, acquisition node and master clock node pulse per second (PPS) basic synchronization, each acquisition node lock
After determining master clock node, for the clock between acquisition node with regard to indirect synchronization, i.e. phase and frequency is synchronous.Acquisition node lock
After determining master clock node, still message interaction ceaselessly can be carried out with master clock node, maintain dynamic time synchronization.
Calculating center controls the acquisition control of each acquisition node and acquires data collection and processing.Calculating center is to respectively adopting
The state of collection node is monitored, after only waiting each acquisition node to lock master clock node, could be sent instruction starting and be adopted
Collect node and carries out data acquisition.Enabled instruction is completed using a starting time, and the starting time is that current time is prolonged with default
When the sum of time, the starting time of all acquisition nodes is identical, and the phase and frequency of sampling node work clock is also identical.It calculates
Each acquisition node is given by reliable transport protocol, such as ICP/IP protocol, by starting time, sample frequency configuration distributing in center.
Each acquisition node receives starting time, sample frequency with postponing, and continuously compares starting time and local zone time, works as starting
When time is equal with local zone time, acquisition node starts simultaneously at acquisition data.Acquisition node includes A/D conversion chip and through PTP
The crystal oscillator after taming is synchronized, is turned as shown in figure 4, controlling A/D by the SYNC_IN pin low level for controlling A/D conversion chip
Chip is changed to start to acquire data, meanwhile, the MCLK of A/D conversion chip derives from the crystal oscillator after PTP synchronization is tamed, therefore each
The working frequency and clock phase of acquisition node be from the point of view of for a long time it is equal, A/D conversion chip is source clock using the clock
The sampling interval is automatically controlled, therefore can guarantee that subsequent acquisition node all samples simultaneously within the scope of synchronization accuracy.Respectively
Acquisition node passes through ICP/IP protocol and the data of acquisition is uploaded to calculating center, if desired stop sampling, calculate center to
Acquisition node sends acquisition halt instruction, and halt instruction is completed using a dwell time.When stopping, each acquisition node configuration
Identical dwell time.
Interchanger is responsible for the storage forwarding of acquisition node data.Interchanger includes that several 10,000,000,000 optical interfaces and gigabit electricity connect
Mouthful, while being also the transparent clock node in PTP synchronization, acquisition node is the boundary clock node in PTP synchronization, is also simultaneously
Powered device PD in Poe power supply technique.Interchanger has multiple ports PTP, and interchanger only forwards PTP protocol between these ports
Message is simultaneously forwarded delay correction to it, without passing through any one port synchronization time, in the present embodiment, interchanger
Only directly forwarding Sync message, Follow_Up message and Announce message, and other PTP protocol messages that terminate, and participate in counting
Calculate the delay of each section of link in whole chain road.
The working principle of the invention is: each acquisition node independently carries out message friendship with master clock node by PTP protocol
It changes, after a period of time, all acquisition nodes lock master clock node and respectively adopt after acquisition node locks master clock node
Collect node work clock phase and frequency it is synchronous with master clock node, after synchronizing, each acquisition node constantly with master clock section
Point carries out message interaction, maintains dynamic time synchronization.After each acquisition node locks master clock node, calculating center, which is sent, to be referred to
Starting acquisition node is enabled to carry out data acquisition.Enabled instruction is completed using a starting time, and the starting time is current time
The sum of with predetermined time delay, the starting time of all acquisition nodes is identical, the phase and frequency of acquisition node work clock
It is identical.Calculating center will start time, sample frequency configuration distributing to each acquisition node by ICP/IP protocol.Each acquisition node
Starting time, sample frequency are received with postponing, continuously compares starting time and local zone time, upon start up between with local
When time is equal, start to acquire to control A/D conversion chip by control A/D conversion chip SYNC_IN pin low level immediately
Data, the A/D conversion chip of each acquisition node start simultaneously at acquisition data, meanwhile, the MCLK of A/D conversion chip is from process
Crystal oscillator after PTP synchronization is taming, therefore the working frequency of each acquisition node and clock phase are equal, A/D from the point of view of for a long time
Conversion chip automatically controls the sampling interval as source clock using the clock, therefore can guarantee that subsequent acquisition node is synchronizing essence
It is all sampled simultaneously in degree range.A/D conversion chip acquisition data are sent to acquisition node, and each acquisition node saves acquisition
The lower sensor signal of point improved, analog-to-digital conversion and packing transmission process, and the data after packing are passed through ICP/IP protocol
It is sent to interchanger, interchanger is transmitted to calculating center and carries out signal processing.If system scale need to be expanded, more multisensor is acquired
Data, it is only necessary to increase interchanger and acquisition node quantity.
Example IV,
On the basis of embodiment one or embodiment two, in the present embodiment, power supply for exchange using 36V-72V wide scope every
From power supply, the power supply of each acquisition node uses network power supply PoE technology, and accepted standard 802.3af supports 12.95W power
Output, PoE technology can realize the functions such as load detecting, power classification, surge control automatically.Isolated power supply is distinguished by power supply line
It is electrically connected with several interchangers, network power supply PoE technology is used in gigabit and ten thousand mbit ethernet transmission lines, using network
Power supply PoE technology most worthy is a little that PoE is transmitted electricity using ethernet cable, without power source wire to acquisition node
Power supply, acquisition node business datum, sync message and power supply pass through an Ethernet transmission line, can reduce power supply line
Quantity improves system reliability.If connecting single sensor using an acquisition node when implementing, whole system is removed
Outside main power line, without dummycable, total digitalization and networking are really realized.
In the present embodiment, interchanger had both been used as the transparent clock node in PTP synchronization, also powered as to acquisition node
Power supply unit Pse, acquisition node is the boundary clock node in PTP synchronization, at the same be also Poe power supply technique in being set by electricity
Standby PD.
Embodiment five,
On the basis of embodiment three, the present embodiment configures exchanger chip internal status register and realizes that core network is double
Backup.
Core network this for linear cascade switching Ethernet is a certain series connection node for the system of series system
Or the failure of link all will lead to the loss of data before malfunctioning node, system risk is higher, using the side of backbone network double copies
The reliability of system can be improved in case.As shown in fig. 6, core network is divided into active link and backup link, under original state,
Calculating center HOST and N number of interchanger 10GbSW is serially connected into active link, when active link works, switching port P1 and end
Mouth P2 is opened, and port P3 and port P4 are closed.Once some node occurs abnormal on active link, then automatic hot cutting changes to this
The corresponding backup link work of node.As shown in fig. 7, the interchanger on active link is all made of switching port under default conditions
P1 and port P2, when certain interchanger breaks down, which automatically switches to the backup chain of switching port P3 and port P4
On the road, to guarantee to work normally.
Embodiment six,
On the basis of any one of embodiment one to example IV embodiment, the present embodiment is applied in vector hydrophone line
In the application scenarios of the military sonar of array.Vector hydrophone include three acceleration channels and a sound pressure channel, totally 4
Channel.Therefore, settable single acquisition node single 4 channel vector hydrophone signal is improved, analog-to-digital conversion and packing
Transmission.If vector towed array needs altogether 320 vector hydrophones, system can be configured to 40 grades of interchanger series connection of backbone network,
Each interchanger mounts 8 acquisition nodes, and each acquisition node acquires 4 channel datas.J=40, m=8 i.e. in system construction drawing,
N=4.Link throughput is depending on acquisition node sample frequency and total amount of data.
Under big data quantity transmission and super remote distribution sensor data transmission applications scene, 10,000,000,000 can be configured by backbone network
Gigabit Ethernet connection can be used in Ethernet switch and 10,000,000,000 transmission links between acquisition node and interchanger.In this way first is that
Transmission delay can be reduced, to improve PTP synchronization precision while meeting real-time data transmission;Second is that magnanimity can be adapted to
The demand of data acquisition transmission.
Under the application scenarios that low-power consumption requirement and intermediate data amount are transmitted, backbone network can be configured to gigabit Ethernet friendship
It changes planes and gigabit transmission link, 100 m ethernet connection can be used between acquisition node and interchanger.
The foregoing is merely better embodiments of the invention, are not intended to limit the invention, all of the invention
Within spirit and principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of sensor data acquisition Transmission system based on PTP synchronization comprising several sensors, several acquisition sections
Point, several interchangers and calculate center, it is characterised in that: further include master clock node and from clock node;
The acquisition node includes A/D conversion chip and the crystal oscillator after PTP synchronization is tamed;
The work clock of the A/D conversion chip derives from the crystal oscillator after PTP synchronization is tamed;
The master clock node is calculating center or an acquisition node, and remaining acquisition node is from clock node;
The acquisition node carries out MESSAGE EXCHANGE by PTP protocol and master clock node, and each acquisition node locks master clock section
Point, each acquisition node upload business datum to calculating center by ICP/IP protocol;
The calculating center is connect by ten thousand mbit ethernet transmission lines with an interchanger signal, is led between interchanger and interchanger
The series connection of ten thousand mbit ethernet transmission lines is crossed, an interchanger is connect with multiple acquisition nodes by gigabit Ethernet transmission line signals,
Multiple sensors are connect by analog differential transmission line with an acquisition node signal.
2. a kind of sensor data acquisition Transmission system based on PTP synchronization as described in claim 1, it is characterised in that: institute
State the starting time and dwell time that calculating center setting data acquire, sampling rate adjusting, working frequency and gain;
The starting time is the sum of current time and default delay time;
The calculating center will start time, sample frequency configuration distributing to each acquisition node by reliable transport protocol.
3. a kind of sensor data acquisition Transmission system based on PTP synchronization as described in claim 1, it is characterised in that: also
Including ten thousand mbit ethernet backup transmission lines;
Ten thousand mbit ethernet backup transmission lines are all made of between the calculating center and interchanger and interchanger and interchanger.
4. a kind of sensor data acquisition Transmission system based on PTP synchronization as described in claim 1, it is characterised in that: also
Isolated power supply including 36V-72V wide scope;
The interchanger is powered using the isolated power supply of 36V-72V wide scope, is supplied using network power supply Poe technology to acquisition node
Electricity.
5. a kind of sensor data acquisition Transmission system based on PTP synchronization as claimed in claim 4, it is characterised in that: institute
Stating interchanger includes several 10,000,000,000 optical interfaces and gigabit electrical interface;
The interchanger is the transparent clock node in PTP synchronization, is the power supply unit in the Poe technology powered to acquisition node
Pse;
The acquisition node is the boundary clock node in PTP synchronization, is the powered device PD in Poe power supply technique.
6. a kind of sensor data acquisition transmission method based on PTP synchronization comprising following steps:
S101, build calculating center connect with an interchanger signal by ten thousand mbit ethernet transmission lines, interchanger and interchanger
Between by the series connection of ten thousand mbit ethernet transmission lines, interchanger and multiple acquisition nodes pass through gigabit Ethernet transmission line signals
Connection and acquisition node pass through the system architecture that analog differential transmission line is connect with sensor signal;
S102, each acquisition node include A/D conversion chip and the crystal oscillator after PTP is tamed, and the work clock of A/D conversion chip comes
Derived from the crystal oscillator after PTP synchronization is tamed, setting master clock node is calculating center or an acquisition node, remaining acquisition node
It is from clock node, each acquisition node independently carries out MESSAGE EXCHANGE, all acquisition sections by PTP protocol with master clock node
Point locks master clock node, and after acquisition node locks master clock node, the phase and frequency of each acquisition node work clock is equal
Synchronous with master clock node, after synchronizing, each acquisition node constantly carries out message interaction with master clock node, maintains the dynamic time
It is synchronous;
S103, calculating center setting acquisition node start to acquire the starting time of data, sampling rate adjusting, and pass through TCP/IP
Agreement will start time, sample frequency configuration distributing to each acquisition node;
S104, each acquisition node receive starting time, sample frequency with postponing, when continuously comparing starting time and local
Between, upon start up between it is equal with local zone time when, controlled immediately by control A/D conversion chip SYNC_IN pin low level
A/D conversion chip starts to acquire data, and the A/D conversion chip of each acquisition node starts simultaneously at acquisition data, and passes through TCP/IP
The data of acquisition are uploaded to calculating center by agreement.
7. a kind of sensor data acquisition transmission method based on PTP synchronization as claimed in claim 6, it is characterised in that: institute
It states interchanger in S101 to power using the isolated power supply of 36V-72V wide scope, be supplied using network power supply Poe technology to acquisition node
Electricity.
8. a kind of sensor data acquisition transmission method based on PTP synchronization as claimed in claim 7, it is characterised in that: institute
Stating interchanger includes several 10,000,000,000 optical interfaces and gigabit electrical interface;
The interchanger is the transparent clock node in PTP synchronization, is the power supply unit in the Poe technology powered to acquisition node
Pse, acquisition node are the boundary clock nodes in PTP synchronization, are the powered device PDs in Poe power supply technique.
9. a kind of sensor data acquisition transmission method based on PTP synchronization as claimed in claim 6, it is characterised in that: institute
It states to calculate in S101 and is all made of ten thousand mbit ethernet backup transmission lines composition between center and interchanger and interchanger and interchanger
Backup link;
The backup link is completed by configuring exchanger chip internal status register.
10. a kind of sensor data acquisition transmission method based on PTP synchronization as claimed in claim 6, it is characterised in that: institute
Stating the starting time in S103 is the sum of current time and default delay time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811089362.7A CN109167667B (en) | 2018-09-18 | 2018-09-18 | Sensor data acquisition and transmission system and method based on PTP synchronization |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811089362.7A CN109167667B (en) | 2018-09-18 | 2018-09-18 | Sensor data acquisition and transmission system and method based on PTP synchronization |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109167667A true CN109167667A (en) | 2019-01-08 |
CN109167667B CN109167667B (en) | 2021-04-09 |
Family
ID=64879829
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811089362.7A Active CN109167667B (en) | 2018-09-18 | 2018-09-18 | Sensor data acquisition and transmission system and method based on PTP synchronization |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109167667B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109743128A (en) * | 2019-01-29 | 2019-05-10 | 领目科技(上海)有限公司 | A kind of vehicle-mounted multi information synchronous control system and method |
CN109831267A (en) * | 2019-02-26 | 2019-05-31 | 武汉海晟科讯科技有限公司 | A kind of cascade synchronous data collection and Transmission system based on PTP protocol |
CN109889378A (en) * | 2019-01-30 | 2019-06-14 | 郑州云海信息技术有限公司 | A kind of interface equipment and communication means promoting network communication reliability |
CN110061796A (en) * | 2019-04-25 | 2019-07-26 | 广东优力普物联科技有限公司 | A kind of method and system for realizing remote POE transmission |
CN111447030A (en) * | 2020-03-31 | 2020-07-24 | 中国科学院地质与地球物理研究所 | Network time service precision control method and system of earthquake collector and terminal equipment |
CN112858624A (en) * | 2021-01-19 | 2021-05-28 | 浙江大学 | Multi-node sensor array structure and data acquisition and disaster early warning device thereof |
CN113676791A (en) * | 2021-10-22 | 2021-11-19 | 武汉海晟科讯科技有限公司 | Distributed synchronous data acquisition system of linear array structure |
CN116545572A (en) * | 2023-06-30 | 2023-08-04 | 苏州齐思智行汽车***有限公司 | Original image data acquisition system based on FPGA |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120263082A1 (en) * | 2009-12-03 | 2012-10-18 | Qualcomm Incorporated | Method and apparatus for distributed processing for wireless sensors |
CN203423699U (en) * | 2013-09-03 | 2014-02-05 | 天津大学 | Synchronizer of conversion clocks in distributed seismic signal acquisition nodes |
CN104407340A (en) * | 2014-12-02 | 2015-03-11 | 河海大学常州校区 | Device and method for calibrating lineup of dragging linear array |
CN205231842U (en) * | 2015-12-18 | 2016-05-11 | 贵州电网有限责任公司安顺供电局 | Novel system is hauled oneself willingly into fully to network |
CN106094741A (en) * | 2016-05-13 | 2016-11-09 | 浙江大学 | A kind of Distributed Motion Control System based on CMC |
CN106441553A (en) * | 2016-09-30 | 2017-02-22 | 中国海洋大学 | Acoustic monitoring system and method based on ambient sea noise |
CN107356233A (en) * | 2017-06-14 | 2017-11-17 | 中国科学院声学研究所 | A kind of vertical array 1 system suitable for the extremely cold marine site acoustics hydrographic survey of high latitude |
CN107979647A (en) * | 2017-12-07 | 2018-05-01 | 合肥国为电子有限公司 | One kind realizes the seismographic data recovery method of untethered memory-type |
-
2018
- 2018-09-18 CN CN201811089362.7A patent/CN109167667B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120263082A1 (en) * | 2009-12-03 | 2012-10-18 | Qualcomm Incorporated | Method and apparatus for distributed processing for wireless sensors |
CN203423699U (en) * | 2013-09-03 | 2014-02-05 | 天津大学 | Synchronizer of conversion clocks in distributed seismic signal acquisition nodes |
CN104407340A (en) * | 2014-12-02 | 2015-03-11 | 河海大学常州校区 | Device and method for calibrating lineup of dragging linear array |
CN205231842U (en) * | 2015-12-18 | 2016-05-11 | 贵州电网有限责任公司安顺供电局 | Novel system is hauled oneself willingly into fully to network |
CN106094741A (en) * | 2016-05-13 | 2016-11-09 | 浙江大学 | A kind of Distributed Motion Control System based on CMC |
CN106441553A (en) * | 2016-09-30 | 2017-02-22 | 中国海洋大学 | Acoustic monitoring system and method based on ambient sea noise |
CN107356233A (en) * | 2017-06-14 | 2017-11-17 | 中国科学院声学研究所 | A kind of vertical array 1 system suitable for the extremely cold marine site acoustics hydrographic survey of high latitude |
CN107979647A (en) * | 2017-12-07 | 2018-05-01 | 合肥国为电子有限公司 | One kind realizes the seismographic data recovery method of untethered memory-type |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109743128A (en) * | 2019-01-29 | 2019-05-10 | 领目科技(上海)有限公司 | A kind of vehicle-mounted multi information synchronous control system and method |
CN109889378A (en) * | 2019-01-30 | 2019-06-14 | 郑州云海信息技术有限公司 | A kind of interface equipment and communication means promoting network communication reliability |
CN109831267A (en) * | 2019-02-26 | 2019-05-31 | 武汉海晟科讯科技有限公司 | A kind of cascade synchronous data collection and Transmission system based on PTP protocol |
CN109831267B (en) * | 2019-02-26 | 2020-10-27 | 武汉海晟科讯科技有限公司 | Cascade synchronous data acquisition and transmission system based on PTP (precision time protocol) |
CN110061796A (en) * | 2019-04-25 | 2019-07-26 | 广东优力普物联科技有限公司 | A kind of method and system for realizing remote POE transmission |
CN110061796B (en) * | 2019-04-25 | 2024-05-14 | 广东优力普物联科技有限公司 | Method and system for realizing remote POE transmission |
CN111447030B (en) * | 2020-03-31 | 2021-02-19 | 中国科学院地质与地球物理研究所 | Network time service precision control method and system of earthquake collector and terminal equipment |
WO2021196923A1 (en) * | 2020-03-31 | 2021-10-07 | 中国科学院地质与地球物理研究所 | Network time service accuracy control method and system for seismic collector, and terminal device |
US11716162B2 (en) | 2020-03-31 | 2023-08-01 | Institute Of Geology And Geophysics, The Chinese Academy Of Sciences | Method and system for controlling network timing precision of a seismic collector, and terminal device |
CN111447030A (en) * | 2020-03-31 | 2020-07-24 | 中国科学院地质与地球物理研究所 | Network time service precision control method and system of earthquake collector and terminal equipment |
CN112858624A (en) * | 2021-01-19 | 2021-05-28 | 浙江大学 | Multi-node sensor array structure and data acquisition and disaster early warning device thereof |
CN113676791A (en) * | 2021-10-22 | 2021-11-19 | 武汉海晟科讯科技有限公司 | Distributed synchronous data acquisition system of linear array structure |
CN116545572A (en) * | 2023-06-30 | 2023-08-04 | 苏州齐思智行汽车***有限公司 | Original image data acquisition system based on FPGA |
Also Published As
Publication number | Publication date |
---|---|
CN109167667B (en) | 2021-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109167667A (en) | A kind of sensor data acquisition Transmission system and method based on PTP synchronization | |
CN104320238B (en) | A kind of method for synchronizing time under submarine observation network big flow background | |
CN100479361C (en) | Synchronous medium access controller | |
CN102421187A (en) | High-accuracy clock synchronization method of wireless sensor network | |
US8635041B2 (en) | Synchronizing a seismic data acquisition network | |
CN104365043A (en) | Ring based precise time data network clock phase adjustments | |
CN103109529B (en) | The Apparatus and method for used in digital conference system | |
CN102104475A (en) | IEEE 1588-based synchronization system and synchronization method thereof | |
JPH0267033A (en) | Network synchronizing system | |
CN105847050B (en) | A kind of the disconnection fault detection and the synchronous restoration methods of clock of Industrial Ethernet | |
CN109150357A (en) | The method for synchronizing time of hybrid bus based on RS485 and Ethernet | |
CN111211856A (en) | Wired seismograph time synchronization system and method based on WR protocol | |
CN106688207A (en) | Method for determining a propagation time of a telegram in a communication network, and corresponding network components | |
WO2019105487A1 (en) | Differential protection method and system | |
CN107359978A (en) | A kind of HSR/PRP network samples synchronous method based on data forwarding Time delay measurement | |
CN114337895A (en) | Clock synchronization system based on linear daisy chain Ethernet topology | |
CN102196554A (en) | Method for realizing average clock synchronization of wireless sensor network through cluster averaging | |
CN102511149A (en) | Output time method for minitoring network node, device and system thereof | |
CN105703866B (en) | A kind of synchronous collection method using network recovery clock of underwater linear array | |
DE102012108696A1 (en) | Data bus subscribers and method for the synchronization of data bus subscribers | |
CN109831267A (en) | A kind of cascade synchronous data collection and Transmission system based on PTP protocol | |
CN101887635B (en) | High-resolution multi-channel seismic exploration data transmission system at shallow layer of deepwater | |
CN106656395B (en) | Based on the improved power grid time synchronized measurement system of self study and method | |
US10523760B2 (en) | Method and computer system for quickly transmitting time-controlled real-time messages | |
GB2425695A (en) | Compensating for internal delays within nodes and transmission delays between the nodes |
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 |