A USB3.1 fiber optic expansion card based on PCI-E

By designing a USB3.1 optical fiber expansion card based on PCI-E, the conversion of the PCI-E interface to multiple USB3.1 optical fiber interfaces is realized, which solves the problem that the existing technology cannot support multiple USB3.1 interfaces and long-distance USB3.1 It solves the problem of terminal device connection and realizes efficient USB3.1 signal optical fiber transmission and remote management.

CN107294607BActive Publication Date: 2025-01-21GUANGDONG QIDING PHOTOELECTRIC TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN201710692004.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2017-08-14
Publication Date
2025-01-21
Estimated Expiration
2037-08-14

AI Technical Summary

Technical Problem

The prior art is difficult to directly convert the PCI-E interface into a USB3.1 fiber optic interface, and it cannot support the connection between multiple USB3.1 interfaces and long-distance USB3.1 terminal devices.

Method used

Design a USB3.1 optical fiber expansion card based on PCI-E, which converts into multiple USB3.1 interfaces through PCI-E technology, and converts USB3.1 electrical signals into optical signals for optical fiber transmission. At the same time, a digital diagnostic circuit is used to realize automatic negotiation and remote control of the USB3.1 optical fiber expansion card and the receiving end.

Benefits of technology

It realizes the conversion of PCI-E interface to multiple USB3.1 optical fiber interfaces, supports optical fiber transmission distance of 300 meters to 400 meters, ensures long-distance connection and management of USB3.1 terminal equipment, and the transmitted data is transparent and compatible Good performance and universal applicability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN107294607B_ABST
    Figure CN107294607B_ABST
Patent Text Reader

Abstract

A USB3.1 fiber optic expansion card based on PCI-E can be converted into multiple USB3.1 interfaces through PCI-E technology, and the USB3.1 electrical signals of the multiple USB3.1 interfaces are converted into optical signals for transmission using optical fibers. The USB3.1 fiber optic expansion card is used in conjunction with a USB3.1 fiber optic receiving end, and the optical fiber communication between the two can be automatically negotiated through custom communication rules. The four ports of the USB3.1 HUB main control chip at the USB3.1 fiber optic receiving end can be connected to USB3.0 or USB3.1 terminal peripherals, and the transmission distance can reach 300 meters to 400 meters. The data transmitted by the technical solution adopted by the present invention is in the native USB3.1 data format, and the USB3.1 signal is transparent during the transmission process using the optical fiber transmission equipment, and all ultra-high-speed terminal peripherals that meet the USB3.1 standard can be connected normally.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of USB3.1 and PCI Express communication, in particular to a PCI-E conversion USB3.1 optical fiber interface, specifically refers to a USB3.1 optical fiber expansion card based on PCI-E and a USB3.1 optical fiber receiving end.

[0002] The invention also relates to an automatic negotiation method for optical fiber communication between a USB3.1 optical fiber expansion card and a USB3.1 optical fiber receiving end.

[0003] The invention also relates to a method for digitally diagnosing a USB3.1 optical fiber expansion card and a USB3.1 optical fiber receiving end and remotely controlling a USB3.1 terminal device. Background Art

[0004] The basic technology of PCI Express 2.0 follows the technology of the previous generation 1.0 version, that is, both use high-speed serial bus technology and rely on high frequency to achieve high performance. Therefore, PCI Express was once called "serial PCI". Since serial transmission has strong anti-interference ability and can easily reach a higher frequency, coupled with the assistance of differential signal technology, PCI Express can more easily reach a higher transmission frequency. The bus frequency of PCI Express 1.0 is 2.5GHz, and the 2.0 version is further increased to 5GHz. PCI Express 2.0 maintains compatibility with the current 1.0 / 1.1 specifications, and old PCI Express expansion cards can still run normally in systems with PCI Express 2.0 specifications. Similarly, PCI Express 2.0 expansion devices can also work in 1.0 systems, but the devices must work in 1.0 compatible mode at this time.

[0005] Compared with PCI-E 2.0, the PCI-E 3.0 standard completed in 2010 aims to double the bandwidth to 10GB / s. To achieve this goal, the speed must be increased. The signal frequency of PCI-E 3.0 is increased from 5GT / s in 2.0 to 8GT / s, and the encoding scheme is changed from the original 8b / 10b to the more efficient 128b / 130b. Other specifications remain basically unchanged, and 2 bits of data are still transmitted per cycle, supporting multi-channel parallel transmission. In addition to the significant increase in data throughput brought by doubling the bandwidth, the signal speed of PCI-E 3.0 is faster, and the delay of data transmission will be lower accordingly. In addition, there are also specific optimizations for software models, power consumption management, etc.

[0006] USB3.0 has greatly improved the transmission speed. It is based on a full-duplex data transmission protocol with a theoretical transmission rate of up to 5Gbps (i.e. 625MB / s) and an actual data transmission rate of up to 3.2Gbps (i.e. 400MB / s), which is nearly 10 times faster than the USB2.0 era. The latest USB3.1 Gen2 standard has increased the transmission rate to 10Gbps, so the data transmission distance has encountered unprecedented challenges. Since the transmission rate has been increased from 480Mbps specified in the previous USB2.0 standard to 10Gbps, the use of traditional cables generally does not exceed 1 meter. However, since cable transmission is particularly susceptible to electromagnetic interference during use, it is not suitable for use on some industrial production lines with large electromagnetic interference, and some equipment that is sensitive to electromagnetic interference (such as military equipment); and with the rise of Industry 4.0, the transmission distance of many USB3.0 industrial cameras will exceed this distance, even reaching hundreds of meters. In addition, for security reasons, some companies and units often need to centrally manage computer hosts, and users can only use USB3.0 storage devices and USB3.0 printers at the remote end, thereby achieving safe isolation between the computer host and the user, and the distance between the computer and the terminal is often hundreds of meters, and there must be no electromagnetic leakage during data transmission, resulting in data security not being guaranteed. We use optical fiber to transmit USB3.1 signals to solve both the problem of electromagnetic interference and the problem of transmission distance. In addition, although there are some devices that can realize long-distance transmission of USB3.0 signals, they generally parse the USB3.0 data of the terminal device into other data formats through the USB3.0 physical layer chip and then re-encode and convert it into optical fiber for transmission. The other end converts the received optical signal into an electrical signal, which is converted into parallel data through the USB3.0 physical layer chip and sent to the acquisition card for data acquisition. They are all targeted at some specific device applications and cannot realize the access of other USB3.0 standard terminal devices. For example, a device used to realize long-distance transmission of USB3.0 industrial cameras cannot be used to access other USB3.1 terminal devices such as U disks, USB3.0 mobile hard disks or printers, and there is no solution that can directly convert the PCI-E interface into a USB3.1 optical fiber interface. Summary of the invention

[0007] The technical problem to be solved by the present invention is to provide a USB3.1 fiber optic expansion card that is converted into a USB3.1 fiber optic interface based on PCI-E technology. It can be converted into multiple USB3.1 interfaces through PCI-E technology, and the USB3.1 electrical signals of multiple USB3.1 interfaces are converted into optical signals for transmission using optical fibers. Moreover, the USB3.1 fiber optic expansion card and the USB3.1 fiber optic receiving end can be digitally diagnosed and the USB3.1 terminal device can be remotely controlled through a digital diagnostic circuit. It should be noted that the USB3.1 terminal device in the specification refers to a USB3.0\USB3.1 device that complies with the USB3.1 standard.

[0008] The technical solution adopted by the present invention is: a USB3.1 fiber optic expansion card and a USB3.1 fiber optic receiving end based on PCI-E. The USB3.1 fiber optic expansion card can be converted into multiple USB3.1 interfaces through PCI-E technology, and the USB3.0 electrical signals of multiple USB3.1 interfaces are converted into optical signals and transmitted using optical fibers. The USB3.1 fiber optic expansion card and a USB3.1 fiber optic receiving end are used together. The optical fiber communication between the two can be automatically negotiated through custom communication rules. The USB3.1 ultra-high-speed signal is a full-duplex signal, and the receiving and transmitting are each a pair of independent differential data lines: SSTX+ / - and SSRX+ / -. Therefore, it can be converted into an optical signal by an optical module and then transmitted by optical fiber. The USB3.1 at the USB3.1 fiber optic receiving end All four ports of the HUB main control chip can be connected to the USB3.1 terminal device; multi-mode optical fiber, single-mode optical fiber, dual-core optical fiber, or single-core optical fiber can be used. The USB3.1 optical fiber expansion card and the USB3.1 optical fiber receiving end have a hot-swappable SFP+ optical module. The optical module can be flexibly replaced during use, and the length of the optical fiber can be wired according to actual needs. The transmission distance can reach 300 meters to 400 meters. The data transmitted by the technical solution adopted by the present invention is the native USB3.1 data format. In the USB3.1 optical fiber communication process, in order to ensure compatibility and universal applicability, the native USB3.1 data sent by the USB3.1 main controller, the USB3.1 HUB main control chip, and the USB3.1 terminal device will not be converted into other formats and re-encoded and decoded for transmission. Only the received USB3.1 electrical signal is converted from electrical to optical to electrical. The optical fiber transmission device will not add any additional data to the data stream. Therefore, the USB3.1 signal is transparent during the transmission process using the optical fiber transmission device, and all ultra-high-speed terminal peripherals that meet the USB3.1 standard can be connected normally.

[0009] Correspondingly, another technical problem to be solved by the present invention is to provide an automatic negotiation method for optical fiber communication between a USB3.1 optical fiber expansion card and a USB3.1 optical fiber receiving end.

[0010] Correspondingly, another technical problem to be solved by the present invention is to provide a method for digitally diagnosing a USB3.1 optical fiber expansion card and a USB3.1 optical fiber receiving end and remotely controlling a USB3.1 terminal device.

[0011] The following will introduce the various components of the USB3.1 fiber expansion card in detail.

[0012] According to the above scheme, the USB3.1 fiber optic expansion card includes a PCI-E bus interface, a PCI-E to USB3.1 main control chip, a USB3.1 equalizer unit, an Rx_DET analog load unit, an SFP+ optical module unit, an MCU control unit, an LED indication circuit, a management interface circuit, a power supply unit, and a FLASH chip.

[0013] The PCI-E bus interface is used to connect to the PCI-E bus of the computer host.

[0014] Preferably, the PCI-E to USB3.1 main control chip is ASM1142, through which two USB3.1 ports can be expanded using a PCI-E2.0x2 bus interface or a PCI-E3.0x1 bus interface, and an xHCI controller and USB3.1 Root HUB are internally included.

[0015] The FLASH chip is used to store the configuration data of the PCI-E to USB3.1 main control chip.

