CN109495728B - Optical fiber transmission system and transmission method - Google Patents

Optical fiber transmission system and transmission method Download PDF

Info

Publication number
CN109495728B
CN109495728B CN201811602238.6A CN201811602238A CN109495728B CN 109495728 B CN109495728 B CN 109495728B CN 201811602238 A CN201811602238 A CN 201811602238A CN 109495728 B CN109495728 B CN 109495728B
Authority
CN
China
Prior art keywords
signal
signals
module
main controller
camera
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.)
Expired - Fee Related
Application number
CN201811602238.6A
Other languages
Chinese (zh)
Other versions
CN109495728A (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.)
Changchun Institute of Optics Fine Mechanics and Physics of CAS
Original Assignee
Changchun Institute of Optics Fine Mechanics and Physics of CAS
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 Changchun Institute of Optics Fine Mechanics and Physics of CAS filed Critical Changchun Institute of Optics Fine Mechanics and Physics of CAS
Priority to CN201811602238.6A priority Critical patent/CN109495728B/en
Publication of CN109495728A publication Critical patent/CN109495728A/en
Application granted granted Critical
Publication of CN109495728B publication Critical patent/CN109495728B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/22Adaptations for optical transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/25Arrangements specific to fibre transmission
    • H04B10/2589Bidirectional transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/189Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Optical Communication System (AREA)
  • Studio Devices (AREA)

Abstract

The invention provides an optical fiber transmission system and an optical fiber transmission method, wherein the system comprises an optical fiber transmission medium, a transmitting device and a receiving device, the transmitting device is used for carrying out downlink transmission coding on a data signal and a SerTFG serial communication signal which accord with a Base mode in a Camera L ink protocol to obtain a first downlink signal, the transmitting device is also used for carrying out symmetric decoding on the first uplink signal, the receiving device is used for carrying out symmetric decoding on the first downlink signal and carrying out uplink transmission coding on a Camera control signal and a SerTC serial communication signal which accord with the Base mode in a Camera L ink protocol to obtain a first uplink signal, and the first downlink signal and the first uplink signal are transmitted through the optical fiber transmission medium.

Description

