CN105471863B - The embedded adaptive device of Fibre Optical Sensor, system and building method towards heterogeneous network - Google Patents

The embedded adaptive device of Fibre Optical Sensor, system and building method towards heterogeneous network Download PDF

Info

Publication number
CN105471863B
CN105471863B CN201510812452.4A CN201510812452A CN105471863B CN 105471863 B CN105471863 B CN 105471863B CN 201510812452 A CN201510812452 A CN 201510812452A CN 105471863 B CN105471863 B CN 105471863B
Authority
CN
China
Prior art keywords
optical sensor
fibre optical
module
adaptive device
embedded
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
CN201510812452.4A
Other languages
Chinese (zh)
Other versions
CN105471863A (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.)
Wuhan University of Technology WUT
Original Assignee
Wuhan University of Technology WUT
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 Wuhan University of Technology WUT filed Critical Wuhan University of Technology WUT
Priority to CN201510812452.4A priority Critical patent/CN105471863B/en
Publication of CN105471863A publication Critical patent/CN105471863A/en
Application granted granted Critical
Publication of CN105471863B publication Critical patent/CN105471863B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2869Operational details of access network equipments
    • H04L12/2898Subscriber equipments

Abstract

The invention discloses a kind of embedded adaptive device of Fibre Optical Sensor towards heterogeneous network, system and building methods, the embedded adaptive device of Fibre Optical Sensor is designed on hardware and demodulates terminal, industrial field bus network and industry wireless network connection communication with Fibre Optical Sensor respectively, and the mutual conversion of different agreement and the matching of not reciprocity data transmission rate between heterogeneous network are solved on software.The present invention is based on the hardware platforms of adaptation access device, and the protocol conversion between heterogeneous network and rate-matched are solved using cycle double-buffering pool technology, meet the demand in terms of the rate, real-time, stability of each comfortable data transmission of three kinds of heterogeneous networks.

Description