[0016] The USB3.1 equalizer unit includes two equalizer chips. The parameters of the equalizer chip can be set by external resistors, and the parameters can also be set and read by MCU through the I2C interface. The equalizer chip mainly includes a buffer input circuit, an equalization circuit, an amplification circuit, a buffer output circuit, a signal detection circuit and an I2C interface. The equalizer chip is used to amplify and balance the electrical signal sent from the Tx output end of the downstream interface of the PCI-E to USB3.1 main control chip to the TX input end of the SFP+ optical module, and on the other hand, it is used to amplify and balance the electrical signal sent from the USB3.1 optical fiber receiving end to the Rx input end of the downstream interface of the PCI-Eto USB3.1 main control chip.

[0017] The Rx_DET simulated load unit includes 2 Rx_DET simulated loads, each Rx_DET simulated load is used to simulate a USB3.1 terminal device; according to the USB3.0 protocol, the Rx input end of the USB3.1 interface must include an Rx Detect circuit. When the USB3.0 physical layer is in the U1, U2, and U3 states, in order to save power, the LFPS (Low Frequency Period Singal) signal is used as a communication medium. The LFPS signal is a low-frequency periodic signal. When no device is inserted into the USB3.0 downstream port, the Tx end of the PCI-E to USB3.1 host controller USB3.1 Root HUB will continuously send an Rx Detect square wave signal, which is not a LFPS signal. If no device is plugged in, according to the USB3.0 protocol, it is always in the Rx Detect state; when a device is plugged in, the Tx end of the USB3.1 Root HUB will send a LFPS signal; and the input interface circuit of the ordinary SFP+ optical module does not have the Rx Detect circuit of the Rx input end of the USB3.1 interface. Therefore, when the SFP+ optical module is connected to the USB3.1 Root HUB, the USB3.1 Root HUB will always be in the Rx Detect state and cannot communicate with the USB3.1 HUB main control chip of the USB3.0 optical fiber receiver, resulting in link failure and inability to perform data transmission. The Rx_DET simulated load in the present invention is a key technical means to solve this problem.

[0018] The SFP+ optical module unit comprises two SFP+ optical modules, each of which is connected to a corresponding USB3.1 equalizer, and is used to convert an electrical signal sent from a buffer output end of the USB3.1 equalizer into an optical signal on the one hand, and to convert an optical signal sent from a USB3.1 optical fiber receiving end into an electrical signal and send it to a buffer amplifier input end of the USB3.1 equalizer on the other hand; in addition, the present invention utilizes a transmission shutdown control Tx_Disable input pin of an optical transmitter of the SFP+ optical module and a lightless alarm signal LOS output pin of an optical receiver to form a low-rate bidirectional RS-232 transmission channel, and a digital diagnostic channel is formed by the bidirectional RS-232 transmission channel, an MCU control unit, and a management interface. The computer uses the digital diagnostic channel to send control instructions to a power supply circuit of a USB3.1 terminal device or a USB3.1 terminal device, and performs digital diagnostic management on the SFP+ optical module at the USB3.1 optical fiber receiving end.

[0019] The MCU control unit is independently powered by a PCI-E AUX power supply, and is used to control the handshake connection between the USB3.1 fiber optic expansion card and the USB3.1 fiber optic receiving end and reset the PCI-E to USB3.1 main controller; to control the power supply of the SFP+ optical module; to realize digital diagnosis and control of the SFP+ optical module; to realize the sending of USB3.1 terminal device control instructions, and to realize digital diagnosis management of the USB3.1 fiber optic expansion card and the USB3.1 fiber optic receiving end in combination with the management interface.

[0020] The management interface circuit is connected to a downstream USB2.0 port of the PCI-E to USB3.1 host controller to convert USB2.0 into an RS-232 interface. The RS-232 interface is connected to an RS-232 serial port of the MCU control unit to implement digital diagnostic management of the USB3.1 fiber optic expansion card and the USB3.1 fiber optic receiving end on the computer host side.

[0021] The power supply unit provides power for the PCI-E to USB3.1 main controller chip, MCU control unit, SFP+ optical module, management interface, LED indication circuit, and FLASH.

[0022] The LED indication circuit is used to indicate information such as communication status, SFP+ module status, and fault conditions.

[0023] The following will introduce the various components of the USB3.1 fiber optic receiver in detail.

[0024] According to the above scheme, the USB3.1 optical fiber receiving end includes four USB3.1 downstream interfaces, a USB3.1 HUB main control chip, a FLASH chip, an Rx_DET analog load, an SFP+ optical module, an MCU control unit, a management interface circuit, an LED indication circuit, and a power supply unit.

[0025] The USB 3.1 downstream interface is used to connect to a USB 3.1 terminal device.

[0026] According to the above scheme, the USB3.1 optical fiber receiving end includes four USB3.1 downstream interfaces, a USB3.1 HUB main control chip, a FLASH chip, an Rx_DET analog load, an SFP+ optical module, an MCU control unit, a management interface circuit, an LED indication circuit, and a power supply unit.

[0027] The USB 3.1 downstream interface is used to connect to an ultra-high-speed USB terminal device.

[0028] Preferably, the USB3.1 HUB main control chip is VL820, which complies with the latest USB3.1 Gen2 standard, and the transmission rate can reach 10Gbps. It can support USB Type-C port output. The upstream port of the USB3.1 HUB main control chip is connected to the SFP+ optical module. The USB3.1 HUB main control chip includes SIE (serial interface engine), control, processing conversion, relay, routing, AES encryption and decryption and other parts, which are used to realize the routing, data forwarding, power management and other functions of the ultra-high-speed USB terminal device. The four downstream interfaces of the USB3.1 HUB main control chip are used to connect four standard ultra-high-speed USB terminal devices, such as USB3.0 industrial printers, USB3.0 cameras, USB3.0 mobile hard disks, USB3.0 mobile U disks and other standard USB3.1 peripherals.

[0029] The FLASH chip is used to store the configuration data of the USB3.1 HUB chip.

[0030] The Rx_DET simulated load is used to simulate the Rx_DET circuit of the Rx input end of the downstream interface of the USB3.1 main controller; according to the USB3.0 protocol, the Rx input end of the USB3.1 interface must include an Rx Detect circuit. When the USB 3.0 physical layer is in the U1, U2, and U3 states, the LFPS (Low Frequency Period Singal) signal is used as the communication medium to save power. The LFPS signal is a low-frequency periodic signal. When the upstream port of the USB3.1 HUB main control chip is not connected to the USB3.1 main controller, the Tx end of the USB3.1 HUB main control chip will continuously send the Rx Detect square wave signal, which is not a LFPS signal. If it has not been connected to the USB3.1 host controller, it will be in the Rx Detect state according to the USB3.0 protocol; when the upstream port of the USB3.1 HUB main control chip is connected to the USB3.1 main controller, the Tx end of the USB3.0 HUB chip will send a LFPS signal; and the input interface circuit of the ordinary SFP+ optical module does not have the Rx Detect circuit of the Rx input end of the USB3.1 interface. Therefore, when the SFP+ optical module is connected to the USB3.0 HUB chip, the USB3.1HUB main control chip will be in the Rx Detect state all the time, and cannot communicate with the downstream interface of the USB3.1 HUB main control chip of the USB3.0 optical fiber transmitter, resulting in link failure and inability to perform data transmission. The Rx_DET simulated load in the present invention is a key technical means to solve this problem.

[0031] The SFP+ optical module, on the one hand, converts the optical signal sent by the USB3.1 optical fiber expansion card into an electrical signal and sends it to the upstream interface Rx input end of the USB3.1 HUB main control chip at the USB3.1 optical fiber receiving end; on the other hand, converts the electrical signal sent by the upstream interface Tx output end of the USB3.1 optical fiber receiving end into an optical signal and sends it to the Rx input end of the USB3.1 optical fiber expansion card SFP+ optical module; in addition, the present invention utilizes the transmission shutdown control Tx_Disable input pin of the SFP+ optical module optical transmitter and the lightless alarm signal LOS output pin of the optical receiver to form a low-rate bidirectional RS-232 transmission channel, and the bidirectional RS-232 transmission channel, the MCU control unit, and the management interface form a digital diagnostic channel. The computer uses the digital diagnostic channel to send control instructions to the power supply circuit of the USB3.1 terminal device or the USB3.1 terminal device, and performs digital diagnostic management on the SFP+ optical module at the USB3.1 optical fiber receiving end.

[0032] The MCU control unit is used to control the handshake connection between the USB3.0 HUB and the USB3.1 main controller of the computer host and reset the USB3.1 main control chip, to control the power supply unit to realize the power supply control and fault diagnosis of the USB3.1 terminal device, to realize the sending of USB3.1 terminal device control instructions, to realize the digital diagnosis and control of the SFP+ optical module, and to realize the digital diagnosis management of the USB3.1 optical fiber expansion card and the USB3.1 optical fiber receiving end in combination with the management interface.

[0033] The management interface circuit is connected to a downstream USB2.0 port of the USB3.1 HUB main control chip to convert USB2.0 into an RS-232 interface. The RS-232 interface is connected to an RS-232 serial port of the MCU control unit to realize digital diagnostic management of the USB3.1 fiber optic expansion card and the USB3.1 fiber optic receiving end on the computer host side.

[0034] The power supply unit can provide power for the USB3.0 HUB chip, the MCU control unit, the SFP+ optical module, the management interface, the LED indication circuit, and the FLASH chip.

[0035] The LED indication circuit is used to indicate information such as communication status, SFP+ module status, and fault conditions.

[0036] The method for automatic negotiation of optical fiber communication between a USB3.1 optical fiber expansion card and a USB3.1 optical fiber receiving end is to solve the problem of a USB3.1 terminal device re-establishing a correct communication link with a computer host due to optical fiber interruption of an optical fiber interface, repeated plugging and unplugging of optical fibers, hot plugging of SFP+ optical modules, computer power on / off, and restart during the process of transmitting USB3.0 data using optical fiber by using single-chip computer programming technology and formulating relevant communication rules.

[0037] USB3.0 fiber optic communication is a full-duplex bidirectional communication, which can use two-core optical fiber, or use single-core optical fiber using the principle of optical wavelength division multiplexing. There are three situations in the process of fiber optic connection. The first is that the optical transmitter and receiver of the USB3.1 fiber optic expansion card SFP+ optical module are connected to the optical transmitter and optical receiver of the USB3.1 fiber optic receiving end SFP+ optical module at the same time; the second is that the optical transmitter of the USB3.1 fiber optic expansion card SFP+ optical module is first connected to the optical receiver of the USB3.1 fiber optic receiving end SFP+ optical module, and further, the optical receiver of the USB3.1 fiber optic expansion card SFP+ optical module is connected to the optical transmitter of the USB3.1 fiber optic receiving end SFP+ optical module; the third is that the optical receiver of the USB3.1 fiber optic expansion card SFP+ optical module is first connected to the optical transmitter of the USB3.1 fiber optic receiving end SFP+ optical module, and further, the optical transmitter of the USB3.1 fiber optic expansion card SFP+ optical module is connected to the optical receiver of the USB3.1 fiber optic receiving end SFP+ optical module.