Optical fiber transmission system and transmission method
Technical Field
The present invention relates to the field of optical fiber transmission technologies, and in particular, to an optical fiber transmission system and a transmission method.
Background
The prior art is flawed in the combination of the Camera L ink protocol and optical fiber communication, and taking an optical fiber transmission system based on the standard Base mode Camera L ink interface as an example, the optical fiber transmission system can only transmit image data of a Camera of a specific model, or can only transmit image data of a Camera of a type with a fixed resolution and a fixed frame rate, or can only transmit partial image data in the Camera L ink protocol, and a control signal and an asynchronous communication signal in the protocol are separately transmitted, or can only transmit an asynchronous communication signal with a fixed baud rate, and also because the optical fiber transmission system based on the standard Base mode Camera L ink interface in the prior art can only select one optical fiber transmission system for data transmission, the optical fiber transmission system based on the standard Base mode Camera L ink interface has poor general performance and comprehensive performance of products although realizing the transmission of image data.
Further, if the problem of long-distance transmission of high-bandwidth signals in a complex electromagnetic environment in the industrial field is to be solved, a plurality of auxiliary systems must be required to work together with a fiber-optic transmission system based on the standard Base mode Camera L ink interface, which greatly increases the cost and complexity of signal transmission.
Disclosure of Invention
In order to solve the problems of poor general performance and poor comprehensive performance of an optical fiber transmission product based on a standard Base mode Camera L ink interface, the invention provides an optical fiber transmission system, which comprises an optical fiber transmission medium and further comprises:
the device comprises a transmitting device, a receiving device and a transmitting device, wherein the transmitting device is used for carrying out downlink transmission coding on a data signal and a SerTFG serial communication signal which accord with a Base mode in a Camera L ink protocol to obtain a first downlink signal;
the receiving device is used for carrying out symmetrical decoding on the first downlink signal and also carrying out uplink transmission coding on a Camera control signal and a SerTC serial communication signal which conform to the Base mode in the Camera L ink protocol so as to obtain a first uplink signal;
the first downlink signal and the first uplink signal are transmitted through the optical fiber transmission medium.
Preferably, the transmitting device includes a first main controller and a first photoelectric conversion module connected to each other;
the first master controller is used for carrying out protocol coding on specified behaviors in a downlink data signal and a SerTFG serial communication signal in a Base mode in a Camera L ink protocol to obtain a first protocol packet, wherein the specified behaviors comprise one or more of a frame start state, a frame end state, a frame valid state, a frame blanking state, a line start state, a line end state, a line valid state and a line blanking state;
and the first main controller further symmetrically decodes the uplink differential signal through a first GTX transceiver integrated therein so as to acquire the uplink camera control signal and the SerTC serial communication signal from the second protocol packet.
Preferably, the sending device includes an input module, a decoding module, the first main controller and the first photoelectric conversion module, which are connected in sequence;
the input module is arranged between the industrial camera and the decoding module, and is used for transmitting L VDS signals from the industrial camera in a downstream mode;
the decoding module is arranged between the input module and the first main controller, and is used for converting L VDS signals from the industrial Camera into data signals and SerTFG serial communication signals in a Base mode in accordance with Camera L ink protocol and continuing to transmit the signals downstream to the first main controller;
the decoding module will also first L VDS encode upstream camera control signals and SerTC serial communication signals from the first master controller, the decoding module transmitting signals encoded via a first L VDS to the input module, which can continue to pass signals encoded via a first L VDS to the industrial camera.
Preferably, the receiving apparatus includes a second main controller and a second photoelectric conversion module connected to each other;
the second photoelectric conversion module is used for converting the optical signal from the sending device back to a downlink differential signal and transmitting the downlink differential signal to the second main controller; the second photoelectric conversion module is further configured to convert the uplink differential signal generated by the second main controller into an optical signal sent to a sending device;
the second main controller is used for carrying out self-defined protocol coding on an uplink Camera control signal and a SerTC serial communication signal which accord with a Base mode in a Camera L ink protocol to obtain a third protocol packet, and the second main controller carries out 8B/10B coding on the third protocol packet through a second GTX transceiver integrated in the second main controller to obtain an uplink differential signal;
and the second main controller further symmetrically decodes the downlink differential signal from the transmitting device through the second GTX transceiver to obtain a downlink data signal and a SerTFG serial communication signal.
Preferably, the receiving device includes an output module, an encoding module, the second main controller, and the second photoelectric conversion module, which are connected in sequence;
the output module is arranged between the coding module and the image acquisition equipment, and is used for transmitting the second L VDS coding signal from the coding module to the image acquisition equipment in a downlink manner;
the encoding module is arranged between the output module and the second main controller, and is used for converting an upstream L VDS signal from the image acquisition equipment into an upstream Camera control signal and a SerTC serial communication signal which are in accordance with a Base mode in a Camera L ink protocol, and continuously transmitting the signals to the second main controller;
the encoding module also second L VDS encodes the downstream data signals and SerTFG serial communication signals from the second master controller, the encoding module transmitting signals encoded via a second L VDS to the output module.
Preferably, the data signals conforming to the Base mode in the Camera L ink protocol include 28bits of data signals, the 28bits of data signals include 4bits of video control signals and 24bits of image data signals, the 4bits of video control signals are FVA L signals, L VA L signals, DVA L signals and SPARE signals respectively, the 24bits of image data signals are PORTA signals, PORTB signals and PORTC signals, and the 24bits of image data signals are transmitted through 3 ports.
Preferably, the transmitting device and the receiving device are both provided with a photoelectric conversion module, and the photoelectric conversion module comprises a transceiver integrated optical fiber module with an SFP or SFP + interface; the optical fiber transmission medium is a single-mode or multi-mode optical fiber.
Preferably, the first and second liquid crystal films are made of a polymer,
the transmitting device and the receiving device are respectively provided with a first main controller and a second controller, wherein the first main controller and the second controller are XC7K70T/XC7A50T main control chips and can also be 7 series FPGA of Xilinx company;
the decoding module on the transmitting device is a DS90CR288A decoding chip, and the encoding module on the receiving device is a DS90CR287 encoding chip.
The invention also provides an optical fiber transmission method, which is characterized by comprising uplink transmission and downlink transmission, wherein the downlink transmission comprises the following steps:
step S1, carrying out self-defined protocol coding on the downlink data signal and the SerTFG serial communication signal in the Base mode in the Camera L ink protocol to obtain a first protocol packet;
step S2, inserting K codes into the first protocol packet, and then carrying out 8B/10B coding to obtain a downlink 1lane high-speed differential signal, and further converting the downlink 1lane high-speed differential signal into an optical signal for transmission;
step S3, decoding the optical signal in a symmetrical decoding manner to the steps S1 to S2;
the uplink transmission comprises the following steps:
step S4, carrying out self-defined protocol coding on the Camera control signal and the SerTC serial communication signal which are in the uplink and accord with the Base mode in the Camera L ink protocol to obtain a third protocol packet;
step S5, 8B/10B coding is carried out on the third protocol packet to obtain the uplink 1lane high-speed differential signal, and then the uplink 1lane high-speed differential signal is converted into an optical signal for transmission;
in step S6, the optical signal is decoded in a symmetrical decoding manner to that in steps S4 to S5.
Preferably, the self-defined protocol encoding process is a self-defined protocol encoding process for the signal in one or more of a start of frame, end of frame, active of frame, blanking of frame, start of line, end of line, active of line and blanking of line state.
Compared with the prior art, the invention has the beneficial effects that:
the invention provides an optical fiber transmission system and an optical fiber transmission method, wherein the image data with any resolution and frame frequency under a Camera L ink protocol Base mode can be subjected to self-adaptive coding through a downlink transmission coding process, so that the universality of the system is increased, further, the Camera control signal with any waveform and the SerTC with any baud rate under the Camera L ink protocol Base mode can be subjected to self-adaptive coding through an uplink transmission coding process, so that the universality of the system is expanded, and in addition, the system is transmitted through the optical fiber, so that the system has strong long-distance transmission capability, high anti-interference capability and convenient installation and use, the error rate is lower than 10E-12, and the requirement of industrial-level working temperature of-45-85 ℃ is met.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a schematic structural diagram of an optical fiber transmission system according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a transmitting device of an optical fiber transmission system according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a receiving device of an optical fiber transmission system according to an embodiment of the present invention;
fig. 4 is a flowchart of an optical fiber transmission method according to an embodiment of the present invention.
Reference numerals:
the system comprises a sending device 1, an optical fiber transmission medium 2, a receiving device 3, a power supply device 4, an optical fiber transmission system 10, an input module 11, a decoding module 12, a first main controller 13, a first photoelectric conversion module 15, a first GTX transceiver 16, an output module 31, an encoding module 32, a second main controller 33, a second photoelectric conversion module 35, a second GTX transceiver 36, an industrial camera 100 and an image acquisition device 200.
Detailed Description
The above and further features and advantages of the present invention are described in more detail below with reference to the accompanying drawings.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc., indicate orientations or positional relationships based on those shown in the drawings, and are used merely for convenience of description of the present invention, and do not indicate or imply that the device or element so referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be considered as limiting the present invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two unless specifically defined otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; may be mechanically coupled, may be electrically coupled or may be in communication with each other; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless otherwise expressly stated or limited, the first feature "on" or "under" the second feature may be directly contacting the first and second features or indirectly contacting the first and second features through an intermediate. Also, a first feature "on," "over," and "above" a second feature may be directly or diagonally above the second feature, or may simply indicate that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature may be directly under or obliquely under the first feature, or may simply mean that the first feature is at a lesser elevation than the second feature.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Examples
FIG. 1 is a schematic structural diagram of an optical fiber transmission system according to an embodiment of the present invention; FIG. 2 is a schematic structural diagram of a launch device of an optical fiber transmission system according to an embodiment of the present invention; fig. 3 is a schematic structural diagram of a receiving device of an optical fiber transmission system according to an embodiment of the present invention.
As shown in fig. 1 to 3, in embodiment 1 of the present invention, an optical fiber transmission system 10 is provided, where the optical fiber transmission system 10 is an optical fiber transmission system based on a standard Base mode Camera L ink interface, and the optical fiber transmission system 10 remotely transmits image data from the standard Base mode Camera L ink interface through an optical fiber, which avoids a problem that a Camera L ink data line cannot realize remote transmission of the image data.
The optical fiber transmission system 10 includes a transmitting device 1, an optical fiber transmission medium 2 and a receiving device 3, wherein the transmitting device 1 and the receiving device 3 are respectively provided with a photoelectric conversion module, and the optical fiber transmission medium 2 connects the transmitting device 1 and the receiving device 3 through the photoelectric conversion modules at both sides.
In the embodiment of the invention: the signal transmitted from the transmitter 1 to the receiver 3 is called a downlink signal, and the signal in the opposite transmission direction is an uplink signal.
In embodiment 1 of the present invention, a positive correlation between the transmission distance of the optical fiber transmission system 10 to the image data and the power of the selected photoelectric conversion module is provided. The image data transmission distance can reach thousands of meters. The optical fiber communication speed of the optical fiber transmission system 10 can reach 6.6Gbps at most, and the communication error rate is lower than 10E-12.
Preferably, the transmitting device 1 is a transmitting device based on the standard Base mode Camera L ink protocol, and the receiving device 3 is a receiving device based on the standard Base mode Camera L ink protocol;
the optical fiber transmission medium 2 uses the single mode/multimode optical fiber of L C interface (but not limited to the single mode/multimode optical fiber of L C interface), and uses the single mode/multimode optical fiber of L C interface, because the single mode/multimode optical fiber of L C interface is made by using the modular jack latch mechanism, it is suitable for connecting SFP module, and easy to operate, the transmission effect is good.
The transmitting device 1 and the receiving device 3 are both powered by 4-14V direct-current power supplies, so that the power supplies can cooperatively supply power, and the electric energy loss is reduced.
Further, in embodiment 1 of the present invention, there is provided an optical fiber transmission system 10, further including a power supply device 4, where the power supply device 4 performs voltage conversion on a voltage of 4 to 14V supplied from a dc power supply terminal to drive a corresponding active component, and in this embodiment, the power supply device 4 is preferably an L TM6446 power supply module (but is not limited to this type of power supply module).
Before explaining a fiber transmission system provided in embodiment 1 of the present invention in detail, it is necessary to introduce part of the content of the Camera L ink standard, especially the working principle of the Camera L ink protocol in the Base mode.
In the Base mode of the Camera L ink standard, the signals include at least a Camera control signal, a serial communication signal, and a video data signal.
Camera control signals
The Camera L ink protocol under Base mode involves 4bits of Camera control signals, and these 4bits of Camera control signals are defined as the input signals of the Camera and the output signals of the image acquisition card, generally, the signal names and related information are as described in the following Table 1:
Figure BDA0001922792280000081
Figure BDA0001922792280000091
TABLE 1
2. Serial communication signal
The Camera L ink protocol under the Base mode relates to a 2bits serial communication signal, and the 2bits serial communication signal is used for realizing asynchronous serial communication control between a Camera and an image acquisition card, wherein the communication format of the Camera L ink protocol is 1 start bit, 8 data bits, 1 stop bit, parity check bit removal and handshake bit removal.
The 2-bit serial communication signal can also be referred to as a 2-bit asynchronous communication signal, and the detailed information thereof is shown in table 2 below.
Signal name Signal flow direction
SerTFG Camera serial output terminal to image collecting card serial input terminal
SerTC Image acquisition cardSerial output to camera serial input
TABLE 2
3. Video data signal
The video data signal portion is the core of the Camera L ink protocol, and the video data signal consists essentially of 5 pairs of differential signals, namely, X0-and X0+, X1-and X1+, X2-and X2+, X3-and X3+, Xclk-and Xclk +.
The video transmitting end converts the data signals of 28bits and 1 clock signal into 5 pairs of differential signals according to the proportion of 7:1, and the receiving end converts the 5 pairs of differential signals into the data signals of 28bits and 1 clock signal.
In the Base mode, the 28-bit data signal includes a 4-bit video control signal and a 24-bit image data signal, and the 28-bit image data signal can be classified into an FVA L signal, a L VA L signal, a DVA L signal, a SPARE signal, a PORTA signal, a PORTB signal, and a PORTC signal according to independent functions.
The 4bits video control signal is divided into FVA L signal, L VA L signal, DVA L signal and SPARE signal, and the detailed information of the 4bits video control signal is shown in table 3 below:
Figure BDA0001922792280000092
Figure BDA0001922792280000101
TABLE 3
In addition, 24bits data are transmitted through 3 open ports in the Base mode, the 3 ports are respectively an A port, a B port and a C port, and are also called PORTA, PORTB and PORTC, and each port transmits 8bits data.
After the operation principle of the Camera L ink protocol in the Base mode is introduced, the composition and the operation principle of the optical fiber transmission system 10 provided in embodiment 1 of the present invention are specifically described:
the transmitting device 1 comprises an input module 11, a decoding module 12, a first main controller 13 and a first photoelectric conversion module 15 which are connected in sequence. Active elements in the transmitting device 1 take power through a power supply device 4.
The transmission signals sequentially passing through the input module 11, the decoding module 12, the first main controller 13 and the first photoelectric conversion module 15 belong to a downlink transmission signal. The transmission signals sequentially passing through the first photoelectric conversion module 15, the first main controller 13, the decoding module 12 and the input module 11 belong to an uplink transmission signal.
The input module 11 uses a standard MDR26 connector in Camera L ink protocol Base mode, the input module 11 receives L VDS signals from the industrial Camera 100 and passes the signals to the decoding module 12, and the input module 11 also receives Camera control signals and asynchronous communication L VDS signals from the decoding module 12 and passes the signals to the industrial Camera 100.
As shown in FIG. 1, the decoding module 12 receives L VDS signals of the industrial camera 100 images from the input module 11, and performs 1:7 differential serial-parallel decoding to obtain 28-bit data signals and 1-bit SerTFG serial communication signals, the 28-bit data signals include 4-bit control signals and 24-bit image data signals, the decoding module 12 outputs the 28-bit data signals and 1-bit SerTFG serial communication signals to the first main controller 13, the decoding module 12 further receives camera control signals and SerTC serial communication signals from the first main controller 13, and the decoding module 12 performs L VDS coding on the camera control signals and the SerTC serial communication signals from the first main controller 13 and transmits the signals to the input module 11. preferably, the decoding module 12 is a decoding chip DS90CR 288A.
The first main controller 13 processes the received 28bits data signal from the decoding module 12 and the 1bit serTFG serial communication signal, performs self-defined protocol coding of frame start, frame end, frame valid, frame blanking, line start, line end, line valid and line blanking states, then inputs the coded first protocol packet to the TX Gearbox input end of the first GTX transceiver 16 hardcore IP integrated in the first main controller 13, automatically inserts K code, performs 8B/10B coding, outputs the coded first protocol packet to the first photoelectric conversion module 15 through the L VDS output port TXP/N of the first GTX transceiver 16, outputs the coded first protocol packet to the first photoelectric conversion module 15 through the main controller 15, outputs the coded first photoelectric conversion module 15 is 1lane high-speed differential signal, simultaneously receives L VDS signal output from the first photoelectric conversion module 15 through the input port RXP/N of the first GTX transceiver 16, decodes the decoded first GTX transceiver 16 through the 8B/10B, outputs the decoded first protocol packet which is preferably consistent with the GerTFG serial communication signal of the first SDF 7 protocol decoding module 13A, decodes the self-defined protocol packet from the second GTX transceiver 16, and outputs the second protocol packet which is preferably consistent with the second serial communication protocol coding of the second communication module 13A 367, and outputs the decoded by the FPGA 2 XC serial communication module 13, and decodes the second serial communication signal which is preferably consistent with the second communication protocol.
The first photoelectric conversion module 15 performs mutual conversion between the electrical signal and the optical signal so that the signal output by the first main controller 13 can be changed into the optical signal and then transmitted to the receiving apparatus 3. The first photoelectric conversion module 15 may also convert an optical signal from the receiving device 3 into an electrical signal. The first photoelectric conversion module 15 is preferably a general 3.125Gbps single-fiber bidirectional optical fiber module. The first photoelectric conversion module 15 is preferably an SFP + interface fiber optic module.
The receiving device 3 includes an output module 31, an encoding module 32, a second main controller 33, and a second photoelectric conversion module 35, which are connected in sequence. The active elements in the receiver 3 are powered by the power supply 4.
The transmission signals sequentially passing through the output module 31, the encoding module 32, the second main controller 33 and the second photoelectric conversion module 35 belong to a downlink transmission signal. The transmission signals sequentially passing through the second photoelectric conversion module 35, the second main controller 33, the encoding module 32, and the output module 31 belong to an upstream transmission signal.
The output module 31 adopts a standard MDR26 connector under a Camera L ink protocol Base mode, the output module 31 receives L VDS coded signals from the coding module 32 and outputs the coded signals to the back-end image acquisition device 200, and the output module 31 receives Camera control signals of the industrial Camera 100 and asynchronous communication L VDS signals from the image acquisition device 200 and transmits the signals to the coding module 32.
The encoding module 32 receives parallel signals which accord with the Camera timing sequence from the second main controller 33, namely, data signals of 28bits, the encoding module 32 also receives SerTFG serial communication signals of 1bit, the encoding module 32 carries out differential serial encoding of 7:1 on the two signals to obtain L VDS signals which accord with Camera L ink protocol Base mode, and outputs the signals to the output module 31, the encoding module 3 receives the Camera control signals and the communication signals from the output module 31 and then carries out serial decoding from L VDS to L VTT to obtain Camera control signals (CC1-CC4) and SerTC serial communication signals, and the encoding module 3 further transmits the Camera control signals (CC1-CC4) and the SerTC serial communication signals to the second controller 33.
The second main controller 33 receives the camera control signal and the SerTC serial communication signal from the encoding module 32, performs custom protocol encoding on the camera control signal and the SerTC serial communication signal, and then sends a third protocol packet after encoding to a TX georbox in a second GTX transceiver 36 on the second main controller 33, the third protocol packet is encoded inside the TX georbox by 8B/10B and then output to the second photoelectric conversion module 35 through a TXP/N port, meanwhile, an input port RXP/N of the second GTX transceiver 36 on the second main controller 33 receives a L VDS signal output from the second photoelectric conversion module 35, and outputs a fourth protocol packet conforming to a protocol by an RX georbox on the second GTX transceiver 36 after 8B/10B decoding, the fourth protocol packet is output by an RX georbox on the second GTX transceiver 36, the custom decoding module in the second main controller 33 performs custom decoding on a frame start, frame end, frame blanking, main control frame effectiveness, line beginning, line end, line effectiveness status decoding, and blanking state in a self-defined frame effectiveness, serial communication signals 28, a data signals of the second GTX transceiver 33, a serial communication signal, a serial signal, a.
The second photoelectric conversion module 35 performs mutual conversion between the electrical signal and the optical signal, and the second photoelectric conversion module 35 converts the optical signal from the transmission apparatus 1 into a 1lane high-speed differential electrical signal and transmits the signal to the second main controller 33. The second photoelectric conversion module 35 converts the electrical signal from the second main controller 33 into an optical signal to be transmitted to the transmission apparatus 1. The second photoelectric conversion module 35 is preferably a general 3.125Gbps single-fiber bidirectional optical fiber module. The second photoelectric conversion module 35 is preferably an SFP + interface fiber optic module.
In the embodiment of the invention, the sending device 1 can adaptively encode the image data with any resolution and frame frequency under the Camera L ink protocol Base mode, and the data is recombined in the first main controller 13, so that the data can adapt to the input format requirement of the first GTX transceiver and can be automatically inserted with k codes, and the effective transmission bandwidth is improved to the maximum extent;
the camera control signal and the asynchronous communication signal sent by the receiving device 3 can be decoded by user-defined mode, and asynchronous communication under any baud rate can be realized.
The receiving device 3 performs photoelectric conversion on the optical signal sent by the sending device 1, then enters the second main controller 33, obtains image data of a user-defined protocol through the second GTX transceiver, obtains image data with the resolution, frame frequency and bit width completely the same as those of the image input by the sending device 1 after decoding inside the second main controller 33, and outputs the image data to the image acquisition equipment 200 through a coding chip; meanwhile, the receiving device 3 carries out self-defined coding on the camera control signal and the asynchronous communication signal received from the image acquisition equipment 200, the camera control signal and the asynchronous communication signal are sent to the optical fiber module for photoelectric conversion after being coded by 8B/10B of the second GTX transceiver, and the optical fiber is transmitted to the sending device 1, so that bidirectional communication at any communication baud rate can be realized.
The fiber optic transmission medium 2 may be used to effectuate bi-directional communications using a single L C interface (but not limited to this type and number of fibers).
The transmitting device 1 and the receiving device 3 adopt compact design, and are small in size and convenient to install. The main body portion sizes of the transmission device 1 and the reception device 3 are: it is 40mm wide, 110mm long and 15mm high.
Fig. 4 is a flowchart of an optical fiber transmission method according to an embodiment of the present invention. As shown in fig. 4, the present invention further provides an optical fiber transmission method, which includes an uplink transmission and a downlink transmission, where the downlink transmission includes the following steps:
step S1, carrying out self-defined protocol coding on the downlink data signal and the SerTFG serial communication signal in the Base mode in the Camera L ink protocol to obtain a first protocol packet;
step S2, inserting K codes into the first protocol packet, and then carrying out 8B/10B coding to obtain a downlink 1lane high-speed differential signal, and further converting the downlink 1lane high-speed differential signal into an optical signal for transmission;
step S3, decoding the optical signal in a symmetrical decoding manner to the steps S1 to S2;
the uplink transmission comprises the following steps:
step S4, carrying out self-defined protocol coding on the Camera control signal and the SerTC serial communication signal which are in the uplink and accord with the Base mode in the Camera L ink protocol to obtain a third protocol packet;
step S5, 8B/10B coding is carried out on the third protocol packet to obtain the uplink 1lane high-speed differential signal, and then the uplink 1lane high-speed differential signal is converted into an optical signal for transmission;
in step S6, the optical signal is decoded in a symmetrical decoding manner to that in steps S4 to S5.
The self-defined protocol encoding process is to carry out a self-defined protocol encoding process on the signal in one or more of a frame start state, a frame end state, a frame effective state, a frame blanking state, a line start state, a line end state, a line effective state and a line blanking state.
The principle of the downlink transmission of the data signal of 28bits and the SerTFG serial communication signal of 1bit is as follows:
in step S11, specifically, the data signal of 28bits and the SerTFG serial communication signal of 1bit are subjected to signal processing, and one or more of the start of frame, end of frame, frame valid, frame blank, line start, line end, line valid, and line blank states are subjected to custom protocol coding.
In step S12, the encoded first protocol packet is continuously transmitted downstream, and then the K code is automatically inserted, so that 8B/10B encoding is performed, and the encoded first protocol packet is output to the first photoelectric conversion module through the transceiver, and the high-speed differential signal of 1lane is output to the first photoelectric conversion module 15.
Step S13, symmetric decoding to restore the same data signal of 28bits and SerTFG serial communication signal of 1bit as in step S1.
The principle of the uplink transmission camera control signal and the SerTC serial communication signal is as follows:
step S14, specifically, custom protocol encoding is performed on the camera control signal and the SerTC serial communication signal.
Step S15, continue to encode the encoded third protocol packet by 8B/10B and output it to the second photoelectric conversion module 35; and further converting the 1lane high-speed differential signal of the uplink into an optical signal for transmission.
Step S16, symmetrically decoding to restore the same camera control signal and SerTC serial communication signal as in step S4.
The optical fiber transmission method provided by the invention has the beneficial effects that:
1. by the method, the image data with any resolution and frame rate under the Camera L ink protocol Base mode can be coded in a self-adaptive mode, and then the K code is inserted, so that the effective transmission bandwidth can be improved to the maximum extent.
2. And the optical fiber transmission is utilized, so that the noise interference is small and the transmission rate is high.
3. The method can carry out self-defined decoding on the sent camera control signal and the asynchronous communication signal, and can realize asynchronous communication at any baud rate.
The foregoing is merely a preferred embodiment of this invention, which is intended to be illustrative, and not limiting. The structure, the connection mode and the like of all the components in the invention can be changed, and the equivalent transformation and the improvement on the basis of the technical scheme of the invention are not excluded from the protection scope of the invention.