The embedded adaptive device of Fibre Optical Sensor, system and building method towards heterogeneous network
Technical field
The present invention relates to advanced manufacture, sensing network, network communication fields, in particular to a kind of light towards heterogeneous network Fibre senses embedded adaptive device, system and building method.
Background technology
With carrying for the Advanced Manufacturing Modes such as lean production, agile manufactruing, intelligent manufacturing system, holographic all powerful total station Go out, current manufacturing technology is continued to develop towards the direction of flexibility, precise treatment, intelligence and serviceization.It is manufactured by application Internet of Things technology can carry out real time dynamic tracing and real-time fault diagnosis to entire manufacturing process and product information.It is precisely reliable Information data access and link exchange support whole system lean, visualization.
The architecture of Advanced Manufacturing Modes develops towards modularization, standardization, digitized direction so that manufacture Internet of Things Technology must be able to the soft hardware equipment of compatible distinct communication standards, representative have wherein great:Fiber optic sensor network, industry Bus network, the wireless network based on standard ethernet technology.Fiber optic sensor network detection, perception, storage information via Fibre Optical Sensor demodulation terminal is parsed and is encapsulated.Two features are presented in the communication interface demodulated outside terminal-pair:1, entire communication Agreement is measured ethernet technology;2, the traffic rate of the concrete meaning, data frame of data packet, whole communication process By Fibre Optical Sensor demodulation terminal, producer is self-defined.A new generation is using industry ethernet technology as the industrial field bus technology of source It grows rapidly, such bussing technique is all made of the ethernet communication standard of standard in physical layer and data link layer, solves biography (transmission rate of wherein data reaches as high as the hardware compatibility problem and data transmission rate issues of system industrial field bus Gbps), the application layer standard of the self-defined respective leading protocol of producer unlike.The technology is gradually instead of originally more backward Industrial field bus, novel Industrial Ethernet communication network technology is formd, wherein the more Industrial Ethernet of application is existing Field technology has:Profinet, POWERLINK, EtherCat etc..In addition, must also to face such as ZigBee wireless for manufacture Internet of Things The problem of heterogeneous networks such as sensor network, RFID network adaptation access.Manufacture Internet of Things need to connect various field devices therebetween The differentiation communication interface for being related to multiple technical fields.Still none of unified standard or adaptation access fusion dress at present Set to realize manufacture Internet of Things communication, thus how effective integration, conversion, shared existing heterogeneous network resource, it is whole to support A manufacture Internet of Things become as a urgent problem to be solved.
The heterogeneous network adaptation currently studied is mostly network switching, data exchange between different networks.It is different at present Network forming network is presented various features, the forms of heterogeneous network such as multiconfiguration, multi tate, communication interface disunity and is not only confined to Wireless network, novel fiber Bragg grating sensor network, traditional industry bus network have carries out data with other heterogeneous networks Interactive demand lacks a scientific and reasonable adaptation architecture towards heterogeneous network to be compatible with more polyisocyanate in this field The internetwork data exchange of structure.
It is different to remain research for the matching problem of the transformation mechanism of different communication protocol and different communication rate between heterogeneous network The matter of utmost importance that structure Network adaptation must solve.The fiber Bragg grating sensor network of new high data rate and to real-time There is the industrial bus network of strict demand to be adapted to research between heterogeneous network and brings new challenge.
Invention content
The purpose of the present invention is in view of the deficiencies of the prior art, towards fibre optical sensor demodulation terminal, industrial bus network, The heterogeneous networks such as conventional wireless network propose a kind of embedded adaptive device of Fibre Optical Sensor towards heterogeneous network, system and take Construction method, design fibre optical sensor demodulation terminal access interface, industrial bus network insertion interface on hardware of the present invention, based on mark The wireless network access interface of quasi- ethernet technology, solve on software between heterogeneous network the mutual conversion of different agreement with it is not reciprocity The matching of data transmission rate.
To achieve the above object, the embedded adaptive device of the Fibre Optical Sensor towards heterogeneous network designed by the present invention, Be characterized in that, the embedded adaptive device of Fibre Optical Sensor include adaptive device primary module and Ethernet to turn industry spot total Wire module;
The adaptive device primary module:Including
Hardware structure system:For realizing bottom layer driving, linux kernel and file system, Socket network programmings, agreement The function of conversion and rate-matched;
First adaptive net card:For realizing the adaptive ethernet interface towards optical fiber sensing network;
Second adaptive net card:For realizing the industrial field bus network interface towards EthernetToCAN;
Wireless communication module:For with router communication, realize towards industry wireless network interface;
Main module power management module:For giving the adaptive device primary module to provide power supply;
The Ethernet is changed a job industry fieldbus module:For realizing the adaptive device primary module and industrial field bus Communication between network;
Ethernet industry fieldbus module of changing a job includes
Ethernet module:It is built for realizing the Socket hardware protocol stacks of TCP/IP;
MCU main control modules:For realizing the management and allotment of protocol conversion and system entirety resource;
CAN interface module:For providing the CAN physical layer hardware branch between CAN bus and CAN protocol controller It holds;
Auxiliary modular power source management module:For give the Ethernet change a job industry fieldbus module provide power supply.
Hardware is divided into one auxiliary two Implement of Function Module of a master by entire adaptive device, and adaptive device primary module is responsible for access Network (optical fiber sensing network, industry wireless network) function, Ethernet industry fieldbus module (EthernetToCAN) of changing a job are Coordinate the programming of primary module, the supplementary module that industrial bus network interface is stripped out.
Further, the hardware structure system is based on ARM Cortex-A8 hardware structures, meets the data of high-speed It handles up, the protocol conversion demand of high real-time energy.
Further, first adaptive net card and the second adaptive net card are 1,000 gigabit adaptive net cards. First adaptive net card and the second adaptive net card the two 1,000 gigabit adaptive ethernet interfaces, one of interface are used for Towards optical fiber sensing network, another industrial field bus network towards Ethernet To CAN.
Further, the wireless communication module is 100,000,000 radio network interfaces for meeting IEEE802.11g standards, with Realize the access at wireless industrial network.
Further, the adaptive device primary module further includes the usb interface module for supporting USB interface, with reality The access of existing wlan network.
Further, the adaptive device primary module further includes carrying out primary module software function for control terminal operation The AccessPort interface of configuration and be used for the newer USB debugging interfaces of software system updating, to realize the software work(of module respectively The newer function of upgrading of the function and software systems that can configure.
A kind of adaption system using the above-mentioned embedded adaptive device of the Fibre Optical Sensor towards heterogeneous network, special character It is, the adaption system includes the embedded adaptive device of Fibre Optical Sensor, Fibre Optical Sensor demodulation terminal, industrial field bus network And industry wireless network, the embedded adaptive device of Fibre Optical Sensor demodulate terminal by the first adaptive net card and Fibre Optical Sensor Connection, by the second adaptive net card and industrial field bus network connection, module and industry wireless network by radio communication Connection.
A kind of building method using the above-mentioned embedded adaption system of the Fibre Optical Sensor towards heterogeneous network, special character It is, the building method includes the following steps:
1) object type according to adaptation access, determines that the composition of the embedded adaption system of the Fibre Optical Sensor includes optical fiber Sense embedded adaptive device, Fibre Optical Sensor demodulation terminal, industrial field bus network and industry wireless network;
2) function module of the embedded adaptive device of the Fibre Optical Sensor, the embedded adaptive device of Fibre Optical Sensor are built It changes a job industry fieldbus module including adaptive device primary module and Ethernet;
3) interface, the Fibre Optical Sensor for demodulating terminal with Fibre Optical Sensor to the embedded adaptive device of the Fibre Optical Sensor respectively are embedding Enter the embedded adaptive device of interface, Fibre Optical Sensor of formula adaptive device and industrial field bus network and connecing for industry wireless network Mouth is using cycle double-buffering pool technical finesse.
Preferably, include using the step of cycle double-buffering pool technical finesse in the step 3):
31) two buffer pools are built;
32) according to communication interface data transmission rate, data parsing and processing module itself processing speed, accident pair Data are parsed has handled the incremental time four that later discontinuous storage tape is come with the incremental time of processing module and input data A impact factor intelligently adjusts buffer pool size;
33) speed of adjustment data parsing and processing module;
34) it is fitted according to the change curve of four impact factors in the step 32).
The present invention investigates Fibre Optical Sensor demodulation terminal, industrial bus network, the wireless network based on standard ethernet technology Reapective features, study be suitble to this three kinds of heterogeneous networks adaptation access system structure, in conjunction with adaptation access system structure, carry out structure Build each hardware function of adaptation access device.Fibre optical sensor demodulation terminal access interface, work are designed on hardware of the present invention Industry bus network access interface, the wireless network access interface based on standard ethernet technology solve on software between heterogeneous network The mutual conversion of different agreement and the matching of not reciprocity data transmission rate.The present invention is based on the hardware platforms of adaptation access device, answer The protocol conversion between heterogeneous network and rate-matched are solved with cycle double-buffering pool technology, meets three kinds of each leisures of heterogeneous network Demand in terms of the rate of data transmission, real-time, stability.
The present invention solves the problems, such as the adaptation access of heterogeneous network in manufacture Internet of Things.Compared in the past only for single network For the adaptation access device of type, compatibility of the manufacture Internet of Things layer to heterogeneous network, the access of whole adaptation are greatly strengthened Structure system is simpler, and the communication between the object of manufacture Internet of Things connection is even closer, and the communication delay of total system is significantly It reduces.One of the key technology of the present invention is setting for the heterogeneous network adaptation access fusing device towards Fibre Optical Sensor demodulation terminal Meter, the device use the high-performance ARM for supporting dual gigabit ethernet and IEEE802.11g wireless networks in hardware design Cortex-A8 framework chips, any physical layer of seamless access and data link layer.It is connect by the communication of source of ethernet technology Mouthful, it both ensure that the neat and specification in circuit global design, and reduced whole design difficulty, and make the device to difference Heterogeneous network can be accessed easily.Key technology second is that cycle double-buffering pool technology.The technique improves heterogeneous network data Access performance, when in face of instantaneous high data rate, the storage buffer pool intelligently changed effectively reduces conventional buffer technology In packet loss.The output data storage queue determined by man-machine interface so that data access and agreement between heterogeneous network turn It gets in return to separate, reduces and influence each other because differentiation communication band is next between heterogeneous network.
Description of the drawings
Fig. 1 is the structure diagram of the Fibre Optical Sensor embedded adaptive device of the invention towards heterogeneous network.
Fig. 2 is the architecture diagram of the Fibre Optical Sensor embedded adaptive device of the invention towards heterogeneous network.
Fig. 3 is the structure diagram of the Fibre Optical Sensor embedded adaption system of the invention towards heterogeneous network.
Fig. 4 is adjustment rate profile of the double-buffering pool in 10 timeslices.
Wherein:Adaptive device 1, adaptive device primary module 1-1, Ethernet are changed a job industry fieldbus module 1-2, hardware structure System 1-11, the first adaptive net card 1-12, the second adaptive net card 1-13, wireless communication module 1-14, main module power pipe Manage module 1-15, usb interface module 1-16, AccessPort interface 1-17, USB debugging interface 1-18, FBG (FBG) demodulator output data Processing module 1-1a, protocol conversion and rate-matched nucleus module 1-1b, wireless industrial control network AM access module 1-1c, ether Net turns CAN interface module 1-1d, gigabit ethernet interface 1-1e, 100,000,000 wireless ethernet interface 1-1f, CAN interface 1-1g, ethernet module 1-21, MCU main control module 1-22, CAN interface module 1-23, auxiliary modular power source management module 1- 24, AccessPort module 1-25, LED state indicating module 1-26, fiber grating demodulation terminal 2, industrial field bus network 3, Industry wireless network 4.
Specific implementation mode
Below in conjunction with the drawings and specific embodiments, the present invention is described in further detail.
As shown in Figure 1, a kind of embedded adaptive device 1 of Fibre Optical Sensor towards heterogeneous network of the invention includes adaptive device Primary module 1-1 and Ethernet are changed a job industry fieldbus module 1-2.
Adaptive device primary module 1-1 includes hardware structure system 1-11, the first adaptive net card 1-12, the second adaptive net Block 1-13, wireless communication module 1-14, main module power management module 1-15, usb interface module 1-16, AccessPort interface 1- 17 and USB debugging interfaces 1-18.Hardware structure system 1-11 for realizing bottom layer driving, linux kernel and file system, Socket network programmings, protocol conversion and rate-matched function.Hardware structure system 1-11 uses the ARM of Texas Instrument Core processors of the AM3359 of the highest dominant frequency 1GHz of Cortex-A8 frameworks as entire circuit, other functional interfaces and Assistant adjustment interface, which will surround AM3359, to be unfolded.To meet the overhead and isomery network access interface of embedded OS High data rate buffering, the memory of AM3359 is by the DDR3 of configuration of 2 G b.Hardware structure system 1-11 is adaptive with first respectively Network interface card 1-12 and the second adaptive net card 1-13 connections.First adaptive net card 1-12 and the second adaptive net card 1-13 is ten Hundred gigabit adaptive net cards, using AR8031 chips.First adaptive net card 1-12 passes through RJ45 interfaces and hardware structure system 1-11 connections, for realizing the adaptive ethernet interface towards optical fiber sensing network.Second adaptive net card 1-13 passes through RJ45 interfaces are connect with hardware structure system 1-11, are connect for realizing the industrial field bus network 3 towards EthernetToCAN Mouthful.Wireless communication module 1-14 is 100,000,000 radio network interfaces for meeting IEEE802.11g standards, using from Murata The LBEE5ZSTNC-523 modules for integrating WLAN and Bluetooth4.0 of electronics, inc., and router communication, So that wireless industrial network is accessed, realization is communicated with industry wireless network 4.Main module power management module 1-15 is used for adaptation Device primary module 1-1 provides power supply, including hardware soft start, 5V/3.3V/1.8V power supply, local circuit over-current over-voltage protection, electricity Flow voltage detecting, power supply power consumption monitoring etc. function.Usb interface module 1-16 is the USB2.0 interfaces of standard, for supporting USB Interface, using RT3070WLAN modules.AccessPort interface 1-17 carries out primary module software function for control terminal operation and matches It sets.Upgrading update uboot, linux kernel, system file, script configuration files of the USB debugging interfaces 1-18 for software systems Deng.The peripheral circuit module of adaptive device primary module 1-1 further includes:TFT liquid crystal display circuits, function switch key circuit, number According to buffer circuit and WLAN interface circuit.
Ethernet change a job industry fieldbus module 1-2 be for coordinate primary module programming, industrial bus network interface is shelled The supplementary module come is separated out, for realizing the communication between adaptive device primary module 1-1 and industrial field bus network 3, It includes ethernet module 1-21, MCU main control module 1-22, CAN interface module 1-23, auxiliary modular power source management module 1- 24.Wherein ethernet module 1-21 builds for realizing the Socket hardware protocol stacks of TCP/IP.Ethernet module 1-21 is adopted With the W5500 ethernet modules of integrated hardware Ethernet protocol stack, why not using based on lwIP lightweights embedded TCP/ IP Software Protocol Stacks, and by the hardware Socket protocol stacks by software configuration W5500, it is to mitigate MCU for network The additional software and hardware resources expense of communication.MCU main control modules 1-22 selects STM32 family chips, for realizing protocol conversion and The management and allotment of system entirety resource.CAN interface module 1-23 is total using the high-speed CAN of Freescale Semiconductor Line transceiver part MC33901, for providing the CAN physical layer hardware supported between CAN bus and CAN protocol controller.Auxiliary mould Block power management module 1-24 is used to provide power supply to change a job industry fieldbus module 1-2 of Ethernet, including hardware soft start, 5V/3.3V/1.8V power supplies, the detection of local circuit over-current over-voltage protection, Current Voltage, power supply power consumption monitoring etc. function.Ether Net change a job industry fieldbus module 1-2 further include for control terminal operate carry out primary module software function configuration serial ports tune The die trial block 1-25 and LED state indicating module 1-26 etc. shown for assistant adjustment, operating status.
The software architecture diagram of adaptive device 1 of the present invention is as shown in Figure 2.Net has been built inside adaptive device primary module 1-1 Network server is supplied to the 4 data access service of industrial field bus network 3 and industry wireless network.Gigabit ethernet interface 1- 1e by the first adaptive net card 1-12 reception optical fiber grating demodulations terminal 2 it is demodulated come Large Volume Data, then by later The fiber optic network data that 1-1a couples of the first adaptive net card 1-12 of FBG (FBG) demodulator output datas processing module is received carry out number of wavelengths According to extraction, protocol conversion demarcates temperature or pressure-strain information, processing with rate-matched nucleus module 1-1b according to calibration formula 100,000,000 wireless ethernet interface 1-1f are sent to by wireless industrial control network AM access module 1-1c afterwards or pass through Ethernet Turn CAN interface module 1-1d and is sent to CAN interface 1-1g progress subsequent transmissions.100000000 wireless ethernet interface 1-1f Transmission data is sent to industrial field bus network 3, transmission data is sent to industry wireless network by CAN interface 1-1g 4。
Ethernet is changed a job Ethernet0s of the industry fieldbus module 1-2 as client to hardware structure system 1-11 Server end sends TCP/IP connection requests, and server monitors service request, establishes TCP/IP connections therebetween in real time.When with Too net change a job the request of industry fieldbus module 1-2 transmission datas when, adaptive device primary module 1-1 response datas request, by the The data of FBG calibration in one adaptive net card 1-12 extraction fiber grating demodulations terminal 2, carry out data encapsulation, then send It changes a job industry fieldbus module 1-2 to Ethernet.The Ethernet industry fieldbus module 1-2 that changes a job passes through RJ45 interfaces and Ethernet Then module 1-21 connections are connected with MCU main control modules 1-22 by SPI interface, are communicated.
As shown in figure 3, the present invention utilizes the embedded adaption system of the above-mentioned Fibre Optical Sensor towards heterogeneous network, including light Fibre senses embedded adaptive device 1, Fibre Optical Sensor demodulation terminal 2, industrial field bus network 3 and industry wireless network 4.Optical fiber Embedded adaptive device 1 is sensed to connect with Fibre Optical Sensor demodulation terminal 2 by the first adaptive net card 1-12, it is adaptive by second Network interface card 1-13 is answered to be connect with industrial field bus network 3, module 1-14 is connect with industry wireless network 4 by radio communication.Work Industry fieldbus networks 3 are the wireless network based on standard ethernet technology.
The present invention includes such as using the building method of the embedded adaption system of the above-mentioned Fibre Optical Sensor towards heterogeneous network Lower step:
1) object type according to adaptation access, determines that the composition of the embedded adaption system of Fibre Optical Sensor includes Fibre Optical Sensor Embedded adaptive device 1, Fibre Optical Sensor demodulation terminal 2, industrial field bus network 3 and industry wireless network 4.Optical fiber is investigated to pass The reapective features of sense demodulation terminal 2, fieldbus networks 3, industry wireless network 4 based on standard ethernet technology, it is main to wrap The physical interface of network, the topological structure of network, communication protocol, message transmission rate etc. are included, studies and is suitble to this three kinds of heterogeneous networks The adaptation access system structure of network.Quasi-step matrix is adapted to access system structure, to build each hardware capability mould of adaptation access device Block investigates the communication technology index (peak-peak transmission road rate, real-time response time) of each adaptation access object, physical communication connects Mouthful, so that it is determined that respectively the physics of access object accesses form, and using the physical topological structure of Ethernet as source, structure adaptation access The architecture of device.
2) function module of the embedded adaptive device of Fibre Optical Sensor 1, including adaptive device primary module 1-1 and Ethernet are built Industry of changing a job fieldbus module 1-2.For optical fibre interrogation terminal high peak data transmission rate, using gigabit ethernet interface 1- 1e matches its transmission speed.Industrial bus interface circuit and Wi-Fi interface circuit are all made of 100 m ethernet interface.Firmly Part architecture system 1-11 uses the high performance chips based on ARM Cortex-A8 frameworks, meets data throughput, the Gao Shi of high-speed The protocol conversion demand of Shi Xingneng.The control of information flow flow direction of entire adaptation access device, the real-time of device overall performance are in Now realized by style man-machine interactive interface circuit.
Whole system carries Linux embedded OSs, kernel version Linux3.0.8.Retain the base of system operation This driving is outer, and the driving of two gigabit ethernet interface circuits, 100,000,000 wireless ethernet is added.
3) interface of terminal 2 is demodulated to the embedded adaptive device of Fibre Optical Sensor 1 and Fibre Optical Sensor respectively, Fibre Optical Sensor is embedded in The embedded adaptive device 1 of interface, Fibre Optical Sensor and industry wireless network 4 of formula adaptive device 1 and industrial field bus network 3 Interface is using cycle double-buffering pool technical finesse.Recycle Network Programming Technology and multithreading that double-buffering pool technology uses Linux The communication technology realizes that each group of double-buffering pool will respectively be realized using three threads:The storage of input interface data, storage data Parsing and processing, treated data storage.Human-computer interaction interface is realized using QT4.8.5, mainly completes heterogeneous network Between data flow line selection and pertinent system information show.
Since each communication interface has been all made of cycle double-buffering pool technology, following steps are only introduced wherein a certain communication and are connect The cycle double-buffering pool technology of mouth.Include using the step of cycle double-buffering pool technical finesse:
31) two buffer pools are built.If the peak-peak communication data rate Abps of communication interface, minimum processing unit Holding time piece is Bs, and the initial processing memory rate of data is Cbps.If A*B≤C*B, it is (C*B) b to open up two sizes Buffer pool, otherwise open up two sizes be (A*B) b buffer pool.The cooperation principle of two buffer pools is:Buffer pool one is for connecing By the high data rate from communication interface, this is based partially on DMA technology (Direct Memory Access) and buffer pool lock Technology.After the data of buffer pool one are filled with, buffer pool two continues data storage, at data parsing at this time and processing module The input data that reason buffer pool one has just stored, flows to option, by handling result with number in conjunction with the information flow of human-computer interaction interface In the form storage to corresponding queue of group.After the data processing of buffer pool one is complete, the number in buffer pool two is then handled According to, and the input data of communication interface transfers to store into buffer pool one.So recycle repeatedly.
32) according to communication interface data transmission rate, data parsing and processing module itself processing speed, accident pair Data are parsed has handled the incremental time four that later discontinuous storage tape is come with the incremental time of processing module and input data A impact factor intelligently adjusts buffer pool size.If communication interface data transmission rate function is f1(t), data parsing and processing The processing speed function f of module itself2(t), accident parses data and the incremental time function of processing module is that input data has handled the processing unit occupancy that the incremental time that later discontinuous storage tape is come is minimum Timeslice is Tunit.Then the time of new processing unit occupancy is about:Then a new round is for the size of the buffer pool of storage:
33) speed of adjustment data parsing and processing module.In step 32), it has been found that if data parsing and place The processing speed of reason module is consistently less than the data entry rate of communication interface, and may result in can be ceaselessly for storing buffer pool Be incremented by, final result is exactly that whole system memory is depleted.Data parsing and processing speed must be adjusted, two bufferings are made Pond dynamically expands and reduces in controllable range, reaches and realizes protocol conversion and rate-matched using minimum overhead Problem.The method of adjustment has:Data are parsed (to be reduced soft with the unexpected situation of the parallel plus-minus of processing module quantity, reduction system Hardware interrupts), improve storage method and reduce unnecessary file read-write operations.
34) it is fitted according to the change curve of four impact factors in step 32).Scientific and reasonable matched curve is to make cycle Double-buffering pool technology plays most powerful key.f1(t) method that experiment measures may be used in matched curve, is surveyed to experiment Amount result is fitted.f2(t) related with designed data dissection process modular algorithm time complexity, for several parallel Module the mode of weighted superposition can be used be fitted.Accident incremental time function depends on the integral frame of system, processing Lars transformation can be used to its smoothing techniques due to being the time quantum of burst step in flow.Storage with design is calculated Method time complexity is related.
By taking Fibre Optical Sensor demodulates terminal interface as an example.The peak data rate that Fibre Optical Sensor demodulates terminal is 4Mbps, is had Two factors are depended on data volume:The number N for the demodulator disposed in fiber optic sensor network1(maximum deployment number is 128 It is a) and single sensor information content I1Byte, the curve are measured in real time by grid flow rate test module, and 1 arrives Rate curve in 10 timeslices is as shown in Figure 4.Individual data parses the processing speed f with processing module2(t) it is one fixed Value.It is a linear incremental.Shown in adjustment process table 1 of the double-buffering pool in 10 timeslices.
Adjustment process of 1 double-buffering pool of table in 10 timeslices
Experimental data shows that the cycle double-buffering pool technology reduces the packet loss of access interface, reduces heterogeneous network Between communicate influence each other.
The content not being described in detail in this specification belongs to the prior art well known to professional and technical personnel in the field.