[0038] If the optical fiber connection is interrupted due to optical fiber damage or manual unplugging, and the optical fiber connection needs to be reestablished, the PCI-E to USB3.1 host controller of the computer host and the USB3.1 HUB main control chip at the remote USB3.1 optical fiber receiving end need to re-establish the connection. At this time, both parties will re-initiate the low-speed LFPS signal for handshake connection to determine the connection status. However, if the USB3.1 HUB main control chip at the USB3.1 optical fiber receiving end has not yet exited the ultra-high-speed link state, when the first and third situations occur, the downstream interface of the PCI-E to USB3.1 host controller of the USB3.1 optical fiber expansion card receives ultra-high-speed data packets instead of LFPS data signals, which will cause the negotiation to fail, resulting in the PCI-E to USB3.1 host controller port of the USB3.1 optical fiber expansion card on the computer side not being able to operate normally, and thus failing to identify the USB3.1 HUB main control chip at the USB3.1 optical fiber receiving end and the external USB3.1 terminal device.

[0039] During the communication process, the USB3.1 fiber optic expansion card and the USB3.1 fiber optic receiver often encounter the situation that the computer host is shut down, restarted, or restarted after being shut down for a long time. This will lead to a serious problem: when the computer host re-enters the operating system, the USB3.1 fiber optic expansion card and the USB3.1 fiber optic receiver often fail to connect to the computer host. The computer host may prompt that the USB3.0 device is compliant but cannot be linked, or there is no link action at all. The reason for this problem is that after the computer host exits the system, the communication status of the USB3.1 fiber optic expansion card and the USB3.1 fiber optic receiver does not enter the LFPS negotiation state, but has been in a normal ultra-high-speed link. When the computer host re-enters the system, the PCI-E to USB3.1 host controller of the USB3.1 fiber optic expansion card on the computer host side and the USB3.1 fiber optic receiver should be in a low-speed communication mode, but the actual PCI-Eto The USB3.1 host controller first receives the ultra-high-speed data packet sent by the USB3.1 optical fiber receiving end, which causes the negotiation between the two to fail. The computer host cannot find the USB3.1 HUB main control chip at the USB3.1 optical fiber receiving end and all its external USB3.1 terminal devices.

[0040] In order to solve the above problems, we hereby agree on an automatic negotiation method for optical fiber communication between the USB3.1 optical fiber expansion card and the USB3.1 optical fiber receiving end: no matter when, the optical receiver of the SFP+ optical module of the USB3.1 optical fiber receiving end always receives the optical signal before the optical receiver of the SFP+ optical module of the USB3.1 optical fiber expansion card; after the optical fiber connection of the optical receiver of the USB3.1 optical fiber receiving end is interrupted, the MCU control unit sends an output control instruction to disconnect the upstream interface link of the USB3.1 HUB main control chip, and the USB3.1 HUB main control chip enters the standby state, and the optical transmitter of the SFP+ optical module of the USB3.1 optical fiber receiving end is in the transmission prohibition state, and no optical signal is sent out at all. Even if the optical fiber is reconnected normally, the USB3.1 HUB main control chip at the USB3.1 optical fiber receiving end will be in the transmission prohibition state before the link initialization is completed; after the optical fiber is disconnected, the optical receiver of the USB3.1 optical fiber expansion card cannot receive the optical signal, and the MCU control unit sends an output control instruction to make the equalizer chip of the USB3.1 optical fiber expansion card and the PCI-E to The USB3.1 host controller link connection is interrupted; when the optical receiver at the USB3.1 optical fiber receiving end is reconnected to the optical fiber, the MCU control unit sends an output control instruction to make the USB3.1 HUB main control chip enter the normal working state, initialize the chip link state, and the USB3.1 HUB main control chip upstream interface Tx output end outputs the LFPS signal. The MCU control unit sends an output control instruction to make the optical transmitter of the SFP+ optical module at the USB3.1 optical fiber receiving end in the transmit enable state and send out the LFPS optical signal normally. After the optical receiver of the USB3.1 optical fiber expansion card receives the LFPS optical signal, the MCU control unit sends an output control instruction to make the equalizer chip and the PCI-E to The link of the USB3.1 host controller is connected, and the USB3.1 fiber optic expansion card and the USB3.1 fiber optic receiving end re-negotiate LFPS until the communication connection is normal; when the computer host is turned off, the USB3.1 fiber optic expansion card circuit can monitor the power supply of the computer motherboard, and the MCU control unit will output corresponding control instructions according to the power supply status of the computer host motherboard, shut down the transmission of the SFP+ optical module, and make the communication link between the USB3.1 fiber optic expansion card and the USB3.1 fiber optic receiving end disconnected, and the USB3.1 main control chip of the USB3.1 fiber optic receiving end enters the standby state; when the computer host is turned off, restarted, or the computer host is turned off and then restarted, the USB3.1 fiber optic expansion card circuit can monitor the power supply changes of the computer motherboard, and the MCU control unit of the USB3.1 fiber optic expansion card will output corresponding control instructions according to the power supply status of the computer motherboard, enable the transmission of the USB3.1 fiber optic expansion card SFP+ optical module, and make the USB3.1 fiber optic expansion card and the USB3.1 fiber optic receiving end fiber link connected. When the computer USB3.1 is monitored, the USB3.1 fiber optic expansion card circuit can monitor the power supply changes of the computer motherboard, and the MCU control unit of the USB3.1 fiber optic expansion card circuit can monitor the power supply changes of the computer motherboard, and the MCU control unit of the USB3.1 fiber optic expansion card circuit can output corresponding control instructions according to the power supply status of the computer motherboard, enable the transmission of the USB3.1 fiber optic expansion card SFP+ optical module, and make the USB3.1 fiber optic expansion card and the USB3.1 fiber optic receiving end fiber link connected.After the 1 controller initiates LFPS negotiation, the USB3.1 fiber expansion card MCU control unit connects the USB3.1 equalizer and the PCI-E to USB3.1 host controller link, and the USB3.1 fiber expansion card and the USB3.1 fiber receiving end perform LFPS communication negotiation until the communication connection is normal.

[0041] The data stream of the ultra-high-speed USB3.1 terminal device specified in the USB3.0 standard must be encoded into an ultra-high-speed data stream for transmission during the communication process. Since the USB3.0 standard does not reserve some low-speed IO channels, in the USB3.0 optical fiber communication process, in order to ensure compatibility and universal applicability, the optical fiber transmission device will not re-encode and decode USB3.0, but only convert the received USB3.0 electrical signal into electrical-optical-electrical. The optical fiber transmission device will not add any additional data to the data stream, and the USB3.0 signal is transparent during the transmission process using the optical fiber transmission device. Therefore, the transmission and result feedback of remote switch control, digital diagnostic signals, etc. cannot be completed by the USB3.1 hardware circuit, so the present invention is based on this practical application and proposes a method for digital diagnosis of USB3.1 optical fiber expansion card and USB3.1 optical fiber receiving end and remote control of USB3.1 terminal device.

[0042] The method for digitally diagnosing a USB3.1 optical fiber expansion card and a USB3.1 optical fiber receiving end and remotely controlling a USB3.1 terminal device refers to using the transmission shutdown control SFP_Tx_Disable input pin of the SFP+ optical module optical transmitter and the light-loss alarm signal SFP_LOS output pin of the optical receiver to form a low-speed bidirectional RS-232 transmission channel, and the bidirectional RS-232 transmission channel, the MCU control unit, and the management interface form a digital diagnostic channel. The computer uses the digital diagnostic channel to send control instructions to the power supply circuit of the USB3.1 terminal device or the control interface of the USB3.1 terminal device itself, and digitally diagnoses and manages the power supply status of the SFP+ optical module and the terminal device.

[0043] Referring to the SMALL FORM-FACTOR PLUGGABLE (SFP) TRANSCEIVER MULTISOURCEAGREEMENT (MSA) international standard, the SFP+ optical module optical transmitter's transmit shutdown control SFP_Tx_Disable input pin is used to turn on and off the light-emitting state of the SFP+ optical module optical transmitter laser. When the pin is at a high level, the laser does not emit light, and when the pin is at a low level, the laser emits light. When the SFP+ optical module is working normally, the transmit shutdown control signal level must always be kept low; and the SFP+ optical module optical receiver's no-light alarm signal SFP_LOS output pin outputs a no-light alarm signal SFP_LOS when there is no optical signal input to the optical receiver. The SFP_LOS pin outputs a high-level signal. When an optical signal is input to the optical receiver, the SFP_LOS output pin outputs a low-level signal. This signal is only used to determine whether there is an input optical signal. In the normal optical communication process, the signal is always kept at a low level. These two control pins do not have the function of two-way data communication, but we can input a low-rate digital square wave signal, such as a 9600bps serial port signal, into the transmit shutdown control SFP_Tx_Disable input pin, then the SFP+ optical module optical transmitter will follow the low rate. The high and low level changes of the digital square wave signal of the rate produce the state changes of no light emission and light emission, thereby modulating a 9600bps low-rate optical signal, and the no-light alarm signal SFP_LOS output pin of the corresponding SFP+ optical module optical receiver will restore the original 9600bps serial port signal according to the state changes of no light input and light input; therefore, the transmission shutdown control SFP_Tx_Disable input pin of the SFP+ optical module optical transmitter and the no-light alarm signal SFP_LOS output pin of the optical receiver can be combined to form a low-rate bidirectional RS-232 transmission channel, which is composed of a bidirectional RS-232 transmission channel, an MCU control unit, and a management interface to form a digital diagnostic channel. The digital diagnostic channel does not work when the USB3.0 link communicates normally. The digital diagnostic channel will only work before the initial connection between the USB3.1 fiber expansion card and the USB3.1 fiber receiving end is established, when the USB3.1 terminal device fails, and when it is manually controlled, and the operator can perform corresponding management operations on both the computer and the USB3.0 device.

[0044] When we occasionally encounter device freezes or other problems that make it impossible to restore the USB3.1 terminal device to normal working state through the computer host during use of the USB3.1 terminal device, we can send specific instructions to the management interface through the digital diagnostic channel to the control interface of the USB3.1 terminal device itself or to the power supply circuit of the USB3.0 port connected to the USB3.1 terminal device to cold start the device and restore it to normal. We can also send specific instructions to the management interface through the digital diagnostic channel to the control interface of the USB3.1 terminal device itself to obtain the fault status of the USB3.1 terminal device.

