A USB3.1 HUB based on optical fiber long-distance transmission
By designing an optical fiber USB3.1 HUB that supports 10Gbps, and using SFP+ optical modules and MCU control units, long-distance transmission and remote control under the USB3.1 Gen2 standard are achieved, solving transmission distance and security issues and ensuring data transparency. Transmission and normal connection of the device.
Patent Information
- Application Number
- CN201710675652.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2017-08-09
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2037-08-09
AI Technical Summary
Under the USB3.1 Gen2 standard, the transmission rate is increased to 10Gbps, resulting in transmission distance challenges. Existing technology cannot achieve long-distance optical fiber transmission that meets the bandwidth, and data security is threatened by electromagnetic leakage, lacking remote control and diagnostic capabilities.
Design a fiber-based USB3.1 HUB that supports 10Gbps communication. It uses SFP+ optical modules and MCU control units to achieve automatic negotiation, digital diagnosis and remote control. It transmits native USB3.1 data through electro-optical-electrical conversion and supports 300 Meters to 400 meters transmission distance and digital diagnostics and control via low-rate RS-232 channel.
It realizes long-distance transmission of a variety of ultra-high-speed USB terminal devices, ensures data security and avoids electromagnetic interference, and provides remote operation and fault diagnosis capabilities. All USB3.1 standard devices can be connected normally, and the transmission is transparent without encoding or decoding.
Smart Images