Claims (9)

1. a kind of embedded adaptive device of Fibre Optical Sensor towards heterogeneous network, it is characterised in that:The Fibre Optical Sensor is embedded Industry fieldbus module (1-2) that adaptive device (1) includes adaptive device primary module (1-1) and Ethernet is changed a job;
The adaptive device primary module (1-1):Including
Hardware structure system (1-11):For realizing bottom layer driving, linux kernel and file system, Socket network programmings, association The function of view conversion and rate-matched;
First adaptive net card (1-12):For realizing the adaptive ethernet interface towards optical fiber sensing network;
Second adaptive net card (1-13):For realizing industrial field bus network (3) interface towards EthernetToCAN;
Wireless communication module (1-14):For with router communication, realize towards industry wireless network (4) interface;
Main module power management module (1-15):For giving the adaptive device primary module (1-1) to provide power supply;
The Ethernet is changed a job industry fieldbus module (1-2):It is existing for realizing the adaptive device primary module (1-1) and industry Communication between field bus network (3);
Ethernet industry fieldbus module (1-2) of changing a job includes
Ethernet module (1-21):It is built for realizing the Socket hardware protocol stacks of TCP/IP;
MCU main control modules (1-22):For realizing the management and allotment of protocol conversion and system entirety resource;
CAN interface module (1-23):For providing the CAN physical layer hardware branch between CAN bus and CAN protocol controller It holds;
Auxiliary modular power source management module (1-24):For give the Ethernet change a job industry fieldbus module (1-2) provide power supply;
The building method of described device includes the following steps:
1) object type according to adaptation access, determines that the composition of the embedded adaption system of the Fibre Optical Sensor includes Fibre Optical Sensor Embedded adaptive device (1), Fibre Optical Sensor demodulation terminal (2), industrial field bus network (3) and industry wireless network (4);
2) function module of the embedded adaptive device of the Fibre Optical Sensor (1), the embedded adaptive device of Fibre Optical Sensor are built (1) include adaptive device primary module (1-1) and Ethernet is changed a job industry fieldbus module (1-2);
3) respectively to interface, the Fibre Optical Sensor of the embedded adaptive device of the Fibre Optical Sensor (1) and Fibre Optical Sensor demodulation terminal (2) Interface, Fibre Optical Sensor embedded adaptive device (1) and industry of the embedded adaptive device (1) with industrial field bus network (3) The interface of wireless network (4) is using cycle double-buffering pool technical finesse.
2. the embedded adaptive device of the Fibre Optical Sensor according to claim 1 towards heterogeneous network, it is characterised in that:It is described Hardware structure system (1-11) is based on ARM Cortex-A8 hardware structures.
3. the embedded adaptive device of the Fibre Optical Sensor according to claim 1 towards heterogeneous network, it is characterised in that:It is described First adaptive net card (1-12) and the second adaptive net card (1-13) are 1,000 gigabit adaptive net cards.
4. the embedded adaptive device of the Fibre Optical Sensor according to claim 1 towards heterogeneous network, it is characterised in that:It is described Wireless communication module (1-14) is 100,000,000 radio network interfaces for meeting IEEE802.11g standards.
5. the embedded adaptive device of the Fibre Optical Sensor according to claim 1 towards heterogeneous network, it is characterised in that:It is described Adaptive device primary module (1) further includes for supporting the usb interface module of USB interface (1-16).
6. the embedded adaptive device of the Fibre Optical Sensor according to claim 1 towards heterogeneous network, it is characterised in that:It is described Adaptive device primary module (1) further includes that the AccessPort interface for carrying out primary module software function configuration is operated for control terminal (1-17) and it is used for the newer USB debugging interfaces (1-18) of software system updating.
7. a kind of using the embedded adaptive device of Fibre Optical Sensor of claim 1~6 any one of them towards heterogeneous network Adaption system, it is characterised in that:The adaption system includes the embedded adaptive device of Fibre Optical Sensor (1), Fibre Optical Sensor demodulation end End (2), industrial field bus network (3) and industry wireless network (4), the embedded adaptive device of Fibre Optical Sensor (1) pass through First adaptive net card (1-12) is connect with Fibre Optical Sensor demodulation terminal (2), passes through the second adaptive net card (1-13) and industry Fieldbus networks (3) connect, and module (1-14) is connect with industry wireless network (4) by radio communication.
8. a kind of building method using the embedded adaption system of the Fibre Optical Sensor towards heterogeneous network described in claim 7, It is characterized in that, the building method includes the following steps:
1) object type according to adaptation access, determines that the composition of the embedded adaption system of the Fibre Optical Sensor includes Fibre Optical Sensor Embedded adaptive device (1), Fibre Optical Sensor demodulation terminal (2), industrial field bus network (3) and industry wireless network (4);
2) function module of the embedded adaptive device of the Fibre Optical Sensor (1), the embedded adaptive device of Fibre Optical Sensor are built (1) include adaptive device primary module (1-1) and Ethernet is changed a job industry fieldbus module (1-2);
3) respectively to interface, the Fibre Optical Sensor of the embedded adaptive device of the Fibre Optical Sensor (1) and Fibre Optical Sensor demodulation terminal (2) Interface, Fibre Optical Sensor embedded adaptive device (1) and industry of the embedded adaptive device (1) with industrial field bus network (3) The interface of wireless network (4) is using cycle double-buffering pool technical finesse.
9. the building method of the embedded adaption system of the Fibre Optical Sensor according to claim 8 towards heterogeneous network, special Sign is:Include using the step of cycle double-buffering pool technical finesse in the step 3):
31) two buffer pools are built;
32) according to communication interface data transmission rate, data parsing and processing module itself processing speed, accident to data The incremental time and input data of parsing and processing module have handled four shadows of incremental time that later discontinuous storage tape is come It rings the factor and intelligently adjusts buffer pool size;
33) speed of adjustment data parsing and processing module;
34) it is fitted according to the change curve of four impact factors in the step 32).
CN201510812452.4A 2015-11-20 2015-11-20 The embedded adaptive device of Fibre Optical Sensor, system and building method towards heterogeneous network Active CN105471863B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510812452.4A CN105471863B (en) 2015-11-20 2015-11-20 The embedded adaptive device of Fibre Optical Sensor, system and building method towards heterogeneous network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510812452.4A CN105471863B (en) 2015-11-20 2015-11-20 The embedded adaptive device of Fibre Optical Sensor, system and building method towards heterogeneous network