Claims (5)

1. An optical fiber transmission system comprising an optical fiber transmission medium, characterized in that it further comprises:
the device comprises a transmitting device, a receiving device and a transmitting device, wherein the transmitting device is used for carrying out downlink transmission coding on a data signal and a SerTFG serial communication signal which accord with a Base mode in a Camera L ink protocol to obtain a first downlink signal;
the receiving device is used for carrying out symmetrical decoding on the first downlink signal and also carrying out uplink transmission coding on a Camera control signal and a SerTC serial communication signal which conform to the Base mode in the Camera L ink protocol so as to obtain a first uplink signal;
the first downlink signal and the first uplink signal are transmitted through the optical fiber transmission medium;
the transmitting device comprises a first main controller and a first photoelectric conversion module which are connected with each other;
the first master controller is used for carrying out protocol coding on the data signals of the downlink and the SerTFG serial communication signals in the Base mode in the Camera L ink protocol to obtain a first protocol packet, wherein the customized behaviors comprise one or more of a frame start state, a frame end state, a frame effective state, a frame blanking state, a line start state, a line end state, a line effective state and a line blanking state;
the first main controller inserts a K code into the first protocol packet through a first GTX transceiver integrated in the first main controller, and the first GTX transceiver performs 8B/10B coding on the first protocol packet inserted with the K code to obtain a downlink differential signal; the downlink differential signal is transmitted to the first photoelectric conversion module by the first main controller;
the first main controller further symmetrically decodes the uplink differential signal through a first GTX transceiver integrated therein to acquire an uplink camera control signal and a SerTC serial communication signal from a second protocol packet;
the transmitting device comprises an input module, a decoding module, the first main controller and the first photoelectric conversion module which are connected in sequence;
the input module is arranged between the industrial camera and the decoding module, and is used for transmitting L VDS signals from the industrial camera in a downstream mode;
the decoding module is arranged between the input module and the first main controller, and is used for converting L VDS signals from the industrial Camera into data signals and SerTFG serial communication signals in a Base mode in accordance with Camera L ink protocol and continuing to transmit the signals downstream to the first main controller;
the decoding module further first L VDS encoding upstream camera control signals and SerTC serial communication signals from the first master controller, the decoding module transmitting signals encoded via a first L VDS to the input module, the input module being capable of continuing to pass signals encoded via a first L VDS to the industrial camera;
the receiving device comprises a second main controller and a second photoelectric conversion module which are connected with each other;
the second photoelectric conversion module is used for converting the optical signal from the sending device back to a downlink differential signal and transmitting the downlink differential signal to the second main controller; the second photoelectric conversion module is further configured to convert the uplink differential signal generated by the second main controller into an optical signal sent to a sending device;
the second main controller is used for carrying out self-defined protocol coding on an uplink Camera control signal and a SerTC serial communication signal which accord with a Base mode in a Camera L ink protocol to obtain a third protocol packet, and the second main controller carries out 8B/10B coding on the third protocol packet through a second GTX transceiver integrated in the second main controller to obtain an uplink differential signal;
the second main controller further symmetrically decodes the downlink differential signal from the transmitting device through the second GTX transceiver to obtain a downlink data signal and a SerTFG serial communication signal;
the receiving device comprises an output module, a coding module, the second main controller and the second photoelectric conversion module which are connected in sequence;
the output module is arranged between the coding module and the image acquisition equipment, and is used for transmitting the second L VDS coding signal from the coding module to the image acquisition equipment in a downlink manner;
the encoding module is arranged between the output module and the second main controller, and is used for converting an upstream L VDS signal from the image acquisition equipment into an upstream Camera control signal and a SerTC serial communication signal which are in accordance with a Base mode in a Camera L ink protocol, and continuously transmitting the signals to the second main controller;
the encoding module also second L VDS encodes the downstream data signals and SerTFG serial communication signals from the second master controller, the encoding module transmitting signals encoded via a second L VDS to the output module.
2. The optical fiber transmission system according to claim 1, wherein the data signals conforming to the Base mode of the Camera L ink protocol include 28bits of data signals, the 28bits of data signals include 4bits of video control signals and 24bits of image data signals, the 4bits of video control signals are FVA L signals, L VA L signals, DVA L signals and SPARE signals, respectively, the 24bits of image data signals are PORTA signals, PORTB signals and PORTC signals, and the 24bits of image data signals are transmitted through 3 ports.
3. An optical fiber transmission system according to claim 1, wherein each of the transmitting device and the receiving device is provided with a photoelectric conversion module, and the photoelectric conversion module comprises a transceiver-integrated optical fiber module with SFP or SFP + interface; the optical fiber transmission medium is a single-mode or multi-mode optical fiber.
4. An optical fiber transmission system according to claim 1, wherein the transmitting device and the receiving device are respectively provided with a first main controller and a second main controller, and the first main controller and the second main controller are XC7K70T/XC7a50T main control chips;
the decoding module on the transmitting device is a DS90CR288A decoding chip, and the encoding module on the receiving device is a DS90CR287 encoding chip.
5. An optical fiber transmission method applied to the optical fiber transmission system according to any one of claims 1 to 4, comprising a downstream transmission and an upstream transmission, wherein the downstream transmission comprises the following steps:
step S1, carrying out self-defined protocol coding on the downlink data signal and the SerTFG serial communication signal in the Base mode in the Camera L ink protocol to obtain a first protocol packet;
step S2, inserting K codes into the first protocol packet, and then carrying out 8B/10B coding to obtain a downlink 1lane high-speed differential signal, and further converting the downlink 1lane high-speed differential signal into an optical signal for transmission;
step S3, decoding the optical signal in a symmetrical decoding manner to the steps S1 to S2;
the uplink transmission comprises the following steps:
step S4, carrying out self-defined protocol coding on the Camera control signal and the SerTC serial communication signal which are in the uplink and accord with the Base mode in the Camera L ink protocol to obtain a third protocol packet;
step S5, 8B/10B coding is carried out on the third protocol packet to obtain the uplink 1lane high-speed differential signal, and then the uplink 1lane high-speed differential signal is converted into an optical signal for transmission;
step S6, decoding the optical signal in a symmetrical decoding manner to the steps S4 to S5;
the self-defined protocol coding process is a self-defined protocol coding process for one or more of the states of frame start, frame end, frame valid, frame blanking, line start, line end, line valid and line blanking of the signal.
CN201811602238.6A 2018-12-26 2018-12-26 Optical fiber transmission system and transmission method Expired - Fee Related CN109495728B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811602238.6A CN109495728B (en) 2018-12-26 2018-12-26 Optical fiber transmission system and transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811602238.6A CN109495728B (en) 2018-12-26 2018-12-26 Optical fiber transmission system and transmission method