Figure CN107332619B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of USB 3.1 communication, and in particular to the technical field of long-distance communication between various ultra-high-speed USB terminal devices and computers, and specifically refers to a USB 3.1 HUB based on optical fiber long-distance transmission.
[0002] The invention also relates to an automatic negotiation method for optical fiber communication between a USB3.1 optical fiber transmitting end and a USB3.1 optical fiber receiving end.
[0003] The invention also relates to a method for digitally diagnosing a USB3.1 optical fiber transmitting end and a USB3.1 optical fiber receiving end and remotely controlling an ultra-high-speed USB terminal device. Background Art
[0004] USB3.0 has greatly improved the transmission speed. It is based on the 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 higher than the USB2.0 era. Now 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 increased from 480Mbps specified in the previous USB2.0 standard to 10Gbps, the traditional cable is generally not more than 1 meter. However, 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, some enterprises and units often need to centrally manage computer hosts for security reasons. Users can only use USB3.0 storage devices and USB3.0 printers at the remote end, so as to achieve safe isolation between the computer host and the user. The distance between the computer and the terminal is often hundreds of meters, and there must be no electromagnetic leakage during the data transmission process, which will lead to data security not being guaranteed. In addition, devices such as 4K ultra-high-definition audio and video conversion, ultra-high-definition medical display equipment, VR, etc., all have extremely high requirements for long-distance transmission and transmission bandwidth. However, there is currently no optical fiber long-distance transmission USB3.1 HUB that meets the USB3.1 Gen2 standard and can reach a bandwidth of 10Gbps. Summary of the invention
[0005] The technical problem to be solved by the present invention is to provide a USB3.1 HUB which supports long-distance transmission between a variety of ultra-high-speed USB terminal devices and a computer based on optical fiber transmission, which can not only realize the connection between a variety of ultra-high-speed USB terminal devices and a host, but also realize digital diagnosis of a USB3.1 optical fiber transmitting end and a USB3.1 optical fiber receiving end and remote control of ultra-high-speed USB terminal devices through a digital diagnostic circuit.
[0006] The technical solution adopted by the present invention is: a USB3.1 HUB based on optical fiber long-distance transmission, which complies with the latest USB3.1 Gen2 standard, has a communication rate of up to 10Gbps, and is backward compatible with USB3.0 and USB3.1 Gen1 standards, including a USB3.1 optical fiber transmitter and a USB3.1 optical fiber receiver. The optical fiber communication between the two can be automatically negotiated through custom communication rules. The USB3.1 HUB at the USB3.1 optical fiber receiver can connect four ultra-high-speed USB terminal devices at the same time and support USB Type-C port output; the ultra-high-speed USB terminal device referred to here can be a standard terminal device that complies with USB3.0, USB3.1 Gen1 and USB3.1 Gen2; multi-mode optical fiber or single-mode optical fiber can be used, dual-core optical fiber or single-core optical fiber can be used, the USB3.1 optical fiber transmitter and the USB3.1 optical fiber receiver both 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 ultra-speed data differential interface of the USB3.1 interface: SSTX+ / - and SSRX+ / - is used to realize the ultra-speed communication link of USB3.1, 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. 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 host controller, USB3.1 HUB main control chip and ultra-high-speed USB 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 USB terminal peripherals that meet the USB3.1 standard can be connected normally.
[0007] Correspondingly, another technical problem to be solved by the present invention is to provide an automatic negotiation method for optical fiber communication between a USB 3.1 optical fiber transmitting end and a USB 3.1 optical fiber receiving end.
[0008] Correspondingly, another technical problem to be solved by the present invention is to provide a method for digitally diagnosing a USB3.1 optical fiber transmitter and a USB3.1 optical fiber receiver and remotely controlling an ultra-high-speed USB terminal device.
[0009] According to the above scheme, the USB3.1 optical fiber transmitter includes a USB3.1 upstream interface, 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.
[0010] The USB 3.1 upstream interface is used to connect to the USB 3.1 host controller of the computer host.
[0011] Preferably, the USB3.1 HUB main control chip is VL820, which complies with the latest USB3.1 Gen2 standard and has a transmission rate of up to 10Gbps. It can support USB Type-C port output. On the one hand, it is used to receive USB3.1 data. On the other hand, it is used to solve the problem that the terminal device cannot connect to the computer host in the process of using optical fiber transmission, such as repeated plugging and unplugging of the optical fiber interface, plugging and unplugging of the SFP+ optical module, computer power on and off and restart. In addition, it can also realize the function of USB3.1 signal relay amplification. A port of the USB3.1 HUB main control chip is connected to the management interface circuit to realize the conversion of USB2.0 into RS-232 interface. The RS-232 interface is connected to an RS-232 serial port of the MCU control unit, which is used to realize digital diagnostic management of the USB3.1 optical fiber transmitting end and the USB3.1 optical fiber receiving end on the computer host end.
[0012] The FLASH chip is used to store the configuration data of the USB3.1 HUB chip.
[0013] The Rx_DET simulated load is used to simulate a super-speed USB terminal device. According to the USB3.1 protocol, the Rx input end of the USB3.1 interface must include an Rx Detect circuit. When the USB 3.1 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 no device is inserted into the USB3.1 downstream port, the USB3.1 host controller will continuously send the RxDetect square wave signal, which is not a LFPS signal. If no device is plugged in, according to the USB3.1 protocol, it is always in the Rx Detect state; when a device is plugged in, the Tx end of the USB3.1 HUB chip will send an 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 HUB chip, the USB3.1 HUB chip will always be in the Rx Detect state and cannot communicate with the USB3.1 HUB main control chip at the USB3.1 optical fiber receiving end, 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.
[0014] The SFP+ optical module is connected to a downstream interface of the USB3.1 HUB main control chip. On the one hand, it is used to convert the electrical signal sent from the Tx output end of the downstream interface of the USB3.1 HUB chip into an optical signal. On the other hand, it is used to convert the optical signal sent from the USB3.1 optical fiber receiving end into an electrical signal and send it to the downstream interface Rx input end of the USB3.1 HUB chip at the USB3.1 optical fiber transmitting end. 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. 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 ultra-high-speed USB terminal device or the ultra-high-speed USB terminal device, and performs digital diagnostic management on the SFP+ optical module at the USB3.1 optical fiber receiving end.
[0015] The MCU control unit is used to control the handshake connection and chip reset between the USB3.1 HUB and the USB3.1 main controller of the computer host, to control the power supply unit to realize automatic switching between USB3.1 interface power supply and external power supply, to realize digital diagnosis and control of SFP+ optical modules, to realize the sending of ultra-high-speed USB terminal device control instructions, and to realize digital diagnosis management of USB3.1 optical fiber transmitting end and USB3.1 optical fiber receiving end in combination with the management interface.
[0016] 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 diagnosis management of the USB3.1 optical fiber transmitting end and the USB3.1 optical fiber receiving end on the computer host side.
[0017] The power supply unit can realize automatic switching between USB3.1 interface power supply and external power supply, and provide power for USB3.1 HUB chip, MCU control unit, SFP+ optical module, management interface, LED indication circuit, FLASH, and USB terminal device.
[0018] The LED indication circuit is used to indicate information such as communication status, SFP+ module status, and fault conditions.
[0019] 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.
[0020] The USB 3.1 downstream interface is used to connect to an ultra-high-speed USB terminal device.
[0021] 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.
[0022] The FLASH chip is used to store the configuration data of the USB3.1 HUB chip.
[0023] 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.1 protocol, the Rx input end of the USB3.1 interface must include an Rx Detect circuit. When the USB 3.1 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.1 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.1 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.1 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 at the USB3.1 optical fiber transmitting end, 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.
[0024] The SFP+ optical module, on the one hand, converts the optical signal sent from the USB3.1 optical fiber transmitting end 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 from 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 SFP+ optical module at the USB3.1 optical fiber transmitting end; 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 ultra-high-speed USB terminal device or the ultra-high-speed USB terminal device, and performs digital diagnostic management on the SFP+ optical module at the USB3.1 optical fiber receiving end.
[0025] The MCU control unit is used to control the handshake connection and chip reset between the USB3.1 HUB and the USB3.1 main controller of the computer host, to control the power supply unit to realize power supply control and fault diagnosis of ultra-high-speed USB terminal equipment, to realize the sending of ultra-high-speed USB terminal equipment control instructions, to realize digital diagnosis and control of SFP+ optical modules, and to realize digital diagnosis management of USB3.1 optical fiber transmitting end and USB3.1 optical fiber receiving end in combination with the management interface.
[0026] 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 diagnosis management of the USB3.1 optical fiber transmitting end and the USB3.1 optical fiber receiving end on the computer host side.
[0027] The power supply unit can realize automatic switching between USB3.1 interface power supply and external power supply, and provide power for USB3.1 HUB chip, MCU control unit, SFP+ optical module, management interface, LED indication circuit and FLASH.
[0028] The LED indication circuit is used to indicate information such as communication status, SFP+ module status, and fault conditions.
[0029] The method for automatic negotiation of optical fiber communication between a USB3.1 optical fiber transmitting end and a USB3.1 optical fiber receiving end is to solve the problem of an ultra-high-speed USB 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 and off, and restart during the process of transmitting USB3.1 data using optical fiber by using single-chip computer programming technology and formulating relevant communication rules.
[0030] USB3.1 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 fiber optic connection process. The first is that the optical transmitter and receiver of the SFP+ optical module at the USB3.1 fiber transmitting end are connected to the optical transmitter and optical receiver of the SFP+ optical module at the USB3.1 fiber receiving end at the same time; the second is that the optical transmitter of the SFP+ optical module at the USB3.1 fiber transmitting end is first connected to the optical receiver of the SFP+ optical module at the USB3.1 fiber receiving end, and further, the optical receiver of the SFP+ optical module at the USB3.1 fiber transmitting end is connected to the optical transmitter of the SFP+ optical module at the USB3.1 fiber receiving end; the third is that the optical receiver of the SFP+ optical module at the USB3.1 fiber transmitting end is first connected to the optical transmitter of the SFP+ optical module at the USB3.1 fiber receiving end, and further, the optical transmitter of the SFP+ optical module at the USB3.1 fiber transmitting end is connected to the optical receiver of the SFP+ optical module at the USB3.1 fiber receiving end.
[0031] If the fiber connection is interrupted due to fiber damage or manual unplugging, and the fiber connection needs to be reestablished, the computer host and the USB3.1 HUB main control chip at the remote USB3.1 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 fiber receiving end has not exited the ultra-high-speed link state at this time, when the first and third situations occur, the downstream interface of the USB3.1 HUB main control chip at the USB3.1 fiber sending end receives an ultra-high-speed data packet instead of an LFPS data signal, which will cause the negotiation to fail, causing the USB3.1 host controller port of the computer connected to this USB3.1 fiber sending end to freeze, and thus fail to identify the USB3.1 HUB main control chip at the USB3.1 fiber sending end, the USB3.1 HUB main control chip at the USB3.1 fiber receiving end, and the external ultra-high-speed USB terminal device.
[0032] During the communication process, the USB3.1 optical fiber transmitter and the USB3.1 optical fiber 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 optical fiber transmitter and the USB3.1 optical fiber receiver often fail to connect to the computer host. The computer host may prompt that the USB3.1 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 optical fiber transmitter and the USB3.1 optical fiber 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 USB3.1 host controller of the computer host should be in a low-speed communication mode with the USB3.1 optical fiber transmitter, but the actual USB3.1 host controller of the computer host first receives the ultra-high-speed data packet sent by the USB3.1 optical fiber transmitter, which causes the negotiation between the two to fail, and the computer host cannot find all the ultra-high-speed USB terminal devices connected to the USB3.1 host controller.
[0033] 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 transmitter and the USB3.1 optical fiber receiver: no matter when, the optical receiver of the SFP+ optical module at the USB3.1 optical fiber receiver always receives the optical signal before the optical receiver of the SFP+ optical module at the USB3.1 optical fiber transmitter; after the optical fiber connection of the optical receiver at the USB3.1 optical fiber receiver 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 receiver is in the transmission disabled state, and no optical signal is sent out at all. Even if the optical fiber is reconnected normally, the USB3.1 at the USB3.1 optical fiber receiver The HUB main control chip will also be in the transmission disabled state before the link initialization is completed; after the optical fiber is disconnected, the optical receiver at the USB3.1 optical fiber transmitting end cannot receive the optical signal, and the MCU control unit sends an output control instruction to interrupt the link connection between the USB3.1 upstream interface at the USB3.1 optical fiber transmitting end and the USB3.1 main controller of the computer host; 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 The Tx output end of the upstream interface of the HUB main control chip outputs the LFPS signal, and the MCU control unit sends an output control instruction to put the optical transmitter of the SFP+ optical module at the USB3.1 optical fiber receiving end in the transmission enable state, and send out the LFPS optical signal normally. After the optical receiver at the USB3.1 optical fiber transmitting end receives the LFPS optical signal, the MCU control unit sends an output control instruction to connect the link between the USB3.1 upstream interface of the USB3.1 optical fiber transmitting end and the USB3.1 main controller of the computer host, and re-negotiate the LFPS with the computer host until the communication connection is normal; when the computer host is shut down, the USB3.1 optical fiber transmitting end circuit can monitor the link status with the USB3.1 main controller of the computer host, and the MCU control unit will output corresponding control instructions according to the link status with the USB3.1 main controller of the computer host, so that the communication link between the USB3.1 upstream interface of the USB3.1 optical fiber transmitting end and the computer host is disconnected, and the USB3.1 of the USB3.1 optical fiber transmitting end is disconnected. The HUB main control chip will enter the standby state and send the LFPS negotiation signal to the USB3.1 main control chip at the USB3.1 optical fiber receiving end, so that both are in the standby state; when the computer host shuts down, restarts, or restarts after shutting down, the USB3.1 optical fiber sending end circuit can monitor the link status with the computer host USB3.1 main controller, and the MCU control unit of the USB3.1 optical fiber sending end will send a signal based on the connection with the computer host USB3.1 The link status of the host controller outputs the corresponding control instructions to make the USB3.1 fiber optic transmitter USB3.1 upstream interface and the computer host in the correct connection state. When the computer USB3.1 host controller initiates LFPS negotiation, the USB3.1 fiber optic transmitter MCU control unit connects the link between the USB3.1 fiber optic transmitter USB3.1 upstream interface and the computer host USB3.1 host controller, and sends a LFPS signal to the computer host for communication negotiation until the communication connection is normal; after the USB3.1 fiber optic transmitter communicates normally with the computer host, the USB3.1 HUB main control core of the USB3.1 fiber optic transmitter will send a LFPS negotiation signal to the USB3.1 main control chip of the USB3.1 fiber optic receiver until the communication connection is normal. .
[0034] The data stream of the ultra-high-speed USB terminal device specified in the USB3.1 standard must be encoded into an ultra-high-speed data stream for transmission during the communication process. Since the USB3.1 standard does not reserve some low-speed IO channels, in order to ensure compatibility and universal applicability, the optical fiber transmission device will not re-encode and decode USB3.1 during the USB3.1 optical fiber communication process, but will only perform electrical-optical-electrical conversion on the received USB3.1 electrical signal. The optical fiber transmission device will not add any additional data to the data stream, and the USB3.1 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 hardware circuit of USB3.1. Therefore, the present invention is based on this practical application and proposes a method for digital diagnosis of USB3.1 optical fiber transmitter and USB3.1 optical fiber receiver and remote control of ultra-high-speed USB terminal devices.
[0035] The method for digitally diagnosing a USB3.1 optical fiber transmitting end and a USB3.1 optical fiber receiving end and remotely controlling an ultra-high-speed USB 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 ultra-high-speed USB terminal device or the control interface of the ultra-high-speed USB terminal device itself, and digitally diagnoses and manages the power supply status of the SFP+ optical module and the terminal device.
[0036] 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.1 link communicates normally. The digital diagnostic channel will only work before the initial connection between the USB3.1 optical fiber transmitter and the USB3.1 optical fiber receiver is established, when the ultra-high-speed USB terminal device fails, and when it is manually controlled, and the operator can perform corresponding management operations on both the computer and USB3.1 device ends.
[0037] When we occasionally encounter a device freeze or other problems that make it impossible to restore the super-speed USB terminal device to normal working condition through the computer host during use of the super-speed USB terminal device, we can send specific instructions to the management interface through the digital diagnostic channel to the control interface of the super-speed USB terminal device itself or to the power supply circuit of the USB3.1 port connected to the super-speed USB 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 super-speed USB terminal device itself to obtain the fault status of the super-speed USB terminal device.
[0038] Before the initial connection between the USB3.1 optical fiber transmitter and the USB3.1 optical fiber receiver is established, the MCU control unit of the USB3.1 optical fiber receiver 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 optical fiber receiver, modulates and outputs the RS232 optical signal, and the SFP_LOS output pin of the digital diagnostic channel of the USB3.1 optical fiber transmitter outputs the RS-232 serial data, and 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 optical fiber transmitter, 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 at the USB3.1 optical fiber transmitting end 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 read optical module indicators back to the serial port signal input pin LOS_232_RXD of the MCU control unit at the USB3.1 optical fiber transmitting end 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 end; for the optical module indicators of the USB3.1 optical fiber transmitting end, we can send digital diagnostic request instructions to the MCU control unit of the USB3.1 optical fiber transmitting end through the management interface on the computer host end to directly obtain them; these two methods can realize digital diagnostic management of SFP+ optical modules; in addition, when the ultra-high-speed USB terminal device power supply at the USB3.1 optical fiber receiving end has an over-current fault, the MCU control unit will store this fault code, and the stored fault code will not be cleared until the over-current fault is resolved. When we find that the device is not working properly, we can send digital diagnostic request instructions to the MCU control unit of the USB3.1 optical fiber receiving end through the management interface on the computer host end to obtain the ultra-high-speed USB terminal device fault code.
[0039] The beneficial effects of the present invention are as follows: a USB3.1 HUB is provided which supports long-distance transmission between various ultra-high-speed USB terminal devices and computers based on optical fiber transmission, the transmission distance can reach 300 meters to 400 meters, and multi-mode 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, and the length of the optical fiber can be wired according to actual needs; not only can various ultra-high-speed USB terminal devices be connected to the host, but also the status monitoring of the SFP+ optical module and the remote operation of the ultra-high-speed USB terminal device can be realized through a digital diagnostic circuit, and the data transmitted by the present invention is in the native USB3.1 data format, and the USB3.1 host controller, USB3.1 The native USB3.1 data sent by the HUB main control chip and the ultra-high-speed USB 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.1 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
[0040] Figure 1 It is a block diagram of the system application principle of the present invention.
[0041] Figure 2 It is a principle block diagram of the USB3.1 optical fiber transmitting end of the present invention.
[0042] Figure 3 It is a principle block diagram of the USB3.1 HUB main control chip at the USB3.1 optical fiber transmitting end of the present invention.
[0043] Figure 4 It is the USB3.1 optical fiber transmitting end Rx_DET simulated load of the present invention.
[0044] Figure 5 It is a USB3.1 optical fiber transmitting end SFP+ optical module of the present invention.
[0045] Figure 6 It is a USB3.1 optical fiber transmitting end MCU control unit of the present invention.
[0046] Figure 7 It is a USB3.1 optical fiber transmitting end power supply unit of the present invention.
[0047] Figure 8 It is the USB3.1 optical fiber sending end management interface of the present invention.
[0048] Fig. 9This is a principle block diagram of the USB3.1 optical fiber receiving end of the present invention.
[0049] Fig.10 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.
[0050] Fig.11 It is the USB3.1 optical fiber receiving end Rx_DET simulated load of the present invention.
[0051] Fig.12 It is a USB3.1 optical fiber receiving end SFP+ optical module of the present invention.
[0052] Fig.13 It is a USB3.1 optical fiber receiving end MCU control unit of the present invention.
[0053] Fig.14 It is a USB3.1 optical fiber receiving end power supply unit of the present invention.
[0054] Fig.15 It is the USB3.1 optical fiber receiving end management interface of the present invention. DETAILED DESCRIPTION
[0055] 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.
[0056] The present invention is a USB3.1 HUB based on optical fiber transmission for long-distance transmission; Figure 1As shown, one end of the USB3.1 optical fiber transmitting end 1 is connected to the USB3.1 main controller 3 of the computer host through a USB3.1 cable, and the other end is connected to the USB3.1 optical fiber receiving end 2 through an optical fiber; one end of the USB3.1 optical fiber receiving end 2 is connected to the USB3.1 optical fiber transmitting end 1 through an optical fiber, and the downstream interface of the USB3.1 optical fiber receiving end 2 can be simultaneously connected to a USB3.0 mobile hard disk, a USB3.0 camera, a USB3.0 printer and other standard USB3.1 terminal devices 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. 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 main controller, the USB3.1 HUB main control chip and the ultra-high-speed USB 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.1 standard can be connected normally.
[0057] Reference Figure 2-8 , detailed description of USB3.1 optical fiber transmitter 1.
[0058] like Figure 2 As shown, the USB3.1 optical fiber transmitter 1 includes a USB3.1 upstream interface 11, a USB3.1 HUB main control chip 12, an Rx_DET simulated load 13, an SFP+ optical module 14, a power supply unit 15, an MCU control unit 16, an LED indication circuit 17, a management interface circuit 18, and a FLASH chip 19.
[0059] 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.
[0060] The connection between the USB3.1 HUB main control chip 12 and other circuits: the FLASH data bus 1212 is connected to the external FLASH chip 19; the upstream interface U3H_RX+ / - differential pair 1213 and U3H_TX+ / - differential pair 1214 are connected to the USB3.1 upstream interface 11; the USB3-TX1+ / - differential pair 1222 of the downstream port 1 is connected to the high-speed differential signal input terminal 131 of the RX_DET simulated load 13; the high-speed differential signal output terminal 132 of the RX_DET simulated load 13 is connected to the TX+ / - input terminal 146 of the SFP+ optical module 14, The USB3-RX1+ / - differential pair 2223 of the downstream port 1 is connected to the RX+ / - output terminal 147 of the SFP+ optical module 14; the USB3.1 upstream interface power supply voltage VBUS monitoring signal VBUS_DET input pin 1215 is connected to the VBUS control signal VBUS_DET output pin 1634 of the MCU control unit; the reset signal RST_USB input 1216 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 1633 of the MCU control unit 16 on the other hand. The signal connection of this part is explained in other circuit descriptions and will not be described in detail here.
[0061] Connection between the pins of the SFP+ optical module 14 and other circuits: the I2C bus clock signal SFP_SCL pin 141 is connected to the clock signal SFP_SCL pin 1611 of the MCU control unit 16, and the I2C bus data signal SFP_SDA pin 142 is connected to the data signal SFP_SDA pin 1612 of the MCU control unit 16; the transmission shutdown signal SFP_TxDisable input pin 143 of the SFP+ optical module 14 is connected to the SFP_TxDisable output pin 1613 of the MCU control unit 16; the transmission fault indication SFP_TxFault output pin 144 of the SFP+ optical module 14 is connected to the SFP_TxFault input pin 1614 of the MCU control unit 16; the insertion detection pin 143 of the SFP+ optical module 14 is connected to the SFP_TxDisable output pin 1613 of the MCU control unit 16; The SFP+ optical module 14's transmission fault indication SFP_TxFault output pin 144 is connected to the SFP_TxFault input pin 1614 of the MCU control unit 16; the SFP+ optical module 14's no-light alarm signal LOS output pin 145 is connected to the LOS input pin 1615 and LOS_232_RXD input pin 1638 of the MCU control unit 16; the SFP+ optical module 14's optical module plug-in detection signal MOD_IN output pin 148 is connected to the MOD_IN input pin 1616 of the MCU control unit 16. The SFP+ optical module 14's optical transmission circuit power supply input SFP_VCCT pin 149 is connected to the optical module optical transmission circuit power supply SFP_VCCT output pin 1522 of the power supply unit 15; the SFP+ optical module 14's optical receiving circuit power supply input SFP_VCCR pin 140 is connected to the optical module optical receiving circuit power supply SFP_VCCR output pin 1523 of the power supply unit 15. The signal connection of this part is described in other circuit descriptions and will not be described in detail here.
[0062] Connection between the power supply unit 15 and other circuits: the external power supply EXT_5V pin 1515 is connected to the external power supply; the USB bus power supply USB_5V pin 1516 is connected to the power output pin of the USB bus power supply chip, preferably, the chip model is SP2525A-2E, and the chip outputs voltage when the enable pin of the chip is low; the USB bus power supply detection signal USB_PWR_DET output pin 1511 is connected to the USB bus power supply detection signal USB_PWR_DET input pin 1636 of the MCU control unit 16; The USB bus power supply chip enable signal PWR_SW input pin 1512 is connected to the enable PWR_SW output pin 1632 of the USB bus power supply chip of the MCU control unit 16. When PWR_SW is at a low level, the USB bus power supply chip outputs a power supply voltage; the USB bus power supply chip current overload signal USB_PWR_FL output pin 1513 is connected to the current overload signal USB_PWR_FL input pin 1637 of the USB bus power supply chip of the MCU control unit 16; when there is no external power supply, USB_PWR_DET keeps outputting a low level, and the PWR_SW of the MCU control unit 16 outputs a low level enable signal to the PWR_SW input of the power supply unit 15. At this time, the USB bus power supply chip outputs a power supply voltage; when there is an external power supply, USB_PWR_DET keeps outputting a high level, and the PWR_SW of the MCU control unit 16 outputs a high The level enable signal is given to the PWR_SW input of the power supply unit 15. At this time, the USB bus power supply chip does not work, and the entire circuit is powered by an external power supply; the MCU control unit 16 power supply VCC_MU output pin 1524 is connected to the power supply VCC_MCU input pin 1631 of the MCU control unit 16, the positive electrode of a diode inside the power supply unit is connected to EXT_5V, the negative electrode of the diode is connected to VCC_MU, the positive electrode of another diode is connected to USB_5V, and the negative electrode of the diode is connected to VCC_MU, the MCU control unit 16 draws power from the USB interface and the external power supply at the same time, and the power supply of the MCU control unit 16 is supplied first, that is, it is not affected by the power supply switching circuit; the management interface 18 power supply VCC_CMI output pin 1525 is connected to the power supply VCC_CMI input pin 182 of the management interface 18; the power supply VCC_HUB output pin 1526 of the power supply unit 15 is connected to the USB3.1 The power supply VCC_HUB input pin 1211 of the HUB main control chip 12; the power supply enable signal SFP_PWR_EN input pin 1514 of the SFP+ optical module 14 is connected to the SFP_PWR_EN output pin 1635 of the MCU control unit 16. The signal connection of this part is explained in other circuit descriptions and will not be described in detail here.
[0063] The connection between the management interface 18 and other circuits: The management interface 18 has two USB2.0 signal inputs, and the two signals can be switched automatically. One USB2.0 signal USB2.0_A+ / - input port 180 is connected to the external USB2.0 host controller, and the other USB2.0 signal USB2.0_B+ / - input port 181 is connected to the USB2.0 signal USB2-4+ / - differential pair 1224 of the downstream port 4 of the USB3.1 HUB main control chip 12, through the USB2.0 to An RS-232 conversion chip is used to add an RS-232 management serial port to the PC host; the serial port data transmission RS232_TXD pin 184 of the management interface 18 is connected to the CMI_RS232_RXD input pin 1617 of the MCU control unit 16; the serial port data reception RS232_RXD pin 183 of the management interface 18 is connected to the CMI_RS232_TXD input pin 1616 of the MCU control unit 16. The signal connection of this part is explained in other circuit descriptions and will not be described in detail here.
[0064] The MCU control unit 16 has an online programming and upgrade interface, ISP_RS232_TXD output pin 2643 is connected to the RXD of the RS-232 interface of the computer host; ISP_RS232_RXD output pin 2644 is connected to the TXD of the RS-232 interface of the computer host. The signal connection of this part is explained in other circuit descriptions and will not be described in detail here.
[0065] Reference Figure 9-15 , detailed description of USB3.1 optical fiber receiving end 2.
[0066] like Fig. 9 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.
[0067] 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.
[0068] 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.
[0069] 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 insertion detection pin 243 of the SFP+ optical module 24 is connected to the SFP_TxDisable output pin 2613 of the MCU control unit 26; The SFP+ optical module 24's transmission fault indication SFP_TxFault output pin 244 is connected to the SFP_TxFault input pin 2614 of the MCU control unit 26; the SFP+ optical module 24's no-light alarm signal LOS output pin 245 is connected to the LOS input pin 2615 and LOS_232_RXD input pin 2616 of the MCU control unit 26; the SFP+ optical module 24's optical module plug-in detection signal MOD_IN output pin 248 is connected to the MOD_IN input pin 2617 of the MCU control unit 26. The SFP+ optical module 24's optical transmission circuit power supply input SFP_VCCT pin 249 is connected to the optical module optical transmission circuit power supply SFP_VCCT output pin 2522 of the power supply unit 25; the SFP+ optical module 24's optical receiving circuit power supply input SFP_VCCR pin 240 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 described in other circuit descriptions and will not be described in detail here.
[0070] 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.
[0071] 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.
[0072] 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.
[0073] The following describes in detail a specific implementation of an automatic negotiation method for optical fiber communication between a USB 3.1 optical fiber transmitter and a USB 3.1 optical fiber receiver.
[0074] The method for automatic negotiation of optical fiber communication between a USB3.1 optical fiber transmitting end and a USB3.1 optical fiber receiving end is to solve the problem of an ultra-high-speed USB 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 and off, and restart during the process of transmitting USB3.1 data using optical fiber by using single-chip computer programming technology and formulating relevant communication rules.
[0075] USB3.1 fiber optic communication is a full-duplex bidirectional communication. It can use two-core optical fiber or use single-core optical fiber based on 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 SFP+ optical module 14 of the USB3.1 fiber optic transmitter 1 are connected to the optical transmitter and receiver of the SFP+ optical module 24 of the USB3.1 fiber optic receiver 2 at the same time; the second is that the USB3.1 fiber optic transmitter 1 The optical transmitter of the SFP+ optical module 14 of the USB3.1 optical fiber receiving end 2 first establishes a connection with the optical receiver of the SFP+ optical module 24 of the USB3.1 optical fiber receiving end 2, and further, the optical receiver of the SFP+ optical module 14 of the USB3.1 optical fiber transmitting end 1 establishes a connection with the optical transmitter of the SFP+ optical module 24 of the USB3.1 optical fiber receiving end 2; the third is that the optical receiver of the SFP+ optical module 14 of the USB3.1 optical fiber transmitting end 1 first establishes a connection with the optical transmitter of the SFP+ optical module 24 of the USB3.1 optical fiber receiving end 2, and further, the optical transmitter of the SFP+ optical module 14 of the USB3.1 optical fiber transmitting end 1 establishes a connection with the optical receiver of the SFP+ optical module 24 of the USB3.1 optical fiber receiving end 2.
[0076] If the fiber optic connection is interrupted due to fiber damage or manual pulling out of the fiber optic, and it is necessary to reconnect the fiber optic connection, the computer host and the USB3.1 HUB main control chip 22 of the remote USB3.1 fiber optic receiving end 2 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, at this time, if the USB3.1 HUB main control chip 22 of the USB3.1 fiber optic receiving end 2 has not yet exited the ultra-high-speed link state, when the first and third situations occur, the downstream interface of the USB3.1 HUB main control chip 12 of the USB3.1 fiber optic transmitting end 1 receives not the LFPS data signal, but the ultra-high-speed data packet, which will cause the negotiation to fail, causing the computer connected to the USB3.1 main controller 3 port of this USB3.1 fiber optic transmitting end 1 to freeze, thereby failing to identify the USB3.1 HUB main control chip 12 of the USB3.1 fiber optic transmitting end 1, the USB3.1 HUB main control chip 22 of the USB3.1 fiber optic receiving end 2 and the external ultra-high-speed USB terminal device.
[0077] During the communication process, the USB3.1 optical fiber transmitter 1 and the USB3.1 optical fiber receiver 2 often encounter the computer host shutting down, restarting, and restarting after the computer host has been shut down for a long time. This will face a serious problem: when the computer host re-enters the operating system, the USB3.1 optical fiber transmitter 1 and the USB3.1 optical fiber receiver 2 often fail to connect with the computer host. The computer host may prompt that the USB3.1 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 optical fiber transmitter 1 and the USB3.1 optical fiber receiver 2 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 USB3.1 host controller 3 of the computer host should be in a low-speed communication mode with the USB3.1 optical fiber transmitter 1, but the actual USB3.1 host controller 3 of the computer host first receives the ultra-high-speed data packet sent by the USB3.1 optical fiber transmitter 1, which causes the negotiation between the two to fail, and the computer host cannot find all the ultra-high-speed USB terminal devices connected to the USB3.1 host controller 3.
[0078] 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 transmitter and the USB3.1 optical fiber receiver: no matter when, the optical receiver of the SFP+ optical module 14 of the USB3.1 optical fiber receiver 1 always receives the optical signal before the optical receiver of the SFP+ optical module 24 of the USB3.1 optical fiber transmitter 2; after the optical fiber connection of the optical receiver of the USB3.1 optical fiber receiver 1 is interrupted, the MCU control unit 16 sends an output control instruction to disconnect the upstream interface link of the USB3.1 HUB main control chip 22, and the USB3.1 HUB main control chip 22 enters the standby state, and the optical transmitter of the SFP+ optical module 24 of the USB3.1 optical fiber receiver 2 is in the transmission disabled state, and no optical signal is sent out at all. Even if the optical fiber is reconnected normally, the USB3.1 of the USB3.1 optical fiber receiver 2 The HUB main control chip 22 will also be in the transmission disabled state before the link initialization is completed; after the optical fiber is disconnected, the optical receiver of the USB3.1 optical fiber transmitting end 1 cannot receive the optical signal, and the MCU control unit 16 sends an output control instruction to interrupt the link connection between the USB3.1 upstream interface of the USB3.1 optical fiber transmitting end 1 and the USB3.1 main controller 3 of the computer host; when the optical receiver of the USB3.1 optical fiber receiving end 2 is reconnected with the optical fiber, the MCU control unit 26 sends an output control instruction to make the USB3.1 HUB main control chip 22 enter the normal working state, initialize the chip link state, and the USB3.1 The Tx output end of the upstream interface of the HUB main control chip 22 outputs the LFPS signal, and the MCU control unit 26 sends an output control instruction to put the optical transmitter of the SFP+ optical module 24 of the USB3.1 optical fiber receiving end 2 in the transmission enabled state, and normally sends out the LFPS optical signal. After the optical receiver of the USB3.1 optical fiber transmitting end 1 receives the LFPS optical signal, the MCU control unit 16 sends an output control instruction to connect the USB3.1 upstream interface of the USB3.1 optical fiber transmitting end 1 with the link of the USB3.1 main controller 3 of the computer host, and re-negotiate the LFPS with the computer host until the communication connection is normal; when the computer host is shut down, the USB3.1 optical fiber transmitting end circuit can monitor the link status with the USB3.1 main controller of the computer host, and the MCU control unit will output corresponding control instructions according to the link status of the USB3.1 optical fiber transmitting end and the USB3.1 main controller of the computer host, so that the communication link between the USB3.1 upstream interface of the USB3.1 optical fiber transmitting end and the computer host is in a disconnected state, and the USB3.1 of the USB3.1 optical fiber transmitting end The HUB main control chip will enter the standby state and send the LFPS negotiation signal to the USB3.1 main control chip at the USB3.1 optical fiber receiving end, so that both are in the standby state; when the computer host shuts down, restarts, or restarts after shutting down, the USB3.1 optical fiber sending end circuit 1 can monitor the connection with the computer host USB3.1 main controller 3, the MCU control unit 16 of the USB3.1 optical fiber transmitter 1 will output corresponding control instructions according to the link status with the computer host USB3.1 main controller 3, so that the USB3.1 upstream interface of the USB3.1 optical fiber transmitter 1 is in a correct connection state with the computer host. When the computer USB3.1 main controller 3 initiates LFPS negotiation, the MCU control unit 16 of the USB3.1 optical fiber transmitter 1 connects the USB3.1 upstream interface of the USB3.1 optical fiber transmitter 1 with the link of the computer host USB3.1 main controller 3, and sends a LFPS signal to the computer host for communication negotiation until the communication connection is normal; after the USB3.1 optical fiber transmitter 1 communicates normally with the computer host, the USB3.1 HUB main control core 12 of the USB3.1 optical fiber transmitter 1 will send a LFPS negotiation signal to the USB3.1 main control chip 22 of the USB3.1 optical fiber receiving end 1 until the communication connection is normal. .
[0079] The data stream of the ultra-high-speed USB terminal device specified in the USB3.1 standard must be encoded into an ultra-high-speed data stream for transmission during the communication process. Since the USB3.1 standard does not reserve some low-speed IO channels, in order to ensure compatibility and universal applicability, the optical fiber transmission device will not re-encode and decode USB3.1 during the USB3.1 optical fiber communication process, but will only perform electrical-optical-electrical conversion on the received USB3.1 electrical signal. The optical fiber transmission device will not add any additional data to the data stream, and the USB3.1 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 hardware circuit of USB3.1. Therefore, the present invention is based on this practical application and proposes a method for digital diagnosis of USB3.1 optical fiber transmitter and USB3.1 optical fiber receiver and remote control of ultra-high-speed USB terminal devices.
[0080] The following describes in detail a specific implementation of a method for digitally diagnosing a USB 3.1 optical fiber transmitter and a USB 3.1 optical fiber receiver and remotely controlling an ultra-high-speed USB terminal device.
[0081] The method for digitally diagnosing a USB3.1 optical fiber transmitting end 1 and a USB3.1 optical fiber receiving end 2 and remotely controlling an ultra-high-speed USB 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 ultra-high-speed USB terminal device or the control interface of the ultra-high-speed USB terminal device itself, and digitally diagnoses and manages the power supply status of the SFP+ optical module and the terminal device.
[0082] 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.1 link communicates normally. The digital diagnostic channel will only work before the initial connection between the USB3.1 optical fiber transmitter and the USB3.1 optical fiber receiver is established, when the ultra-high-speed USB terminal device fails, and when it is manually controlled, and the operator can perform corresponding management operations on both the computer and USB3.1 device ends.
[0083] When we occasionally encounter a device freeze or other problems that make it impossible to restore the super-speed USB terminal device to normal working condition through the computer host during use of the super-speed USB terminal device, we can send specific instructions to the management interface through the digital diagnostic channel to the control interface of the super-speed USB terminal device itself or to the power supply circuit of the USB3.1 port connected to the super-speed USB 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 super-speed USB terminal device itself to obtain the fault status of the super-speed USB terminal device.
[0084] Before the initial connection between the USB3.1 optical fiber transmitter and the USB3.1 optical fiber receiver is established, the MCU control unit 26 of the USB3.1 optical fiber receiver 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 optical fiber receiver 1, modulates and outputs the RS232 optical signal, and the SFP_LOS output pin 145 of the digital diagnostic channel of the USB3.1 optical fiber transmitter 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 optical fiber transmitter 1, and is sent to the computer host 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 to connect to the SFP_Tx_Disable input pin 243 of the SFP+ optical module 24. The RS232 conversion circuit converts the instruction into an RS-232 signal. The RS-232 sends a digital diagnosis 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 transmitting end 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 diagnosis 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 transmitting end 1 through the digital diagnosis 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 RS232_RXD input pin 85 of the management interface 18 through the USB2.0 to RS232 conversion is sent to the computer host end; for the optical module indicators of USB3.1 optical fiber transmitter 1, we can send digital diagnostic request instructions to the MCU control unit of USB3.1 optical fiber transmitter 1 through the management interface 18 on the computer host end to directly obtain them; these two methods can realize digital diagnostic management of SFP+ optical modules; in addition, when the ultra-high-speed USB terminal device power supply of USB3.1 optical fiber receiver 2 has an overcurrent fault, the MCU control unit 22 will store this fault code, and the stored fault code will not be cleared 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 USB3.1 optical fiber transmitter 1 through the management interface 18 on the computer host end.1 The MCU control unit 22 of the optical fiber receiving end 2 obtains the ultra-high-speed USB terminal device fault code. .
[0085] 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 HUB based on optical fiber long-distance transmission, characterized by: It includes a USB3.1 optical fiber transmitter and a USB3.1 optical fiber receiver, which conform to the latest USB3.1 Gen2 standard, with a communication rate of up to 10Gbps, and is backward compatible with USB3.0 and USB3.1 Gen1 standards. The two communicate through an automatic negotiation rule for optical fiber communication between the USB3.1 optical fiber transmitter and the USB3.1 optical fiber receiver. At any time, the optical receiver of the SFP+ optical module of the USB3.1 optical fiber receiver always receives the optical signal before the optical receiver of the SFP+ optical module of the USB3.1 optical fiber transmitter. The USB3.1HUB at the USB3.1 optical fiber receiver can connect four ultra-high-speed USB terminal devices at the same time. Adopting SFP+ optical module with hot-swappable function, operators can choose the appropriate length of optical fiber for wiring according to actual needs; A USB3.1 HUB based on optical fiber long-distance transmission will not add any additional data to the original data stream during the transmission of USB3.1 signals. The USB3.1 signal is transparent during the optical fiber transmission process, and all ultra-high-speed USB terminal devices that meet the USB3.1 standard can be connected normally; A USB3.1 HUB based on optical fiber long-distance transmission has a low-speed bidirectional RS-232 transmission channel formed by the combination of the transmission shutdown control input pin and the light-free alarm signal output pin of the SFP+ optical module at the USB3.1 optical fiber transmitting end and the USB3.1 optical fiber receiving end. A digital diagnostic channel is composed of the low-speed bidirectional RS-232 transmission channel, the MCU control unit and the management interface. The operator can realize remote diagnostic management and remote control functions through the digital diagnostic channel of the USB3.1 optical fiber transmitting end and the USB3.1 optical fiber receiving end.
2. A USB3.1 HUB based on optical fiber long-distance transmission as claimed in claim 1, characterized in that: At the USB3.1 optical fiber transmitting end, there is a USB3.1 HUB to realize signal conditioning and communication negotiation control. The USB3.1 HUB chip model is VL820; at the USB3.1 optical fiber receiving end, there is a multi-port USB3.1 HUB that can connect four ultra-high-speed USB terminal devices at the same time and supports USB Type-C port output. The USB3.1HUB chip model is VL820.
3. A USB3.1 HUB based on optical fiber long-distance transmission as claimed in claim 1, characterized in that: There is an MCU control unit at both the USB3.1 fiber optic transmitter and the USB3.1 fiber optic receiver, which is used to realize digital diagnosis of the USB3.1 fiber optic transmitter and the USB3.1 fiber optic receiver, remote control of the ultra-high-speed USB terminal device, and automatic negotiation of communication between the USB3.1 fiber optic transmitter and the USB3.1 fiber optic receiver.
4. A USB3.1 HUB based on optical fiber long-distance transmission as claimed in claim 1, characterized in that: There is an Rx_DET simulated load at both the USB3.1 optical fiber transmitting end and the USB3.1 optical fiber receiving end, which is used to simulate the Rx_DET circuit at the Rx input end of the USB3.1 host controller downstream interface, and realize the conversion of USB3.1 electrical signals into optical signals for optical fiber communication using ordinary SFP+ optical modules.
5. A USB3.1 HUB based on optical fiber long-distance transmission as claimed in claim 1, characterized in that: There is an SFP+ optical module with hot-swappable function at both the USB3.1 optical fiber transmitting end and the USB3.1 optical fiber receiving end. The optical module can be flexibly replaced during use, and the operator can choose the appropriate optical fiber length for wiring according to actual needs.
6. A USB3.1 HUB based on optical fiber long-distance transmission as claimed in claim 1, characterized in that: There is a digital diagnostic channel consisting of a bidirectional RS-232 transmission channel, an MCU control unit, and a management interface. The management interface at the USB3.1 optical fiber transmitting end automatically switches the input USB2.0 signal as needed; the management interface at the USB3.1 optical fiber receiving end is connected to the USB2.0 interface of an external computer.
7. A USB3.1 HUB based on optical fiber long-distance transmission as claimed in claim 1, characterized in that: There is a management interface on both the USB3.1 fiber optic transmitter and the USB3.1 fiber optic receiver, which enables operators to perform digital diagnosis on the USB3.1 fiber optic transmitter and the USB3.1 fiber optic receiver and remotely control the ultra-high-speed USB terminal device on the computer host.
8. An automatic negotiation method for optical fiber communication between a USB3.1 optical fiber transmitter and a USB3.1 optical fiber receiver, characterized in that: At any time, 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 at the USB3.1 optical fiber transmitting end. After the optical fiber connection of the optical receiver at the USB3.1 optical fiber receiving end is interrupted, the MCU control unit will output a control instruction to disconnect the USB3.1 HUB main control chip upstream interface link, and the USB3.1 HUB main control chip will enter the standby state, and the optical transmitter of the SFP+ optical module at the USB3.1 optical fiber receiving end will be in the transmission prohibited state, and no optical signal will be sent out at all. Even if the optical fiber is reconnected normally, the USB3.0 HUB main control chip at the USB3.1 optical fiber receiving end will be in the transmission prohibited state before the link initialization is completed; after the optical fiber is disconnected, the optical receiver at the USB3.1 optical fiber transmitting end cannot receive the optical signal, and the MCU control unit will output a control instruction to disconnect the USB3.1 upstream interface at the USB3.1 optical fiber transmitting end from the USB3.1 main controller link of the computer host; when the optical receiver at the USB3.1 optical fiber receiving end is reconnected with the optical fiber, the MCU control unit will output a control instruction to make the USB3.0 HUB main control chip enter the normal working state, initialize the chip link state, and the USB3.1 The Tx output end of the upstream interface of the HUB main control chip outputs the LFPS signal, and the MCU control unit will output a control instruction to enable the optical transmitter of the SFP+ optical module at the USB3.1 optical fiber receiving end to be in the transmitting enabled state and send out the LFPS optical signal normally. After the optical receiver at the USB3.1 optical fiber transmitting end receives the LFPS optical signal, the MCU control unit will output a control instruction to connect the link between the USB3.1 upstream interface of the USB3.1 optical fiber transmitting end and the USB3.1 main controller of the computer host, and re-negotiate the LFPS with the computer host until the communication connection is normal; when the computer host is shut down, the USB3.1 optical fiber transmitting end circuit can monitor the link status with the USB3.1 main controller of the computer host, and the MCU control unit will output corresponding control instructions according to the link status between the USB3.1 optical fiber transmitting end and the USB3.1 main controller of the computer host, so that the communication link between the USB3.1 upstream interface of the USB3.1 optical fiber transmitting end and the computer host is disconnected, and the USB3.0 HUB main control chip at the USB3.1 optical fiber transmitting end enters the standby state and sends a signal to the USB3. .1 optical fiber receiving end of the USB3.1 main control chip sends LFPS negotiation signal, so that both are in standby state; when the computer host is shut down, restarted, or restarted after shutting down, the USB3.1 optical fiber transmitting end circuit can monitor the link status with the computer host USB3.1 main controller, the USB3.1 optical fiber transmitting end of the MCU control unit will output the corresponding control instruction according to the link status with the computer host USB3.1 main controller, so that the USB3.1 optical fiber transmitting end USB3.1 upstream interface and the computer host are in the correct connection state, when monitoring the computer USB3.1.After the host controller initiates LFPS negotiation, the MCU control unit of the USB3.1 optical fiber transmitter connects the USB3.1 upstream interface of the USB3.1 optical fiber transmitter to the link of the USB3.1 host controller of the computer host, and sends a LFPS signal to the computer host for communication negotiation until the communication connection is normal; After the USB3.1 optical fiber transmitter communicates normally with the computer host, the USB3.0 HUB main control chip at the USB3.1 optical fiber transmitter will send an LFPS negotiation signal to the USB3.1 main control chip at the USB3.1 optical fiber receiver until the communication connection is normal.
9. A method for digital diagnosis of a USB3.1 optical fiber transmitter and a USB3.1 optical fiber receiver and remote control of an ultra-high-speed USB terminal device, characterized in that: The computer host uses the management interface to form a low-speed bidirectional RS-232 transmission channel, an MCU control unit, and a digital diagnostic channel composed of a combination of a transmission shutdown control input pin and a lightless alarm signal output pin of an SFP+ optical module at a USB3.1 optical fiber transmitting end and a USB3.1 optical fiber receiving end, and realizes the control of the power supply circuit of a remote ultra-high-speed USB terminal device and sends control instructions to the control interface of the ultra-high-speed USB 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 at the computer host end to obtain the ultra-high-speed USB terminal device fault code; 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 transmitting end and the USB3.1 optical fiber receiving end is established, when the ultra-high-speed USB terminal device fails, and when it is manually controlled, and the operator can perform corresponding management operations at both the computer end and the USB3.1 device end; the specific steps of the method are as follows: at the USB3.1 optical fiber transmitting end and the USB3.1 optical fiber receiving end, the ultra-high-speed USB terminal device fails, and when it is manually controlled. .1 Before the initial connection is established at the optical fiber receiving end, the MCU control unit at the USB3.1 optical fiber receiving end reads the optical module indicators such as the transmitted optical power, laser bias current, receiving sensitivity, optical module supply voltage, operating temperature, fault condition, etc. 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 at the USB3.1 optical fiber 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 optical fiber transmitting end. 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 at the USB3.1 optical fiber transmitting end, and is sent to the computer host end after being processed by the MCU control unit; in addition, the operator also sends the RS-232 data to the computer host end through 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 at the USB3.1 optical fiber transmitting end 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 receiving end through the digital diagnostic channel.1 The serial port signal input pin LOS_232_RXD of the MCU control unit at the optical fiber transmitting end 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 optical fiber transmitting end, the operator can directly obtain them by sending a digital diagnosis request command to the MCU control unit of the USB3.1 optical fiber transmitting end through the management interface on the computer host; these two methods are used to realize the digital diagnosis management of the SFP+ optical module; in addition, when the power supply of the ultra-high-speed USB terminal device at the USB3.1 optical fiber receiving end generates 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 removed. When the operator finds that the device is not working properly, the operator sends a digital diagnosis request command to the MCU control unit of the USB3.1 optical fiber receiving end through the management interface on the computer host to obtain the ultra-high-speed USB terminal device fault code. .