Publications (2)

Publication Number Publication Date
CN105471863A CN105471863A (en) 2016-04-06
CN105471863B true CN105471863B (en) 2018-10-16

Family

ID=55609134

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510812452.4A Active CN105471863B (en) 2015-11-20 2015-11-20 The embedded adaptive device of Fibre Optical Sensor, system and building method towards heterogeneous network

Country Status (1)

Country Link
CN (1) CN105471863B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106131900A (en) * 2016-06-24 2016-11-16 重庆小目科技有限责任公司 Multichannel method for handover control under isomery environment of industrial network and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179576A (en) * 2007-12-05 2008-05-14 上海电器科学研究所(集团)有限公司 Multi-protocol industry Ethernet adapter
CN101201620A (en) * 2007-12-11 2008-06-18 苏州科技学院 Built-in controller based on 802.11 wireless network protocol
CN102082742A (en) * 2009-11-27 2011-06-01 中国科学院自动化研究所 Intelligent network protocol conversion and communication control system
CN103152190A (en) * 2011-12-06 2013-06-12 沈阳中科博微自动化技术有限公司 Management system and implementation method used for interconnection between industrial internet of things and Ethernet

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179576A (en) * 2007-12-05 2008-05-14 上海电器科学研究所(集团)有限公司 Multi-protocol industry Ethernet adapter
CN101201620A (en) * 2007-12-11 2008-06-18 苏州科技学院 Built-in controller based on 802.11 wireless network protocol
CN102082742A (en) * 2009-11-27 2011-06-01 中国科学院自动化研究所 Intelligent network protocol conversion and communication control system
CN103152190A (en) * 2011-12-06 2013-06-12 沈阳中科博微自动化技术有限公司 Management system and implementation method used for interconnection between industrial internet of things and Ethernet

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"云制造装备资源感知与接入适配技术";李瑞芳等;《计算机集成制造系统》;20170731;第18卷(第7期);全文 *

