[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2024217169A1 - Usb isolation circuit, chip and apparatus, and usb device - Google Patents

Usb isolation circuit, chip and apparatus, and usb device Download PDF

Info

Publication number
WO2024217169A1
WO2024217169A1 PCT/CN2024/080282 CN2024080282W WO2024217169A1 WO 2024217169 A1 WO2024217169 A1 WO 2024217169A1 CN 2024080282 W CN2024080282 W CN 2024080282W WO 2024217169 A1 WO2024217169 A1 WO 2024217169A1
Authority
WO
WIPO (PCT)
Prior art keywords
module
uplink
differential
downstream
downlink
Prior art date
Application number
PCT/CN2024/080282
Other languages
French (fr)
Chinese (zh)
Inventor
李成
金文学
Original Assignee
德氪微电子(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN202320975511.XU external-priority patent/CN219958221U/en
Priority claimed from CN202320990406.3U external-priority patent/CN219958222U/en
Application filed by 德氪微电子(深圳)有限公司 filed Critical 德氪微电子(深圳)有限公司
Publication of WO2024217169A1 publication Critical patent/WO2024217169A1/en

Links

Definitions

  • the present disclosure relates to the field of isolation technology, and in particular to a USB isolation circuit, chip, device and USB equipment.
  • Isolation technology is needed in many places in the field of electronic technology, especially in scenarios where high-voltage equipment needs to be connected to low-voltage equipment, such as chargers, power adapters, device debuggers, battery management, etc.
  • a USB isolation chip By equipping it with a USB isolation chip, it can isolate the high voltage to prevent the high voltage of the device from hitting people or low-voltage equipment, thereby protecting personal safety and protecting the equipment from damage.
  • the existing isolation technologies are mainly magnetic inductive isolation (magnetic coupling) and capacitive coupling isolation (capacitive coupling). Since both magnetic coupling and capacitive coupling need to be charged and discharged, and charging and discharging require a process, it is difficult to improve the speed; in addition, the larger the volume, the slower the speed. If it is placed in a chip, the volume must be very small, and it is difficult to make the withstand voltage very high; in addition, the CMTI index refers to the degree of influence of the speed of change of the "ground” at both ends of the isolation on the operation of the isolator, and magnetic coupling and capacitive coupling are sensitive to the change of the "ground” at both ends of the isolation, so the CMTI index is also difficult to improve.
  • the technical problem to be solved by the present disclosure is to provide a USB isolation circuit, a chip, a device and a USB device, which can significantly improve key isolation indicators such as withstand voltage, CMTI and bandwidth.
  • the first technical solution adopted by the present disclosure is:
  • the USB isolation circuit includes: a first millimeter wave transceiver module, a second millimeter wave transceiver module, an upstream side and a downstream side;
  • the uplink side includes an uplink detection and control module and an uplink differential module;
  • the downlink side includes a downlink detection and control module and a downlink differential module;
  • the first millimeter wave transceiver module is respectively connected to the uplink detection and control module and the downlink detection and control module; the second millimeter wave transceiver module is respectively connected to the uplink differential module and the downlink differential module.
  • the first millimeter wave transceiver module includes a first millimeter wave transceiver module a and a first millimeter wave transceiver module b; the first millimeter wave transceiver module a is arranged in the downlink side, and the first millimeter wave transceiver module b is arranged in the uplink side;
  • the second millimeter wave transceiver module includes a second millimeter wave transceiver module a and a second millimeter wave transceiver module b; the second millimeter wave transceiver module a is arranged in the downlink side, and the second millimeter wave transceiver module b is arranged in the uplink side.
  • the uplink differential module includes an uplink differential output module and an uplink differential input module;
  • the downlink differential module includes a downlink differential output module and a downlink differential input module;
  • the uplink differential output module is respectively connected to the second millimeter wave transceiver module b and the uplink side detection and control module;
  • the uplink differential input module is respectively connected to the second millimeter wave transceiver module b and the uplink side detection and control module;
  • the downlink differential output module is respectively connected to the second millimeter wave transceiver module a and the downlink side detection and control module;
  • the downlink differential input module is respectively connected to the second millimeter wave transceiver module a and the downlink side detection and control module.
  • the uplink side further includes an uplink PU/PD module and an uplink interface
  • the downlink side further includes a downlink PU/PD module and a downlink interface
  • the uplink PU/PD module is respectively connected to the uplink detection and control module, the uplink differential input module, the uplink differential output module and the uplink interface; the downlink PU/PD module is respectively connected to the downlink detection and control module, the downlink differential input module, the downlink differential output module and the uplink interface. module and the downstream interface.
  • the uplink interface includes multiple;
  • the number of the second millimeter wave transceiver module, the uplink differential input module, the uplink differential output module, the downlink differential input module, the downlink differential output module and the downlink interface respectively corresponds to the number of the uplink interface
  • the second millimeter wave transceiver module is connected to the corresponding uplink interface through the corresponding uplink differential input module and the uplink differential output module respectively;
  • the second millimeter wave transceiver module is connected to the corresponding downlink interface through the corresponding downlink differential input module and the downlink differential output module respectively.
  • the second millimeter wave transceiver module is replaced by an uplink differential switch module located on the uplink side and a downlink differential switch module located on the downlink side;
  • the first millimeter wave transceiver module is respectively connected to the uplink detection and control module and the uplink differential module via the uplink differential switch module, and is respectively connected to the downlink detection and control module and the downlink differential module via the downlink differential switch module.
  • the first millimeter wave transceiver module includes a first millimeter wave transceiver module a and a first millimeter wave transceiver module b; the first millimeter wave transceiver module a is arranged in the downlink side, and the first millimeter wave transceiver module b is arranged in the uplink side;
  • the first millimeter wave transceiver module a is connected to the downlink differential switch module; the first millimeter wave transceiver module b is connected to the uplink differential switch module.
  • the uplink differential switch module includes an uplink Mux module and an uplink De-Mux module;
  • the downlink differential switch module includes a downlink Mux module and a downlink De-Mux module;
  • the uplink Mux module and the uplink De-Mux module are respectively connected to the first millimeter wave transceiver module b; the uplink Mux module and the uplink De-Mux module are both connected to the uplink side detection and control module and the uplink differential module;
  • the downlink Mux module and the downlink De-Mux module are respectively connected to the first millimeter wave transceiver module a; the downlink Mux module and the downlink De-Mux module are both connected to the downlink side detection and control module and the downlink differential module.
  • the uplink differential module includes an uplink differential output module and an uplink differential input module;
  • the downlink differential module includes a downlink differential output module and a downlink differential input module;
  • the uplink side also includes an uplink interface;
  • the downlink side also includes a downlink interface;
  • the uplink differential input module is respectively connected to the uplink Mux module, the uplink interface and the uplink detection and control module;
  • the uplink differential output module is respectively connected to the uplink De-Mux module, the uplink interface and the uplink detection and control module;
  • the downstream differential input module is respectively connected to the downstream Mux module, the downstream interface and the downstream side detection and control module; the downstream differential output module is respectively connected to the downstream De-Mux module, the downstream interface and the downstream side detection and control module.
  • the uplink interface includes multiple;
  • the number of the upstream differential input modules, the upstream differential output modules, the downstream differential input modules, the downstream differential output modules and the downstream interfaces respectively corresponds to the number of the upstream interfaces
  • the uplink differential input module and the uplink differential output module are respectively connected to the corresponding uplink interfaces;
  • the downstream differential input module and the downstream differential output module are respectively connected to corresponding downstream interfaces.
  • the uplink side further includes an uplink PU/PD module; the downlink side further includes a downlink PU/PD module;
  • the uplink PU/PD module is respectively connected to the uplink detection and control module and the uplink differential module; the downlink PU/PD module is respectively connected to the downlink detection and control module and the downlink differential module.
  • the uplink detection and control module is connected to the uplink differential module; the downlink detection and control module is connected to the downlink differential module.
  • the USB isolation chip integrates the above-mentioned USB isolation circuit.
  • a USB isolation device comprises the above-mentioned USB isolation circuit.
  • a USB device comprises the above-mentioned USB isolation circuit.
  • the interface is a USB2.0 interface or a USB1.x interface
  • the USB isolation circuit includes two interfaces, one of the interfaces is a USB2.0 interface or a USB1.x interface, and the other interface is a USB3.0 interface.
  • the beneficial effects of the present disclosure are: Different from the existing isolation technology using magnetic induction isolation and capacitive coupling isolation, which is difficult to achieve major breakthroughs in key indicators such as withstand voltage, CMTI and bandwidth, the present disclosure introduces millimeter wave isolation technology to achieve isolated transmission function, based on the fact that millimeter waves are insensitive to changes in the "ground" at both ends of the isolation, so the CMTI indicator can be greatly improved; based on the fact that the millimeter wave transceiver module does not require a charging and discharging process and the volume can be very small, it can also be significantly improved in speed, withstand voltage and bandwidth. Therefore, the USB isolation circuit, chip, device and USB device provided by the present disclosure can greatly improve key isolation indicators such as withstand voltage, CMTI and bandwidth.
  • FIG1 is a schematic diagram 1 of a USB isolation circuit according to an embodiment of the present disclosure
  • FIG2 is a second schematic diagram of a USB isolation circuit according to an embodiment of the present disclosure.
  • FIG3 is a third schematic diagram of a USB isolation circuit according to an embodiment of the present disclosure.
  • FIG4 is a schematic diagram 1 of a USB isolation circuit according to another embodiment of the present disclosure.
  • FIG5 is a second schematic diagram of a USB isolation circuit according to another embodiment of the present disclosure.
  • FIG6 is a third schematic diagram of a USB isolation circuit according to another embodiment of the present disclosure.
  • FIG7 is a fourth schematic diagram of a USB isolation circuit according to another embodiment of the present disclosure.
  • FIG8 is a schematic diagram of a USB isolation circuit according to another embodiment of the present disclosure.
  • FIG. 9 is a schematic diagram of a USB isolation circuit according to another embodiment of the present disclosure.
  • an embodiment of the present disclosure provides a USB isolation circuit, comprising: a first millimeter wave transceiver module 1, a second millimeter wave transceiver module 2, an upstream side 4 and a downstream side 3;
  • the upstream side 4 comprises an upstream side detection and control module 41 and an upstream differential module 42;
  • the downstream side 3 comprises a downstream side detection and control module 31 and a downstream differential module 32;
  • the first millimeter wave transceiver module 1 is respectively connected to the uplink detection and control module 41 and the downlink detection and control module 31; the second millimeter wave transceiver module 2 is respectively connected to the uplink differential module 42 and the downlink differential module 32.
  • the downstream detection and control module detects the input status of the downstream differential module in real time. If no device is connected, the system is in an unconnected state.
  • the downlink detection and control module When a device is connected, the downlink detection and control module transmits the status to the uplink detection and control module through the first millimeter-wave transceiver module. The uplink detection and control module then feeds back the connection status to the host through the uplink differential module and waits for the reset signal from the host. The host's reset signal is then transmitted to the downlink detection and control module through the first millimeter-wave transceiver module. The downlink detection and control module sends the reset signal to the connected device through the downlink differential module, thereby completing the device connection process.
  • the downlink detection and control module and the uplink detection and control module continue to implement
  • the interface signals of the differential modules connected to each other are detected at the same time, and the transmission direction of the communication data is determined by which side leaves the IDLE state first.
  • the downlink detection and control module first detects that the interface of the differential module has left the IDLE state, it will first transmit this status information to the uplink detection and control module through the first millimeter-wave transceiver module, and enable the data transmission function of the downlink differential module input to the second millimeter-wave transceiver module.
  • the uplink detection and control module After receiving the status information, the uplink detection and control module enables the data transmission function from the second millimeter-wave transceiver module to the output of the uplink differential module, thereby establishing a data transmission path from the downlink side to the uplink side; when the downlink detection and control module detects that the data transmission is completed, it transmits this status information to the uplink detection and control module, the uplink detection and control module turns off the output of the uplink differential module, and sets the interface of the uplink differential module to the IDLE state, and both sides begin to prepare for the next transmission.
  • the downlink detection and control module detects that the downlink differential module input is in an unconnected state, this state will be transmitted to the uplink detection and control module through the first millimeter wave transceiver module.
  • the uplink detection and control module will set the uplink differential module to an unconnected state, and the system will return to the device unconnected state.
  • this embodiment is based on the existing USB isolation circuit, and the magnetic inductive isolator or capacitive isolator therein is replaced by two millimeter wave transceiver modules, namely the first millimeter wave transceiver module 1 and the second millimeter wave transceiver module 2, and the isolation transmission function of the high and low voltage ends is realized based on the millimeter wave wireless communication technology.
  • the specific communication control and transmission methods do not need to be changed, and can be directly based on the existing USB communication protocol.
  • millimeter waves are insensitive to changes in the "ground” at both ends of the isolation, so the CMTI index can be greatly improved; the millimeter wave transceiver module does not require charging and discharging and the volume can be very small, so the speed, voltage resistance and bandwidth can also be significantly improved.
  • two millimeter wave transceiver modules are provided to be responsible for the transmission of detection/control signals and the transmission of communication data, respectively, so as to ensure the normal use of the USB transmission function.
  • the detection and control modules on the upstream side and the downstream side are used to detect the plugging and unplugging and transmission direction and control the opening of the corresponding channel (the communication transmission channel from the upstream side to the downstream side or the communication transmission channel from the downstream side to the upstream side); and the first millimeter wave transceiver module 1 is provided to connect the detection and control modules on the upstream side and the downstream side respectively to realize the transmission of detection/control signals; and the second millimeter wave transceiver module 2 is provided to connect the differential modules on the upstream side and the downstream side respectively to realize the transmission of communication data.
  • the upstream detection and control module 41 will be connected to the upstream differential module 42 ; the downstream detection and control module 31 will be connected to the downstream differential module 32 , so as to realize the control of the differential module by the detection and control module.
  • each millimeter wave transceiver module includes a millimeter wave receiving module and a millimeter wave transmitting module.
  • the first millimeter wave transceiver module 1 is specifically composed of a first millimeter wave transceiver module a (corresponding to the first millimeter wave transceiver module 1a shown in Figure 2) and a first millimeter wave transceiver module b (corresponding to the first millimeter wave transceiver module 1b shown in Figure 2), and are respectively arranged in the downlink side and the uplink side, and the first millimeter wave transceiver module a and the first millimeter wave transceiver module b are based on millimeter wave wireless communication;
  • the second millimeter wave transceiver module b is composed of a second millimeter wave transceiver module a (corresponding to the second millimeter wave transceiver module 2a shown in Figure 2) and a second millimeter wave transceiver module b (corresponding to the second
  • first millimeter wave transceiver module a and the second millimeter wave transceiver module a can be millimeter wave receiving modules or millimeter wave sending modules; accordingly, the first millimeter wave transceiver module b and the second millimeter wave transceiver module b are millimeter wave sending modules/millimeter wave receiving modules.
  • the uplink differential module 42 specifically includes an uplink differential output module 42-1 and an uplink differential input module 42-2; the downlink differential module 32 specifically includes a downlink differential output module 32-1 and a downlink differential input module 32-2; the uplink differential output module 42-1 is respectively connected to the second millimeter wave transceiver module b (corresponding to the second millimeter wave transceiver module 2b shown in FIG.
  • the uplink differential input module 42 -2 are respectively connected to the second millimeter wave transceiver module b (corresponding to the second millimeter wave transceiver module 2b shown in Figure 3) and the uplink side detection and control module 41;
  • the downlink differential output module 32-1 is respectively connected to the second millimeter wave transceiver module a (corresponding to the second millimeter wave transceiver module 2a shown in Figure 3) and the downlink side detection and control module 31;
  • the downlink differential input module 32-2 is respectively connected to the second millimeter wave transceiver module a (corresponding to the second millimeter wave transceiver module 2a shown in Figure 3) and the downlink side detection and control module 31.
  • the upstream side 4 further includes an upstream PU/PD module 43 and an upstream interface (corresponding to UD+/UD- in FIG. 3 );
  • the downstream side 3 further includes a downstream PU/PD module 33 and a downstream interface (corresponding to FIG. 3
  • the upstream interface UD+/UD- is connected to the USB2.0/1.xHost;
  • the downstream interface DD+/DD- is connected to the USB2.0/1.xDevice.
  • the uplink PU/PD module 43 is respectively connected to the uplink side detection and control module 41, the uplink differential input module 42-2, the uplink differential output module 42-1 and the uplink interface UD+/UD-;
  • the downlink PU/PD module 33 is respectively connected to the downlink side detection and control module 31, the downlink differential input module 32-2, the downlink differential output module 32-1 and the downlink interface DD+/DD-.
  • the uplink PU/PD module/the downlink PU/PD module is used to control the pull-up or pull-down of the differential interface according to the received control signal (from the uplink detection and control module/the downlink detection and control module);
  • the uplink differential input module/downlink differential input module is used to convert the interface differential signal into a single-ended signal
  • the uplink differential output module/downlink differential output module is used to convert the single-ended signal into a differential signal or output a high-impedance state according to the received signal;
  • the downstream detection and control module is used to detect the plugging and unplugging and transmission direction according to the status of the downstream interface DD+/DD- and the status information of the upstream side, and generate corresponding control signals to control the plugging and unplugging and transmission direction, and transmit the generated status signal to the upstream side through the first millimeter wave transceiver module;
  • the uplink detection and control module is used to detect the plugging and unplugging and transmission direction according to the status of the uplink interface UD+/UD- and the status information of the downlink side, and generate corresponding control signals to control the plugging and unplugging and transmission direction, and transmit the generated status signal to the downlink side through the first millimeter wave transceiver module;
  • the first millimeter wave transceiver module is used for transmitting control signals and status information through a wireless isolation channel
  • the second millimeter wave transceiver module is used for transmitting the wireless isolation channel of communication data.
  • the DD+ and DD- in the downstream interface are pulled down to 0 by the PU/PD module using a 15k ⁇ resistor;
  • the downstream interface DD+ or DD- When a device is connected, the downstream interface DD+ or DD- will be pulled up to 1 by the 1.5k ⁇ resistor of the connected device. (DD- is pulled up to 1 to indicate that the connected device is a low-speed device, and DD+ is pulled up to 1 to indicate that the connected device is a full-speed or high-speed device);
  • the downlink detection and control module transmits the status information of DD+ and DD- to the uplink detection and control module through the first millimeter wave transceiver module; the uplink detection and control module pulls up the corresponding UD+ or UD- in the uplink interface to 1 using a 1.5k ⁇ resistor through the uplink PU/PD module based on the received status information;
  • the upstream detection and control module waits for the reset signal from the host (UD+ and UD- are both pulled down to 0), and then transmits the reset signal to the downstream detection and control module through the first millimeter wave transceiver module.
  • the downstream detection and control module pulls down the DD+ and DD- of the downstream interface to 0 through the downstream PU/PD module, thereby generating a reset signal for the connected device, thereby completing the identification handshake process.
  • the connected device is a high-speed device, similar to the above steps, according to the high-speed handshake process specified in the USB2.0 protocol, the status information of DD+ and DD- of the downstream interface is passed to UD+ and UD- of the upstream interface, or the status information of UD+ and UD- of the upstream interface is passed to DD+ and DD- of the downstream interface, thereby completing the high-speed identification handshake process.
  • connection status and speed mode have been determined and remain unchanged.
  • the downlink detection and control module and the uplink detection and control module detect the status of their respective interfaces D+/D- in real time, and the transmission direction of the communication data is determined by which side first detects that D+/D- has left the IDLE state.
  • the downstream detection and control module Assuming that the downstream detection and control module first detects that D+/D- has left the IDLE state, it will first transmit this state information to the upstream detection and control module. After receiving the state information, the upstream detection and control module enables the upstream differential output module, thereby establishing data transmission in the direction of DD+/DD- to UD+/UD-, that is, the data transmission path from the downstream interface to the upstream interface; when the downstream detection and control module detects that the data transmission is completed, it transmits this state information to the upstream detection and control module. The upstream detection and control module turns off the upstream differential output module and sets the upstream interface UD+/UD- to the IDLE state, and both sides begin to prepare for the next transmission.
  • the device In low-speed or full-speed mode, if the downstream interface DD+ and DD- are detected to be 0 and exceed 2us, the device is considered to be disconnected; in high-speed mode, if the differential voltage of the downstream interface DD+/DD- is greater than 625mV, the device is considered to be disconnected; after detecting that the device is disconnected, the downstream interface DD+/DD- is pulled down to 0 through 15k ⁇ , and the pull-up resistor on the upstream interface UD+/UD- is removed, returning to the device unconnected state.
  • the uplink interface includes a plurality of
  • the number of the second millimeter wave transceiver module, the uplink differential input module, the uplink differential output module, the downlink differential input module, the downlink differential output module and the downlink interface respectively corresponds to the number of the uplink interface
  • the second millimeter wave transceiver module is connected to the corresponding uplink interface through the corresponding uplink differential input module and the uplink differential output module respectively;
  • the second millimeter wave transceiver module is connected to the corresponding downlink interface through the corresponding downlink differential input module and the downlink differential output module respectively;
  • the upstream interface includes two, and the upstream interface and its corresponding downstream interface constitute an interface 5; one of the interfaces 5 is a USB2.0 interface or a USB1.x interface, and the other interface 5 is a USB3.0 interface;
  • the interfaces 5 from top to bottom can be represented as DD+/DD- and DSSTX+/DSSTX-/DSSRX+/DSSRX- respectively;
  • the interfaces 5 from top to bottom can be represented as UD+/UD- and USSTX+/USSTX-/USSRX+/USSRX- respectively;
  • DD+/DD- and DSSTX+/DSSTX-/DSSRX+/DSSRX- are connected to USB3.0/2.0/1.xDevice
  • UD+/UD- and USSTX+/USSTX-/USSRX+/USSRX- upstream ports are connected to USB3.0/2.0/1.xHost;
  • the differential interface DD+/DD- or UD+/UD- is pulled up or down;
  • the plug-in and unplugging and transmission direction detection are performed, and corresponding control signals are generated to perform plug-in control.
  • the generated status signals are transmitted to the upstream side via millimeter waves;
  • the plugging and unplugging and transmission direction detection are performed, and corresponding control signals are generated to perform plugging and unplugging control.
  • the generated status signals are transmitted to the downstream side via millimeter waves;
  • DD+ and DD- are pulled down to 0 by the PU/PD module using a 15k ⁇ resistor; no termination resistor is detected on DSSTX+/DSSTX-;
  • the termination resistor When a USB3.0 device is connected, the termination resistor will be detected on DSSTX+/DSSTX-; when a USB2.0/1.x device is connected, DD+ or DD- will be pulled up to 1 by the device's 1.5k ⁇ resistor (DD- is pulled up to 1 to indicate that the connected device is a low-speed device, and DD+ is pulled up to 1 to indicate that the connected device is a full-speed or high-speed device);
  • the downlink detection and control module will transmit the status information of DD+/DD- and DSSTX+/DSSTX- to the uplink detection and control module through the first millimeter wave transceiver module 1a on the downlink side and the first millimeter wave transceiver module 1b on the uplink side.
  • the uplink detection and control module will connect a terminal on USSRX+/USSRX- Resistor, or pull the corresponding UD+ or UD- up to 1 using a 1.5k ⁇ resistor through the PU/PD module;
  • the upstream side and the downstream side respectively enable the second second millimeter wave transceiver module from top to bottom in Figure 8, that is, the DSSRX+/DSSRX- on the downstream side is directly connected to the USSTX+/USSTX- on the upstream side through the above second millimeter wave transceiver module, and the USSRX+/USSRX- on the upstream side is directly connected to the DSSTX+/DSSTX- on the downstream side through the above second millimeter wave transceiver module.
  • USB3.0 overspeed mode communication can be performed until the termination resistor is not detected on the DSSTX+/DSSTX- on the downstream side, and the upstream side and the downstream side return to the state where the device is not connected;
  • the upstream detection and control module waits for the reset signal from the host (UD+ and UD- are both pulled down to 0), and then transmits the reset signal to the downstream detection and control module through the first millimeter wave transceiver module 1a on the upstream side and the first millimeter wave transceiver module 1b on the downstream side.
  • the downstream detection and control module pulls DD+ and DD- down to 0 through the PU/PD module, thereby generating a reset signal for the connected device;
  • the connected device is a high-speed device, similar to steps 3 and 4, according to the high-speed handshake process specified in the USB2.0 protocol, the status of DD+ and DD- is transferred to UD+ and UD-, or the status of UD+ and UD- is transferred to DD+ and DD-, thereby completing the high-speed identification handshake process;
  • connection status and speed mode have been determined and remain unchanged
  • the downlink detection and control module and the uplink detection and control module detect the states of their respective D+/D- in real time.
  • the data transmission direction is determined by which side first detects that D+/D- changes from the IDLE state to the data transmission state. If the downlink detection and control module first detects that D+/D- leaves the IDLE state, it first transmits this information to the uplink detection and control module. After receiving the information, the uplink detection and control module enables the differential output module, thereby establishing data transmission in the direction of DD+/DD- to UD+/UD-. When the downlink detection and control module detects that the data transmission is completed, it transmits this information to the uplink detection and control module. The uplink detection and control module turns off the differential output and sets UD+/UD- to the IDLE state. Both sides begin to prepare for the next transmission.
  • DD+ and DD- are detected to be 0 and exceed 2us, the device is considered disconnected.
  • high-speed mode if the differential voltage of DD+/DD- is greater than 625mV, the device is considered disconnected. After detecting that the device is disconnected, DD+/DD- is pulled down to 0 through 15k ⁇ , and the pull-up resistor on UD+/UD- is removed, returning to the state where the device is not connected.
  • This implementation can achieve isolated transmission of USB3.0/2.0/1.x via millimeter waves.
  • the second millimeter wave transceiver module is replaced by an uplink differential switch module located on the uplink side and a downlink differential switch module located on the downlink side;
  • the first millimeter wave transceiver module is respectively connected to the uplink detection and control module and the uplink differential module via the uplink differential switch module, and is respectively connected to the downlink detection and control module and the downlink differential module via the downlink differential switch module;
  • an embodiment of the present disclosure provides a USB isolation circuit, comprising: a first millimeter wave transceiver module 1, an upstream side 4 and a downstream side 3;
  • the upstream side 4 comprises an upstream differential switch module 46, an upstream side detection and control module 41 and an upstream differential module 42;
  • the downstream side 3 comprises a downstream differential switch module 36, a downstream side detection and control module 31 and a downstream differential module 32;
  • the first millimeter wave transceiver module 1 is respectively connected to the uplink detection and control module 41 and the uplink differential module 42 via the uplink differential switch module 46 , and is respectively connected to the downlink detection and control module 31 and the downlink differential module 32 via the downlink differential switch module 36 .
  • the uplink detection and control module 41 will be connected to the uplink differential module 42; the downlink detection and control module 31 will be connected to the downlink differential module 32, so as to realize the detection and control module to detect and control the differential module.
  • the detection and control modules on the uplink side and the downlink side are used to generate corresponding control information to the differential switch module based on the received status information, so as to control the plug-in and transmission direction, and at the same time transmit the generated status information to the opposite side through millimeter waves; and by setting the first millimeter wave transceiver module 1 to be respectively connected to the detection and control modules on the uplink side and the downlink side, the transmission of detection/control signals is realized; the differential switch modules on the uplink side and the downlink side are used to select the signal from the differential module or from the detection and control module to transmit to the first millimeter wave transceiver module to the opposite side according to the signal input by the detection and control module, and output the signal from the first millimeter wave transceiver module to the differential module or the detection and control module.
  • the downstream detection and control module detects the input status of the downstream differential module in real time. If no device is connected, the system is in an unconnected state.
  • the downlink detection and control module When a device is connected, the downlink detection and control module transmits the status to the uplink detection and control module through the downlink differential switch module, the first millimeter wave transceiver module and the uplink differential switch module.
  • the side detection and control module then feeds back the connection status to the host through the uplink differential module and waits for the reset signal from the host; then the reset signal of the host is transmitted to the downlink side detection and control module through the uplink differential switch module, the first millimeter-wave transceiver module and the downlink differential switch module.
  • the downlink side detection and control module sends the reset signal to the connected device through the downlink differential module, thereby completing the device connection process.
  • the downstream detection and control module and the upstream detection and control module continue to detect the interface signals of the differential modules connected to them in real time, and the transmission direction of the communication data is determined by which side leaves the IDLE state first.
  • the downlink detection and control module Assuming that the downlink detection and control module first detects that the interface of the differential module has left the IDLE state, the status information is first transmitted to the uplink detection and control module through the downlink differential switch module, the first millimeter wave transceiver module and the uplink differential switch module, and the downlink differential switch module is selected to the downlink differential module.
  • the uplink detection and control module After receiving the status information, the uplink detection and control module enables the output function of the uplink differential module, thereby establishing a data transmission path from the downlink side to the uplink side; when the downlink detection and control module detects that the data transmission is completed, the downlink differential switch module is selected to the downlink detection and control module, and the status information is transmitted to the uplink detection and control module.
  • the uplink detection and control module turns off the output of the uplink differential module, and sets the interface of the uplink differential module to the IDLE state, and both sides begin to prepare for the next transmission.
  • the downlink detection and control module detects that the downlink differential module input is in an unconnected state, this state is transmitted to the uplink detection and control module through the downlink differential switch module, the first millimeter-wave transceiver module and the uplink differential switch module.
  • the uplink detection and control module sets the uplink differential module to an unconnected state, and the system returns to the device unconnected state.
  • this embodiment is based on the existing USB isolation circuit, and the magnetic inductive isolator or capacitive isolator therein is replaced by a group of millimeter wave transceiver modules, namely, the first millimeter wave transceiver module; at the same time, differential switch modules are respectively arranged on the upstream side and the downstream side to play a role in selecting channel conduction, thereby realizing the isolation transmission function of the high and low voltage ends based on the millimeter wave wireless communication technology, and the specific communication control and transmission mode do not need to be changed, and can be directly based on the existing USB communication protocol.
  • millimeter waves are insensitive to the changes of the "ground” at both ends of the isolation, so the CMTI index can be greatly improved;
  • the millimeter wave transceiver module does not require a charging and discharging process and can be made very small, so it can also be significantly improved in speed, voltage resistance and bandwidth.
  • this embodiment is provided with an uplink differential switch module and a downlink differential switch module on the uplink side and the downlink side respectively to play a role in selecting channel conduction, thereby realizing the millimeter wave isolation transmission function that can only be achieved by multiple groups of millimeter wave transceiver modules by only one group of millimeter wave transceiver modules, thereby effectively solving the crosstalk problem that may be caused by multiple groups of millimeter wave transceiver modules.
  • a group of millimeter-wave transceiver modules are provided to be responsible for the transmission of detection/control signals and communication data, thereby ensuring the normal use of the USB transmission function; and an upstream differential switch module and a downstream differential switch module are provided to play the role of selecting channel conduction, thereby achieving the millimeter-wave isolation transmission function that could only be achieved by multiple groups of millimeter-wave transceiver modules. Only one group of millimeter-wave transceiver modules can be used to achieve the function, thereby effectively solving the crosstalk problem that may be caused by multiple groups of millimeter-wave transceiver modules.
  • the first millimeter wave transceiver module 1 includes a millimeter wave receiving module and a millimeter wave sending module. Accordingly, the first millimeter wave transceiver module 1 is specifically composed of a millimeter wave transceiver module a (corresponding to the millimeter wave transceiver module 1a shown in Figure 5) and a millimeter wave transceiver module b (corresponding to the millimeter wave transceiver module 1b shown in Figure 5), and is respectively arranged in the downlink side and the uplink side.
  • the millimeter wave transceiver module a is connected to the downlink differential switch module 36; the millimeter wave transceiver module b is connected to the uplink differential switch module 46.
  • the millimeter wave transceiver module a and the millimeter wave transceiver module b communicate wirelessly based on millimeter waves. It can be understood that the above-mentioned millimeter wave transceiver module a can be a millimeter wave receiving module or a millimeter wave sending module; accordingly, the millimeter wave transceiver module b is a millimeter wave sending module/millimeter wave receiving module.
  • the uplink differential switch module 46 includes an uplink Mux module 46-1 and an uplink De-Mux module 46-2;
  • the downlink differential switch module 36 includes a downlink Mux module 36-1 and a downlink De-Mux module 36-2;
  • the uplink Mux module 46-1 and the uplink De-Mux module 46-2 are respectively connected to the millimeter wave transceiver module b (corresponding to the millimeter wave transceiver module 1b shown in Figure 6);
  • the uplink Mux module 46-1 and the uplink De-Mux module 46-2 are both connected to the uplink side detection and control module 41 and the uplink differential module 42;
  • the downlink Mux module 36-1 and the downlink De-Mux module 36-2 are respectively connected to the millimeter wave transceiver module a (corresponding to the millimeter wave transceiver module 1a shown in Figure 6);
  • the downlink Mux module 36-1 and the downlink De-Mux module 36-2 are both connected To the downstream detection and control module 31 and the downstream differential module 32
  • the downstream detection and control module detects the input status of the downstream differential module in real time. If no device is connected, the system is in an unconnected state.
  • the downstream detection and control module transmits the status to the upstream detection and control module through the downstream Mux module, the first millimeter-wave transceiver module and the upstream De-Mux module.
  • the upstream detection and control module then feeds back the connection status to the host through the upstream differential module and waits for the reset signal from the host; then the reset signal of the host is transmitted to the downstream detection and control module through the upstream Mux module, the first millimeter-wave transceiver module and the downstream De-Mux module.
  • the downstream detection and control module sends the reset signal to the connected device through the downstream differential module, thereby completing the device connection process.
  • the downstream detection and control module and the upstream detection and control module continue to detect the interface signals of the differential modules connected to them in real time, and the transmission direction of the communication data is determined by which side leaves the IDLE state first.
  • the downlink detection and control module Assuming that the downlink detection and control module first detects that the interface of the differential module has left the IDLE state, the status information is first transmitted to the uplink detection and control module through the downlink Mux module, the first millimeter wave transceiver module and the uplink De-Mux module, and the downlink Mux module is selected to the downlink differential module.
  • the uplink detection and control module After receiving the status information, the uplink detection and control module enables the output function of the uplink differential module, thereby establishing a data transmission path from the downlink side to the uplink side; when the downlink detection and control module detects that the data transmission is completed, the downlink Mux module is selected to the downlink detection and control module, and the status information is transmitted to the uplink detection and control module.
  • the uplink detection and control module turns off the output of the uplink differential module, and sets the interface of the uplink differential module to the IDLE state, and both sides begin to prepare for the next transmission.
  • the downlink side detection and control module detects that the downlink differential module input is in an unconnected state, this state is transmitted to the uplink side detection and control module through the downlink Mux module, the first millimeter wave transceiver module and the uplink De-Mux module.
  • the uplink side detection and control module sets the uplink differential module to an unconnected state, and the system returns to the device unconnected state.
  • the uplink differential module 42 specifically includes an uplink differential output module 42-1 and an uplink differential input module 42-2; the downlink differential module 32 specifically includes a downlink differential output module 32-1 and a downlink differential input module 42-2.
  • the uplink differential output module 42-1 is respectively connected to the uplink De-Mux module 46-2, the uplink interface and the uplink side detection and control module 41;
  • the uplink differential input module 42-2 is respectively connected to the uplink Mux module 46-1, the uplink interface and the uplink side detection and control module 41;
  • the downlink differential input module 32-2 is respectively connected to the downlink Mux module 36-1, the downlink interface and the downlink side detection and control module 31;
  • the downlink differential output module 32-1 is respectively connected to the downlink De-Mux module 36-2, the downlink interface and the downlink side detection and control module 31.
  • the upstream side 4 further includes an upstream PU/PD module 43 and an upstream interface (corresponding to UD+/UD- in FIG. 7 ); the downstream side 3 further includes a downstream PU/PD module 33 and a downstream interface (corresponding to DD+/DD- in FIG. 7 ).
  • the upstream interface UD+/UD- is connected to the USB2.0/1.xHost; the downstream interface DD+/DD- is connected to the USB2.0/1.xDevice.
  • the uplink PU/PD module 43 is respectively connected to the uplink side detection and control module 41, the uplink differential input module 42-2, the uplink differential output module 42-1 and the uplink interface UD+/UD-;
  • the downlink PU/PD module 33 is respectively connected to the downlink side detection and control module 31, the downlink differential input module 32-2, the downlink differential output module 32-1 and the downlink interface DD+/DD-.
  • the uplink PU/PD module/the downlink PU/PD module is used to control the pull-up or pull-down of the differential interface according to the received control signal (from the uplink detection and control module/the downlink detection and control module);
  • the uplink differential input module/downlink differential input module is used to convert the interface differential signal into a single-ended signal
  • the uplink differential output module/downlink differential output module is used to convert the single-ended signal into a differential signal or output a high-impedance state according to the received signal;
  • the uplink Mux module/downlink Mux module is used to select a signal from the corresponding differential input or detection and control module to the first millimeter wave transceiver module according to the selection signal output by the corresponding detection and control module;
  • the uplink De-Mux module/downlink De-Mux module is used to output the signal of the first millimeter wave transceiver module to the corresponding detection and control module or differential output module according to the special identifier in the output signal of the first millimeter wave transceiver module, wherein the special identifier can be a special waveform that does not appear in normal data, For example, narrow pulses, etc.
  • the downstream detection and control module is used to detect the plugging and unplugging and transmission direction according to the status of the downstream interface DD+/DD- and the status information of the upstream side, and generate corresponding control signals to control the plugging and unplugging and transmission direction, and transmit the generated status signal to the upstream side through the first millimeter wave transceiver module;
  • the uplink detection and control module is used to detect the plugging and unplugging and transmission direction according to the status of the uplink interface UD+/UD- and the status information of the downlink side, and generate corresponding control signals to control the plugging and unplugging and transmission direction, and transmit the generated status signal to the downlink side through the first millimeter wave transceiver module;
  • the first millimeter wave transceiver module is used for transmitting control signals, status information and a wireless isolation channel for communication data.
  • the DD+ and DD- in the downstream interface are pulled down to 0 by the PU/PD module using a 15k ⁇ resistor;
  • the downstream interface DD+ or DD- When a device is connected, the downstream interface DD+ or DD- will be pulled up to 1 by the 1.5k ⁇ resistor of the connected device (DD- is pulled up to 1 to indicate that the connected device is a low-speed device, and DD+ is pulled up to 1 to indicate that the connected device is a full-speed or high-speed device);
  • the downlink detection and control module transmits the status information of DD+ and DD- to the uplink De-Mux module through the downlink Mux module and the first millimeter wave transceiver module in sequence, and then outputs the received status signal to the uplink detection and control module; the uplink detection and control module pulls up the corresponding UD+ or UD- in the uplink interface to 1 using a 1.5k ⁇ resistor through the uplink PU/PD module based on the received status information;
  • the upstream detection and control module waits for the reset signal from the host (UD+ and UD- are both pulled down to 0), and then transmits the reset signal to the downstream De-Mux module through the upstream Mux module and the first millimeter-wave transceiver module in sequence, which then transmits the reset signal to the downstream detection and control module.
  • the downstream detection and control module pulls down the DD+ and DD- of the downstream interface to 0 through the downstream PU/PD module, thereby generating a reset signal for the connected device, thereby completing the identification handshake process.
  • the connected device is a high-speed device, similar to the above steps, according to the high-speed handshake process specified in the USB2.0 protocol, the status information of DD+ and DD- of the downstream interface is passed to UD+ and UD- of the upstream interface. Or the status information of UD+ and UD- of the upstream interface is transmitted to DD+ and DD- of the downstream interface, thereby completing the high-speed identification handshake process.
  • connection status and speed mode have been determined and remain unchanged.
  • the downlink detection and control module and the uplink detection and control module will detect the status of their respective interfaces D+/D- in real time, and the transmission direction of the communication data is determined by which side first detects that D+/D- has left the IDLE state.
  • the downstream detection and control module first detects that D+/D- has left the IDLE state, it first transmits this state information to the upstream detection and control module, and then selects the downstream Mux module to the downstream differential input module.
  • the upstream detection and control module enables the upstream differential output module based on the state information received from the upstream detection and control module, thereby establishing data transmission in the direction of DD+/DD- to UD+/UD-, that is, the data transmission path from the downstream interface to the upstream interface; when the downstream detection and control module detects that the data transmission is completed, it transmits this state information to the upstream detection and control module, and the upstream detection and control module turns off the upstream differential output module and sets the upstream interface UD+/UD- to the IDLE state, and both sides begin to prepare for the next transmission.
  • the device In low-speed or full-speed mode, if the downstream interface DD+ and DD- are detected to be 0 and exceed 2us, the device is considered to be disconnected; in high-speed mode, if the differential voltage of the downstream interface DD+/DD- is greater than 625mV, the device is considered to be disconnected; after detecting that the device is disconnected, the downstream interface DD+/DD- is pulled down to 0 through 15k ⁇ , and the pull-up resistor on the upstream interface UD+/UD- is removed, returning to the device unconnected state.
  • the uplink interface includes a plurality of
  • the number of the upstream differential input modules, the upstream differential output modules, the downstream differential input modules, the downstream differential output modules and the downstream interfaces respectively corresponds to the number of the upstream interfaces
  • the uplink differential input module and the uplink differential output module are respectively connected to the corresponding uplink interfaces;
  • the downstream differential input module and the downstream differential output module are respectively connected to corresponding downstream interfaces.
  • the upstream interface includes two, and the upstream interface and its corresponding downstream interface constitute an interface 5; one of the interfaces 5 is a USB2.0 interface or a USB1.x interface, and the other interface 5 is a USB3.0 interface;
  • the interfaces 5 from top to bottom can be represented as DD+/DD- and DSSTX+/DSSTX-/DSSRX+/DSSRX- respectively;
  • the interfaces 5 from top to bottom can be represented as UD+/UD- and USSTX+/USSTX-/USSRX+/USSRX- respectively;
  • DD+/DD- and DSSTX+/DSSTX-/DSSRX+/DSSRX- are connected to USB3.0/2.0/1.xDevice
  • UD+/UD- and USSTX+/USSTX-/USSRX+/USSRX- upstream ports are connected to USB3.0/2.0/1.xHost;
  • the differential interface DD+/DD- or UD+/UD- is pulled up or down;
  • a signal from a differential input or control module is selected to the millimeter wave transceiver module
  • the downstream ports DD+/DD- and DSSTX+/DSSTX-/DSSRX+/DSSRX- and the status of the upstream side Status information detect plug-in and unplug and transmission direction, and generate corresponding control signals to control plug-in and unplug.
  • the generated status signal is transmitted to the uplink side via millimeter wave;
  • Uplink detection and control module :
  • the plugging and unplugging and transmission direction are detected, and the corresponding control signals are generated to control the plugging and unplugging.
  • the generated status signals are transmitted to the downstream side via millimeter waves.
  • DD+ and DD- are pulled down to 0 by the PU/PD module using a 15k ⁇ resistor, and no termination resistor is detected on DSSTX+/DSSTX-;
  • the termination resistor When a USB3.0 device is connected, the termination resistor will be detected on DSSTX+/DSSTX-; when a USB2.0/1.x device is connected, DD+ or DD- will be pulled up to 1 by the device's 1.5k ⁇ resistor (DD- is pulled up to 1 to indicate that the connected device is a low-speed device, and DD+ is pulled up to 1 to indicate that the connected device is a full-speed or high-speed device);
  • the downlink detection and control module transmits the status information of DD+/DD- and DSSTX+/DSSTX- to the uplink detection and control module through the Mux and the first millimeter-wave transceiver module 1a on the downlink side and the first millimeter-wave transceiver module 1b and De-Mux on the uplink side.
  • the uplink detection and control module connects a termination resistor to USSRX+/USSRX-, or pulls the corresponding UD+ or UD- up to 1 using a 1.5k ⁇ resistor through the PU/PD module;
  • the Mux and De-Mux modules on the upstream and downstream sides both select the second differential input and the second differential output from top to bottom in Figure 9, that is, the DSSRX+/DSSRX- on the downstream side is directly connected to the USSTX+/USSTX- on the upstream side through the first millimeter-wave transceiver module, and the USSRX+/USSRX- on the upstream side is directly connected to the DSSTX+/DSSTX- on the downstream side through the first millimeter-wave transceiver module.
  • USB3.0 overspeed mode communication can be performed until the termination resistor is no longer detected on the DSSTX+/DSSTX- on the downstream side, and the upstream and downstream sides return to the state where the device is not connected;
  • the upstream detection and control module waits for the reset signal from the host (UD+ and UD- are both pulled down to 0), and then transmits the reset signal to the downstream detection and control module through the upstream Mux and the first millimeter wave transceiver module 1b and the downstream first millimeter wave transceiver module 1a and De-Mux.
  • the downstream detection and control module pulls DD+ and DD- down to 0 through the PU/PD module. That is, a reset signal is generated for the connected device;
  • the connected device is a high-speed device, similar to steps 3 and 4, according to the high-speed handshake process specified in the USB2.0 protocol, the status of DD+ and DD- is transferred to UD+ and UD-, or the status of UD+ and UD- is transferred to DD+ and DD-, thereby completing the high-speed identification handshake process;
  • the downstream detection and control module and the upstream detection and control module detect the status of their respective D+/D- in real time, and the data transmission direction is determined by which side first detects that D+/D- changes from the IDLE state to the data transmission state. If the downstream detection and control module first detects that D+/D- leaves the IDLE state, it first transmits this information to the upstream detection and control module, and then selects the Mux to the differential input module. After receiving the information, the upstream detection and control module enables the differential output module, thereby establishing data transmission in the direction of DD+/DD- to UD+/UD-.
  • the downstream detection and control module When the downstream detection and control module detects that the data transmission is completed, it transmits this information to the upstream detection and control module, and the upstream detection and control module turns off the differential output and sets UD+/UD- to the IDLE state, and both sides begin to prepare for the next transmission;
  • DD+ and DD- are detected to be 0 and exceed 2us, the device is considered disconnected.
  • high-speed mode if the differential voltage of DD+/DD- is greater than 625mV, the device is considered disconnected. After detecting that the device is disconnected, DD+/DD- is pulled down to 0 through 15k ⁇ , and the pull-up resistor on UD+/UD- is removed, returning to the state where the device is not connected.
  • This implementation can achieve isolated transmission of USB3.0/2.0/1.x via millimeter waves.
  • the embodiment of the present disclosure also provides a USB isolation chip, on which the USB isolation circuit described in the above embodiment is integrated.
  • the specific structure and composition of the USB isolation circuit will not be repeated here, and please refer to the description of the above embodiment for details.
  • the embodiments of the present disclosure also provide a USB isolation device, which includes the USB isolation circuit described in the above embodiments or the USB isolation chip described in the above embodiments.
  • the specific structure of the USB isolation circuit is not repeated here, please refer to the description of the above embodiments for details.
  • the embodiments of the present disclosure also provide a USB device, which includes the USB isolation circuit or the USB isolation chip described in the above embodiments.
  • the specific structure of the USB isolation circuit is not repeated here, please refer to the description of the above embodiments for details.
  • the USB device when the number of interfaces of a USB device is 1, the USB device The interface is a USB2.0 interface to achieve isolated transmission of USB2.0 (compatible with USB1.X) through millimeter wave technology;
  • USB 2.0 interface When the USB device has two interfaces, one of the interfaces is a USB 2.0 interface or a USB 1.x interface, and the other interface is a USB 3.0 interface.
  • USB isolation circuit, chip, device and USB equipment provided by the present disclosure can significantly improve key isolation indicators such as withstand voltage, CMTI and bandwidth.

Landscapes

  • Dc Digital Transmission (AREA)
  • Transceivers (AREA)

Abstract

Disclosed are a USB isolation circuit, chip and apparatus, and a USB device. The USB isolation circuit comprises a first millimeter wave transceiver module, a second millimeter wave transceiver module, an upstream side and a downstream side, wherein the upstream side comprises an upstream side detection and control module and an upstream differential module; the downstream side comprises a downstream side detection and control module and a downstream differential module; the first millimeter wave transceiver module is separately connected to the upstream side detection and control module and the downstream side detection and control module; and the second millimeter wave transceiver module is separately connected to the upstream differential module and the downstream differential module. According to the present invention, millimeter wave isolation technology is introduced to implement an isolation transmission function, and thus key isolation indicators such as withstand voltage, CMTI and bandwidth can be greatly increased.

Description

USB隔离电路、芯片、装置及USB设备USB isolation circuit, chip, device and USB equipment
本申请要求于2023年4月21日提交中国专利局、申请号为202320975511.X、申请名称为“USB隔离电路、芯片、装置及USB设备”和申请号为202320990406.3、申请名称为“USB隔离电路、芯片、装置及USB设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent applications filed with the China Patent Office on April 21, 2023, with application number 202320975511.X, application name “USB isolation circuit, chip, device and USB device” and application number 202320990406.3, application name “USB isolation circuit, chip, device and USB device”, the entire contents of which are incorporated by reference in this application.
技术领域Technical Field
本公开涉及隔离技术领域,具体涉及USB隔离电路、芯片、装置及USB设备。The present disclosure relates to the field of isolation technology, and in particular to a USB isolation circuit, chip, device and USB equipment.
背景技术Background Art
电子技术领域中很多地方都需要用到隔离技术,特别是有高压设备与低压设备相连需求的场景,例如充电器、电源适配器、设备调试器、电池管理等,其通过配备USB隔离芯片,便能隔离高压,以防设备的高压打到人或低压设备,即保护人身安全又保护设备不被损坏。Isolation technology is needed in many places in the field of electronic technology, especially in scenarios where high-voltage equipment needs to be connected to low-voltage equipment, such as chargers, power adapters, device debuggers, battery management, etc. By equipping it with a USB isolation chip, it can isolate the high voltage to prevent the high voltage of the device from hitting people or low-voltage equipment, thereby protecting personal safety and protecting the equipment from damage.
现有的隔离技术主要是磁感隔离(磁耦)和电容耦合隔离(容耦)。由于磁耦和容耦都需要进行充电放电,而充电放电都需要个过程,因而速度很难提高;再有,体积越大速度越慢,若放在芯片里的话,要求体积很小,耐压就很难做很高;另外,CMTI指标是指隔离两端“地”变化快慢对隔离器工作的影响程度,而磁耦和容耦对隔离两端“地”的变化是有感的,因此CMTI指标也难以提升。The existing isolation technologies are mainly magnetic inductive isolation (magnetic coupling) and capacitive coupling isolation (capacitive coupling). Since both magnetic coupling and capacitive coupling need to be charged and discharged, and charging and discharging require a process, it is difficult to improve the speed; in addition, the larger the volume, the slower the speed. If it is placed in a chip, the volume must be very small, and it is difficult to make the withstand voltage very high; in addition, the CMTI index refers to the degree of influence of the speed of change of the "ground" at both ends of the isolation on the operation of the isolator, and magnetic coupling and capacitive coupling are sensitive to the change of the "ground" at both ends of the isolation, so the CMTI index is also difficult to improve.
因此,现有的隔离技术在耐压、CMTI及带宽等关键隔离指标上难以有较大突破。Therefore, it is difficult for existing isolation technologies to make significant breakthroughs in key isolation indicators such as withstand voltage, CMTI and bandwidth.
发明内容Summary of the invention
本公开所要解决的技术问题是:提供USB隔离电路、芯片、装置及USB设备,其能大幅度提升耐压、CMTI及带宽等关键隔离指标。The technical problem to be solved by the present disclosure is to provide a USB isolation circuit, a chip, a device and a USB device, which can significantly improve key isolation indicators such as withstand voltage, CMTI and bandwidth.
为了解决上述技术问题,本公开采用的第一个技术方案为: In order to solve the above technical problems, the first technical solution adopted by the present disclosure is:
USB隔离电路,包括:第一毫米波收发模块、第二毫米波收发模块、上行侧和下行侧;The USB isolation circuit includes: a first millimeter wave transceiver module, a second millimeter wave transceiver module, an upstream side and a downstream side;
所述上行侧包括上行侧检测及控制模块和上行差分模块;所述下行侧包括下行侧检测及控制模块和下行差分模块;The uplink side includes an uplink detection and control module and an uplink differential module; the downlink side includes a downlink detection and control module and a downlink differential module;
所述第一毫米波收发模块分别连接所述上行侧检测及控制模块和所述下行侧检测及控制模块;所述第二毫米波收发模块分别连接所述上行差分模块和所述下行差分模块。The first millimeter wave transceiver module is respectively connected to the uplink detection and control module and the downlink detection and control module; the second millimeter wave transceiver module is respectively connected to the uplink differential module and the downlink differential module.
可选地,所述第一毫米波收发模块包括第一毫米波收发模块a和第一毫米波收发模块b;所述第一毫米波收发模块a设置在下行侧内,所述第一毫米波收发模块b设置在上行侧内;Optionally, the first millimeter wave transceiver module includes a first millimeter wave transceiver module a and a first millimeter wave transceiver module b; the first millimeter wave transceiver module a is arranged in the downlink side, and the first millimeter wave transceiver module b is arranged in the uplink side;
所述第二毫米波收发模块包括第二毫米波收发模块a和第二毫米波收发模块b;所述第二毫米波收发模块a设置在下行侧内,所述第二毫米波收发模块b设置在上行侧内。The second millimeter wave transceiver module includes a second millimeter wave transceiver module a and a second millimeter wave transceiver module b; the second millimeter wave transceiver module a is arranged in the downlink side, and the second millimeter wave transceiver module b is arranged in the uplink side.
可选地,所述上行差分模块包括上行差分输出模块和上行差分输入模块;所述下行差分模块包括下行差分输出模块和下行差分输入模块;Optionally, the uplink differential module includes an uplink differential output module and an uplink differential input module; the downlink differential module includes a downlink differential output module and a downlink differential input module;
所述上行差分输出模块分别连接所述第二毫米波收发模块b和所述上行侧检测及控制模块;The uplink differential output module is respectively connected to the second millimeter wave transceiver module b and the uplink side detection and control module;
所述上行差分输入模块分别连接所述第二毫米波收发模块b和所述上行侧检测及控制模块;The uplink differential input module is respectively connected to the second millimeter wave transceiver module b and the uplink side detection and control module;
所述下行差分输出模块分别连接所述第二毫米波收发模块a和所述下行侧检测及控制模块;The downlink differential output module is respectively connected to the second millimeter wave transceiver module a and the downlink side detection and control module;
所述下行差分输入模块分别连接所述第二毫米波收发模块a和所述下行侧检测及控制模块。The downlink differential input module is respectively connected to the second millimeter wave transceiver module a and the downlink side detection and control module.
可选地,所述上行侧还包括上行PU/PD模块和上行接口;所述下行侧还包括下行PU/PD模块和下行接口;Optionally, the uplink side further includes an uplink PU/PD module and an uplink interface; the downlink side further includes a downlink PU/PD module and a downlink interface;
所述上行PU/PD模块分别连接所述上行侧检测及控制模块、所述上行差分输入模块、所述上行差分输出模块和所述上行接口;所述下行PU/PD模块分别连接所述下行侧检测及控制模块、所述下行差分输入模块、所述下行差分输出 模块和所述下行接口。The uplink PU/PD module is respectively connected to the uplink detection and control module, the uplink differential input module, the uplink differential output module and the uplink interface; the downlink PU/PD module is respectively connected to the downlink detection and control module, the downlink differential input module, the downlink differential output module and the uplink interface. module and the downstream interface.
可选地,所述上行接口包括多个;Optionally, the uplink interface includes multiple;
所述第二毫米波收发模块、所述上行差分输入模块、所述上行差分输出模块、所述下行差分输入模块、所述下行差分输出模块和所述下行接口的个数分别与所述上行接口的个数一一对应;The number of the second millimeter wave transceiver module, the uplink differential input module, the uplink differential output module, the downlink differential input module, the downlink differential output module and the downlink interface respectively corresponds to the number of the uplink interface;
所述第二毫米波收发模块分别通过对应的所述上行差分输入模块和所述上行差分输出模块与对应的上行接口连接;The second millimeter wave transceiver module is connected to the corresponding uplink interface through the corresponding uplink differential input module and the uplink differential output module respectively;
所述第二毫米波收发模块分别通过对应的所述下行差分输入模块和所述下行差分输出模块与对应的下行接口连接。The second millimeter wave transceiver module is connected to the corresponding downlink interface through the corresponding downlink differential input module and the downlink differential output module respectively.
可选地,所述第二毫米波收发模块替换为位于上行侧的上行差分开关模块和位于下行侧的下行差分开关模块;Optionally, the second millimeter wave transceiver module is replaced by an uplink differential switch module located on the uplink side and a downlink differential switch module located on the downlink side;
所述第一毫米波收发模块经由所述上行差分开关模块分别连接至所述上行侧检测及控制模块和所述上行差分模块,以及经由所述下行差分开关模块分别连接至所述下行侧检测及控制模块和所述下行差分模块。The first millimeter wave transceiver module is respectively connected to the uplink detection and control module and the uplink differential module via the uplink differential switch module, and is respectively connected to the downlink detection and control module and the downlink differential module via the downlink differential switch module.
可选地,所述第一毫米波收发模块包括第一毫米波收发模块a和第一毫米波收发模块b;所述第一毫米波收发模块a设置在下行侧内,所述第一毫米波收发模块b设置在上行侧内;Optionally, the first millimeter wave transceiver module includes a first millimeter wave transceiver module a and a first millimeter wave transceiver module b; the first millimeter wave transceiver module a is arranged in the downlink side, and the first millimeter wave transceiver module b is arranged in the uplink side;
所述第一毫米波收发模块a连接所述下行差分开关模块;所述第一毫米波收发模块b连接所述上行差分开关模块。The first millimeter wave transceiver module a is connected to the downlink differential switch module; the first millimeter wave transceiver module b is connected to the uplink differential switch module.
可选地,所述上行差分开关模块包括上行Mux模块和上行De-Mux模块;所述下行差分开关模块包括下行Mux模块和下行De-Mux模块;Optionally, the uplink differential switch module includes an uplink Mux module and an uplink De-Mux module; the downlink differential switch module includes a downlink Mux module and a downlink De-Mux module;
所述上行Mux模块和所述上行De-Mux模块分别连接至所述第一毫米波收发模块b;所述上行Mux模块和所述上行De-Mux模块均连接至所述上行侧检测及控制模块和所述上行差分模块;The uplink Mux module and the uplink De-Mux module are respectively connected to the first millimeter wave transceiver module b; the uplink Mux module and the uplink De-Mux module are both connected to the uplink side detection and control module and the uplink differential module;
所述下行Mux模块和所述下行De-Mux模块分别连接至所述第一毫米波收发模块a;所述下行Mux模块和所述下行De-Mux模块均连接至所述下行侧检测及控制模块和所述下行差分模块。The downlink Mux module and the downlink De-Mux module are respectively connected to the first millimeter wave transceiver module a; the downlink Mux module and the downlink De-Mux module are both connected to the downlink side detection and control module and the downlink differential module.
可选地,所述上行差分模块包括上行差分输出模块和上行差分输入模块; 所述下行差分模块包括下行差分输出模块和下行差分输入模块;所述上行侧还包括上行接口;所述下行侧还包括下行接口;Optionally, the uplink differential module includes an uplink differential output module and an uplink differential input module; The downlink differential module includes a downlink differential output module and a downlink differential input module; the uplink side also includes an uplink interface; the downlink side also includes a downlink interface;
所述上行差分输入模块分别连接所述上行Mux模块、所述上行接口和所述上行侧检测及控制模块;所述上行差分输出模块分别连接上行De-Mux模块、所述上行接口和所述上行侧检测及控制模块;The uplink differential input module is respectively connected to the uplink Mux module, the uplink interface and the uplink detection and control module; the uplink differential output module is respectively connected to the uplink De-Mux module, the uplink interface and the uplink detection and control module;
所述下行差分输入模块分别连接所述下行Mux模块、所述下行接口和所述下行侧检测及控制模块;所述下行差分输出模块分别连接下行De-Mux模块、所述下行接口和所述下行侧检测及控制模块。The downstream differential input module is respectively connected to the downstream Mux module, the downstream interface and the downstream side detection and control module; the downstream differential output module is respectively connected to the downstream De-Mux module, the downstream interface and the downstream side detection and control module.
可选地,所述上行接口包括多个;Optionally, the uplink interface includes multiple;
所述上行差分输入模块、所述上行差分输出模块、所述下行差分输入模块、所述下行差分输出模块和所述下行接口的个数分别与所述上行接口的个数一一对应;The number of the upstream differential input modules, the upstream differential output modules, the downstream differential input modules, the downstream differential output modules and the downstream interfaces respectively corresponds to the number of the upstream interfaces;
所述上行差分输入模块和所述上行差分输出模块分别与对应的上行接口连接;The uplink differential input module and the uplink differential output module are respectively connected to the corresponding uplink interfaces;
所述下行差分输入模块和所述下行差分输出模块分别与对应的下行接口连接。The downstream differential input module and the downstream differential output module are respectively connected to corresponding downstream interfaces.
可选地,所述上行侧还包括上行PU/PD模块;所述下行侧还包括下行PU/PD模块;Optionally, the uplink side further includes an uplink PU/PD module; the downlink side further includes a downlink PU/PD module;
所述上行PU/PD模块分别连接所述上行侧检测及控制模块和所述上行差分模块;所述下行PU/PD模块分别连接所述下行侧检测及控制模块和所述下行差分模块。The uplink PU/PD module is respectively connected to the uplink detection and control module and the uplink differential module; the downlink PU/PD module is respectively connected to the downlink detection and control module and the downlink differential module.
可选地,所述上行侧检测及控制模块连接所述上行差分模块;所述下行侧检测及控制模块连接所述下行差分模块。Optionally, the uplink detection and control module is connected to the uplink differential module; the downlink detection and control module is connected to the downlink differential module.
本公开采用的第二个技术方案为:The second technical solution adopted in this disclosure is:
USB隔离芯片,其上集成包括上述USB隔离电路。The USB isolation chip integrates the above-mentioned USB isolation circuit.
本公开采用的第三个技术方案为:The third technical solution adopted in this disclosure is:
USB隔离装置,其包括上述的USB隔离电路。A USB isolation device comprises the above-mentioned USB isolation circuit.
本公开采用的第四个技术方案为: The fourth technical solution adopted by the present disclosure is:
USB设备,其包括上述USB隔离电路。A USB device comprises the above-mentioned USB isolation circuit.
进一步地,当其包括的上述USB隔离电路只有一个接口时,其接口为USB2.0接口或USB1.x接口;当其包括的上述USB隔离电路具有两个接口时,其中一个接口为USB2.0接口或USB1.x接口,另一个接口为USB3.0接口。Furthermore, when the USB isolation circuit includes only one interface, the interface is a USB2.0 interface or a USB1.x interface; when the USB isolation circuit includes two interfaces, one of the interfaces is a USB2.0 interface or a USB1.x interface, and the other interface is a USB3.0 interface.
本公开的有益效果在于:区别于现有技术采用磁感隔离和电容耦合隔离实现的隔离技术难以在耐压、CMTI及带宽等关键指标很难有较大突破的不足,本公开引入毫米波隔离技术实现隔离传输功能,基于毫米波对隔离两端“地”的变化是无感的,因而在CMTI指标上能得到大幅提升;基于毫米波收发模块无需充放电过程且体积可以做到很小,因而还能在速度、耐压及带宽上也得到明显提升。因此,本公开提供的USB隔离电路、芯片、装置及USB设备,其能大幅度提升耐压、CMTI及带宽等关键隔离指标。The beneficial effects of the present disclosure are: Different from the existing isolation technology using magnetic induction isolation and capacitive coupling isolation, which is difficult to achieve major breakthroughs in key indicators such as withstand voltage, CMTI and bandwidth, the present disclosure introduces millimeter wave isolation technology to achieve isolated transmission function, based on the fact that millimeter waves are insensitive to changes in the "ground" at both ends of the isolation, so the CMTI indicator can be greatly improved; based on the fact that the millimeter wave transceiver module does not require a charging and discharging process and the volume can be very small, it can also be significantly improved in speed, withstand voltage and bandwidth. Therefore, the USB isolation circuit, chip, device and USB device provided by the present disclosure can greatly improve key isolation indicators such as withstand voltage, CMTI and bandwidth.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本公开实施例USB隔离电路的示意图一;FIG1 is a schematic diagram 1 of a USB isolation circuit according to an embodiment of the present disclosure;
图2为本公开实施例USB隔离电路的示意图二;FIG2 is a second schematic diagram of a USB isolation circuit according to an embodiment of the present disclosure;
图3为本公开实施例USB隔离电路的示意图三;FIG3 is a third schematic diagram of a USB isolation circuit according to an embodiment of the present disclosure;
图4为本公开另一实施例USB隔离电路的示意图一;FIG4 is a schematic diagram 1 of a USB isolation circuit according to another embodiment of the present disclosure;
图5为本公开另一实施例USB隔离电路的示意图二;FIG5 is a second schematic diagram of a USB isolation circuit according to another embodiment of the present disclosure;
图6为本公开另一实施例USB隔离电路的示意图三;FIG6 is a third schematic diagram of a USB isolation circuit according to another embodiment of the present disclosure;
图7为本公开另一实施例USB隔离电路的示意图四;FIG7 is a fourth schematic diagram of a USB isolation circuit according to another embodiment of the present disclosure;
图8为本公开另一实施例USB隔离电路的示意图;FIG8 is a schematic diagram of a USB isolation circuit according to another embodiment of the present disclosure;
图9为本公开另一实施例USB隔离电路的示意图。FIG. 9 is a schematic diagram of a USB isolation circuit according to another embodiment of the present disclosure.
标号说明:
1、第一毫米波收发模块;2、第二毫米波收发模块;
3、下行侧;4、上行侧;
31、下行侧检测及控制模块;32、下行差分模块;
41、上行侧检测及控制模块;42、上行差分模块;
32-1、下行差分输出模块;32-2、下行差分输入模块;
42-1、上行差分输出模块;42-2、上行差分输入模块;
43、上行PU/PD模块;
33、下行PU/PD模块;
46、上行差分开关模块;
46-1、上行Mux模块;46-2、上行De-Mux模块;
36、下行差分开关模块;
36-1、下行Mux模块;36-2、下行De-Mux模块;
5、接口。
Description of labels:
1. The first millimeter wave transceiver module; 2. The second millimeter wave transceiver module;
3. Downward side; 4. Upward side;
31. Downstream detection and control module; 32. Downstream differential module;
41. Uplink detection and control module; 42. Uplink differential module;
32-1, downstream differential output module; 32-2, downstream differential input module;
42-1, uplink differential output module; 42-2, uplink differential input module;
43. Uplink PU/PD module;
33. Downlink PU/PD module;
46. Uplink differential switch module;
46-1, uplink Mux module; 46-2, uplink De-Mux module;
36. Downstream differential switch module;
36-1, downstream Mux module; 36-2, downstream De-Mux module;
5. Interface.
具体实施方式DETAILED DESCRIPTION
为详细说明本公开的技术内容、所实现目的及效果,以下结合实施方式并配合附图予以说明。In order to explain the technical content, achieved objectives and effects of the present disclosure in detail, the following is an explanation in conjunction with the embodiments and the accompanying drawings.
请参照图1,本公开的实施例提供一种USB隔离电路,包括:第一毫米波收发模块1、第二毫米波收发模块2、上行侧4和下行侧3;所述上行侧4包括上行侧检测及控制模块41和上行差分模块42;所述下行侧3包括下行侧检测及控制模块31和下行差分模块32;Referring to FIG. 1 , an embodiment of the present disclosure provides a USB isolation circuit, comprising: a first millimeter wave transceiver module 1, a second millimeter wave transceiver module 2, an upstream side 4 and a downstream side 3; the upstream side 4 comprises an upstream side detection and control module 41 and an upstream differential module 42; the downstream side 3 comprises a downstream side detection and control module 31 and a downstream differential module 32;
所述第一毫米波收发模块1分别连接所述上行侧检测及控制模块41和所述下行侧检测及控制模块31;所述第二毫米波收发模块2分别连接所述上行差分模块42和所述下行差分模块32。The first millimeter wave transceiver module 1 is respectively connected to the uplink detection and control module 41 and the downlink detection and control module 31; the second millimeter wave transceiver module 2 is respectively connected to the uplink differential module 42 and the downlink differential module 32.
上述实施例的工作原理如下:The working principle of the above embodiment is as follows:
下行侧检测及控制模块实时检测下行差分模块的输入状态,若没有设备连接时,系统处于未连接状态;The downstream detection and control module detects the input status of the downstream differential module in real time. If no device is connected, the system is in an unconnected state.
当有设备连上时,下行侧检测及控制模块将该状态通过第一毫米波收发模块传输到上行侧检测及控制模块,上行侧检测及控制模块再将连接状态通过上行差分模块反馈给主机,并等待来自主机的复位信号;然后将主机的复位信号通过第一毫米波收发模块传到下行侧检测及控制模块,下行侧检测及控制模块通过下行差分模块,将复位信号发给连接的设备,至此完成设备的连接过程。When a device is connected, the downlink detection and control module transmits the status to the uplink detection and control module through the first millimeter-wave transceiver module. The uplink detection and control module then feeds back the connection status to the host through the uplink differential module and waits for the reset signal from the host. The host's reset signal is then transmitted to the downlink detection and control module through the first millimeter-wave transceiver module. The downlink detection and control module sends the reset signal to the connected device through the downlink differential module, thereby completing the device connection process.
连接状态建立后,下行侧检测及控制模块和上行侧检测及控制模块继续实 时检测各自相连的差分模块的接口信号,通信数据的传输方向由哪一侧先脱离了IDLE状态来定。After the connection state is established, the downlink detection and control module and the uplink detection and control module continue to implement The interface signals of the differential modules connected to each other are detected at the same time, and the transmission direction of the communication data is determined by which side leaves the IDLE state first.
假设下行侧检测及控制模块先检测到差分模块的接口脱离了IDLE状态,则先将此状态信息通过第一毫米波收发模块传输到上行侧检测及控制模块,并使能下行差分模块输入到第二毫米波收发模块的数据传输功能,上行侧检测及控制模块收到该状态信息后,使能第二毫米波收发模块到上行差分模块的输出的数据传输功能,从而建立了下行侧到上行侧的数据传输通路;当下行侧检测及控制模块检测到数据传输结束后,将此状态信息传输到上行侧检测及控制模块,上行侧检测及控制模块关闭上行差分模块的输出,并将上行差分模块的接口置为IDLE状态,两边开始为下次传输做准备。Assuming that the downlink detection and control module first detects that the interface of the differential module has left the IDLE state, it will first transmit this status information to the uplink detection and control module through the first millimeter-wave transceiver module, and enable the data transmission function of the downlink differential module input to the second millimeter-wave transceiver module. After receiving the status information, the uplink detection and control module enables the data transmission function from the second millimeter-wave transceiver module to the output of the uplink differential module, thereby establishing a data transmission path from the downlink side to the uplink side; when the downlink detection and control module detects that the data transmission is completed, it transmits this status information to the uplink detection and control module, the uplink detection and control module turns off the output of the uplink differential module, and sets the interface of the uplink differential module to the IDLE state, and both sides begin to prepare for the next transmission.
若下行侧检测及控制模块检测到下行差分模块输入为未连接状态,则将此状态通过第一毫米波收发模块传输到上行侧检测及控制模块,上行侧检测及控制模块将上行差分模块置为未连接状态,系统重新回到设备未连接的状态。If the downlink detection and control module detects that the downlink differential module input is in an unconnected state, this state will be transmitted to the uplink detection and control module through the first millimeter wave transceiver module. The uplink detection and control module will set the uplink differential module to an unconnected state, and the system will return to the device unconnected state.
可以理解,本实施例基于现有的USB隔离电路,将其中的磁感隔离器或电容隔离器替换成了两个毫米波收发模块,即第一毫米波收发模块1和第二毫米波收发模块2,基于毫米波无线通信技术来实现高低压端的隔离传输功能,具体的通信控制和传输方式无需改变,直接基于现有的USB通信协议即可。It can be understood that this embodiment is based on the existing USB isolation circuit, and the magnetic inductive isolator or capacitive isolator therein is replaced by two millimeter wave transceiver modules, namely the first millimeter wave transceiver module 1 and the second millimeter wave transceiver module 2, and the isolation transmission function of the high and low voltage ends is realized based on the millimeter wave wireless communication technology. The specific communication control and transmission methods do not need to be changed, and can be directly based on the existing USB communication protocol.
区别于现有采用磁感隔离器或电容隔离器实现的传输隔离,基于毫米波对隔离两端“地”的变化是无感的,因而在CMTI指标上能得到大幅提升;基于毫米波收发模块无需充放电过程且体积可以做到很小,因而还能在速度、耐压及带宽上也得到明显提升。Different from the existing transmission isolation achieved by magnetic inductive isolators or capacitive isolators, millimeter waves are insensitive to changes in the "ground" at both ends of the isolation, so the CMTI index can be greatly improved; the millimeter wave transceiver module does not require charging and discharging and the volume can be very small, so the speed, voltage resistance and bandwidth can also be significantly improved.
在本实施例中,通过设置有两个毫米波收发模块来分别负责检测/控制信号的传输以及通信数据的传输,从而确保USB传输功能的正常使用。具体而言,上行侧和下行侧的检测及控制模块,用于插拔及传输方向的检测并控制打开相应通道(上行侧至下行侧的通信传输通道或下行侧至上行侧的通信传输通道);而通过设置第一毫米波收发模块1分别连接上行侧和下行侧的检测及控制模块,以实现检测/控制信号的传输;通过设置第二毫米波收发模块2分别连接上行侧和下行侧的差分模块,以实现通信数据的传输。 In this embodiment, two millimeter wave transceiver modules are provided to be responsible for the transmission of detection/control signals and the transmission of communication data, respectively, so as to ensure the normal use of the USB transmission function. Specifically, the detection and control modules on the upstream side and the downstream side are used to detect the plugging and unplugging and transmission direction and control the opening of the corresponding channel (the communication transmission channel from the upstream side to the downstream side or the communication transmission channel from the downstream side to the upstream side); and the first millimeter wave transceiver module 1 is provided to connect the detection and control modules on the upstream side and the downstream side respectively to realize the transmission of detection/control signals; and the second millimeter wave transceiver module 2 is provided to connect the differential modules on the upstream side and the downstream side respectively to realize the transmission of communication data.
如图1所示,所述上行侧检测及控制模块41将连接所述上行差分模块42;所述下行侧检测及控制模块31将连接所述下行差分模块32,以实现检测及控制模块对差分模块的控制。As shown in FIG. 1 , the upstream detection and control module 41 will be connected to the upstream differential module 42 ; the downstream detection and control module 31 will be connected to the downstream differential module 32 , so as to realize the control of the differential module by the detection and control module.
请参阅图2,在一些具体实施方式中,每个毫米波收发模块均包括一个毫米波接收模块和一个毫米波发送模块。相应地,所述第一毫米波收发模块1具体由第一毫米波收发模块a(对应图2所示的第一毫米波收发模块1a)和第一毫米波收发模块b(对应图2所示的第一毫米波收发模块1b)组成,并分别设置在下行侧和上行侧内,第一毫米波收发模块a与第一毫米波收发模块b之间基于毫米波无线通信;所述第二毫米波收发模块b由第二毫米波收发模块a(对应图2所示的第二毫米波收发模块2a)和第二毫米波收发模块b(对应图2所示的第二毫米波收发模块2b)组成,并分别设置在下行侧和上行侧内,第二毫米波收发模块a与第二毫米波收发模块b之间基于毫米波无线通信。可以理解,上述第一毫米波收发模块a和第二毫米波收发模块a可以是毫米波接收模块,也可以是毫米波发送模块;相应地,所述第一毫米波收发模块b与第二毫米波收发模块b便为毫米波发送模块/毫米波接收模块。Please refer to Figure 2. In some specific embodiments, each millimeter wave transceiver module includes a millimeter wave receiving module and a millimeter wave transmitting module. Accordingly, the first millimeter wave transceiver module 1 is specifically composed of a first millimeter wave transceiver module a (corresponding to the first millimeter wave transceiver module 1a shown in Figure 2) and a first millimeter wave transceiver module b (corresponding to the first millimeter wave transceiver module 1b shown in Figure 2), and are respectively arranged in the downlink side and the uplink side, and the first millimeter wave transceiver module a and the first millimeter wave transceiver module b are based on millimeter wave wireless communication; the second millimeter wave transceiver module b is composed of a second millimeter wave transceiver module a (corresponding to the second millimeter wave transceiver module 2a shown in Figure 2) and a second millimeter wave transceiver module b (corresponding to the second millimeter wave transceiver module 2b shown in Figure 2), and are respectively arranged in the downlink side and the uplink side, and the second millimeter wave transceiver module a and the second millimeter wave transceiver module b are based on millimeter wave wireless communication. It can be understood that the above-mentioned first millimeter wave transceiver module a and the second millimeter wave transceiver module a can be millimeter wave receiving modules or millimeter wave sending modules; accordingly, the first millimeter wave transceiver module b and the second millimeter wave transceiver module b are millimeter wave sending modules/millimeter wave receiving modules.
请参阅图3,基于上述具体实施方式的又一些具体实施方式中,所述上行差分模块42具体包括上行差分输出模块42-1和上行差分输入模块42-2;所述下行差分模块32具体包括下行差分输出模块32-1和下行差分输入模块32-2;所述上行差分输出模块42-1分别连接所述第二毫米波收发模块b(对应图3所示的第二毫米波收发模块2b)和所述上行侧检测及控制模块41;所述上行差分输入模块42-2分别连接所述第二毫米波收发模块b(对应图3所示的第二毫米波收发模块2b)和所述上行侧检测及控制模块41;所述下行差分输出模块32-1分别连接所述第二毫米波收发模块a(对应图3所示的第二毫米波收发模块2a)和所述下行侧检测及控制模块31;所述下行差分输入模块32-2分别连接所述第二毫米波收发模块a(对应图3所示的第二毫米波收发模块2a)和所述下行侧检测及控制模块31。Please refer to FIG. 3. In some other specific implementations based on the above specific implementations, the uplink differential module 42 specifically includes an uplink differential output module 42-1 and an uplink differential input module 42-2; the downlink differential module 32 specifically includes a downlink differential output module 32-1 and a downlink differential input module 32-2; the uplink differential output module 42-1 is respectively connected to the second millimeter wave transceiver module b (corresponding to the second millimeter wave transceiver module 2b shown in FIG. 3) and the uplink side detection and control module 41; the uplink differential input module 42 -2 are respectively connected to the second millimeter wave transceiver module b (corresponding to the second millimeter wave transceiver module 2b shown in Figure 3) and the uplink side detection and control module 41; the downlink differential output module 32-1 is respectively connected to the second millimeter wave transceiver module a (corresponding to the second millimeter wave transceiver module 2a shown in Figure 3) and the downlink side detection and control module 31; the downlink differential input module 32-2 is respectively connected to the second millimeter wave transceiver module a (corresponding to the second millimeter wave transceiver module 2a shown in Figure 3) and the downlink side detection and control module 31.
进一步地,所述上行侧4还包括上行PU/PD模块43和上行接口(对应图3中的UD+/UD-);所述下行侧3还包括下行PU/PD模块33和下行接口(对应图3 中的DD+/DD-)。其中,上行接口UD+/UD-连接USB2.0/1.xHost;下行接口DD+/DD-连接USB2.0/1.xDevice。Furthermore, the upstream side 4 further includes an upstream PU/PD module 43 and an upstream interface (corresponding to UD+/UD- in FIG. 3 ); the downstream side 3 further includes a downstream PU/PD module 33 and a downstream interface (corresponding to FIG. 3 The upstream interface UD+/UD- is connected to the USB2.0/1.xHost; the downstream interface DD+/DD- is connected to the USB2.0/1.xDevice.
所述上行PU/PD模块43分别连接所述上行侧检测及控制模块41、所述上行差分输入模块42-2、所述上行差分输出模块42-1和所述上行接口UD+/UD-;所述下行PU/PD模块33分别连接所述下行侧检测及控制模块31、所述下行差分输入模块32-2、所述下行差分输出模块32-1和所述下行接口DD+/DD-。The uplink PU/PD module 43 is respectively connected to the uplink side detection and control module 41, the uplink differential input module 42-2, the uplink differential output module 42-1 and the uplink interface UD+/UD-; the downlink PU/PD module 33 is respectively connected to the downlink side detection and control module 31, the downlink differential input module 32-2, the downlink differential output module 32-1 and the downlink interface DD+/DD-.
下面,对本发明实施例所涉及的模块进行功能说明。The following is a functional description of the modules involved in the embodiments of the present invention.
所述上行PU/PD模块/所述下行PU/PD模块,用于根据接收到的控制信号(来自上行侧检测及控制模块/下行侧检测及控制模块),对差分接口进行上拉或下拉的控制;The uplink PU/PD module/the downlink PU/PD module is used to control the pull-up or pull-down of the differential interface according to the received control signal (from the uplink detection and control module/the downlink detection and control module);
所述上行差分输入模块/下行差分输入模块,用于将接口差分信号转成单端信号;The uplink differential input module/downlink differential input module is used to convert the interface differential signal into a single-ended signal;
所述上行差分输出模块/下行差分输出模块,用于根据接收到的信号,将单端信号转成差分信号或输出高阻态;The uplink differential output module/downlink differential output module is used to convert the single-ended signal into a differential signal or output a high-impedance state according to the received signal;
所述下行侧检测及控制模块,用于根据下行接口DD+/DD-的状态及上行侧的状态信息,进行插拔及传输方向的检测,并产生相应的控制信号,进行插拔及传输方向的控制,同时将产生的状态信号通过第一毫米波收发模块传输到上行侧;The downstream detection and control module is used to detect the plugging and unplugging and transmission direction according to the status of the downstream interface DD+/DD- and the status information of the upstream side, and generate corresponding control signals to control the plugging and unplugging and transmission direction, and transmit the generated status signal to the upstream side through the first millimeter wave transceiver module;
所述上行侧检测及控制模块,用于根据上行接口UD+/UD-的状态及下行侧的状态信息,进行插拔及传输方向的检测,并产生相应的控制信号,进行插拔及传输方向的控制,同时将产生的状态信号通过第一毫米波收发模块传输到下行侧;The uplink detection and control module is used to detect the plugging and unplugging and transmission direction according to the status of the uplink interface UD+/UD- and the status information of the downlink side, and generate corresponding control signals to control the plugging and unplugging and transmission direction, and transmit the generated status signal to the downlink side through the first millimeter wave transceiver module;
第一毫米波收发模块,用于传输控制信号及状态信息的无线隔离通道;The first millimeter wave transceiver module is used for transmitting control signals and status information through a wireless isolation channel;
第二毫米波收发模块,用于传输通信数据的无线隔离通道。The second millimeter wave transceiver module is used for transmitting the wireless isolation channel of communication data.
相应地,本发明实施例的工作原理如下:Accordingly, the working principle of the embodiment of the present invention is as follows:
当没有设备连接时,下行接口中的DD+和DD-被PU/PD模块使用15kΩ电阻都下拉到0;When no device is connected, the DD+ and DD- in the downstream interface are pulled down to 0 by the PU/PD module using a 15kΩ resistor;
当有设备连上时,下行接口DD+或DD-会被接入设备的1.5kΩ电阻上拉到1 (DD-被上拉到1表示接入设备是低速设备,DD+被上拉到1表示接入设备是全速或高速设备);When a device is connected, the downstream interface DD+ or DD- will be pulled up to 1 by the 1.5kΩ resistor of the connected device. (DD- is pulled up to 1 to indicate that the connected device is a low-speed device, and DD+ is pulled up to 1 to indicate that the connected device is a full-speed or high-speed device);
下行侧检测及控制模块会将DD+和DD-的状态信息通过第一毫米波收发模块传输到上行侧检测及控制模块;上行侧检测及控制模块依据接收到的状态信息,通过上行PU/PD模块将上行接口中相应的UD+或UD-使用1.5kΩ电阻上拉到1;The downlink detection and control module transmits the status information of DD+ and DD- to the uplink detection and control module through the first millimeter wave transceiver module; the uplink detection and control module pulls up the corresponding UD+ or UD- in the uplink interface to 1 using a 1.5kΩ resistor through the uplink PU/PD module based on the received status information;
上行侧检测及控制模块等待来自主机的复位信号(UD+和UD-都被下拉到0),然后将复位信号通过第一毫米波收发模块传到下行侧检测及控制模块,下行侧检测及控制模块通过下行PU/PD模块将下行接口的DD+和DD-下拉到0,即产生对连接设备的复位信号,以此完成识别握手过程。The upstream detection and control module waits for the reset signal from the host (UD+ and UD- are both pulled down to 0), and then transmits the reset signal to the downstream detection and control module through the first millimeter wave transceiver module. The downstream detection and control module pulls down the DD+ and DD- of the downstream interface to 0 through the downstream PU/PD module, thereby generating a reset signal for the connected device, thereby completing the identification handshake process.
若连接的设备为高速设备,则类似上述步骤,依据USB2.0协议规定的高速握手过程,将下行接口的DD+和DD-的状态信息传递到上行接口的UD+和UD-上,或将上行接口的UD+和UD-的状态信息传递到下行接口的DD+和DD-上,进而完成高速识别握手过程。If the connected device is a high-speed device, similar to the above steps, according to the high-speed handshake process specified in the USB2.0 protocol, the status information of DD+ and DD- of the downstream interface is passed to UD+ and UD- of the upstream interface, or the status information of UD+ and UD- of the upstream interface is passed to DD+ and DD- of the downstream interface, thereby completing the high-speed identification handshake process.
经过上述步骤后,连接状态及速度模式均已确定并保持不变。接下来,下行侧检测及控制模块和上行侧检测及控制模块实时检测各自接口D+/D-的状态,通信数据的传输方向由哪一侧先检测到D+/D-脱离了IDLE状态来定。After the above steps, the connection status and speed mode have been determined and remain unchanged. Next, the downlink detection and control module and the uplink detection and control module detect the status of their respective interfaces D+/D- in real time, and the transmission direction of the communication data is determined by which side first detects that D+/D- has left the IDLE state.
假设下行侧检测及控制模块先检测到D+/D-脱离了IDLE状态,则先将此状态信息传输到上行侧检测及控制模块,上行侧检测及控制模块收到该状态信息后,使能上行差分输出模块,从而建立了DD+/DD-到UD+/UD-方向的数据传输,即下行接口到上行接口方向的数据传输通路;当下行侧检测及控制模块检测到数据传输结束后,将此状态信息传输到上行侧检测及控制模块,上行侧检测及控制模块关闭上行差分输出模块,并将上行接口UD+/UD-置为IDLE状态,两边开始为下次传输做准备。Assuming that the downstream detection and control module first detects that D+/D- has left the IDLE state, it will first transmit this state information to the upstream detection and control module. After receiving the state information, the upstream detection and control module enables the upstream differential output module, thereby establishing data transmission in the direction of DD+/DD- to UD+/UD-, that is, the data transmission path from the downstream interface to the upstream interface; when the downstream detection and control module detects that the data transmission is completed, it transmits this state information to the upstream detection and control module. The upstream detection and control module turns off the upstream differential output module and sets the upstream interface UD+/UD- to the IDLE state, and both sides begin to prepare for the next transmission.
在低速或全速模式下,若检测到下行接口DD+和DD-为0并且超过2us则认为设备已断开;在高速模式下,若下行接口DD+/DD-的差分电压大于625mV则认为设备已断开;检测到设备断开后,下行接口DD+/DD-通过15kΩ下拉到0,上行接口UD+/UD-上的上拉电阻去掉,重新回到设备未连接的状态。In low-speed or full-speed mode, if the downstream interface DD+ and DD- are detected to be 0 and exceed 2us, the device is considered to be disconnected; in high-speed mode, if the differential voltage of the downstream interface DD+/DD- is greater than 625mV, the device is considered to be disconnected; after detecting that the device is disconnected, the downstream interface DD+/DD- is pulled down to 0 through 15kΩ, and the pull-up resistor on the upstream interface UD+/UD- is removed, returning to the device unconnected state.
在另一个可选的实施方式中,如图8所示,所述上行接口包括多个; In another optional embodiment, as shown in FIG8 , the uplink interface includes a plurality of;
所述第二毫米波收发模块、所述上行差分输入模块、所述上行差分输出模块、所述下行差分输入模块、所述下行差分输出模块和所述下行接口的个数分别与所述上行接口的个数一一对应;The number of the second millimeter wave transceiver module, the uplink differential input module, the uplink differential output module, the downlink differential input module, the downlink differential output module and the downlink interface respectively corresponds to the number of the uplink interface;
所述第二毫米波收发模块分别通过对应的所述上行差分输入模块和所述上行差分输出模块与对应的上行接口连接;The second millimeter wave transceiver module is connected to the corresponding uplink interface through the corresponding uplink differential input module and the uplink differential output module respectively;
所述第二毫米波收发模块分别通过对应的所述下行差分输入模块和所述下行差分输出模块与对应的下行接口连接;The second millimeter wave transceiver module is connected to the corresponding downlink interface through the corresponding downlink differential input module and the downlink differential output module respectively;
本实施方式中,所述上行接口包括2个,上行接口与其对应的下行接口构成了接口5;其中一个接口5为USB2.0接口或USB1.x接口,另一个接口5为USB3.0接口;In this embodiment, the upstream interface includes two, and the upstream interface and its corresponding downstream interface constitute an interface 5; one of the interfaces 5 is a USB2.0 interface or a USB1.x interface, and the other interface 5 is a USB3.0 interface;
在下行侧中,如图8所示,自上而下的接口5可以分别表示为DD+/DD-和DSSTX+/DSSTX-/DSSRX+/DSSRX-;In the downstream side, as shown in FIG8 , the interfaces 5 from top to bottom can be represented as DD+/DD- and DSSTX+/DSSTX-/DSSRX+/DSSRX- respectively;
在上行侧中,如图8所示,自上而下的接口5可以分别表示为UD+/UD-和USSTX+/USSTX-/USSRX+/USSRX-;In the upstream side, as shown in FIG8 , the interfaces 5 from top to bottom can be represented as UD+/UD- and USSTX+/USSTX-/USSRX+/USSRX- respectively;
则DD+/DD-和DSSTX+/DSSTX-/DSSRX+/DSSRX-(下行口)连接USB3.0/2.0/1.xDevice,UD+/UD-和USSTX+/USSTX-/USSRX+/USSRX-(上行口)连接USB3.0/2.0/1.xHost;Then DD+/DD- and DSSTX+/DSSTX-/DSSRX+/DSSRX- (downstream ports) are connected to USB3.0/2.0/1.xDevice, and UD+/UD- and USSTX+/USSTX-/USSRX+/USSRX- (upstream ports) are connected to USB3.0/2.0/1.xHost;
图8中各个模块的攻能介绍如下:The attack capabilities of each module in Figure 8 are described as follows:
1、33-下行侧PU/PD模块、43-上行侧PU/PD模块:1. 33-downlink PU/PD module, 43-uplink PU/PD module:
根据输入控制信号,对差分接口DD+/DD-或UD+/UD-进行上拉或下拉的控制;According to the input control signal, the differential interface DD+/DD- or UD+/UD- is pulled up or down;
2、32-2-下行差分输入模块、42-2-上行差分输入模块(图8中自上而下第一个):2. 32-2-downstream differential input module, 42-2-upstream differential input module (the first one from top to bottom in Figure 8):
接收D+/D-接口上的USB2.0/1.x信号并转成内部信号;Receive USB2.0/1.x signals on the D+/D- interface and convert them into internal signals;
3、32-1-下行差分输出模块、42-1-上行差分输入模块(图8中自上而下第一个):3. 32-1- Downstream differential output module, 42-1- Upstream differential input module (the first one from top to bottom in Figure 8):
将内部信号转成USB2.0/1.x信号输出到D+/D-接口上;Convert internal signals into USB2.0/1.x signals and output them to the D+/D- interface;
4、32-2-下行差分输入模块、42-2-上行差分输入模块(图8中自上而下第二个): 4. 32-2-downward differential input module, 42-2-upward differential input module (the second one from top to bottom in Figure 8):
接收SSRX+/SSRX-接口上的USB3.0信号并转成内部信号;Receive USB3.0 signals on the SSRX+/SSRX- interface and convert them into internal signals;
5、32-1-下行差分输出模块、42-1-上行差分输入模块(图8中自上而下第二个):5. 32-1- Downstream differential output module, 42-1- Upstream differential input module (the second one from top to bottom in Figure 8):
将内部信号转成USB3.0信号输出到SSTX+/SSTX-接口上;Convert the internal signal into USB3.0 signal and output it to SSTX+/SSTX- interface;
6、31-下行侧检测及控制模块:6. 31- Downstream detection and control module:
根据下行口DD+/DD-和DSSTX+/DSSTX-/DSSRX+/DSSRX-的状态及上行侧的状态信息,进行插拔及传输方向的检测,并产生相应的控制信号,进行插拔控制,同时将产生的状态信号通过毫米波传输到上行侧;According to the status of the downstream ports DD+/DD- and DSSTX+/DSSTX-/DSSRX+/DSSRX- and the status information of the upstream side, the plug-in and unplugging and transmission direction detection are performed, and corresponding control signals are generated to perform plug-in control. At the same time, the generated status signals are transmitted to the upstream side via millimeter waves;
7、41-上行侧检测及控制模块:7. 41- Uplink detection and control module:
根据上行口UD+/UD-和USSTX+/USSTX-/USSRX+/USSRX-的状态及上行侧的状态信息,进行插拔及传输方向的检测,并产生相应的控制信号,进行插拔控制,同时将产生的状态信号通过毫米波传输到下行侧;According to the status of the upstream ports UD+/UD- and USSTX+/USSTX-/USSRX+/USSRX- and the status information of the upstream side, the plugging and unplugging and transmission direction detection are performed, and corresponding control signals are generated to perform plugging and unplugging control. At the same time, the generated status signals are transmitted to the downstream side via millimeter waves;
8、1-第一毫米波收发模块:8. 1-The first millimeter wave transceiver module:
用于传输控制及状态无线隔离通道;Used for transmission control and status wireless isolation channel;
9、2-第二毫米波收发模块(图8中自上而下第一个):9. 2- The second millimeter wave transceiver module (the first one from top to bottom in Figure 8):
用于传输USB2.0/1.x数据的无线隔离通道;Wireless isolation channel for transmitting USB2.0/1.x data;
10、2-第二毫米波收发模块(图8中自上而下第二个):10. 2- The second millimeter wave transceiver module (the second one from top to bottom in Figure 8):
用于传输USB3.0数据的无线隔离通道;Wireless isolation channel for transmitting USB3.0 data;
本实施例的工作过程如下:The working process of this embodiment is as follows:
1、当没有设备连接时,DD+和DD-被PU/PD模块使用15kΩ电阻都下拉到0;DSSTX+/DSSTX-上也检测不到端接电阻;1. When no device is connected, DD+ and DD- are pulled down to 0 by the PU/PD module using a 15kΩ resistor; no termination resistor is detected on DSSTX+/DSSTX-;
2、当有USB3.0设备连上时,DSSTX+/DSSTX-上会检测到端接电阻;当有USB2.0/1.x设备连上时,DD+或DD-会被设备的1.5kΩ电阻上拉到1(DD-被上拉到1表示连接的设备是低速设备,DD+被上拉到1表示连接的设备是全速或高速设备);2. When a USB3.0 device is connected, the termination resistor will be detected on DSSTX+/DSSTX-; when a USB2.0/1.x device is connected, DD+ or DD- will be pulled up to 1 by the device's 1.5kΩ resistor (DD- is pulled up to 1 to indicate that the connected device is a low-speed device, and DD+ is pulled up to 1 to indicate that the connected device is a full-speed or high-speed device);
3、下行侧检测及控制模块会将DD+/DD-和DSSTX+/DSSTX-的状态信息通过下行侧的第一毫米波收发模块1a及上行侧的第一毫米波收发模块1b传到上行侧检测及控制模块,上行侧检测及控制模块会在USSRX+/USSRX-上接上一个端接 电阻,或通过PU/PD模块将相应的UD+或UD-使用1.5kΩ电阻上拉到1;3. The downlink detection and control module will transmit the status information of DD+/DD- and DSSTX+/DSSTX- to the uplink detection and control module through the first millimeter wave transceiver module 1a on the downlink side and the first millimeter wave transceiver module 1b on the uplink side. The uplink detection and control module will connect a terminal on USSRX+/USSRX- Resistor, or pull the corresponding UD+ or UD- up to 1 using a 1.5kΩ resistor through the PU/PD module;
4、若连接设备为USB3.0设备,上行侧和下行侧分别使能图8中自上而下第二个第二毫米波收发模块,即下行侧的DSSRX+/DSSRX-与上行侧的USSTX+/USSTX-通过上述第二毫米波收发模块直接连通,上行侧的USSRX+/USSRX-与下行侧的DSSTX+/DSSTX-通过上述第二毫米波收发模块直接连通,此时可以进行USB3.0的超速模式通讯,直至下行侧的DSSTX+/DSSTX-上检测不到端接电阻,上行侧和下行侧重新回到设备未连接的状态;4. If the connected device is a USB3.0 device, the upstream side and the downstream side respectively enable the second second millimeter wave transceiver module from top to bottom in Figure 8, that is, the DSSRX+/DSSRX- on the downstream side is directly connected to the USSTX+/USSTX- on the upstream side through the above second millimeter wave transceiver module, and the USSRX+/USSRX- on the upstream side is directly connected to the DSSTX+/DSSTX- on the downstream side through the above second millimeter wave transceiver module. At this time, USB3.0 overspeed mode communication can be performed until the termination resistor is not detected on the DSSTX+/DSSTX- on the downstream side, and the upstream side and the downstream side return to the state where the device is not connected;
5、若连接设备为USB2.0/1.x设备,上行侧检测及控制模块等待来自主机的复位信号(UD+和UD-都被下拉到0),然后将复位信号通过上行侧的第一毫米波收发模块1a及下行侧的第一毫米波收发模块1b传到下行侧检测及控制模块,下行侧检测及控制模块通过PU/PD模块将DD+和DD-下拉到0,即产生对连接设备的复位信号;5. If the connected device is a USB2.0/1.x device, the upstream detection and control module waits for the reset signal from the host (UD+ and UD- are both pulled down to 0), and then transmits the reset signal to the downstream detection and control module through the first millimeter wave transceiver module 1a on the upstream side and the first millimeter wave transceiver module 1b on the downstream side. The downstream detection and control module pulls DD+ and DD- down to 0 through the PU/PD module, thereby generating a reset signal for the connected device;
6、若连接的设备为高速设备,则类似步骤3和4,依据USB2.0协议规定的高速握手过程,将DD+和DD-的状态传递到UD+和UD-上,或将UD+和UD-的状态传递到DD+和DD-上,进而完成高速识别握手过程;6. If the connected device is a high-speed device, similar to steps 3 and 4, according to the high-speed handshake process specified in the USB2.0 protocol, the status of DD+ and DD- is transferred to UD+ and UD-, or the status of UD+ and UD- is transferred to DD+ and DD-, thereby completing the high-speed identification handshake process;
经过上述步骤后,连接状态及速度模式均已确定并保持不变;After the above steps, the connection status and speed mode have been determined and remain unchanged;
接下来,下行侧检测及控制模块和上行侧检测及控制模块实时检测各自D+/D-的状态,数据的传输方向由哪一侧先检测到D+/D-从IDLE状态变为数据传输状态来定,假如下行侧检测及控制模块先检测到D+/D-脱离了IDLE状态,则先将此信息传输到上行侧检测及控制模块,上行侧检测及控制模块收到信息后,使能差分输出模块,从而建立了DD+/DD-到UD+/UD-方向的数据传输,当下行侧检测及控制模块检测到数据传输结束后,将此信息传输到上行侧检测及控制模块,上行侧检测及控制模块关闭差分输出,并将UD+/UD-置为IDLE状态,两边开始为下次传输做准备;Next, the downlink detection and control module and the uplink detection and control module detect the states of their respective D+/D- in real time. The data transmission direction is determined by which side first detects that D+/D- changes from the IDLE state to the data transmission state. If the downlink detection and control module first detects that D+/D- leaves the IDLE state, it first transmits this information to the uplink detection and control module. After receiving the information, the uplink detection and control module enables the differential output module, thereby establishing data transmission in the direction of DD+/DD- to UD+/UD-. When the downlink detection and control module detects that the data transmission is completed, it transmits this information to the uplink detection and control module. The uplink detection and control module turns off the differential output and sets UD+/UD- to the IDLE state. Both sides begin to prepare for the next transmission.
在低速或全速模式下,若检测到DD+和DD-为0并且超过2us则认为设备已断开,在高速模式下,若DD+/DD-的差分电压大于625mV则认为设备已断开;检测到设备断开后,DD+/DD-通过15kΩ下拉到0,UD+/UD-上的上拉电阻去掉,重新回到设备未连接的状态; In low-speed or full-speed mode, if DD+ and DD- are detected to be 0 and exceed 2us, the device is considered disconnected. In high-speed mode, if the differential voltage of DD+/DD- is greater than 625mV, the device is considered disconnected. After detecting that the device is disconnected, DD+/DD- is pulled down to 0 through 15kΩ, and the pull-up resistor on UD+/UD- is removed, returning to the state where the device is not connected.
本实施方式可以实现USB3.0/2.0/1.x通过毫米波进行隔离传输。This implementation can achieve isolated transmission of USB3.0/2.0/1.x via millimeter waves.
在另一个可选的实施方式中,所述第二毫米波收发模块替换为位于上行侧的上行差分开关模块和位于下行侧的下行差分开关模块;In another optional implementation, the second millimeter wave transceiver module is replaced by an uplink differential switch module located on the uplink side and a downlink differential switch module located on the downlink side;
所述第一毫米波收发模块经由所述上行差分开关模块分别连接至所述上行侧检测及控制模块和所述上行差分模块,以及经由所述下行差分开关模块分别连接至所述下行侧检测及控制模块和所述下行差分模块;The first millimeter wave transceiver module is respectively connected to the uplink detection and control module and the uplink differential module via the uplink differential switch module, and is respectively connected to the downlink detection and control module and the downlink differential module via the downlink differential switch module;
具体地,请参照图4,本公开的实施例提供一种USB隔离电路,包括:第一毫米波收发模块1、上行侧4和下行侧3;所述上行侧4包括上行差分开关模块46、上行侧检测及控制模块41和上行差分模块42;所述下行侧3包括下行差分开关模块36、下行侧检测及控制模块31和下行差分模块32;Specifically, referring to FIG. 4 , an embodiment of the present disclosure provides a USB isolation circuit, comprising: a first millimeter wave transceiver module 1, an upstream side 4 and a downstream side 3; the upstream side 4 comprises an upstream differential switch module 46, an upstream side detection and control module 41 and an upstream differential module 42; the downstream side 3 comprises a downstream differential switch module 36, a downstream side detection and control module 31 and a downstream differential module 32;
所述第一毫米波收发模块1经由所述上行差分开关模块46分别连接至所述上行侧检测及控制模块41和所述上行差分模块42,以及经由所述下行差分开关模块36分别连接至所述下行侧检测及控制模块31和所述下行差分模块32。The first millimeter wave transceiver module 1 is respectively connected to the uplink detection and control module 41 and the uplink differential module 42 via the uplink differential switch module 46 , and is respectively connected to the downlink detection and control module 31 and the downlink differential module 32 via the downlink differential switch module 36 .
可以理解,所述上行侧检测及控制模块41将连接所述上行差分模块42;所述下行侧检测及控制模块31将连接所述下行差分模块32,以实现检测及控制模块对差分模块的检测及控制。It can be understood that the uplink detection and control module 41 will be connected to the uplink differential module 42; the downlink detection and control module 31 will be connected to the downlink differential module 32, so as to realize the detection and control module to detect and control the differential module.
在本实施例中,上行侧和下行侧的检测及控制模块,用于根据接收到的状态信息产生相应的控制信息至差分开关模块,以进行插拔及传输方向的控制,同时将产生的状态信息通过毫米波传输至对侧;而通过设置第一毫米波收发模块1分别连接上行侧和下行侧的检测及控制模块,实现检测/控制信号的传输;上行侧和下行侧的差分开关模块,用于根据检测及控制模块输入的信号,选择来自差分模块或来自检测及控制模块的信号至第一毫米波收发模块传输至对侧,以及将来自第一毫米波收发模块的信号输出至差分模块或检测及控制模块。In this embodiment, the detection and control modules on the uplink side and the downlink side are used to generate corresponding control information to the differential switch module based on the received status information, so as to control the plug-in and transmission direction, and at the same time transmit the generated status information to the opposite side through millimeter waves; and by setting the first millimeter wave transceiver module 1 to be respectively connected to the detection and control modules on the uplink side and the downlink side, the transmission of detection/control signals is realized; the differential switch modules on the uplink side and the downlink side are used to select the signal from the differential module or from the detection and control module to transmit to the first millimeter wave transceiver module to the opposite side according to the signal input by the detection and control module, and output the signal from the first millimeter wave transceiver module to the differential module or the detection and control module.
上述实施例的工作原理如下:The working principle of the above embodiment is as follows:
下行侧检测及控制模块实时检测下行差分模块的输入状态,若没有设备连接时,系统处于未连接状态;The downstream detection and control module detects the input status of the downstream differential module in real time. If no device is connected, the system is in an unconnected state.
当有设备连上时,下行侧检测及控制模块将该状态通过下行差分开关模块,第一毫米波收发模块和上行差分开关模块传输到上行侧检测及控制模块,上行 侧检测及控制模块再将连接状态通过上行差分模块反馈给主机,并等待来自主机的复位信号;然后将主机的复位信号通过上行差分开关模块,第一毫米波收发模块和下行差分开关模块传输到下行侧检测及控制模块,下行侧检测及控制模块通过下行差分模块,将复位信号发给连接的设备,至此完成设备的连接过程。When a device is connected, the downlink detection and control module transmits the status to the uplink detection and control module through the downlink differential switch module, the first millimeter wave transceiver module and the uplink differential switch module. The side detection and control module then feeds back the connection status to the host through the uplink differential module and waits for the reset signal from the host; then the reset signal of the host is transmitted to the downlink side detection and control module through the uplink differential switch module, the first millimeter-wave transceiver module and the downlink differential switch module. The downlink side detection and control module sends the reset signal to the connected device through the downlink differential module, thereby completing the device connection process.
连接状态建立后,下行侧检测及控制模块和上行侧检测及控制模块继续实时检测各自相连的差分模块的接口信号,通信数据的传输方向由哪一侧先脱离了IDLE状态来定。After the connection state is established, the downstream detection and control module and the upstream detection and control module continue to detect the interface signals of the differential modules connected to them in real time, and the transmission direction of the communication data is determined by which side leaves the IDLE state first.
假设下行侧检测及控制模块先检测到差分模块的接口脱离了IDLE状态,则先将此状态信息通过下行差分开关模块,第一毫米波收发模块和上行差分开关模块传输到上行侧检测及控制模块,并将下行差分开关模块选通到下行差分模块,上行侧检测及控制模块收到该状态信息后,使能上行差分模块的输出功能,从而建立了下行侧到上行侧的数据传输通路;当下行侧检测及控制模块检测到数据传输结束后,将下行差分开关模块选通到下行侧检测及控制模块,并将此状态信息传输到上行侧检测及控制模块,上行侧检测及控制模块关闭上行差分模块的输出,并将上行差分模块的接口置为IDLE状态,两边开始为下次传输做准备。Assuming that the downlink detection and control module first detects that the interface of the differential module has left the IDLE state, the status information is first transmitted to the uplink detection and control module through the downlink differential switch module, the first millimeter wave transceiver module and the uplink differential switch module, and the downlink differential switch module is selected to the downlink differential module. After receiving the status information, the uplink detection and control module enables the output function of the uplink differential module, thereby establishing a data transmission path from the downlink side to the uplink side; when the downlink detection and control module detects that the data transmission is completed, the downlink differential switch module is selected to the downlink detection and control module, and the status information is transmitted to the uplink detection and control module. The uplink detection and control module turns off the output of the uplink differential module, and sets the interface of the uplink differential module to the IDLE state, and both sides begin to prepare for the next transmission.
若下行侧检测及控制模块检测到下行差分模块输入为未连接状态,则将此状态通过下行差分开关模块,第一毫米波收发模块和上行差分开关模块传输到上行侧检测及控制模块,上行侧检测及控制模块将上行差分模块置为未连接状态,系统重新回到设备未连接的状态。If the downlink detection and control module detects that the downlink differential module input is in an unconnected state, this state is transmitted to the uplink detection and control module through the downlink differential switch module, the first millimeter-wave transceiver module and the uplink differential switch module. The uplink detection and control module sets the uplink differential module to an unconnected state, and the system returns to the device unconnected state.
可以理解,本实施例基于现有的USB隔离电路,将其中的磁感隔离器或电容隔离器替换成了一组毫米波收发模块,即第一毫米波收发模块;同时在上行侧和下行侧分别设置差分开关模块,以起到选择通道导通作用,从而基于毫米波无线通信技术来实现高低压端的隔离传输功能,具体的通信控制和传输方式无需改变,直接基于现有的USB通信协议即可。It can be understood that this embodiment is based on the existing USB isolation circuit, and the magnetic inductive isolator or capacitive isolator therein is replaced by a group of millimeter wave transceiver modules, namely, the first millimeter wave transceiver module; at the same time, differential switch modules are respectively arranged on the upstream side and the downstream side to play a role in selecting channel conduction, thereby realizing the isolation transmission function of the high and low voltage ends based on the millimeter wave wireless communication technology, and the specific communication control and transmission mode do not need to be changed, and can be directly based on the existing USB communication protocol.
区别于现有采用磁感隔离器或电容隔离器实现的传输隔离,基于毫米波对隔离两端“地”的变化是无感的,因而在CMTI指标上能得到大幅提升;基于毫 米波收发模块无需充放电过程且体积可以做到很小,因而还能在速度、耐压及带宽上也得到明显提升。特别地,本实施例通过在上行侧和下行侧分别设置有上行差分开关模块和下行差分开关模块,以起到选择通道导通作用,从而实现将原本只能由多组毫米波收发模块才能实现的毫米波隔离传输功能仅由一组毫米波收发模块即可实现,进而有效解决多组毫米波收发模块可能带来的串扰问题。Different from the existing transmission isolation realized by magnetic inductive isolators or capacitive isolators, millimeter waves are insensitive to the changes of the "ground" at both ends of the isolation, so the CMTI index can be greatly improved; The millimeter wave transceiver module does not require a charging and discharging process and can be made very small, so it can also be significantly improved in speed, voltage resistance and bandwidth. In particular, this embodiment is provided with an uplink differential switch module and a downlink differential switch module on the uplink side and the downlink side respectively to play a role in selecting channel conduction, thereby realizing the millimeter wave isolation transmission function that can only be achieved by multiple groups of millimeter wave transceiver modules by only one group of millimeter wave transceiver modules, thereby effectively solving the crosstalk problem that may be caused by multiple groups of millimeter wave transceiver modules.
在本实施例中,通过设置有一组毫米波收发模块来负责检测/控制信号的传输以及通信数据的传输,从而确保USB传输功能的正常使用;而通过设置上行差分开关模块和下行差分开关模块以起到选择通道导通作用,进而实现将原本只能由多组毫米波收发模块才能实现的毫米波隔离传输功能仅由一组毫米波收发模块即可实现,以此有效解决多组毫米波收发模块可能带来的串扰问题。In this embodiment, a group of millimeter-wave transceiver modules are provided to be responsible for the transmission of detection/control signals and communication data, thereby ensuring the normal use of the USB transmission function; and an upstream differential switch module and a downstream differential switch module are provided to play the role of selecting channel conduction, thereby achieving the millimeter-wave isolation transmission function that could only be achieved by multiple groups of millimeter-wave transceiver modules. Only one group of millimeter-wave transceiver modules can be used to achieve the function, thereby effectively solving the crosstalk problem that may be caused by multiple groups of millimeter-wave transceiver modules.
请参阅图5,在一些具体实施方式中,第一毫米波收发模块1包括一个毫米波接收模块和一个毫米波发送模块。相应地,所述第一毫米波收发模块1具体由毫米波收发模块a(对应图5所示的毫米波收发模块1a)和毫米波收发模块b(对应图5所示的毫米波收发模块1b)组成,并分别设置在下行侧和上行侧内,所述毫米波收发模块a连接所述下行差分开关模块36;所述毫米波收发模块b连接所述上行差分开关模块46。毫米波收发模块a与毫米波收发模块b之间基于毫米波无线通信。可以理解,上述毫米波收发模块a可以是毫米波接收模块,也可以是毫米波发送模块;相应地,所述毫米波收发模块b便为毫米波发送模块/毫米波接收模块。Please refer to Figure 5. In some specific embodiments, the first millimeter wave transceiver module 1 includes a millimeter wave receiving module and a millimeter wave sending module. Accordingly, the first millimeter wave transceiver module 1 is specifically composed of a millimeter wave transceiver module a (corresponding to the millimeter wave transceiver module 1a shown in Figure 5) and a millimeter wave transceiver module b (corresponding to the millimeter wave transceiver module 1b shown in Figure 5), and is respectively arranged in the downlink side and the uplink side. The millimeter wave transceiver module a is connected to the downlink differential switch module 36; the millimeter wave transceiver module b is connected to the uplink differential switch module 46. The millimeter wave transceiver module a and the millimeter wave transceiver module b communicate wirelessly based on millimeter waves. It can be understood that the above-mentioned millimeter wave transceiver module a can be a millimeter wave receiving module or a millimeter wave sending module; accordingly, the millimeter wave transceiver module b is a millimeter wave sending module/millimeter wave receiving module.
请参阅图6,在一些具体实施方式中,所述上行差分开关模块46包括上行Mux模块46-1和上行De-Mux模块46-2;所述下行差分开关模块36包括下行Mux模块36-1和下行De-Mux模块36-2;所述上行Mux模块46-1和所述上行De-Mux模块46-2分别连接至所述毫米波收发模块b(对应图6所示的毫米波收发模块1b);所述上行Mux模块46-1和所述上行De-Mux模块46-2均连接至所述上行侧检测及控制模块41和所述上行差分模块42;所述下行Mux模块36-1和所述下行De-Mux模块36-2分别连接至所述毫米波收发模块a(对应图6所示的毫米波收发模块1a);所述下行Mux模块36-1和所述下行De-Mux模块36-2均连接 至所述下行侧检测及控制模块31和所述下行差分模块32。Please refer to Figure 6. In some specific embodiments, the uplink differential switch module 46 includes an uplink Mux module 46-1 and an uplink De-Mux module 46-2; the downlink differential switch module 36 includes a downlink Mux module 36-1 and a downlink De-Mux module 36-2; the uplink Mux module 46-1 and the uplink De-Mux module 46-2 are respectively connected to the millimeter wave transceiver module b (corresponding to the millimeter wave transceiver module 1b shown in Figure 6); the uplink Mux module 46-1 and the uplink De-Mux module 46-2 are both connected to the uplink side detection and control module 41 and the uplink differential module 42; the downlink Mux module 36-1 and the downlink De-Mux module 36-2 are respectively connected to the millimeter wave transceiver module a (corresponding to the millimeter wave transceiver module 1a shown in Figure 6); the downlink Mux module 36-1 and the downlink De-Mux module 36-2 are both connected To the downstream detection and control module 31 and the downstream differential module 32.
上述具体实施方式的工作原理如下:The working principle of the above specific implementation is as follows:
下行侧检测及控制模块实时检测下行差分模块的输入状态,若没有设备连接时,系统处于未连接状态;The downstream detection and control module detects the input status of the downstream differential module in real time. If no device is connected, the system is in an unconnected state.
当有设备连上时,下行侧检测及控制模块将该状态通过下行Mux模块,第一毫米波收发模块和上行De-Mux模块传输到上行侧检测及控制模块,上行侧检测及控制模块再将连接状态通过上行差分模块反馈给主机,并等待来自主机的复位信号;然后将主机的复位信号通过上行Mux模块,第一毫米波收发模块和下行De-Mux模块传输到下行侧检测及控制模块,下行侧检测及控制模块通过下行差分模块,将复位信号发给连接的设备,至此完成设备的连接过程。When a device is connected, the downstream detection and control module transmits the status to the upstream detection and control module through the downstream Mux module, the first millimeter-wave transceiver module and the upstream De-Mux module. The upstream detection and control module then feeds back the connection status to the host through the upstream differential module and waits for the reset signal from the host; then the reset signal of the host is transmitted to the downstream detection and control module through the upstream Mux module, the first millimeter-wave transceiver module and the downstream De-Mux module. The downstream detection and control module sends the reset signal to the connected device through the downstream differential module, thereby completing the device connection process.
连接状态建立后,下行侧检测及控制模块和上行侧检测及控制模块继续实时检测各自相连的差分模块的接口信号,通信数据的传输方向由哪一侧先脱离了IDLE状态来定。After the connection state is established, the downstream detection and control module and the upstream detection and control module continue to detect the interface signals of the differential modules connected to them in real time, and the transmission direction of the communication data is determined by which side leaves the IDLE state first.
假设下行侧检测及控制模块先检测到差分模块的接口脱离了IDLE状态,则先将此状态信息通过下行Mux模块,第一毫米波收发模块和上行De-Mux模块传输到上行侧检测及控制模块,并将下行Mux模块选通到下行差分模块,上行侧检测及控制模块收到该状态信息后,使能上行差分模块的输出功能,从而建立了下行侧到上行侧的数据传输通路;当下行侧检测及控制模块检测到数据传输结束后,将下行Mux模块选通到下行侧检测及控制模块,并将此状态信息传输到上行侧检测及控制模块,上行侧检测及控制模块关闭上行差分模块的输出,并将上行差分模块的接口置为IDLE状态,两边开始为下次传输做准备。Assuming that the downlink detection and control module first detects that the interface of the differential module has left the IDLE state, the status information is first transmitted to the uplink detection and control module through the downlink Mux module, the first millimeter wave transceiver module and the uplink De-Mux module, and the downlink Mux module is selected to the downlink differential module. After receiving the status information, the uplink detection and control module enables the output function of the uplink differential module, thereby establishing a data transmission path from the downlink side to the uplink side; when the downlink detection and control module detects that the data transmission is completed, the downlink Mux module is selected to the downlink detection and control module, and the status information is transmitted to the uplink detection and control module. The uplink detection and control module turns off the output of the uplink differential module, and sets the interface of the uplink differential module to the IDLE state, and both sides begin to prepare for the next transmission.
若下行侧检测及控制模块检测到下行差分模块输入为未连接状态,则将此状态通过下行Mux模块,第一毫米波收发模块和上行De-Mux模块传输到上行侧检测及控制模块,上行侧检测及控制模块将上行差分模块置为未连接状态,系统重新回到设备未连接的状态。If the downlink side detection and control module detects that the downlink differential module input is in an unconnected state, this state is transmitted to the uplink side detection and control module through the downlink Mux module, the first millimeter wave transceiver module and the uplink De-Mux module. The uplink side detection and control module sets the uplink differential module to an unconnected state, and the system returns to the device unconnected state.
进一步地,请参阅图7,基于上述具体实施方式的又一些具体实施方式中,所述上行差分模块42具体包括上行差分输出模块42-1和上行差分输入模块42-2;所述下行差分模块32具体包括下行差分输出模块32-1和下行差分输入 模块32-2;所述上行差分输出模块42-1分别连接所述上行De-Mux模块46-2、所述上行接口和所述上行侧检测及控制模块41;所述上行差分输入模块42-2分别连接所述上行Mux模块46-1、所述上行接口和所述上行侧检测及控制模块41;所述下行差分输入模块32-2分别连接所述下行Mux模块36-1、所述下行接口和所述下行侧检测及控制模块31;所述下行差分输出模块32-1分别连接下行De-Mux模块36-2、所述下行接口和所述下行侧检测及控制模块31。Further, referring to FIG. 7 , in some other specific implementations based on the above specific implementations, the uplink differential module 42 specifically includes an uplink differential output module 42-1 and an uplink differential input module 42-2; the downlink differential module 32 specifically includes a downlink differential output module 32-1 and a downlink differential input module 42-2. Module 32-2; the uplink differential output module 42-1 is respectively connected to the uplink De-Mux module 46-2, the uplink interface and the uplink side detection and control module 41; the uplink differential input module 42-2 is respectively connected to the uplink Mux module 46-1, the uplink interface and the uplink side detection and control module 41; the downlink differential input module 32-2 is respectively connected to the downlink Mux module 36-1, the downlink interface and the downlink side detection and control module 31; the downlink differential output module 32-1 is respectively connected to the downlink De-Mux module 36-2, the downlink interface and the downlink side detection and control module 31.
进一步地,所述上行侧4还包括上行PU/PD模块43和上行接口(对应图7中的UD+/UD-);所述下行侧3还包括下行PU/PD模块33和下行接口(对应图7中的DD+/DD-)。其中,上行接口UD+/UD-连接USB2.0/1.xHost;下行接口DD+/DD-连接USB2.0/1.xDevice。Furthermore, the upstream side 4 further includes an upstream PU/PD module 43 and an upstream interface (corresponding to UD+/UD- in FIG. 7 ); the downstream side 3 further includes a downstream PU/PD module 33 and a downstream interface (corresponding to DD+/DD- in FIG. 7 ). The upstream interface UD+/UD- is connected to the USB2.0/1.xHost; the downstream interface DD+/DD- is connected to the USB2.0/1.xDevice.
所述上行PU/PD模块43分别连接所述上行侧检测及控制模块41、所述上行差分输入模块42-2、所述上行差分输出模块42-1和所述上行接口UD+/UD-;所述下行PU/PD模块33分别连接所述下行侧检测及控制模块31、所述下行差分输入模块32-2、所述下行差分输出模块32-1和所述下行接口DD+/DD-。The uplink PU/PD module 43 is respectively connected to the uplink side detection and control module 41, the uplink differential input module 42-2, the uplink differential output module 42-1 and the uplink interface UD+/UD-; the downlink PU/PD module 33 is respectively connected to the downlink side detection and control module 31, the downlink differential input module 32-2, the downlink differential output module 32-1 and the downlink interface DD+/DD-.
下面,对本发明实施例所涉及的模块进行功能说明。The following is a functional description of the modules involved in the embodiments of the present invention.
所述上行PU/PD模块/所述下行PU/PD模块,用于根据接收到的控制信号(来自上行侧检测及控制模块/下行侧检测及控制模块),对差分接口进行上拉或下拉的控制;The uplink PU/PD module/the downlink PU/PD module is used to control the pull-up or pull-down of the differential interface according to the received control signal (from the uplink detection and control module/the downlink detection and control module);
所述上行差分输入模块/下行差分输入模块,用于将接口差分信号转成单端信号;The uplink differential input module/downlink differential input module is used to convert the interface differential signal into a single-ended signal;
所述上行差分输出模块/下行差分输出模块,用于根据接收到的信号,将单端信号转成差分信号或输出高阻态;The uplink differential output module/downlink differential output module is used to convert the single-ended signal into a differential signal or output a high-impedance state according to the received signal;
所述上行Mux模块/下行Mux模块,用于根据对应的检测及控制模块输出的选择信号,选通一路来自对应的差分输入或检测及控制模块的信号至第一毫米波收发模块;The uplink Mux module/downlink Mux module is used to select a signal from the corresponding differential input or detection and control module to the first millimeter wave transceiver module according to the selection signal output by the corresponding detection and control module;
所述上行De-Mux模块/下行De-Mux模块,用于根据第一毫米波收发模块输出信号中的特殊标识将第一毫米波收发模块的信号输出到对应的检测及控制模块或差分输出模块,其中的特殊标识可以是正常数据中不会出现的特殊波形, 例如窄脉冲等;The uplink De-Mux module/downlink De-Mux module is used to output the signal of the first millimeter wave transceiver module to the corresponding detection and control module or differential output module according to the special identifier in the output signal of the first millimeter wave transceiver module, wherein the special identifier can be a special waveform that does not appear in normal data, For example, narrow pulses, etc.
所述下行侧检测及控制模块,用于根据下行接口DD+/DD-的状态及上行侧的状态信息,进行插拔及传输方向的检测,并产生相应的控制信号,进行插拔及传输方向的控制,同时将产生的状态信号通过第一毫米波收发模块传输到上行侧;The downstream detection and control module is used to detect the plugging and unplugging and transmission direction according to the status of the downstream interface DD+/DD- and the status information of the upstream side, and generate corresponding control signals to control the plugging and unplugging and transmission direction, and transmit the generated status signal to the upstream side through the first millimeter wave transceiver module;
所述上行侧检测及控制模块,用于根据上行接口UD+/UD-的状态及下行侧的状态信息,进行插拔及传输方向的检测,并产生相应的控制信号,进行插拔及传输方向的控制,同时将产生的状态信号通过第一毫米波收发模块传输到下行侧;The uplink detection and control module is used to detect the plugging and unplugging and transmission direction according to the status of the uplink interface UD+/UD- and the status information of the downlink side, and generate corresponding control signals to control the plugging and unplugging and transmission direction, and transmit the generated status signal to the downlink side through the first millimeter wave transceiver module;
第一毫米波收发模块,用于传输控制信号、状态信息以及通信数据的无线隔离通道。The first millimeter wave transceiver module is used for transmitting control signals, status information and a wireless isolation channel for communication data.
相应地,本发明实施例的工作原理如下:Accordingly, the working principle of the embodiment of the present invention is as follows:
当没有设备连接时,下行接口中的DD+和DD-被PU/PD模块使用15kΩ电阻都下拉到0;When no device is connected, the DD+ and DD- in the downstream interface are pulled down to 0 by the PU/PD module using a 15kΩ resistor;
当有设备连上时,下行接口DD+或DD-会被接入设备的1.5kΩ电阻上拉到1(DD-被上拉到1表示接入设备是低速设备,DD+被上拉到1表示接入设备是全速或高速设备);When a device is connected, the downstream interface DD+ or DD- will be pulled up to 1 by the 1.5kΩ resistor of the connected device (DD- is pulled up to 1 to indicate that the connected device is a low-speed device, and DD+ is pulled up to 1 to indicate that the connected device is a full-speed or high-speed device);
下行侧检测及控制模块会将DD+和DD-的状态信息依序通过下行Mux模块和第一毫米波收发模块传输到上行De-Mux模块,再经其将接收到的状态信号输出至上行侧检测及控制模块;上行侧检测及控制模块依据接收到的状态信息,通过上行PU/PD模块将上行接口中相应的UD+或UD-使用1.5kΩ电阻上拉到1;The downlink detection and control module transmits the status information of DD+ and DD- to the uplink De-Mux module through the downlink Mux module and the first millimeter wave transceiver module in sequence, and then outputs the received status signal to the uplink detection and control module; the uplink detection and control module pulls up the corresponding UD+ or UD- in the uplink interface to 1 using a 1.5kΩ resistor through the uplink PU/PD module based on the received status information;
上行侧检测及控制模块等待来自主机的复位信号(UD+和UD-都被下拉到0),然后将复位信号依序通过上行侧Mux模块和第一毫米波收发模块传到下行侧De-Mux模块,再由其将复位信号传输至下行侧检测及控制模块,下行侧检测及控制模块通过下行PU/PD模块将下行接口的DD+和DD-下拉到0,即产生对连接设备的复位信号,以此完成识别握手过程。The upstream detection and control module waits for the reset signal from the host (UD+ and UD- are both pulled down to 0), and then transmits the reset signal to the downstream De-Mux module through the upstream Mux module and the first millimeter-wave transceiver module in sequence, which then transmits the reset signal to the downstream detection and control module. The downstream detection and control module pulls down the DD+ and DD- of the downstream interface to 0 through the downstream PU/PD module, thereby generating a reset signal for the connected device, thereby completing the identification handshake process.
若连接的设备为高速设备,则类似上述步骤,依据USB2.0协议规定的高速握手过程,将下行接口的DD+和DD-的状态信息传递到上行接口的UD+和UD-上, 或将上行接口的UD+和UD-的状态信息传递到下行接口的DD+和DD-上,进而完成高速识别握手过程。If the connected device is a high-speed device, similar to the above steps, according to the high-speed handshake process specified in the USB2.0 protocol, the status information of DD+ and DD- of the downstream interface is passed to UD+ and UD- of the upstream interface. Or the status information of UD+ and UD- of the upstream interface is transmitted to DD+ and DD- of the downstream interface, thereby completing the high-speed identification handshake process.
经过上述步骤后,连接状态及速度模式均已确定并保持不变。接下来,下行侧检测及控制模块和上行侧检测及控制模块将实时检测各自接口D+/D-的状态,通信数据的传输方向由哪一侧先检测到D+/D-脱离了IDLE状态来定。After the above steps, the connection status and speed mode have been determined and remain unchanged. Next, the downlink detection and control module and the uplink detection and control module will detect the status of their respective interfaces D+/D- in real time, and the transmission direction of the communication data is determined by which side first detects that D+/D- has left the IDLE state.
假设下行侧检测及控制模块先检测到D+/D-脱离了IDLE状态,则先将此状态信息传输到上行侧检测及控制模块,然后将下行侧Mux模块选通至下行差分输入模块,上行侧检测及控制模块根据收到的来自上行侧检测及控制模块的状态信息,使能上行差分输出模块,从而建立了DD+/DD-到UD+/UD-方向的数据传输,即下行接口到上行接口方向的数据传输通路;当下行侧检测及控制模块检测到数据传输结束后,将此状态信息传输到上行侧检测及控制模块,上行侧检测及控制模块关闭上行差分输出模块,并将上行接口UD+/UD-置为IDLE状态,两边开始为下次传输做准备。Assuming that the downstream detection and control module first detects that D+/D- has left the IDLE state, it first transmits this state information to the upstream detection and control module, and then selects the downstream Mux module to the downstream differential input module. The upstream detection and control module enables the upstream differential output module based on the state information received from the upstream detection and control module, thereby establishing data transmission in the direction of DD+/DD- to UD+/UD-, that is, the data transmission path from the downstream interface to the upstream interface; when the downstream detection and control module detects that the data transmission is completed, it transmits this state information to the upstream detection and control module, and the upstream detection and control module turns off the upstream differential output module and sets the upstream interface UD+/UD- to the IDLE state, and both sides begin to prepare for the next transmission.
在低速或全速模式下,若检测到下行接口DD+和DD-为0并且超过2us则认为设备已断开;在高速模式下,若下行接口DD+/DD-的差分电压大于625mV则认为设备已断开;检测到设备断开后,下行接口DD+/DD-通过15kΩ下拉到0,上行接口UD+/UD-上的上拉电阻去掉,重新回到设备未连接的状态。In low-speed or full-speed mode, if the downstream interface DD+ and DD- are detected to be 0 and exceed 2us, the device is considered to be disconnected; in high-speed mode, if the differential voltage of the downstream interface DD+/DD- is greater than 625mV, the device is considered to be disconnected; after detecting that the device is disconnected, the downstream interface DD+/DD- is pulled down to 0 through 15kΩ, and the pull-up resistor on the upstream interface UD+/UD- is removed, returning to the device unconnected state.
在另一个可选的实施方式中,如图9所示,所述上行接口包括多个;In another optional embodiment, as shown in FIG9 , the uplink interface includes a plurality of;
所述上行差分输入模块、所述上行差分输出模块、所述下行差分输入模块、所述下行差分输出模块和所述下行接口的个数分别与所述上行接口的个数一一对应;The number of the upstream differential input modules, the upstream differential output modules, the downstream differential input modules, the downstream differential output modules and the downstream interfaces respectively corresponds to the number of the upstream interfaces;
所述上行差分输入模块和所述上行差分输出模块分别与对应的上行接口连接;The uplink differential input module and the uplink differential output module are respectively connected to the corresponding uplink interfaces;
所述下行差分输入模块和所述下行差分输出模块分别与对应的下行接口连接。The downstream differential input module and the downstream differential output module are respectively connected to corresponding downstream interfaces.
本实施方式中,所述上行接口包括2个,上行接口与其对应的下行接口构成了接口5;其中一个接口5为USB2.0接口或USB1.x接口,另一个接口5为USB3.0接口; In this embodiment, the upstream interface includes two, and the upstream interface and its corresponding downstream interface constitute an interface 5; one of the interfaces 5 is a USB2.0 interface or a USB1.x interface, and the other interface 5 is a USB3.0 interface;
在下行侧中,如图9所示,自上而下的接口5可以分别表示为DD+/DD-和DSSTX+/DSSTX-/DSSRX+/DSSRX-;In the downstream side, as shown in FIG9 , the interfaces 5 from top to bottom can be represented as DD+/DD- and DSSTX+/DSSTX-/DSSRX+/DSSRX- respectively;
在上行侧中,如图9所示,自上而下的接口5可以分别表示为UD+/UD-和USSTX+/USSTX-/USSRX+/USSRX-;In the upstream side, as shown in FIG9 , the interfaces 5 from top to bottom can be represented as UD+/UD- and USSTX+/USSTX-/USSRX+/USSRX- respectively;
则DD+/DD-和DSSTX+/DSSTX-/DSSRX+/DSSRX-(下行口)连接USB3.0/2.0/1.xDevice,UD+/UD-和USSTX+/USSTX-/USSRX+/USSRX-(上行口)连接USB3.0/2.0/1.xHost;Then DD+/DD- and DSSTX+/DSSTX-/DSSRX+/DSSRX- (downstream ports) are connected to USB3.0/2.0/1.xDevice, and UD+/UD- and USSTX+/USSTX-/USSRX+/USSRX- (upstream ports) are connected to USB3.0/2.0/1.xHost;
图9中各个模块的攻能介绍如下:The attack capabilities of each module in Figure 9 are described as follows:
1、33-下行侧PU/PD模块、43-上行侧PU/PD模块:1. 33-downlink PU/PD module, 43-uplink PU/PD module:
根据输入控制信号,对差分接口DD+/DD-或UD+/UD-进行上拉或下拉的控制;According to the input control signal, the differential interface DD+/DD- or UD+/UD- is pulled up or down;
2、32-2-下行差分输入模块、42-2-上行差分输入模块(图9中自上而下第一个):2. 32-2-downward differential input module, 42-2-upward differential input module (the first one from top to bottom in Figure 9):
接收D+/D-接口上的USB2.0/1.x信号并转成内部信号;Receive USB2.0/1.x signals on the D+/D- interface and convert them into internal signals;
3、32-1-下行差分输出模块、42-1-上行差分输入模块(图9中自上而下第一个):3. 32-1- Downstream differential output module, 42-1- Upstream differential input module (the first one from top to bottom in Figure 9):
将内部信号转成USB2.0/1.x信号输出到D+/D-接口上;Convert internal signals into USB2.0/1.x signals and output them to the D+/D- interface;
4、32-2-下行差分输入模块、42-2-上行差分输入模块(图9中自上而下第二个):4. 32-2-downward differential input module, 42-2-upward differential input module (the second one from top to bottom in Figure 9):
接收SSRX+/SSRX-接口上的USB3.0信号并转成内部信号Receive USB3.0 signals on SSRX+/SSRX- interface and convert them into internal signals
5、32-1-下行差分输出模块、42-1-上行差分输入模块(图9中自上而下第二个):5. 32-1- Downstream differential output module, 42-1- Upstream differential input module (the second one from top to bottom in Figure 9):
将内部信号转成USB3.0信号输出到SSTX+/SSTX-接口上Convert the internal signal into USB3.0 signal and output it to SSTX+/SSTX- interface
6、Mux模块:6. Mux module:
根据选择信号,选通一路来自差分输入或控制模块的信号到毫米波收发模块;According to the selection signal, a signal from a differential input or control module is selected to the millimeter wave transceiver module;
7、De-Mux模块:7. De-Mux module:
将毫米波收发模块的信号输出到检测及控制模块或差分输出模块;Output the signal of the millimeter wave transceiver module to the detection and control module or the differential output module;
8、下行侧检测及控制模块:8. Downstream detection and control module:
根据下行口DD+/DD-和DSSTX+/DSSTX-/DSSRX+/DSSRX-的状态及上行侧的状 态信息,进行插拔及传输方向的检测,并产生相应的控制信号,进行插拔控制,同时将产生的状态信号通过毫米波传输到上行侧;According to the status of the downstream ports DD+/DD- and DSSTX+/DSSTX-/DSSRX+/DSSRX- and the status of the upstream side Status information, detect plug-in and unplug and transmission direction, and generate corresponding control signals to control plug-in and unplug. At the same time, the generated status signal is transmitted to the uplink side via millimeter wave;
9、上行侧检测及控制模块:9. Uplink detection and control module:
根据上行口UD+/UD-和USSTX+/USSTX-/USSRX+/USSRX-的状态及上行侧的状态信息,进行插拔及传输方向的检测,并产生相应的控制信号,进行插拔控制,同时将产生的状态信号通过毫米波传输到下行侧。According to the status of the upstream ports UD+/UD- and USSTX+/USSTX-/USSRX+/USSRX- and the status information of the upstream side, the plugging and unplugging and transmission direction are detected, and the corresponding control signals are generated to control the plugging and unplugging. At the same time, the generated status signals are transmitted to the downstream side via millimeter waves.
本实施例的工作过程如下:The working process of this embodiment is as follows:
1、当没有设备连接时,DD+和DD-被PU/PD模块使用15kΩ电阻都下拉到0,DSSTX+/DSSTX-上也检测不到端接电阻;1. When no device is connected, DD+ and DD- are pulled down to 0 by the PU/PD module using a 15kΩ resistor, and no termination resistor is detected on DSSTX+/DSSTX-;
2、当有USB3.0设备连上时,DSSTX+/DSSTX-上会检测到端接电阻;当有USB2.0/1.x设备连上时,DD+或DD-会被设备的1.5kΩ电阻上拉到1(DD-被上拉到1表示连接的设备是低速设备,DD+被上拉到1表示连接的设备是全速或高速设备);2. When a USB3.0 device is connected, the termination resistor will be detected on DSSTX+/DSSTX-; when a USB2.0/1.x device is connected, DD+ or DD- will be pulled up to 1 by the device's 1.5kΩ resistor (DD- is pulled up to 1 to indicate that the connected device is a low-speed device, and DD+ is pulled up to 1 to indicate that the connected device is a full-speed or high-speed device);
3、下行侧检测及控制模块会将DD+/DD-和DSSTX+/DSSTX-的状态信息通过下行侧的Mux和第一毫米波收发模块1a及上行侧的第一毫米波收发模块1b和De-Mux传到上行侧检测及控制模块,上行侧检测及控制模块会在USSRX+/USSRX-上接上一个端接电阻,或通过PU/PD模块将相应的UD+或UD-使用1.5kΩ电阻上拉到1;3. The downlink detection and control module transmits the status information of DD+/DD- and DSSTX+/DSSTX- to the uplink detection and control module through the Mux and the first millimeter-wave transceiver module 1a on the downlink side and the first millimeter-wave transceiver module 1b and De-Mux on the uplink side. The uplink detection and control module connects a termination resistor to USSRX+/USSRX-, or pulls the corresponding UD+ or UD- up to 1 using a 1.5kΩ resistor through the PU/PD module;
4、若连接设备为USB3.0设备,上行侧和下行侧的Mux和De-Mux模块均选择图9中自上而下的第二差分输入和第二个差分输出,即下行侧的DSSRX+/DSSRX-与上行侧的USSTX+/USSTX-通过第一毫米波收发模块直接连通,上行侧的USSRX+/USSRX-与下行侧的DSSTX+/DSSTX-通过第一毫米波收发模块直接连通,此时可以进行USB3.0的超速模式通讯,直至下行侧的DSSTX+/DSSTX-上检测不到端接电阻,上行侧和下行侧重新回到设备未连接的状态;4. If the connected device is a USB3.0 device, the Mux and De-Mux modules on the upstream and downstream sides both select the second differential input and the second differential output from top to bottom in Figure 9, that is, the DSSRX+/DSSRX- on the downstream side is directly connected to the USSTX+/USSTX- on the upstream side through the first millimeter-wave transceiver module, and the USSRX+/USSRX- on the upstream side is directly connected to the DSSTX+/DSSTX- on the downstream side through the first millimeter-wave transceiver module. At this time, USB3.0 overspeed mode communication can be performed until the termination resistor is no longer detected on the DSSTX+/DSSTX- on the downstream side, and the upstream and downstream sides return to the state where the device is not connected;
5、若连接设备为USB2.0/1.x设备,上行侧检测及控制模块等待来自主机的复位信号(UD+和UD-都被下拉到0),然后将复位信号通过上行侧的Mux和第一毫米波收发模块1b及下行侧的第一毫米波收发模块1a和De-Mux传到下行侧检测及控制模块,下行侧检测及控制模块通过PU/PD模块将DD+和DD-下拉到0, 即产生对连接设备的复位信号;5. If the connected device is a USB2.0/1.x device, the upstream detection and control module waits for the reset signal from the host (UD+ and UD- are both pulled down to 0), and then transmits the reset signal to the downstream detection and control module through the upstream Mux and the first millimeter wave transceiver module 1b and the downstream first millimeter wave transceiver module 1a and De-Mux. The downstream detection and control module pulls DD+ and DD- down to 0 through the PU/PD module. That is, a reset signal is generated for the connected device;
6、若连接的设备为高速设备,则类似步骤3和4,依据USB2.0协议规定的高速握手过程,将DD+和DD-的状态传递到UD+和UD-上,或将UD+和UD-的状态传递到DD+和DD-上,进而完成高速识别握手过程;6. If the connected device is a high-speed device, similar to steps 3 and 4, according to the high-speed handshake process specified in the USB2.0 protocol, the status of DD+ and DD- is transferred to UD+ and UD-, or the status of UD+ and UD- is transferred to DD+ and DD-, thereby completing the high-speed identification handshake process;
经过上述步骤后,连接状态及速度模式均已确定并保持不变;接下来,下行侧检测及控制模块和上行侧检测及控制模块实时检测各自D+/D-的状态,数据的传输方向由哪一侧先检测到D+/D-从IDLE状态变为数据传输状态来定,假如下行侧检测及控制模块先检测到D+/D-脱离了IDLE状态,则先将此信息传输到上行侧检测及控制模块,然后将Mux选通到差分输入模块,上行侧检测及控制模块收到信息后,使能差分输出模块,从而建立了DD+/DD-到UD+/UD-方向的数据传输,当下行侧检测及控制模块检测到数据传输结束后,将此信息传输到上行侧检测及控制模块,上行侧检测及控制模块关闭差分输出,并将UD+/UD-置为IDLE状态,两边开始为下次传输做准备;After the above steps, the connection status and speed mode have been determined and remain unchanged; next, the downstream detection and control module and the upstream detection and control module detect the status of their respective D+/D- in real time, and the data transmission direction is determined by which side first detects that D+/D- changes from the IDLE state to the data transmission state. If the downstream detection and control module first detects that D+/D- leaves the IDLE state, it first transmits this information to the upstream detection and control module, and then selects the Mux to the differential input module. After receiving the information, the upstream detection and control module enables the differential output module, thereby establishing data transmission in the direction of DD+/DD- to UD+/UD-. When the downstream detection and control module detects that the data transmission is completed, it transmits this information to the upstream detection and control module, and the upstream detection and control module turns off the differential output and sets UD+/UD- to the IDLE state, and both sides begin to prepare for the next transmission;
在低速或全速模式下,若检测到DD+和DD-为0并且超过2us则认为设备已断开,在高速模式下,若DD+/DD-的差分电压大于625mV则认为设备已断开;检测到设备断开后,DD+/DD-通过15kΩ下拉到0,UD+/UD-上的上拉电阻去掉,重新回到设备未连接的状态;In low-speed or full-speed mode, if DD+ and DD- are detected to be 0 and exceed 2us, the device is considered disconnected. In high-speed mode, if the differential voltage of DD+/DD- is greater than 625mV, the device is considered disconnected. After detecting that the device is disconnected, DD+/DD- is pulled down to 0 through 15kΩ, and the pull-up resistor on UD+/UD- is removed, returning to the state where the device is not connected.
本实施方式可以实现USB3.0/2.0/1.x通过毫米波进行隔离传输。This implementation can achieve isolated transmission of USB3.0/2.0/1.x via millimeter waves.
本公开的实施例还提供USB隔离芯片,其上集成上述实施例所述的USB隔离电路。所述的USB隔离电路的具体结构组成在此不进行复述,详情请参阅上述实施例的记载。The embodiment of the present disclosure also provides a USB isolation chip, on which the USB isolation circuit described in the above embodiment is integrated. The specific structure and composition of the USB isolation circuit will not be repeated here, and please refer to the description of the above embodiment for details.
本公开的实施例还提供USB隔离装置,其包括上述实施例所述的USB隔离电路或者上述实施例所述的USB隔离芯片。其中,所述的USB隔离电路的具体结构组成在此不进行复述,详情请参阅上述实施例的记载。The embodiments of the present disclosure also provide a USB isolation device, which includes the USB isolation circuit described in the above embodiments or the USB isolation chip described in the above embodiments. The specific structure of the USB isolation circuit is not repeated here, please refer to the description of the above embodiments for details.
本公开的实施例还提供USB设备,其包括上述实施例所述的USB隔离电路或上述实施例所述的USB隔离芯片。其中,所述的USB隔离电路的具体结构组成在此不进行复述,详情请参阅上述实施例的记载。The embodiments of the present disclosure also provide a USB device, which includes the USB isolation circuit or the USB isolation chip described in the above embodiments. The specific structure of the USB isolation circuit is not repeated here, please refer to the description of the above embodiments for details.
在一些具体实施方式中,当USB设备的接口数为1个时,所述USB设备的 接口为USB2.0接口,以实现USB2.0(兼容USB1.X)通过毫米波技术进行隔离传输;In some specific implementations, when the number of interfaces of a USB device is 1, the USB device The interface is a USB2.0 interface to achieve isolated transmission of USB2.0 (compatible with USB1.X) through millimeter wave technology;
当USB设备的接口数为2个时,其中一个接口为USB2.0接口或USB1.x接口,另一个接口为USB3.0接口。When the USB device has two interfaces, one of the interfaces is a USB 2.0 interface or a USB 1.x interface, and the other interface is a USB 3.0 interface.
综上所述,本公开提供的USB隔离电路、芯片、装置及USB设备,其能大幅度提升耐压、CMTI及带宽等关键隔离指标。In summary, the USB isolation circuit, chip, device and USB equipment provided by the present disclosure can significantly improve key isolation indicators such as withstand voltage, CMTI and bandwidth.
以上所述仅为本公开的实施例,并非因此限制本公开的专利范围,凡是利用本公开说明书及附图内容所作的等同变换,或直接或间接运用在相关的技术领域,均同理包括在本公开的专利保护范围内。 The above descriptions are merely embodiments of the present disclosure and are not intended to limit the patent scope of the present disclosure. Any equivalent transformations made using the contents of the present disclosure and the drawings, or directly or indirectly applied in related technical fields, are also included in the patent protection scope of the present disclosure.

Claims (16)

  1. USB隔离电路,其特征在于,包括:第一毫米波收发模块、第二毫米波收发模块、上行侧和下行侧;The USB isolation circuit is characterized by comprising: a first millimeter wave transceiver module, a second millimeter wave transceiver module, an upstream side and a downstream side;
    所述上行侧包括上行侧检测及控制模块和上行差分模块;所述下行侧包括下行侧检测及控制模块和下行差分模块;The uplink side includes an uplink detection and control module and an uplink differential module; the downlink side includes a downlink detection and control module and a downlink differential module;
    所述第一毫米波收发模块分别连接所述上行侧检测及控制模块和所述下行侧检测及控制模块;所述第二毫米波收发模块分别连接所述上行差分模块和所述下行差分模块。The first millimeter wave transceiver module is respectively connected to the uplink detection and control module and the downlink detection and control module; the second millimeter wave transceiver module is respectively connected to the uplink differential module and the downlink differential module.
  2. 如权利要求1所述的USB隔离电路,其特征在于,所述第一毫米波收发模块包括第一毫米波收发模块a和第一毫米波收发模块b;所述第一毫米波收发模块a设置在下行侧内,所述第一毫米波收发模块b设置在上行侧内;The USB isolation circuit according to claim 1, characterized in that the first millimeter wave transceiver module includes a first millimeter wave transceiver module a and a first millimeter wave transceiver module b; the first millimeter wave transceiver module a is arranged in the downstream side, and the first millimeter wave transceiver module b is arranged in the upstream side;
    所述第二毫米波收发模块包括第二毫米波收发模块a和第二毫米波收发模块b;所述第二毫米波收发模块a设置在下行侧内,所述第二毫米波收发模块b设置在上行侧内。The second millimeter wave transceiver module includes a second millimeter wave transceiver module a and a second millimeter wave transceiver module b; the second millimeter wave transceiver module a is arranged in the downlink side, and the second millimeter wave transceiver module b is arranged in the uplink side.
  3. 如权利要求2所述的USB隔离电路,其特征在于,所述上行差分模块包括上行差分输出模块和上行差分输入模块;所述下行差分模块包括下行差分输出模块和下行差分输入模块;The USB isolation circuit according to claim 2, characterized in that the upstream differential module includes an upstream differential output module and an upstream differential input module; the downstream differential module includes a downstream differential output module and a downstream differential input module;
    所述上行差分输出模块分别连接所述第二毫米波收发模块b和所述上行侧检测及控制模块;The uplink differential output module is respectively connected to the second millimeter wave transceiver module b and the uplink side detection and control module;
    所述上行差分输入模块分别连接所述第二毫米波收发模块b和所述上行侧检测及控制模块;The uplink differential input module is respectively connected to the second millimeter wave transceiver module b and the uplink side detection and control module;
    所述下行差分输出模块分别连接所述第二毫米波收发模块a和所述下行侧检测及控制模块;The downlink differential output module is respectively connected to the second millimeter wave transceiver module a and the downlink side detection and control module;
    所述下行差分输入模块分别连接所述第二毫米波收发模块a和所述下行侧检测及控制模块。The downlink differential input module is respectively connected to the second millimeter wave transceiver module a and the downlink side detection and control module.
  4. 如权利要求3所述的USB隔离电路,其特征在于,所述上行侧还包括上行PU/PD模块和上行接口;所述下行侧还包括下行PU/PD模块和下行接口;The USB isolation circuit according to claim 3, characterized in that the upstream side further includes an upstream PU/PD module and an upstream interface; the downstream side further includes a downstream PU/PD module and a downstream interface;
    所述上行PU/PD模块分别连接所述上行侧检测及控制模块、所述上行差分输入模块、所述上行差分输出模块和所述上行接口;所述下行PU/PD模块分别 连接所述下行侧检测及控制模块、所述下行差分输入模块、所述下行差分输出模块和所述下行接口。The uplink PU/PD module is respectively connected to the uplink detection and control module, the uplink differential input module, the uplink differential output module and the uplink interface; the downlink PU/PD module is respectively The downstream detection and control module, the downstream differential input module, the downstream differential output module and the downstream interface are connected.
  5. 如权利要求4所述的USB隔离电路,其特征在于,所述上行接口包括多个;The USB isolation circuit according to claim 4, wherein the upstream interface comprises a plurality of;
    所述第二毫米波收发模块、所述上行差分输入模块、所述上行差分输出模块、所述下行差分输入模块、所述下行差分输出模块和所述下行接口的个数分别与所述上行接口的个数一一对应;The number of the second millimeter wave transceiver module, the uplink differential input module, the uplink differential output module, the downlink differential input module, the downlink differential output module and the downlink interface respectively corresponds to the number of the uplink interface;
    所述第二毫米波收发模块分别通过对应的所述上行差分输入模块和所述上行差分输出模块与对应的上行接口连接;The second millimeter wave transceiver module is connected to the corresponding uplink interface through the corresponding uplink differential input module and the uplink differential output module respectively;
    所述第二毫米波收发模块分别通过对应的所述下行差分输入模块和所述下行差分输出模块与对应的下行接口连接。The second millimeter wave transceiver module is connected to the corresponding downlink interface through the corresponding downlink differential input module and the downlink differential output module respectively.
  6. 如权利要求1所述的USB隔离电路,其特征在于,所述第二毫米波收发模块替换为位于上行侧的上行差分开关模块和位于下行侧的下行差分开关模块;The USB isolation circuit according to claim 1, characterized in that the second millimeter wave transceiver module is replaced by an upstream differential switch module located on the upstream side and a downstream differential switch module located on the downstream side;
    所述第一毫米波收发模块经由所述上行差分开关模块分别连接至所述上行侧检测及控制模块和所述上行差分模块,以及经由所述下行差分开关模块分别连接至所述下行侧检测及控制模块和所述下行差分模块。The first millimeter wave transceiver module is respectively connected to the uplink detection and control module and the uplink differential module via the uplink differential switch module, and is respectively connected to the downlink detection and control module and the downlink differential module via the downlink differential switch module.
  7. 如权利要求6所述的USB隔离电路,其特征在于,所述第一毫米波收发模块包括第一毫米波收发模块a和第一毫米波收发模块b;所述第一毫米波收发模块a设置在下行侧内,所述第一毫米波收发模块b设置在上行侧内;The USB isolation circuit according to claim 6, characterized in that the first millimeter wave transceiver module includes a first millimeter wave transceiver module a and a first millimeter wave transceiver module b; the first millimeter wave transceiver module a is arranged in the downstream side, and the first millimeter wave transceiver module b is arranged in the upstream side;
    所述第一毫米波收发模块a连接所述下行差分开关模块;所述第一毫米波收发模块b连接所述上行差分开关模块。The first millimeter wave transceiver module a is connected to the downlink differential switch module; the first millimeter wave transceiver module b is connected to the uplink differential switch module.
  8. 如权利要求7所述的USB隔离电路,其特征在于,所述上行差分开关模块包括上行Mux模块和上行De-Mux模块;所述下行差分开关模块包括下行Mux模块和下行De-Mux模块;The USB isolation circuit according to claim 7, characterized in that the upstream differential switch module includes an upstream Mux module and an upstream De-Mux module; the downstream differential switch module includes a downstream Mux module and a downstream De-Mux module;
    所述上行Mux模块和所述上行De-Mux模块分别连接至所述第一毫米波收发模块b;所述上行Mux模块和所述上行De-Mux模块均连接至所述上行侧检测及控制模块和所述上行差分模块;The uplink Mux module and the uplink De-Mux module are respectively connected to the first millimeter wave transceiver module b; the uplink Mux module and the uplink De-Mux module are both connected to the uplink side detection and control module and the uplink differential module;
    所述下行Mux模块和所述下行De-Mux模块分别连接至所述第一毫米波收发 模块a;所述下行Mux模块和所述下行De-Mux模块均连接至所述下行侧检测及控制模块和所述下行差分模块。The downlink Mux module and the downlink De-Mux module are respectively connected to the first millimeter wave transceiver Module a; the downlink Mux module and the downlink De-Mux module are both connected to the downlink side detection and control module and the downlink differential module.
  9. 如权利要求8所述的USB隔离电路,其特征在于,所述上行差分模块包括上行差分输出模块和上行差分输入模块;所述下行差分模块包括下行差分输出模块和下行差分输入模块;所述上行侧还包括上行接口;所述下行侧还包括下行接口;The USB isolation circuit according to claim 8, characterized in that the upstream differential module includes an upstream differential output module and an upstream differential input module; the downstream differential module includes a downstream differential output module and a downstream differential input module; the upstream side also includes an upstream interface; the downstream side also includes a downstream interface;
    所述上行差分输入模块分别连接所述上行Mux模块、所述上行接口和所述上行侧检测及控制模块;所述上行差分输出模块分别连接上行De-Mux模块、所述上行接口和所述上行侧检测及控制模块;The uplink differential input module is respectively connected to the uplink Mux module, the uplink interface and the uplink detection and control module; the uplink differential output module is respectively connected to the uplink De-Mux module, the uplink interface and the uplink detection and control module;
    所述下行差分输入模块分别连接所述下行Mux模块、所述下行接口和所述下行侧检测及控制模块;所述下行差分输出模块分别连接下行De-Mux模块、所述下行接口和所述下行侧检测及控制模块。The downstream differential input module is respectively connected to the downstream Mux module, the downstream interface and the downstream side detection and control module; the downstream differential output module is respectively connected to the downstream De-Mux module, the downstream interface and the downstream side detection and control module.
  10. 如权利要求9所述的USB隔离电路,其特征在于,所述上行接口包括多个;The USB isolation circuit according to claim 9, wherein the upstream interface comprises a plurality of;
    所述上行差分输入模块、所述上行差分输出模块、所述下行差分输入模块、所述下行差分输出模块和所述下行接口的个数分别与所述上行接口的个数一一对应;The number of the upstream differential input modules, the upstream differential output modules, the downstream differential input modules, the downstream differential output modules and the downstream interfaces respectively corresponds to the number of the upstream interfaces;
    所述上行差分输入模块和所述上行差分输出模块分别与对应的上行接口连接;The uplink differential input module and the uplink differential output module are respectively connected to the corresponding uplink interfaces;
    所述下行差分输入模块和所述下行差分输出模块分别与对应的下行接口连接。The downstream differential input module and the downstream differential output module are respectively connected to corresponding downstream interfaces.
  11. 如权利要求6所述的USB隔离电路,其特征在于,所述上行侧还包括上行PU/PD模块;所述下行侧还包括下行PU/PD模块;The USB isolation circuit according to claim 6, characterized in that the upstream side further includes an upstream PU/PD module; the downstream side further includes a downstream PU/PD module;
    所述上行PU/PD模块分别连接所述上行侧检测及控制模块和所述上行差分模块;所述下行PU/PD模块分别连接所述下行侧检测及控制模块和所述下行差分模块。The uplink PU/PD module is respectively connected to the uplink detection and control module and the uplink differential module; the downlink PU/PD module is respectively connected to the downlink detection and control module and the downlink differential module.
  12. 如权利要求1或6所述的USB隔离电路,其特征在于,所述上行侧检测及控制模块连接所述上行差分模块;所述下行侧检测及控制模块连接所述下行 差分模块。The USB isolation circuit according to claim 1 or 6, characterized in that the upstream detection and control module is connected to the upstream differential module; the downstream detection and control module is connected to the downstream differential module Differential module.
  13. USB隔离芯片,其特征在于,其上集成包括上述权利要求1至12任意一项所述的USB隔离电路。A USB isolation chip, characterized in that the USB isolation circuit according to any one of claims 1 to 12 is integrated thereon.
  14. USB隔离装置,其特征在于,其包括上述权利要求1至12任意一项所述的USB隔离电路。A USB isolation device, characterized in that it comprises the USB isolation circuit described in any one of claims 1 to 12 above.
  15. USB设备,其特征在于,其包括上述权利要求1至12任意一项所述的USB隔离电路。A USB device, characterized in that it comprises the USB isolation circuit described in any one of claims 1 to 12 above.
  16. 如权利要求14所述的USB设备,其特征在于,当其包括上述权利要求1至4、6至9及11至12中任意一项所述的USB隔离电路时,其接口为USB2.0接口或USB1.x接口;The USB device according to claim 14, characterized in that when it includes the USB isolation circuit according to any one of claims 1 to 4, 6 to 9 and 11 to 12, its interface is a USB 2.0 interface or a USB 1.x interface;
    当其包括权利要求5或10所述的USB隔离电路时,所述上行接口包括两个,其中一个上行接口和其对应的下行接口为USB2.0接口或USB1.x接口,另一个上行接口和其对应的下行接口为USB3.0接口。 When it includes the USB isolation circuit described in claim 5 or 10, the upstream interface includes two, one of which and its corresponding downstream interface are USB2.0 interfaces or USB1.x interfaces, and the other upstream interface and its corresponding downstream interface are USB3.0 interfaces.
PCT/CN2024/080282 2023-04-21 2024-03-06 Usb isolation circuit, chip and apparatus, and usb device WO2024217169A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202320975511.XU CN219958221U (en) 2023-04-21 2023-04-21 USB isolation circuit, chip, device and USB equipment
CN202320990406.3U CN219958222U (en) 2023-04-21 2023-04-21 USB isolation circuit, chip, device and USB equipment
CN202320990406.3 2023-04-21
CN202320975511.X 2023-04-21

Publications (1)

Publication Number Publication Date
WO2024217169A1 true WO2024217169A1 (en) 2024-10-24

Family

ID=93151974

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/080282 WO2024217169A1 (en) 2023-04-21 2024-03-06 Usb isolation circuit, chip and apparatus, and usb device

Country Status (2)

Country Link
FR (1) FR3148327A3 (en)
WO (1) WO2024217169A1 (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008294548A (en) * 2007-05-22 2008-12-04 Maspro Denkoh Corp Millimeter wave transmission and reception system, frequency conversion device, modem device and program
US20100138572A1 (en) * 2008-12-02 2010-06-03 Broadcom Corporation Universal serial bus device with millimeter wave transceiver and system with host device for use therewith
CN102422273A (en) * 2009-03-30 2012-04-18 美国亚德诺半导体公司 Usb isolator with advanced control features
CN102591826A (en) * 2010-11-05 2012-07-18 凌力尔特有限公司 Method and system for detecting and asserting bus speed condition in a USB isolating device
CN107636564A (en) * 2015-06-15 2018-01-26 索尼半导体解决方案公司 Communicator and control method
CN210780804U (en) * 2020-01-15 2020-06-16 深圳市巨潮科技股份有限公司 Pure optical fiber USB remote transmission device
CN215576592U (en) * 2021-06-17 2022-01-18 厦门鼎芯科技有限公司 Wireless data transmission microsystem and device
CN115543889A (en) * 2022-09-23 2022-12-30 联想(北京)有限公司 Control console
CN219958221U (en) * 2023-04-21 2023-11-03 德氪微电子(深圳)有限公司 USB isolation circuit, chip, device and USB equipment
CN219958222U (en) * 2023-04-21 2023-11-03 德氪微电子(深圳)有限公司 USB isolation circuit, chip, device and USB equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008294548A (en) * 2007-05-22 2008-12-04 Maspro Denkoh Corp Millimeter wave transmission and reception system, frequency conversion device, modem device and program
US20100138572A1 (en) * 2008-12-02 2010-06-03 Broadcom Corporation Universal serial bus device with millimeter wave transceiver and system with host device for use therewith
CN102422273A (en) * 2009-03-30 2012-04-18 美国亚德诺半导体公司 Usb isolator with advanced control features
CN102591826A (en) * 2010-11-05 2012-07-18 凌力尔特有限公司 Method and system for detecting and asserting bus speed condition in a USB isolating device
CN107636564A (en) * 2015-06-15 2018-01-26 索尼半导体解决方案公司 Communicator and control method
CN210780804U (en) * 2020-01-15 2020-06-16 深圳市巨潮科技股份有限公司 Pure optical fiber USB remote transmission device
CN215576592U (en) * 2021-06-17 2022-01-18 厦门鼎芯科技有限公司 Wireless data transmission microsystem and device
CN115543889A (en) * 2022-09-23 2022-12-30 联想(北京)有限公司 Control console
CN219958221U (en) * 2023-04-21 2023-11-03 德氪微电子(深圳)有限公司 USB isolation circuit, chip, device and USB equipment
CN219958222U (en) * 2023-04-21 2023-11-03 德氪微电子(深圳)有限公司 USB isolation circuit, chip, device and USB equipment

Also Published As

Publication number Publication date
FR3148327A3 (en) 2024-11-01

Similar Documents

Publication Publication Date Title
CN202797544U (en) Active cable, cable assembly and electronic device
US20130236188A1 (en) Active optical cable connector plug and active optical cable using same
CN101335736A (en) High-speed peripheral interconnecting interface
CN107301148B (en) USB Type-C interface conversion module, system and connection method
CN114513254B (en) High-speed photoelectric transmission system capable of dynamically changing transmission direction and cable
CN219958222U (en) USB isolation circuit, chip, device and USB equipment
CN107203483A (en) The interface circuit and electronic equipment of a kind of electronic equipment
WO2024217169A1 (en) Usb isolation circuit, chip and apparatus, and usb device
CN219958221U (en) USB isolation circuit, chip, device and USB equipment
CN106654728B (en) A kind of connector and communication equipment
CN110247265A (en) Multifunctional data line, switching circuit and switching method
CN104994040B (en) A kind of Ethernet switch and its multiplexed port method of application
CN1731788B (en) Communication equipment interface and interface converter using the interface
CN110865956A (en) RS-422 communication isolation circuit
CN100517257C (en) Tool for testing high speed peripheral component interconnected bus interface
WO2023125188A1 (en) Audio signal adapter structure, identification method and audio signal transmission system
CN104216809A (en) Signal testing device
CN208272318U (en) A kind of TYPE C interface patchcord
CN210324194U (en) Communication interface magnetic coupling isolation protection circuit
CN111131087B (en) Transmission system and signal transmission method for Ethernet physical layer signal
CN109565124B (en) PCIE interface, connector and terminal equipment
CN216527155U (en) Data line for communication between two USB HOST interface devices
CN108494889B (en) Communication circuit based on I2C bus and debugging method
TWI358210B (en) Optical transmitting and receiving modules and sys
TWI396348B (en) Connector, connection detection method and adapter using the same