[0045] Before the initial connection between the USB3.1 fiber optic expansion card and the USB3.1 fiber optic receiving end is established, the MCU control unit of the USB3.1 fiber optic receiving end reads the optical module's transmitted optical power, laser bias current, receiving sensitivity, optical module supply voltage, operating temperature, fault condition and other optical module indicators through the I2C bus of the SFP+ optical module, and then sends the signal to the SFP_Tx_Disable input pin of the SFP+ optical module through the RS-232 serial port of the MCU control unit of the USB3.1 fiber optic receiving end, modulates and outputs the RS232 optical signal, and outputs the RS-232 serial data at the SFP_LOS output pin of the digital diagnostic channel of the USB3.1 fiber optic expansion card. The RS-232 serial data is transmitted to the serial port signal input pin LOS_232_RXD of the digital diagnostic channel of the MCU control unit of the USB3.1 fiber optic expansion card, and is sent to the computer host after being processed by the MCU control unit; in addition, we can also use the USB2.0 to The RS232 conversion circuit converts the command into an RS-232 signal. The RS-232 sends a digital diagnostic request command to the RS-232 serial port signal input pin CMI_RS232_RXD of the MCU control unit of the USB3.1 fiber optic expansion card through the RS232_TXD output pin of the management interface. The MCU control unit sends the command to the serial port signal input pin LOS_232_RXD of the MCU control unit at the USB3.1 fiber optic receiving end through the digital diagnostic channel. After receiving the command, the MCU control unit transmits the read optical module indicators back to the serial port signal input pin LOS_232_RXD of the MCU control unit of the USB3.1 fiber optic expansion card through the digital diagnostic channel. After being processed by the MCU control unit, it is sent to the input pin RS232_RXD of the management interface through the RS-232 serial port signal output pin CMI_RS232_TXD, and then transmitted to the USB2.0 to After RS232 conversion, it is sent to the computer host side; for the optical module indicators of the USB3.1 fiber optic expansion card, we can send digital diagnostic request instructions to the MCU control unit of the USB3.1 fiber optic expansion card through the management interface on the computer host side to directly obtain them; these two methods can realize digital diagnostic management of the SFP+ optical module; in addition, when the power supply of the USB3.1 terminal device at the USB3.1 fiber optic receiving end produces an overcurrent fault, the MCU control unit will store this fault code and will not clear the stored fault code until the overcurrent fault is resolved. When we find that the device is not working properly, we can send a digital diagnostic request instruction to the MCU control unit at the USB3.1 fiber optic receiving end through the management interface on the computer host side to obtain the USB3.1 terminal device fault code.

[0046] The beneficial effects of the present invention are as follows: a USB3.1 optical fiber expansion card and a USB3.1 optical fiber receiving end are provided, which support long-distance transmission between various USB3.1 terminal devices and computers based on optical fiber transmission. The transmission distance can reach 300 meters to 400 meters. Multimode optical fiber or single-mode optical fiber can be used, dual-core optical fiber or single-core optical fiber can be used. A hot-swappable SFP+ optical module is used, and the SFP+ optical module can be replaced without power failure, which is very convenient to use and maintain. Moreover, the length of the optical fiber can be wired according to actual needs. Not only can various USB3.1 terminal devices be connected to the host, but also the status monitoring of the SFP+ optical module and remote operation of the USB3.1 terminal device can be realized through a digital diagnostic circuit. The data transmitted by the present invention is in the native USB3.0 data format, and the USB3.1 host controller, USB3.1 The native USB3.0 data sent by the HUB main control chip and the USB3.1 terminal device is converted into other formats and re-encoded and decoded before transmission, so its transmission is transparent, and all terminal peripherals that comply with the USB3.0 standard can be connected normally. While extending the USB3.1 transmission distance, the present invention also has the advantages of no electromagnetic leakage and anti-electromagnetic interference in the transmission channel. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 It is a block diagram of the system application principle of the present invention.

[0048] Figure 2 It is a principle block diagram of the USB3.1 optical fiber expansion card of the present invention.

[0049] Figure 3 The present invention provides a USB 3.1 optical fiber expansion card PCI-E to USB 3.1 main controller chip principle block diagram.

[0050] Figure 4 It is a USB3.1 optical fiber expansion card equalizer 1 of the present invention.

[0051] Figure 5 It is the USB3.1 optical fiber expansion card equalizer 2 of the present invention.

[0052] Figure 6 It is a USB3.1 optical fiber extension card Rx_DET simulated load unit of the present invention.

[0053] Figure 7 It is a USB3.1 optical fiber expansion card SFP+ optical module unit of the present invention.

[0054] Figure 8 It is a USB3.1 optical fiber expansion card MCU control unit of the present invention.

[0055] Fig. 9 It is a USB3.1 optical fiber expansion card power supply unit of the present invention.

[0056] Fig.10 It is the USB3.1 optical fiber expansion card management interface of the present invention.

[0057] Fig.11 This is a principle block diagram of the USB3.1 optical fiber receiving end of the present invention.

[0058] Fig.12 This is a principle block diagram of a USB3.1 HUB main control chip at a USB3.1 optical fiber receiving end of the present invention.

[0059] Fig.13 It is the USB3.1 optical fiber receiving end Rx_DET simulated load of the present invention.

[0060] Fig.14 It is a USB3.1 optical fiber receiving end SFP+ optical module of the present invention.

[0061] Fig.15 It is a USB3.1 optical fiber receiving end MCU control unit of the present invention.

[0062] Fig.16 It is a USB3.1 optical fiber receiving end power supply unit of the present invention.

[0063] Fig.17 It is the USB3.1 optical fiber receiving end management interface of the present invention. DETAILED DESCRIPTION

[0064] In order to better understand the present invention, the present invention is further described below in conjunction with the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It is also necessary to explain that, for the convenience of description, only the parts related to the present invention, rather than all circuit structures, are shown in the accompanying drawings.

[0065] The present invention is a USB3.1 optical fiber expansion card and a USB3.1 optical fiber receiving end based on PCI-E; the system application principle block diagram is as follows Figure 1As shown, one end of the USB3.1 fiber optic expansion card S2 is connected to the PCI-E bus S1 of the computer host, and the other end is connected to the USB3.1 fiber optic receiving end S3 through an optical fiber; the downstream interface of the USB3.1 fiber optic receiving end S3 can be simultaneously connected to a USB3.0 mobile hard disk, a USB3.0 camera, a USB3.0 printer, and other standard USB3.1 terminals through a USB3.1 cable; the present invention utilizes the ultra-speed data differential interface of the USB3.1 interface: SSTX+ / - and SSRX+ / - to realize the ultra-high-speed communication link of USB3.1, and the transmission distance can reach 300 meters to 400 meters. The data transmitted by the present invention is the native USB3.1 data format, and the native USB3.1 data sent by the USB3.1 host controller, the USB3.1 HUB main control chip and the USB3.1 terminal device will not be converted into other formats and re-encoded and decoded for transmission, so its transmission is transparent, and all terminal peripherals that meet the USB3.0\3.1 standard can be connected normally.

[0066] Reference Figure 2-10 , detailed description of USB3.1 fiber expansion card S2.

[0067] like Figure 2 As shown, the USB3.1 fiber optic expansion card S2 includes a PCI-E bus interface 1, a PCI-E to USB3.1 main control chip 2, a USB3.1 equalizer unit 3, an Rx_DET analog load unit 4, an SFP+ optical module unit 5, an MCU control unit 6, an LED indication circuit 7, a management interface circuit 8, a power supply unit 9, and a FLASH chip 10.

[0068] The PCI-E bus interface is used to connect to the PCI-E bus of the computer host.

[0069] Preferably, the PCI-E to USB3.1 main control chip is ASM1142, through which two USB3.1 ports can be expanded using the PCI-E bus interface, and an xHCI controller and USB3.1 Root HUB are internally included.

[0070] Connection between PCI-E to USB3.1 main control chip 2 and other circuits:

[0071] (1) FLASH data bus 230 is externally connected to FLASH chip 10;

[0072] (2) PCI-E bus signals: clock PCI-E_CLK+ / - differential input pin 211, PCI-E data transmission PCI-E_TX1+ / - differential output pin 212, PCI-E data reception PCI-E_RX1+ / - differential input pin 213, PCI-E data transmission PCI-E_TX2+ / - differential output pin 214, PCI-E data reception PCI-E_RX2+ / - differential input pin 215, PCI-E bus reset signal PCI-E_RST input pin Pin 216, PCI-E bus wake-up signal PCI-E_WAKE output pin 217, PCI-E bus clock request interrupt signal PCI-E_CREQ output pin 218 are all connected to the PCI-E interface signal bus on the computer motherboard, wherein the PCI-E_RST input pin 216 is also connected to the PCI-E_RST output pin 665 of the MCU control unit, and the PCI-E_WAKE output pin 217 is also connected to the PCI-E_WAKE output pin 666 of the MCU control unit;

[0073] (3) The USB3-TX1+ / - differential pair 222 of the downstream interface 1 is connected to the input 3111 of the USB3.1 equalizer chip 31, the output signal 3121 of the equalizer chip 31 is connected to the input pin 41 of the RX_DET simulated load 1, and the output pin 45 of the RX_DET simulated load 1 is connected to the TX1 input terminal 516 of the SFP+ optical module 51; the USB3-RX1+ / - differential pair 223 of the downstream interface 1 is connected to the output 3112 of the USB3.1 equalizer chip 31, and the output signal 3122 of the equalizer chip 31 is connected to the RX1 output terminal 517 of the SFP+ optical module 51;

[0074] (4) The USB3-TX2+ / - differential pair 224 of the downstream interface 2 is connected to the input 3211 of the USB3.1 equalizer chip 32, the output signal 3221 of the equalizer chip 32 is connected to the input pin 42 of the RX_DET simulated load 2, and the output pin 46 of the RX_DET simulated load 2 is connected to the TX2 input terminal 526 of the SFP+ optical module 52; the USB3-RX2+ / - differential pair 225 of the downstream interface 2 is connected to the output 3212 of the USB3.1 equalizer chip 32, and the output signal 3222 of the equalizer chip 32 is connected to the RX2 output terminal 527 of the SFP+ optical module 52;

[0075] (5) The reset signal PRST input 219 is connected to the external reset circuit on one hand, and is connected to the PRST output pin 667 of the MCU control unit 6 on the other hand. The signal connection of this part is explained in other circuit descriptions and will not be described in detail here.

[0076] The USB3.1 equalizer unit 3 includes an equalizer chip 31 and an equalizer chip 32. The parameters of the equalizer chip can be set by external resistors, and the parameters can also be set and read by MCU through the I2C interface. The equalizer chip mainly includes a buffer input circuit, an equalization circuit, an amplification circuit, a buffer output circuit, a signal detection circuit and an I2C interface. The equalizer chip is used to amplify and balance the electrical signal sent from the Tx output end of the downstream interface of the PCI-E to USB3.1 main control chip to the TX input end of the SFP+ optical module, and on the other hand, it is used to amplify and balance the electrical signal sent from the USB3.1 optical fiber receiving end to the Rx input end of the downstream interface of the PCI-E to USB3.1 main control chip.

[0077] Connection between the equalizer chip 31 and other circuits: the work enable signal EN input 3132 is connected to the external resistor and is also connected to the EQ1_EN output pin 651 of the MCU control unit 6; 2 The C mode enable signal I2C_EN input 3133 is connected to the external resistor and is also connected to the EQ1_I2C_EN output pin 652 of the MCU control unit 6; 2 C bus clock signal and channel A output swing setting OS_A_SCL pin 3133 is connected to the EQ1_SCL output pin 653 of the MCU control unit 6 and is also connected to the external resistor network; 2 The C bus data signal and channel A de-emphasis DE_A_SDA pin 3133 are connected to the EQ1_SDA output pin 654 of the MCU control unit 6, and are also connected to an external resistor network; the EQ parameter setting EQ_A pin 3136 of channel A is connected to the external resistor network; the channel B output swing setting signal OS_B / A1 pin 3137 is connected to the external resistor network; the channel B de-emphasis setting signal DE_B / A0 pin 3138 is connected to the external resistor network; the channel B EQ parameter setting EQ_B pin 3139 is connected to the external resistor network.

[0078] Connection between the equalizer chip 32 and other circuits: the work enable signal EN input 3232 is connected to the external resistor and is also connected to the EQ2_EN output pin 661 of the MCU control unit 6; 2 The C mode enable signal I2C_EN input 3233 is connected to the external resistor and is also connected to the EQ2_I2C_EN output pin 662 of the MCU control unit 6; 2 C bus clock signal and channel A output swing setting OS_A_SCL pin 3233 are connected to EQ2_SCL output pin 663 of MCU control unit 6 and are also connected to an external resistor network; 2The C bus data signal and channel A de-emphasis DE_A_SDA pin 3233 are connected to the EQ2_SDA output pin 664 of the MCU control unit, and are also connected to an external resistor network; the EQ parameter setting EQ_A pin 3236 of channel A is connected to the external resistor network; the channel B output swing setting signal OS_B / A1 pin 3237 is connected to the external resistor network; the channel B de-emphasis setting signal DE_B / A0 pin 3238 is connected to the external resistor network; the channel B EQ parameter setting EQ_B pin 3239 is connected to the external resistor network.

[0079] Connection between the pins of the SFP+ optical module 51 and other circuits: the I2C bus clock signal SFP1_SCL pin 511 is connected to the clock signal SFP1_SCL pin 611 of the MCU control unit 6, and the I2C bus data signal SFP1_SDA pin 512 is connected to the data signal SFP1_SDA pin 612 of the MCU control unit 6; the transmission shutdown signal SFP1_TxDisable input pin 513 of the SFP+ optical module 51 is connected to the SFP1_TxDisable output pin 613 of the MCU control unit 6; the transmission fault indication SFP1_TxFault output pin 514 of the SFP+ optical module 51 is connected to the SFP1_TxFault input pin 614 of the MCU control unit 6; The light-out alarm signal SFP1_LOS output pin 515 of the SFP+ optical module 51 is connected to the SFP1_LOS input pin 615 and the LOS1_232_RXD input pin 617 of the MCU control unit 6; the optical module plug-in detection signal MOD_IN output pin 518 of the SFP+ optical module 51 is connected to the SFP1_MOD_IN input pin 616 of the MCU control unit 6. The optical transmission circuit power supply input SFP1_VCCT pin 519 of the SFP+ optical module 51 is connected to the optical module optical transmission circuit power supply SFP1_VCCT output pin 934 of the power supply unit 92; the optical receiving circuit power supply input SFP1_VCCR pin 520 of the SFP+ optical module 51 is connected to the optical module optical receiving circuit power supply SFP1_VCCR output pin 933 of the power supply unit 92. The signal connection of this part is explained in other circuit descriptions and will not be described in detail here.

[0080] Connection between the pins of the SFP+ optical module 52 and other circuits: the I2C bus clock signal SFP2_SCL pin 521 is connected to the clock signal SFP2_SCL pin 621 of the MCU control unit 6, and the I2C bus data signal SFP2_SDA pin 522 is connected to the data signal SFP2_SDA pin 622 of the MCU control unit 6; the transmission shutdown signal SFP2_TxDisable input pin 523 of the SFP+ optical module 52 is connected to the SFP2_TxDisable output pin 623 of the MCU control unit 6; the transmission fault indication SFP2_TxFault output pin 524 of the SFP+ optical module 52 is connected to the SFP2_TxFault input pin 624 of the MCU control unit 6; The light-out alarm signal SFP2_LOS output pin 525 of the SFP+ optical module 52 is connected to the SFP1_LOS input pin 625 and the LOS2_232_RXD input pin 627 of the MCU control unit 6; the optical module plug-in detection signal MOD_IN output pin 528 of the SFP+ optical module 52 is connected to the SFP2_MOD_IN input pin 626 of the MCU control unit 6. The optical transmission circuit power supply input SFP2_VCCT pin 529 of the SFP+ optical module 52 is connected to the optical module optical transmission circuit power supply SFP2_VCCT output pin 936 of the power supply unit 92; the optical receiving circuit power supply input SFP1_VCCR pin 530 of the SFP+ optical module 51 is connected to the optical module optical receiving circuit power supply SFP1_VCCR output pin 935 of the power supply unit 92. The signal connection of this part is explained in other circuit descriptions and will not be described in detail here.

[0081] The MCU control unit 6 has an online programming and upgrade interface, the ISP_RS232_TXD output pin 697 is connected to the RXD of the RS-232 interface of the computer host; the ISP_RS232_RXD output pin 698 is connected to the TXD of the RS-232 interface of the computer host, the downstream interface port 1 overcurrent signal PW_OVCI1 input pin 605 is connected to the downstream port 1 overcurrent signal DP_OVCI1 output pin 925 of the power supply module 92, and the downstream port 2 overcurrent signal PW_OVCI2 output pin 606 is connected to the downstream port 2 overcurrent signal DP_OVCI2 output pin 926 of the power supply module 92. The signal connections of this part are explained in other circuit descriptions and will not be described in detail here.

[0082] The LED indication circuit 7 is connected to the LED display interface 609 of the MCU control unit 6 .

[0083] Connection between the management interface 8 and other circuits: The management interface 8 has two USB2.0 signal inputs, and the two signals can be automatically switched. One USB2.0 signal USB2.0_A+ / - input port 81 is connected to the external USB2.0 host controller, and the other USB2.0 signal USB2.0_B+ / - input port 82 is connected to the USB2.0 signal USB2-1+ / - differential pair 221 of the downstream port 1 of the PCI-E to USB3.1 host controller 2. Through the USB2.0 to RS-232 conversion chip, an RS-232 management serial port is added to the PC host; the serial port sending data RS232_TXD pin 85 of the management interface 8 is connected to the CMI_RS232_RXD input pin 695 of the MCU control unit 6; the serial port receiving data RS232_RXD pin 85 of the management interface 8 is connected to the CMI_RS232_TXD input pin 694 of the MCU control unit 6. The signal connection of this part is explained in other circuit descriptions and will not be described in detail here.

[0084] The power supply unit 9 includes a power supply module 91, a power supply module 92, and a power supply module 93. Each power supply module can switch between the 3.3V conventional power supply of the PCI-E interface of the computer motherboard and the 3.3V AUX power supply through an internal power switching circuit.

[0085] Connection between the power supply module 91 and other circuits: ReDriver1 power supply output 911 is connected to the power supply VCC input 3131 of USB3.1 equalizer 1; ReDriver2 power supply output 912 is connected to the power supply VCC input 3232 of USB3.1 equalizer 2.

[0086] Connection between the power supply module 92 and other circuits: the power enable PPON1 signal output pin 226 of the downstream interface port 1 of the PCI-E to USB3.1 host controller is connected to the power enable DP_PWEN1 signal input pin 921 of the downstream port 1 of the power supply module 92; the power enable PPON2 signal output pin 228 of the downstream interface port 2 of the PCI-E to USB3.1 host controller is connected to the power enable DP_PWEN2 signal input pin 922 of the downstream port 2 of the power supply module 92; the overcurrent signal OCI1 input pin 227 of the downstream interface port 1 of the PCI-E to USB3.1 host controller is connected to the overcurrent signal DP_OVCI1 output pin 925 of the downstream port 1 of the power supply module 92, and the overcurrent signal OCI2 output pin 229 of the downstream port 2 of the PCI-E to USB3.1 host controller is connected to the overcurrent signal DP_OVCI2 output pin 926 of the downstream port 2 of the power supply module 92. The signal connections of this part are explained in the description of other circuits and will not be described in detail here.

[0087] The connection between the power supply module 93 and other circuits: the MCU power supply output 942 is connected to the power supply VCC input pin 696 of the MCU control unit 6; the MCU power supply output 943 is connected to the power supply VCC_CMI input pin 83 of the management interface 8; the PCI-E toUSB3.1 host controller 2 power supply output 944 is connected to the power supply VCC_PCI-E input pin 231 of the PCI-E to USB3.1 host controller 2. The signal connections of this part are explained in other circuit descriptions and will not be described in detail here.

[0088] Reference Figure 11-17 , detailed description of USB3.1 optical fiber receiving end 2.

[0089] like Fig.11 As shown, the USB3.1 optical fiber receiving end 2 includes a USB3.1 downstream interface unit 21, a USB3.1 HUB main control chip 22, an Rx_DET simulated load 23, an SFP+ optical module 24, a power supply unit 25, an MCU control unit 26, an LED indication circuit 27, a management interface circuit 28, and a FLASH chip 29.

[0090] Preferably, the USB3.1 HUB main control chip model is VL820, but it can also be other USB3.1 HUB chips of the same type.

[0091] The connection between the pins of the USB3.1 HUB main control chip 22 and other circuits: the FLASH data bus 2212 is connected to the external FLASH chip 29; the overspeed transmission signal U3H_TX+ / - differential pair 2213 is connected to the high-speed differential signal input terminal 231 of the RX_DET simulated load 23; the high-speed differential signal output terminal 232 of the RX_DET simulated load 23 is connected to the TX+ / - input terminal 246 of the SFP+ optical module 24; the overspeed reception signal U3H_RX+ / - differential pair 2214 is connected to the RX+ / - output terminal 247 of the SFP+ optical module 24; the USB3.1 upstream interface power supply voltage VBUS monitoring signal VBUS_DET input pin 2215 is connected to the VBUS control signal VBUS_DET output pin 2634 of the MCU control unit, which is used for the communication control between the USB3.1 optical fiber receiving end and the USB3.1 optical fiber transmitting end; the reset signal RST_USB input 2216 is connected to the external reset circuit on the one hand, and is connected to the USB3.1 HUB reset signal RST_USB output pin 2633; Downstream interface port 1 power enable PPON1 signal output pin 2231 is connected to the downstream port 1 power enable DP_PWEN1 signal input pin 2527 of the power supply unit; Downstream interface port 2 power enable PPON2 signal output pin 2233 is connected to the downstream port 2 power enable DP_PWEN1 signal input pin 2528 of the power supply unit; Downstream interface port 3 power enable PPON3 signal output pin 2235 is connected to the downstream port 3 of the power supply unit Power enable DP_PWEN3 signal input pin 2529; Downstream interface port 4 power enable PPON4 signal output pin 2237 is connected to the downstream port 4 power enable DP_PWEN4 signal input pin 2530 of the power supply unit; Downstream interface port 1 overcurrent signal OVCI1 input pin 2232 is connected to the downstream port 1 overcurrent signal DP_OVCI1 output pin 2531 of the power supply unit; Downstream interface port 2 overcurrent signal OVCI2 input pin 2234 is connected to the downstream port 2 overcurrent signal DP of the power supply unit _OVCI2 output pin 2532; Downstream interface port 3 overcurrent signal OVCI3 input pin 2236 is connected to the downstream port 3 overcurrent signal DP_OVCI3 output pin 2533 of the power supply unit; Downstream interface port 4 overcurrent signal OVCI4 input pin 2238 is connected to the downstream port 4 overcurrent signal DP_OVCI1 output pin 2534 of the power supply unit; Differential pair USB3-TX1+ / - signal output 2222 and USB3-RX1+ / - signal input 2223 are connected to the downstream interface 1; Differential pair USB3-TX2+ / - signal output 2224 and USB3-RX2+ / - signal input 2225 are connected to downstream interface 2; differential pair USB3-TX3+ / - signal output 2226 and USB3-RX3+ / - signal input 2227 are connected to downstream interface 3; differential pair USB3-TX4+ / - signal output 2228 and USB3-RX4+ / - signal input 2229 are connected to downstream interface 4. The signal connections in this part are explained in other circuit descriptions and will not be described in detail here.

[0092] Connection between the pins of the SFP+ optical module 24 and other circuits: the I2C bus clock signal SFP_SCL pin 241 is connected to the clock signal SFP_SCL pin 2611 of the MCU control unit 26, and the I2C bus data signal SFP_SDA pin 242 is connected to the data signal SFP_SDA pin 2612 of the MCU control unit 26; the transmission shutdown signal SFP_TxDisable input pin 243 of the SFP+ optical module 24 is connected to the SFP_TxDisable output pin 2613 of the MCU control unit 26; The transmission fault indication SFP_TxFault output pin 244 of the SFP+ optical module 24 is connected to the SFP_TxFault input pin 2614 of the MCU control unit 26; the no-light alarm signal LOS output pin 245 of the SFP+ optical module 24 is connected to the LOS input pin 2615 and the LOS_232_RXD input pin 2616 of the MCU control unit 26; the optical module plug-in detection signal MOD_IN output pin 248 of the SFP+ optical module 24 is connected to the MOD_IN input pin 2617 of the MCU control unit 26. The optical transmission circuit power supply input SFP_VCCT pin 249 of the SFP+ optical module 24 is connected to the optical module optical transmission circuit power supply SFP_VCCT output pin 2522 of the power supply unit 25; the optical receiving circuit power supply input SFP_VCCR pin 240 of the SFP+ optical module 24 is connected to the optical module optical receiving circuit power supply SFP_VCCR output pin 2523 of the power supply unit 25. The signal connection of this part is explained in other circuit descriptions and will not be described in detail here.

[0093] Connection between the power supply unit 25 and other circuits: the external power supply EXT_5V pin 2515 is connected to the external power supply; the entire circuit is powered by the external power supply; the MCU control unit 26 power supply VCC_MU output pin 2524 is connected to the power supply VCC_MCU input pin 2621 of the MCU control unit 26; the management interface 28 power supply VCC_CMI output pin 2525 is connected to the power supply VCC_CMI input pin 282 of the management interface 28; the power supply VCC_HUB output pin 2526 of the power supply unit 25 is connected to the USB3.1 The power supply VCC_HUB input pin 2211 of the HUB main control chip 22; the power supply enable signal SFP_PWR_EN input pin 2521 of the SFP+ optical module 24 is connected to the SFP_PWR_EN output pin 2625 of the MCU control unit 26; the overcurrent signal DP_OVCI1_MCU output pin of the downstream port 1 of the power supply unit 25, the overcurrent signal DP_OVCI2_MCU output pin of the downstream port 2 of the power supply unit 25, the overcurrent signal DP_OVCI3_MCU output pin of the downstream port 3 of the power supply unit 25, and the overcurrent signal DP_OVCI4_MCU output pin of the downstream port 4 of the power supply unit 25 are connected to the DP_OVCI_MU input pin 2633 of the input pin MCU control unit 26; the remote cold start control signal DP_PWEN1_MCU output pin 2540 of the downstream port 1 of the power supply unit 25 is connected to the DP_ PWEN1_MU input pin 2634; the remote cold start control signal DP_PWEN2_MCU output pin 2541 of the downstream port 2 of the power supply unit 25 is connected to the DP_ PWEN2_MU input pin 2635 of the input pin MCU control unit 26; the remote cold start control signal DP_PWEN3_MCU output pin 2542 of the downstream port 3 of the power supply unit 25 is connected to the DP_ PWEN3_MU input pin 2636 of the input pin MCU control unit 26; the remote cold start control signal DP_PWEN1_MCU output pin 2543 of the downstream port 4 of the power supply unit 25 is connected to the DP_ PWEN4_MU input pin 2637 of the input pin MCU control unit 26. The signal connections of this part are explained in other circuit descriptions and will not be described in detail here.

[0094] Connection between the management interface 28 and other circuits: The USB2.0 signal USB2.0-4+ / - input port 281 of the management interface 28 is connected to the USB2.0 port of the external computer host, and through the USB2.0 to RS-232 conversion chip, an RS-232 management serial port is added to the external computer host; the serial port send data RS232_TXD pin 284 of the management interface 28 is connected to the CMI_RS232_RXD input pin 2642 of the MCU control unit 26; the serial port receive data RS232_RXD pin 283 of the management interface 28 is connected to the CMI_RS232_TXD input pin 2641 of the MCU control unit 26. The signal connection of this part is explained in other circuit descriptions and will not be described in detail here.

[0095] The MCU control unit 26 has an online programming and upgrade interface. The ISP_RS232_TXD output pin 2643 is connected to the RXD of the RS-232 interface of the computer host; the ISP_RS232_RXD output pin 2644 is connected to the TXD of the RS-232 interface of the computer host. The main functions of the MCU control unit 26 are communication negotiation, digital diagnosis, and power management. The signal connections of this part are explained in other circuit descriptions and will not be described in detail here.

[0096] The following describes in detail a specific implementation of an automatic negotiation method for optical fiber communication between a USB 3.1 optical fiber expansion card and a USB 3.1 optical fiber receiving end.

[0097] The method for automatic negotiation of optical fiber communication between a USB3.1 optical fiber expansion card and a USB3.1 optical fiber receiving end is to solve the problem of a USB3.1 terminal device re-establishing a correct communication link with a computer host due to optical fiber interruption of an optical fiber interface, repeated plugging and unplugging of optical fibers, hot plugging of SFP+ optical modules, computer power on / off, and restart during the process of transmitting USB3.0 data using optical fiber by using single-chip computer programming technology and formulating relevant communication rules.

[0098] USB3.0 fiber optic communication is a full-duplex bidirectional communication, which can use two-core optical fiber, or use single-core optical fiber using the principle of optical wavelength division multiplexing. There are three situations in the process of fiber optic connection. The first is that the optical transmitter and receiver of the USB3.1 fiber optic expansion card SFP+ optical module are connected to the optical transmitter and optical receiver of the USB3.1 fiber optic receiving end SFP+ optical module at the same time; the second is that the optical transmitter of the USB3.1 fiber optic expansion card SFP+ optical module is first connected to the optical receiver of the USB3.1 fiber optic receiving end SFP+ optical module, and further, the optical receiver of the USB3.1 fiber optic expansion card SFP+ optical module is connected to the optical transmitter of the USB3.1 fiber optic receiving end SFP+ optical module; the third is that the optical receiver of the USB3.1 fiber optic expansion card SFP+ optical module is first connected to the optical transmitter of the USB3.1 fiber optic receiving end SFP+ optical module, and further, the optical transmitter of the USB3.1 fiber optic expansion card SFP+ optical module is connected to the optical receiver of the USB3.1 fiber optic receiving end SFP+ optical module.

[0099] If the optical fiber connection is interrupted due to optical fiber damage or manual unplugging, and the optical fiber connection needs to be reestablished, the PCI-E to USB3.1 host controller of the computer host and the USB3.1 HUB main control chip at the remote USB3.1 optical fiber receiving end need to re-establish the connection. At this time, both parties will re-initiate the low-speed LFPS signal for handshake connection to determine the connection status. However, if the USB3.1 HUB main control chip at the USB3.1 optical fiber receiving end has not yet exited the ultra-high-speed link state, when the first and third situations occur, the downstream interface of the PCI-E to USB3.1 host controller of the USB3.1 optical fiber expansion card receives ultra-high-speed data packets instead of LFPS data signals, which will cause the negotiation to fail, resulting in the PCI-E to USB3.1 host controller port of the USB3.1 optical fiber expansion card on the computer side not being able to operate normally, and thus failing to identify the USB3.1 HUB main control chip at the USB3.1 optical fiber receiving end and the external USB3.1 terminal device.

[0100] During the communication process, the USB3.1 fiber optic expansion card and the USB3.1 fiber optic receiver often encounter the situation that the computer host is shut down, restarted, or restarted after being shut down for a long time. This will lead to a serious problem: when the computer host re-enters the operating system, the USB3.1 fiber optic expansion card and the USB3.1 fiber optic receiver often fail to connect to the computer host. The computer host may prompt that the USB3.0 device is compliant but cannot be linked, or there is no link action at all. The reason for this problem is that after the computer host exits the system, the communication status of the USB3.1 fiber optic expansion card and the USB3.1 fiber optic receiver does not enter the LFPS negotiation state, but has been in a normal ultra-high-speed link. When the computer host re-enters the system, the PCI-E to USB3.1 host controller of the USB3.1 fiber optic expansion card on the computer host side and the USB3.1 fiber optic receiver should be in a low-speed communication mode, but the actual PCI-Eto The USB3.1 host controller first receives the ultra-high-speed data packet sent by the USB3.1 optical fiber receiving end, which causes the negotiation between the two to fail. The computer host cannot find the USB3.1 HUB main control chip at the USB3.1 optical fiber receiving end and all its external USB3.1 terminal devices.