Also Published As

Publication number Publication date
CN105471863A (en) 2016-04-06

Similar Documents

Publication Publication Date Title
CN108011814A (en) A kind of multi-protocols intelligent gateway and its implementation based on arrowband Internet of Things
CN207184521U (en) Internet of Things Multifunctional gateway based on NB IoT
CN108011915B (en) A kind of acquisition front-end system based on cloud communication
CN104954198B (en) A kind of transformer station process layer switch state monitoring apparatus and method
CN103905281B (en) FC-AE-1553 bus node card capable of interchangeably achieving functions of network controller and network terminal
CN103607718B (en) Intelligent wireless network communication optimization equipment
CN209201095U (en) A kind of accessing wirelessly access device
CN103036892A (en) Industrial ethernet protocol converter
CN107819659A (en) A kind of intelligent level UNICOM communication network based on SPI
CN105471863B (en) The embedded adaptive device of Fibre Optical Sensor, system and building method towards heterogeneous network
CN102811152A (en) Method for realizing real-time transaction and data exchange of multiple main bus network communication
CN207039634U (en) A kind of gateway apparatus based on Internet of Things
CN204229397U (en) RS232 serial ports and ethernet interface converter
CN202111737U (en) Network management enhanced E1/ETH protocol converter
CN201716572U (en) Gateway based on double CAN buses and control system adopting gateway
CN105515829A (en) Intelligent wiring system
CN107885691A (en) Serial data transmission method, distributed apparatus and main frame
CN209419650U (en) A kind of router of internet of things based on LoRa communication
CN108768810B (en) A kind of transient state big data high-efficiency transmission method based on FC
CN106773956A (en) The conversion equipment and method of short-wave radio set data communication interface
CN105573957B (en) A kind of measuring instrument programmable interface converting system and method
CN108459987A (en) The data interactive method and multi -CPU networked devices of multi -CPU
CN211606864U (en) LED matrix circuit for displaying different states
CN206835125U (en) Intelligent accessing gateway equipment
CN104202181B (en) Performance of network equipments managing device and method based on order line

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant