In order to make the objects, technical solutions, and advantages of the present invention, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the features in the embodiments and embodiments in the present application may be any combination with each other in the case of an unable conflict.
 In response to the problem of the FC conversion interface module product offline upgrade, that is, the external support platform function is single, no related test means, unable to meet the upgrade and test function of the product, innovatively propose a common The field guarantee and test platform of the FC conversion interface module, which supports each type of FC conversion interface module product with universal interfaces such as Camlink, LVDS, CAN, RS422 and RS485, etc., is conveniently based on the platform completion module. Upgrade protection, as well as interfaces and function tests.
 The embodiment of the present invention specifically relates to an external field guarantee and test platform for the FC conversion interface module in the test system.
 The present invention provides the following specific embodiments that can be combined with each other, and other embodiments may not be described in certain embodiments for the same or similar concepts or processes.
 figure 1 A schematic structural diagram of an external field guarantee and test platform for an embodiment of the present invention, figure 2 A schematic structural diagram of an external field guarantee and test platform for an embodiment of the present invention.
 Refer figure 1 with figure 2 As shown, the external field guarantee and test platform of the general FC conversion interface module provided by the embodiment of the present invention may include a platform motherboard, a platform structure member, and a transfer plate.
 The platform mother plate in the embodiment of the present invention is disposed above the platform structure member, and the platform mother plate is fixed by the platform structure; the platform motherboard includes an external interface unit, a general purpose interface unit, an FC interface unit, a optical power detecting unit, a processor And processor circuits.
 The adapter plate in the embodiment of the present invention is connected to the general-purpose interface connector of the general interface unit in the platform motherboard, and there is an FC conversion interface module on the adapter plate for converting the FC conversion interface module by the adapter board. The general interface signal is coupled to the general interface signal provided by the platform.
 The external field guarantee and test platform provided in the present invention may perform a communication test by a general interface unit and an FC interface unit by a general interface unit and an FC interface unit, and a communication test includes: bidirectional transmission test and a single Test to the transmission.
 The specific structure and implementation functions of the platform mother board, platform structural member, and adapter plates in the embodiment of the present invention will be described in detail below.
 (1) External interface unit
 The external field guarantees the platform motherboard of the test platform, providing power interfaces, JTAG interfaces, optical ports, and serial ports through external interface units. The power interface implementation of external 220v power supply and power conversion and current monitoring function provide power supply function for platform motherboard and measured module (ie, FC interface module); JTAG interface is connected to the general-purpose interface connector, through universal interface connector and transfer The related JTAG signals on the board are interconnected, allowing the JTAG signal in the FC conversion interface module to the JTAG interface through the adapter plate and the general interface connector, so that the FC conversion interface module is upgraded by the JTAG interface; To test the external light communication interface of the FPGA-based FC interface unit configured on the platform motherboard, the optical port can realize the interconnection and communication test of the optical communication interface of the FC conversion interface module by connecting to the FC conversion interface module. And optical power detection; serial ports are connected to computers, implement real-time display functions of test programs running on the processor and related test results.
 (2) Universal interface unit
 The external field guarantees the platform motherboard of the test platform, and also provides a multi-core high-speed board universal interface connector, which may include: FPGA, universal interface block connectors, and transceivers, protocol processors, and drives. Among them, FPGAs are universally universal interfaces through standard IP, and universal interfaces include universal interface functions such as CAMLINK interface, LVDS interface, CAN interface, RS422 interface, and RS485 interface.
 The general interface unit can achieve signal interconnect between the corresponding interface through the transceiver, the protocol processing chip, and the drive, and the signal interconnect between the multi-core high-speed plate connector can be implemented by the adapter board. Adapter; Specific implementation, the general-purpose interface signal is reserved between the FPGA and the multi-core high-speed plate connector, and a variety of common interfaces can be implemented by filling different FPGA logic, which in turn implements a variety of different types of FC. Convert the adaptation of the interface module.
 The external field guarantee and test platform is provided in the test, during the test, communication management, buffering management, and data comparison of the general interface is implemented by the FPGA built-in processor, and the universal interface reception / transmit buffer is designed in the FPGA internal design. To implement the transfer test function of the universal interface of the Test FC Conversion Interface Module.
 (3) FC interface unit
 A 1-way FC interface unit is implemented based on the FPGA design, which includes: an FC interface obtained by the FPGA through standard IP, and a photoelectric transceiver connected to the FC interface and the optical port, respectively. In the embodiment of the present invention, the electrical signal of the FC interface can be transmitted through the photoelectric transceiver, transmitting the output optical signal to the optical port, and converts the optical port connected to the FC to connect the interface module to the FC. Interconnection of the optical signal of the interface unit and the FC conversion interface module.
 The FC interface unit on the FPGA is implemented based on the FC IP design. The FC interface unit functions simulates the standard FC node machine to implement a point-to-point interconnection and communication test of the Monogram of the FC-converted interface module and the simulated FC node; In the process, the processor built into the FPGA implements communication management, buffer management, and data comparison of the FC interface, and the FPGA is provided with an FC receiving buffer and an FC transmission buffer to implement a point-to-point point to the test FC conversion interface module. FC transmission test function.
 (4) Optical power detection unit
 The FC conversion interface module output optical signal attenuation is a typical fault mode. The external field guarantee and test platform optical port includes optical power detection functions, and the output optical power of the module is detected in the field environment.
 The optical power detecting unit in the embodiment of the present invention includes: the optical port (including the optical power detection function) in the outer interface unit, the optical transceiver obtained by the FPGA through standard IP, and the photoelectric transceiver; can be paired in an external environment The output optical power of the FC conversion interface module is detected. The IIC interface is designed on the FPGA of the test platform motherboard. Connect to the IIC interface in the photoelectric transceiver with the diagnostic function, the processor within the FPGA accesses the value of the correlation register inside the photoelectric transceiver through the II-interface, and converted by the processor That is, the optical power detection of the received optical signal can be realized, and is printed through the serial port.
 (5) Processor and processor related circuit
 Based on the FPGA built-in processor and processor circuit, including: FPGA built-in processors, and related storage circuits, clock circuits, and reset circuits, constructing an external security and test platform of the FC conversion interface module under the SOPC architecture, through processor and The following functions are implemented in the processor circuit:
 1) Select which type universal interface to test the data conversion of the FC interface;
 2) The general interface to treat testing is initialized and transmitted and received;
 3) Organize general interface data and FC interface data to be tested;
 4) Device management and communication management for the test FC conversion interface module;
 5) Align the results data after data conversion and communication test, and print the test results;
 6) Read, calculate and output the received optical power detection result.
 (6) Communication test mode
 Outer Safety and Test Platform According to the FC Conversion Interface Module Type, Support: CAN <->FC, RS422 <-> Fc, RS485 <-> FC two-way transmission test, and support: CAMLINK-> FC, LVDS-> FC unidirectional transmission test.
 The external field guarantee and test platform implementation of the communication test implementation, including: Testing which universal interface with the FC interface via the serial port, FPGA design implements universal interface and FC external interface, FPGA internal design universal interface reception / Send buffer and FC receiving buffer and FC send buffer, the embedded processor kernel running test program implements communication management, data organization, and data comparison of universal interfaces and FC interfaces.
 For the two-way transmission test, the processor writes the universal interface to the universal interface to send buffers to send the buffer by the corresponding general interface to the FC conversion interface module. The FC message after the FC conversion interface module is converted by the test platform FC interface, after receiving the FC The receiving buffer, the processor reads the data received by the FC interface and compares the transmitted data, gives the test result; at the same time, the processor core will send the data to the FC transmission buffer and transmit data by the FC interface. Give the FC conversion interface module, the general interface data after the FC conversion receiving module is converted by the test platform universal interface, written to the universal interface receiving buffer, the processor reads the data received by the general interface and compares the transmitted data. , Give the test results.
 For one-way transmission test, the FPGA logic generates test data in advance according to a predetermined data format and timing relationship and issued by the CAMLINK or LVDS interface. The FC message after the FC conversion interface module is converted by the test platform FC interface. The buffer, the processor reads the data received by the FC interface and compares the transmitted data, gives the test result.
 The external field guarantee and test platform of the generalization FC conversion interface module provided in the embodiment of the present invention, using the FPGA of the embedder processor and design the specific structure and function of the motherboard based on the SOPC architecture, configures the related power supply circuit, clock circuit, reset circuit, and Storage circuit provides a power interface, a JTAG interface, an optical interface, and a serial port. For various universal interfaces such as CAMLINK, LVDS, CAN, RS422, and RS485, the Universal Interface Connector implements the external leads of various general interface signals, and implements a variety of modules by dedicated adapter boards (such as : LVDS-FC Conversion Interface Module, CAN-FC Conversion Interface Module) Coupling. The FPGA design provides universal interface functions, FC interface functions, processor control management functions, and interface test functions; FPGA implements universal interface features such as CAMLINK, LVDS, CAN, RS422, and RS485 through standard IP, and processes the relevant signals through transceivers and protocols. The chip and drive are interconnected with the multi-core high-speed plate connector; the FPGA implements the FC interface via the FC IP and provides an optical interface through the photoelectric transceiver to implement the interconnection of the optical interface of the Vendive FC conversion interface module, and design IIC interface. Connect to the IIC interface of the photoelectric transceiver, detect the optical interface characteristics of the photoelectric transceiver to detect the optical interface characteristics of the photoelectric transceiver; the FPGA embedded processor runs the test case, and the corresponding general interface and the FC interface of the module can be performed. Transceiver control and data ratio testing, design provides serial port to implement real-time display of test results. The test platform motherboard provides the JTAG interface and the FC conversion interface module connector interconnect, implements the leader of the module JTAG interface; the test platform motherboard provides power interface and power switch to implement power supply and current to the motherboard and the FC conversion interface module to be tested. Monitoring; test platform motherboards provide reset switches for module testing. Test platform structural members realize the fixation and heat dissipation of the motherboard.
 The external field guarantee and test platform of the generalization FC conversion interface module provided by the present invention, the operation is convenient, and the single external field guarantee and test platform can implement power to the FC conversion interface module, upgrade and test operation; The board implements the adaptation of various universal interfaces such as CAMLINK, LVDS, CAN, RS422 and RS485, and reserved universal interface signals for expansion; providing FC interface simulation and point-to-point testing function; providing optical power detection of the measured FC conversion interface module Function; automated test and detection function; the platform is designed based on the FPGA-based SOPC architecture without having to separately provide a CPU module.
 Although the embodiments disclosed herein are as follows, but the contents are intended to understand the embodiments employed by the present invention, and is not intended to limit the invention. Those skilled in the art of the present invention, any modifications and variations can be carried out in the form and details of the present invention without departing from the spirit and scope of the present invention, but the patent protection range of the present invention is still subject to The range defined by the appended claims.