Publications (2)

Publication Number Publication Date
CN109495728A CN109495728A (en) 2019-03-19
CN109495728B true CN109495728B (en) 2020-07-17

Family

ID=65712345

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811602238.6A Expired - Fee Related CN109495728B (en) 2018-12-26 2018-12-26 Optical fiber transmission system and transmission method

Country Status (1)

Country Link
CN (1) CN109495728B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110176960B (en) * 2019-06-27 2023-11-17 成都光创联科技有限公司 Novel single-fiber bidirectional multichannel input optical module
CN112995614B (en) * 2019-12-13 2023-04-18 中国船舶重工集团公司第七0九研究所 Video fiber communication protocol architecture based on FPGA and method and system for checking retransmission
CN111464799B (en) * 2020-03-04 2021-07-02 西安电子科技大学 Inter-plate image real-time transmission system based on optical fibers

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102244543A (en) * 2011-06-13 2011-11-16 中国科学院长春光学精密机械与物理研究所 Digital optical terminal with Base-mode Camera Link interface
CN104618697A (en) * 2015-01-28 2015-05-13 中国科学院光电技术研究所 FPGA-based full-configuration Camera link optical fiber real-time image optical transceiver
CN106664385A (en) * 2014-07-23 2017-05-10 株式会社藤仓 Image transmission/reception system, active cable monitoring method, active cable control method, image transmission device, image reception device, and active cable
CN107426551A (en) * 2016-05-24 2017-12-01 中国科学院长春光学精密机械与物理研究所 A kind of syntype Cameralink digital picture optical transmitter and receiver receiving terminals and transmitting terminal based on FPGA

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9563053B2 (en) * 2012-04-10 2017-02-07 California Institute Of Technology Systems and methods for modularized control of robotic adaptive optics and laser systems
CN102833546B (en) * 2012-08-21 2015-03-04 中国科学院光电技术研究所 High-speed image compression method and device based on wavelet sub-band interleaving optimal quantization
CN103595924B (en) * 2013-06-18 2016-08-10 南京理工大学 A kind of image fusion system based on Cameralink and method thereof
CN104660470A (en) * 2015-03-03 2015-05-27 北京华力创通科技股份有限公司 Device and method for detecting Rapid IO bus protocol
CN104754303B (en) * 2015-03-24 2017-10-03 中国科学院长春光学精密机械与物理研究所 Multi-channel Transmission System and transmission method with high bandwidth, strong anti-interference
CN106230509A (en) * 2016-08-10 2016-12-14 武汉虹信通信技术有限责任公司 A kind of method and system utilizing ten thousand mbit ethernet transmission wireless signals
CN206461622U (en) * 2017-02-21 2017-09-01 广西师范大学 A kind of OCDMA local side light R-T units based on GTX
CN107800481A (en) * 2017-09-11 2018-03-13 中国电子科技集团公司第四十研究所 A kind of high-speed digitization Fiber isolation transmitting device and method
CN107888567B (en) * 2017-10-23 2020-08-04 浙江大华技术股份有限公司 Transmission method and device for composite multimedia signal
CN108900244B (en) * 2018-06-27 2021-02-26 电子科技大学 FC optical interface data and related data monitoring and testing method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102244543A (en) * 2011-06-13 2011-11-16 中国科学院长春光学精密机械与物理研究所 Digital optical terminal with Base-mode Camera Link interface
CN106664385A (en) * 2014-07-23 2017-05-10 株式会社藤仓 Image transmission/reception system, active cable monitoring method, active cable control method, image transmission device, image reception device, and active cable
CN104618697A (en) * 2015-01-28 2015-05-13 中国科学院光电技术研究所 FPGA-based full-configuration Camera link optical fiber real-time image optical transceiver
CN107426551A (en) * 2016-05-24 2017-12-01 中国科学院长春光学精密机械与物理研究所 A kind of syntype Cameralink digital picture optical transmitter and receiver receiving terminals and transmitting terminal based on FPGA