[0101] In order to solve the above problems, we hereby agree on an automatic negotiation method for optical fiber communication between the USB3.1 optical fiber expansion card and the USB3.1 optical fiber receiving end: no matter when, the optical receiver of the SFP+ optical module of the USB3.1 optical fiber receiving end always receives the optical signal before the optical receiver of the SFP+ optical module of the USB3.1 optical fiber expansion card; after the optical fiber connection of the optical receiver of the USB3.1 optical fiber receiving end is interrupted, the MCU control unit sends an output control instruction to disconnect the upstream interface link of the USB3.1 HUB main control chip, and the USB3.1 HUB main control chip enters the standby state, and the optical transmitter of the SFP+ optical module of the USB3.1 optical fiber receiving end is in the transmission prohibition state, and no optical signal is sent out at all. Even if the optical fiber is reconnected normally, the USB3.1 HUB main control chip at the USB3.1 optical fiber receiving end will be in the transmission prohibition state before the link initialization is completed; after the optical fiber is disconnected, the optical receiver of the USB3.1 optical fiber expansion card cannot receive the optical signal, and the MCU control unit sends an output control instruction to make the equalizer chip of the USB3.1 optical fiber expansion card and the PCI-E to The USB3.1 host controller link connection is interrupted; when the optical receiver at the USB3.1 optical fiber receiving end is reconnected to the optical fiber, the MCU control unit sends an output control instruction to make the USB3.1 HUB main control chip enter the normal working state, initialize the chip link state, and the USB3.1 HUB main control chip upstream interface Tx output end outputs the LFPS signal. The MCU control unit sends an output control instruction to make the optical transmitter of the SFP+ optical module at the USB3.1 optical fiber receiving end in the transmit enable state and send out the LFPS optical signal normally. After the optical receiver of the USB3.1 optical fiber expansion card receives the LFPS optical signal, the MCU control unit sends an output control instruction to make the equalizer chip and the PCI-E to The link of the USB3.1 host controller is connected, and the USB3.1 fiber optic expansion card and the USB3.1 fiber optic receiving end re-negotiate LFPS until the communication connection is normal; when the computer host is turned off, the USB3.1 fiber optic expansion card circuit can monitor the power supply of the computer motherboard, and the MCU control unit will output corresponding control instructions according to the power supply status of the computer host motherboard, turn off the transmission of the SFP+ optical module, and make the communication link between the USB3.1 fiber optic expansion card and the USB3.1 fiber optic receiving end disconnected, and the USB3.1 main control chip of the USB3.1 fiber optic receiving end enters the standby state; when the computer host is turned off, restarted, or turned off and then turned on again, the USB3.1 fiber optic expansion card circuit can monitor the power supply changes of the computer motherboard, and the MCU control unit of the USB3.1 fiber optic expansion card will output corresponding control instructions according to the power supply status of the computer motherboard, enable the transmission of the SFP+ optical module, and make the USB3.1 fiber optic expansion card and the USB3.1 fiber optic receiving end fiber link connected. When the computer USB3.1 is monitored, the USB3.1 fiber optic expansion card circuit can monitor the power supply changes of the computer motherboard, and the MCU control unit of the USB3.1 fiber optic expansion card will output corresponding control instructions according to the power supply status of the computer motherboard, enable the transmission of the SFP+ optical module, and make the USB3.1 fiber optic expansion card and the USB3.1 fiber optic receiving end fiber link connected.After the 1 controller initiates LFPS negotiation, the USB3.1 fiber expansion card MCU control unit connects the USB3.1 fiber expansion card USB3.1 equalizer with the PCI-E to USB3.1 host controller of the computer host, and the USB3.1 fiber expansion card and the USB3.1 fiber receiving end perform LFPS communication negotiation until the communication connection is normal.

[0102] The data stream of the ultra-high-speed USB3.1 terminal device specified in the USB3.0 standard must be encoded into an ultra-high-speed data stream for transmission during the communication process. Since the USB3.0 standard does not reserve some low-speed IO channels, in the USB3.0 optical fiber communication process, in order to ensure compatibility and universal applicability, the optical fiber transmission device will not re-encode and decode USB3.0, but only convert the received USB3.0 electrical signal into electrical-optical-electrical. The optical fiber transmission device will not add any additional data to the data stream, and the USB3.0 signal is transparent during the transmission process using the optical fiber transmission device. Therefore, the transmission and result feedback of remote switch control, digital diagnostic signals, etc. cannot be completed by the USB3.1 hardware circuit, so the present invention is based on this practical application and proposes a method for digital diagnosis of USB3.1 optical fiber expansion card and USB3.1 optical fiber receiving end and remote control of USB3.1 terminal device.

[0103] The following describes in detail a specific implementation of a method for digitally diagnosing a USB3.1 fiber optic expansion card and a USB3.1 fiber optic receiving end and remotely controlling a USB3.1 terminal device.

[0104] The method for digitally diagnosing a USB3.0 transmitter 1 and a USB3.0 optical fiber receiver 2 and remotely controlling a USB3.1 terminal device refers to using the transmission shutdown control SFP_Tx_Disable input pin of the SFP+ optical module optical transmitter and the light-loss alarm signal SFP_LOS output pin of the optical receiver to form a low-speed bidirectional RS-232 transmission channel, and the bidirectional RS-232 transmission channel, the MCU control unit, and the management interface form a digital diagnostic channel. The computer uses the digital diagnostic channel to send control instructions to the power supply circuit of the USB3.1 terminal device or the control interface of the USB3.1 terminal device itself, and digitally diagnoses and manages the power supply status of the SFP+ optical module and the terminal device.

[0105] Referring to the SMALL FORM-FACTOR PLUGGABLE (SFP) TRANSCEIVER MULTISOURCEAGREEMENT (MSA) international standard, the SFP+ optical module optical transmitter's transmit shutdown control SFP_Tx_Disable input pin is used to turn on and off the light-emitting state of the SFP+ optical module optical transmitter laser. When the pin is at a high level, the laser does not emit light, and when the pin is at a low level, the laser emits light. When the SFP+ optical module is working normally, the transmit shutdown control signal level must always be kept low; and the SFP+ optical module optical receiver's no-light alarm signal SFP_LOS output pin outputs a no-light alarm signal SFP_LOS when there is no optical signal input to the optical receiver. The SFP_LOS pin outputs a high-level signal. When an optical signal is input to the optical receiver, the SFP_LOS output pin outputs a low-level signal. This signal is only used to determine whether there is an input optical signal. In the normal optical communication process, the signal is always kept at a low level. These two control pins do not have the function of two-way data communication, but we can input a low-rate digital square wave signal, such as a 9600bps serial port signal, into the transmit shutdown control SFP_Tx_Disable input pin, then the SFP+ optical module optical transmitter will follow the low rate. The high and low level changes of the digital square wave signal of the rate produce the state changes of no light emission and light emission, thereby modulating a 9600bps low-rate optical signal, and the no-light alarm signal SFP_LOS output pin of the corresponding SFP+ optical module optical receiver will restore the original 9600bps serial port signal according to the state changes of no light input and light input; therefore, the transmission shutdown control SFP_Tx_Disable input pin of the SFP+ optical module optical transmitter and the no-light alarm signal SFP_LOS output pin of the optical receiver can be combined to form a low-rate bidirectional RS-232 transmission channel, which is composed of a bidirectional RS-232 transmission channel, an MCU control unit, and a management interface to form a digital diagnostic channel. The digital diagnostic channel does not work when the USB3.0 link communicates normally. The digital diagnostic channel will only work before the initial connection between the USB3.1 fiber expansion card and the USB3.1 fiber receiving end is established, when the USB3.1 terminal device fails, and when it is manually controlled, and the operator can perform corresponding management operations on both the computer and the USB3.0 device.

[0106] When we occasionally encounter device freezes or other problems that make it impossible to restore the USB3.1 terminal device to normal working state through the computer host during use of the USB3.1 terminal device, we can send specific instructions to the management interface through the digital diagnostic channel to the control interface of the USB3.1 terminal device itself or to the power supply circuit of the USB3.0 port connected to the USB3.1 terminal device to cold start the device and restore it to normal. We can also send specific instructions to the management interface through the digital diagnostic channel to the control interface of the USB3.1 terminal device itself to obtain the fault status of the USB3.1 terminal device.

[0107] Here we only explain the USB 3.0 optical port 1 of the USB 3.0 optical expansion card S2. The working principles of other ports are the same and will not be described one by one. Before the initial connection between the USB3.1 fiber optic expansion card and the USB3.1 fiber optic receiving end is established, the MCU control unit 26 of the USB3.1 fiber optic receiving end 2 reads the optical module indicators such as the transmitted optical power, the bias current of the laser, the receiving sensitivity, the power supply voltage of the optical module, the operating temperature, and the fault condition through the I2C bus of the SFP+ optical module 24, and then sends the signal to the SFP_Tx_Disable input pin 243 of the SFP+ optical module 24 through the RS-232 serial port of the MCU control unit 26 of the USB3.1 fiber optic receiving end 1, modulates and outputs the RS232 optical signal, and the SFP_LOS output pin 145 of the digital diagnostic channel of the USB3.1 fiber optic expansion card 1 outputs the RS-232 serial data, and the RS-232 serial data is transmitted to the serial port signal input LOS_232_RXD input pin 1638 of the digital diagnostic channel of the MCU control unit 16 of the USB3.1 fiber optic expansion card 1, and is sent to the computer host end after being processed by the MCU control unit 16; in addition, we can also use the USB2.0 to management interface 18 on the computer host end to connect to the computer host end. The RS232 conversion circuit converts the instruction into an RS-232 signal. The RS-232 sends a digital diagnostic request instruction to the RS-232 serial port signal CMI_RS232_RXD input pin 1618 of the MCU control unit 16 of the USB3.1 optical fiber extension card 1 through the RS232_TXD output pin 86 of the management interface 18. The MCU control unit 16 sends the instruction to the serial port signal input LOS_232_RXD input pin 2616 of the MCU control unit 26 of the USB3.1 optical fiber receiving end 2 through the digital diagnostic channel. After receiving the instruction, the MCU control unit 26 transmits the read optical module indicator back to the serial port signal input LOS_232_RXD input pin 1638 of the MCU control unit 16 of the USB3.1 optical fiber extension card 1 through the digital diagnostic channel. After being processed by the MCU control unit 16, it is sent to the RS232_RXD input pin 85 of the management interface 18 through the RS-232 serial port signal CMI_RS232_TXD output pin 1617, and then transmitted to the USB3.1 optical fiber receiving end 2 through the USB2.0 to RS232 is converted and sent to the host computer. For the optical module indicators of USB3.1 fiber optic expansion card 1, we can directly obtain them by sending digital diagnosis request instructions to the MCU control unit of USB3.1 fiber optic expansion card 1 through management interface 18 on the host computer. These two methods can realize digital diagnosis management of SFP+ optical modules. In addition, when the USB3.1 fiber optic receiving end 2 is USB3.1 When an overcurrent fault occurs in the power supply of the terminal device, the MCU control unit 22 will store the fault code until the overcurrent fault is resolved. The stored fault code will not be cleared. When we find that the device is not working properly, we can send a digital diagnosis request command to the MCU control unit 22 of the USB3.1 optical fiber receiving end 2 through the management interface 18 on the computer host to obtain the USB3.1 terminal device fault code.