Also Published As

Publication number Publication date
CN109495728A (en) 2019-03-19

Similar Documents

Publication Publication Date Title
CN109495728B (en) Optical fiber transmission system and transmission method
CN108989708B (en) Low-speed control signal photoelectric conversion module of universal multimedia interface
US9398329B2 (en) Video management and control in home multimedia network
CN112865880B (en) System and method for one-way data transmission through optical port
CN106170934A (en) Wireless forward pass passive optical network PON system, optical network device and method
CN104253695A (en) Direct-connected medium converter
CN109257513A (en) A kind of remote sensing images Transmission system and method based on SerDes
CN117240363B (en) Signal transmission method based on optical module and optical module transmission system
CN106253990A (en) A kind of high-speed low-power-consumption light transceiving chip
CN201467138U (en) Dynamic channel estimation-based dual-mode communication controller
CN106850059A (en) Visible light communication radio frequency ascending communication system and method based on carrier communication chip
CN111327508B (en) FC-AE-1553 and BLVDS bus bridging system and method
US9106484B2 (en) Low latency NX10G form factor module to an enhanced small form-factor pluggable uplink extender to maximize host port density
CN216565179U (en) Hundred-million visible light one-way network card of PCIe interface
US10644834B1 (en) Efficient ethernet multi-mode coding and modulation for twisted-pair
CN103401747B (en) A kind of distributed floating controller Local network communication system
CN206023791U (en) A kind of high-speed low-power-consumption light transceiving chip
CN203166928U (en) Two-way optical transmit-receive one-piece module based on SFP encapsulation
KR101043218B1 (en) Rs 485 communication apparatus using power line having 2-line
CN101359963B (en) Dual Ethernet optical fiber transceiver, transceiving method and system
CN203761405U (en) Transmitting and receiving integrated optical module and optical communication system
CN202524512U (en) Eight-path pure-video digital video optical transceiver
CN206164721U (en) Web -transporting device based on EOC
CN111475447A (en) L VDS-based high-speed serial transmission device and method thereof
CN204967825U (en) SFP digit light device and fiber optical transceiver based on SDH network

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200717