[0108] The above content is a further detailed description of the present invention in combination with a specific preferred embodiment. It cannot be determined that the specific embodiments of the present invention are limited to this. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as belonging to the protection scope of the present invention determined by the submitted claims.

Claims

1. A USB3.1 fiber expansion card based on PCI-E, characterized by: In actual application, it includes a USB3.1 fiber optic expansion card and a USB3.1 fiber optic receiving end, which are connected by optical fiber, complying with the latest USB3.1Gen2 standard, with a communication rate of up to 10Gbps, and communicating with each other through an automatic negotiation method of optical fiber communication between the USB3.1 fiber optic expansion card and the USB3.1 fiber optic receiving end, which stipulates that at any time, the optical receiver of the SFP+ optical module of the USB3.1 fiber optic receiving end always receives the optical signal before the optical receiver of the SFP+ optical module of the USB3.1 fiber optic expansion card; the USB3.1 fiber optic expansion card is used to expand multiple USB3.1 fiber optic interfaces from the host PCI-E bus, and the USB3.1 fiber optic receiving end is used to connect USB3.1 peripherals. The USB3.1 fiber optic expansion card has a PCI-E to USB3.1 master chip, which expands multiple USB3.1 interfaces through the PCI-E to USB3.1 master chip, and the electrical signal of each USB3.1 interface is transmitted through the USB3.1 The equalizer chip is connected to the SFP+ optical module to expand multiple USB3.1 fiber optic interfaces; the USB3.1 fiber optic expansion card has a USB3.1 equalizer chip to implement signal conditioning and communication negotiation control; at the USB3.1 fiber optic receiving end, there is a multi-port USB3.1 HUB that can connect multiple ultra-high-speed USB terminal devices at the same time and support USB Type-C port output. The USB3.1 HUB chip model is VL820; there are Rx_DET simulation loads on the USB3.1 fiber optic expansion card and the USB3.1 fiber optic receiving end to simulate the Rx_DET circuit at the Rx input end of the USB3.1 interface on the device side, which is used to implement the use of ordinary SFP+ optical modules to convert USB3.1 electrical signals into optical signals for long-distance fiber optic communication between USB3.1 devices; there is a low-speed bidirectional RS-232 formed by the combination of the transmit shutdown control input pin and the lightless alarm signal output pin of the SFP+ optical module on the USB3.1 fiber optic expansion card and the USB3.1 fiber optic receiving end. Transmission channel, where the transmission shutdown signal input of the SFP+ optical module is used for the RXD input of the RS232 interface and the light-off alarm LOS signal output of the SFP+ optical module is used for the TXD output of the RS232; a digital diagnostic channel is formed by the bidirectional RS-232 transmission channel, MCU control unit, and management interface, and the management interface of the USB3.1 fiber expansion card can automatically switch the input USB2.0 signal; The management interface of the USB3.1 optical fiber receiving end can be connected to the USB2.0 interface of an external computer; The operator can perform digital diagnosis on the USB3.1 fiber expansion card and the USB3.1 fiber receiving end on the computer host. The operator can send control instructions to the USB3.1 terminal device through the digital diagnosis channel on the host side to achieve remote control.

2. An automatic negotiation method for optical fiber communication between the PCI-E based USB3.1 optical fiber expansion card and the USB3.1 optical fiber receiving end according to claim 1, characterized in that: No matter when, the optical receiver of the SFP+ optical module at the USB3.1 optical fiber receiving end always receives the optical signal before the optical receiver of the SFP+ optical module of the USB3.1 optical fiber expansion card. After the optical fiber connection of the optical receiver at the USB3.1 optical fiber receiving end is interrupted, the MCU control unit sends an output control instruction to disconnect the upstream interface link of the USB3.1 HUB main control chip, and the USB3.1 HUB main control chip enters the standby state, and the optical transmitter of the SFP+ optical module at the USB3.1 optical fiber receiving end is in the transmission prohibition state, and no optical signal is sent out at all. Even if the optical fiber is reconnected normally, the USB3.1 HUB main control chip at the USB3.1 optical fiber receiving end will be in the transmission prohibition state before the link initialization is completed. After the optical fiber is disconnected, the optical receiver of the USB3.1 optical fiber expansion card cannot receive the optical signal, and the MCU control unit sends an output control instruction to disconnect the equalizer chip of the USB3.1 optical fiber expansion card from the PCI-E to USB3.1 main controller link. When the optical receiver at the USB3.1 optical fiber receiving end is reconnected, the MCU The control unit sends an output control instruction to make the USB3.1 HUB main control chip enter the normal working state, initialize the chip link state, and the USB3.1 HUB main control chip upstream interface Tx output end outputs the LFPS signal. The MCU control unit sends an output control instruction to make the optical transmitter of the SFP+ optical module of the USB3.1 optical fiber receiving end in the transmit enable state, and normally send out the LFPS optical signal. After the optical receiver of the USB3.1 optical fiber expansion card receives the LFPS optical signal, the MCU control unit sends an output control instruction to connect the equalizer chip with the link of the PCI-E to USB3.1 main controller, and the USB3.1 optical fiber expansion card and the USB3.1 optical fiber receiving end re-negotiate the LFPS until the communication connection is normal; when the computer host is shut down, the USB3.1 optical fiber expansion card circuit can monitor the power supply of the computer motherboard. The MCU control unit will output the corresponding control instruction according to the power supply status of the computer host motherboard, shut down the transmission of the SFP+ optical module, and make the USB3.1 optical fiber expansion card and the USB3.1 The communication link of the optical fiber receiving end is disconnected, and the USB3.1 main control chip of the USB3.1 optical fiber receiving end will enter the standby state; when the computer host is shut down, restarted, or restarted after shutting down, the USB3.1 optical fiber expansion card circuit can monitor the power supply changes of the computer motherboard. The MCU control unit of the USB3.1 optical fiber expansion card will output corresponding control instructions according to the power supply of the computer motherboard, enabling the transmission of the USB3.1 optical fiber expansion card SFP+ optical module, so that the USB3.1 optical fiber expansion card and the USB3.1 optical fiber receiving end optical fiber link are connected. When the computer USB3.1 controller initiates LFPS negotiation, the USB3.1 optical fiber expansion card will start to communicate with the USB3.1 optical fiber receiving end.1 The fiber expansion card MCU control unit connects the USB3.1 equalizer to the PCI-E to USB3.1 host controller link, and the USB3.1 fiber expansion card and the USB3.1 fiber receiving end perform LFPS communication negotiation until the communication connection is normal.

3. A method for performing digital diagnosis and remote control of USB3.1 terminal equipment using the PCI-E-based USB3.1 fiber optic expansion card and USB3.1 fiber optic receiving end as claimed in claim 1, characterized in that: The computer host uses the digital diagnostic channel composed of a low-speed bidirectional RS-232 transmission channel, an MCU control unit, and a management interface formed by the combination of the transmission shutdown control input pin and the lightless alarm signal output pin of the SFP+ optical module at the USB3.1 optical fiber expansion card and the USB3.1 optical fiber receiving end through the management interface; it realizes the control of the power supply circuit of the remote USB3.1 terminal device and sends control instructions to the control interface of the USB3.1 terminal device itself. The operator can send a digital diagnostic request instruction to the MCU control unit of the USB3.1 optical fiber receiving end through the management interface on the computer host to obtain the fault code of the USB3.1 terminal device; and perform digital diagnosis management on the power supply status of the SFP+ optical module and the terminal device at the USB3.1 optical fiber receiving end; the digital diagnostic channel will only work before the initial connection between the USB3.1 optical fiber expansion card and the USB3.1 optical fiber receiving end is established, when the USB3.1 terminal device fails, and when it is manually controlled, and the operator can perform corresponding management operations on both the computer end and the USB3.1 device end; the specific steps of the method are as follows: in the USB3.1 Before the initial connection between the fiber optic expansion card and the USB3.1 fiber optic receiving end is established, the MCU control unit of the USB3.1 fiber optic receiving end reads the optical module indicators such as the transmitted optical power, laser bias current, receiving sensitivity, power supply voltage, operating temperature, and fault condition of the optical module through the I2C bus of the SFP+ optical module, and then sends the signal to the SFP_Tx_Disable input pin of the SFP+ optical module through the RS-232 serial port of the MCU control unit of the USB3.1 fiber optic receiving end, modulates and outputs the RS232 optical signal, and outputs the RS-232 serial data at the SFP_LOS output pin of the digital diagnostic channel of the USB3.1 fiber optic expansion card. The RS-232 serial data is transmitted to the serial port signal input pin LOS_232_RXD of the digital diagnostic channel of the MCU control unit of the USB3.1 fiber optic expansion card, and is sent to the computer host after being processed by the MCU control unit; in addition, the operator can also convert the command into RS-232 on the computer host through the USB2.0 to RS232 conversion circuit of the management interface. The RS-232 sends a digital diagnostic request command to the RS-232 serial port signal input pin CMI_RS232_RXD of the MCU control unit of the USB3.1 optical fiber expansion card through the RS232_TXD output pin of the management interface. The MCU control unit sends the command to the serial port signal input pin LOS_232_RXD of the MCU control unit at the USB3.1 optical fiber receiving end through the digital diagnostic channel. After receiving the command, the MCU control unit transmits the optical module indicators read back to the USB3.1 optical fiber expansion card through the digital diagnostic channel.1 The serial port signal input pin LOS_232_RXD of the MCU control unit of the fiber optic expansion card is processed by the MCU control unit and sent to the input pin RS232_RXD of the management interface through the RS-232 serial port signal output pin CMI_RS232_TXD, and then sent to the computer host after USB2.0 to RS232 conversion; for the optical module indicators of the USB3.1 fiber optic expansion card, the operator can directly obtain them by sending a digital diagnosis request command to the MCU control unit of the USB3.1 fiber optic expansion card through the management interface on the computer host; these two methods can realize the digital diagnosis management of the SFP+ optical module; in addition, when the power supply of the USB3.1 terminal device at the USB3.1 fiber optic receiving end has an overcurrent fault, the MCU control unit will store this fault code, and the stored fault code will not be cleared until the overcurrent fault is resolved. When the device is found to be working abnormally, the operator can send a digital diagnosis request command to the MCU control unit at the USB3.1 fiber optic receiving end through the management interface on the computer host to obtain the USB3.1 terminal device fault code. .

Citation Information

Patent Citations

  • Optical transceiver module, optical transmission device and optical transmission method

    CN104009800A