CN114460696B - USB plug capable of managing power consumption and state and active optical cable - Google Patents

USB plug capable of managing power consumption and state and active optical cable Download PDF

Info

Publication number
CN114460696B
CN114460696B CN202110557211.5A CN202110557211A CN114460696B CN 114460696 B CN114460696 B CN 114460696B CN 202110557211 A CN202110557211 A CN 202110557211A CN 114460696 B CN114460696 B CN 114460696B
Authority
CN
China
Prior art keywords
receiving unit
plug
usb
unit
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110557211.5A
Other languages
Chinese (zh)
Other versions
CN114460696A (en
Inventor
陈婷
江辉
周新亮
李德振
李彦
程煜峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Everpro Technologies Wuhan Co Ltd
Original Assignee
Everpro Technologies Wuhan Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Everpro Technologies Wuhan Co Ltd filed Critical Everpro Technologies Wuhan Co Ltd
Priority to CN202110557211.5A priority Critical patent/CN114460696B/en
Publication of CN114460696A publication Critical patent/CN114460696A/en
Priority to US17/664,056 priority patent/US11928074B2/en
Application granted granted Critical
Publication of CN114460696B publication Critical patent/CN114460696B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B6/00Light guides; Structural details of arrangements comprising light guides and other optical elements, e.g. couplings
    • G02B6/24Coupling light guides
    • G02B6/42Coupling light guides with opto-electronic elements
    • G02B6/4201Packages, e.g. shape, construction, internal or external details
    • G02B6/4274Electrical aspects
    • G02B6/4284Electrical aspects of optical modules with disconnectable electrical connectors
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B6/00Light guides; Structural details of arrangements comprising light guides and other optical elements, e.g. couplings
    • G02B6/24Coupling light guides
    • G02B6/42Coupling light guides with opto-electronic elements
    • G02B6/4201Packages, e.g. shape, construction, internal or external details
    • G02B6/4286Optical modules with optical power monitoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Sources (AREA)
  • Optical Communication System (AREA)
  • Connector Housings Or Holding Contact Members (AREA)

Abstract

The USB plug comprises a transmitting unit, a receiving unit, a control unit and at least one timer; the transmission unit includes: an electrical input port, a transmitting unit high-speed transmission circuit, and an output circuit, the receiving unit comprising: an electrical output port, a receiving unit high-speed transmission circuit and an input circuit; and the control unit is used for judging the current working modes of the sending unit and the receiving unit and performing corresponding control operation. Based on the independent control of the sending unit and the receiving unit, the invention distinguishes different working modes, provides necessary working requirements and mode jump conditions for each mode, and can also carry out the inspection and transmission of the plugging state in the power saving mode, thereby being convenient for the power consumption management of the active optical cable; for the initialization mode and the power saving mode, a method for checking and transmitting the matching termination state of the ports is provided, so that a USB system formed by the uplink ports, the active cables and the downlink ports can keep the state unified, and the situation of thoroughly disconnecting and unconventional plugging is considered.

Description

USB plug capable of managing power consumption and state and active optical cable
Technical Field
The invention relates to the field of USB data transmission, in particular to a USB plug and an active optical cable which are suitable for managing power consumption and states.
Background
With the update of the USB protocol, the transmission rate is increasing, and the pure copper wire cannot support long-distance transmission with high rate due to its attenuation characteristic, so that the active cable becomes an increasingly important transmission mode.
The current active cable transmission method proposes a number of schemes including: re-driver scheme, re-timer and pure optical transmission scheme. Among them, the transmission scheme using light as a transmission medium is receiving more and more attention because cables can be made lighter and transmission distances are longer.
Whichever transmission scheme, the checking and transfer of system status, and power consumption management are all issues that need to be addressed.
In the USB protocol, there is no signal channel for separately transferring some state information, and all states and data are transferred through one channel. That is, the data channel of the USB transmits both the system state and the low speed signal, and also transmits the high speed signal. In this way, how the active transmission device of the USB transmits the system state and how to implement power consumption management and keep the states of plugs at two ends of the transmission device consistent, so as to keep the states of the whole USB system consistent is an important problem.
The power consumption management mainly needs to meet the power saving state required in the USB protocol, especially in the U3 state, the power consumption of the USB transmission device cannot exceed the protocol requirement. By default, on the basis of meeting the performance, the principle of smaller and better power consumption should be followed. For hub or re-timer transmission schemes with link layers, power consumption management is not difficult to implement, but for other USB active transmission devices that transmit purely without link layer command recognition/management, how to implement power consumption management is a particular consideration. Especially for the active optical cable, the state of the active optical cable is regulated to support low power consumption, and in the low power consumption state, the states of a downlink port and an uplink port connected by plugs at two ends are checked, the state of the downlink port is informed to the uplink port, the state of the uplink port is informed to the downlink port, and the consistency of the states of the downlink port and the uplink port is maintained. Meanwhile, when the system performs the awakening operation, the circuit of the active optical cable can be awakened in time, and the awakening signal is transmitted.
In the checking and transferring of the system state, the most critical solution is to check and transfer the plugging state of the downlink port and the uplink port, that is, check and transfer the matching terminating (Rx termination) state of the downlink port and the uplink port. In the state machine specified by the USB protocol, rx.detect is a state that a port checks if there is a USB3.X link partner, and if the port checks that there is a matching termination (RRX-DC) in the low-impedance state, then it is considered that there is an uplink/downlink port matching it inserted in the connected state, and the port enters the polling phase. For copper wire transmission media, the checking and transmission of the Rx termination state is not difficult to achieve. Because copper wire is a conductor, itself having the ability to transfer electrical characteristics, the Rx termination state can be transferred through the copper wire. However, the optical medium is not a conductor, and conventional electrical signals such as voltage, resistance and current cannot be transmitted through an optical fiber, and for pure optical AOC, power supply at two ends is completely independent, and copper wires are completely not connected in the middle, so that how to transmit the Rx termination state in real time is particularly important.
Therefore, how to inspect and transfer different system states for the USB active optical cable and the USB plug, and manage power consumption, so as to solve the problems of plug detection and power consumption management of the USB active optical cable, and realize effective transmission of USB signals on an optical transmission medium, which is a technical problem to be solved in the prior art.
Disclosure of Invention
The invention aims to provide a USB plug and an active optical cable which can manage power consumption and state, the working states of a transmitting unit and a receiving unit of the active optical cable plug are divided into an initialization mode, a power saving mode and a transmission mode, necessary working requirements and mode jump conditions are provided for each mode, and the plug state can be checked and transmitted in the power saving mode, so that the power consumption management and the system state transmission of the active optical cable are facilitated. The invention is not only suitable for pure optical cables and hybrid cables with various power supply modes, but also considers the application scenes such as unconventional plug and the like.
To achieve the purpose, the invention adopts the following technical scheme:
a USB plug capable of managing power consumption and status, said USB plug being adapted for use in an active optical cable for an optical transmission medium, comprising:
The device comprises a sending unit, a receiving unit, a control unit and at least one timer;
wherein the transmitting unit includes: an electrical input port, a transmitting unit high-speed transmission circuit, and an output circuit,
the electric input port is connected to the uplink port or the downlink port, and is used for receiving an input USB electric signal to be transmitted and judging whether an AC signal is input currently;
the electric input port is also provided with a termination impedance matching circuit, and the termination impedance matching circuit provides a low-resistance state matching termination meeting the USB protocol requirement or a high-resistance state matching termination meeting the USB protocol requirement;
the transmitting unit high-speed transmission circuit is used for processing the USB electric signal input by the electric input port and then transmitting the processed USB electric signal to the output circuit;
the output circuit is connected with the optical transmission medium and used for transmitting optical signals;
the receiving unit includes: an electrical output port, a receiving unit high-speed transmission circuit and an input circuit;
the input circuit is connected with the optical transmission medium, and is used for receiving an optical signal converted from a USB electrical signal transmitted by the other one of the uplink port or the downlink port and judging whether an optical signal is input currently;
The receiving unit high-speed transmission circuit is used for processing signals output by the input circuit and then transmitting the processed signals to the electric output port;
the electric output port outputs the USB electric signal after the received signal is processed to one of the uplink port or the downlink port, and can detect the matching termination state of the ports;
the control unit is used for receiving the related information from the sending unit and the receiving unit, judging the current working modes of the sending unit and the receiving unit, performing corresponding control operation, and enabling the sending unit and the receiving unit to respectively jump between different working modes;
a timer for counting time, including counting the duration of the electrical idle state of the electrical input port, and other time counting operations required for the operating mode skip condition,
the operation modes of the transmitting unit and the receiving unit comprise an initialization mode, a transmission mode and a power saving mode.
Optionally, for the initialization mode, the transmitting unit and the receiving unit enter the initialization mode after the USB plug is powered on;
in the state, the terminating impedance matching circuit of the electric input port is configured to be in high-impedance state matching termination meeting the USB protocol requirement, and the default state of the output circuit is non-luminous;
In this state, the receiving unit performs a matching termination detection at a certain time interval t0, i.e. an Rx Detect operation, on the electrical output port, and the input circuit performs an optical signal detection.
Alternatively, in the initialization mode,
1) If the electric output port of the receiving unit detects that the low-resistance state matching terminal meets the USB protocol requirement, judging that the USB plug is connected to an uplink port or a downlink port, controlling the output circuit to switch on and off by the control unit, and sending first signal light;
correspondingly, if the electric output port of the receiving unit detects the high-resistance state matching termination meeting the requirement of the USB protocol, the USB plug is judged to be not connected to the uplink port or the downlink port, the control unit controls the output circuit not to emit light/shut down light,
namely, judging the connection state of the USB plug of the local end from the detection of the matched end;
2) If the input circuit of the receiving unit finds that the opposite plug transmits the first signal light, the control unit sets the termination impedance matching circuit of the electric input port of the transmitting unit of the USB plug to be a low-resistance state matching termination meeting the USB protocol requirement
If the input circuit of the receiving unit finds that the opposite plug does not send the first signal light, the control unit sets the termination impedance matching circuit of the electric input port of the sending unit of the USB plug to be visible in a high-impedance state matching termination meeting the requirements of the USB protocol,
That is, the connection state of the opposite-end USB plug is determined from detecting whether or not the optical signal is received.
Alternatively, the transmitting unit and the receiving unit can enter the transmission mode separately:
when the electric output port of the receiving unit detects that the low-resistance state matching terminal meets the USB protocol requirement and judges that the USB plug is connected to an uplink port or a downlink port, the control unit controls the sending unit to enter a transmission mode while sending first signal light;
when the input circuit of the receiving unit finds that the opposite plug transmits the first signal light, the control unit controls the receiving unit to enter a transmission mode.
Optionally, in order to cope with the first irregular plugging situation of the present invention, the sending unit and the receiving unit can enter the transmission mode at the same time:
condition 1: the electrical output port of the receiving unit detects a low impedance state matching termination meeting USB protocol requirements, and
condition 2: the input circuit of the receiving unit finds that the opposite plug transmits the first signal light,
when both the condition 1 and the condition 2 are satisfied, the control unit causes both the transmitting unit and the receiving unit to enter the transmission mode, and at this time, the matching termination detection operation of the electrical output port of the receiving unit is stopped.
Optionally, the initializing mode of the USB plug is lower than the power consumption of the transmission mode, and the working states of each component in the initializing mode after the USB plug is powered on are that, except that the termination impedance matching circuit of the electrical input port of the transmitting unit needs to be configured to be matched and terminated in a high-impedance state meeting the requirements of the USB protocol, and the matching termination detection circuit of the electrical output port of the receiving unit and the optical signal detection circuit of the input circuit need to be in working states, or are in working states at a certain time interval, and other circuits are in non-working states.
Optionally, for a transmission mode of the transmitting unit and the receiving unit, in this mode:
the high-speed signal transmission circuits of the transmitting unit and the receiving unit are in an operating state, so that signal transmission can be performed, and the transmitting unit and the receiving unit can jump from a transmission mode to a power saving mode.
Optionally, the sending unit jumps from the transmission mode to the power saving mode, and the specific method is as follows:
the electric input port of the sending unit of the USB plug continuously carries out AC signal detection, if no AC signal is input, the transmission path is in an electric idle state, and when the electric idle state exceeds t1 time, the control unit controls the sending unit of the USB plug to enter a power saving mode;
And/or the number of the groups of groups,
the receiving unit jumps from the transmission mode to the power saving mode, and the specific method is as follows:
the input circuit of the receiving unit of the USB plug continuously detects whether an optical signal is transmitted or not, and once no optical signal is transmitted, the control unit of the USB plug controls the receiving unit of the USB plug to enter a power saving mode.
Optionally, for a power saving mode of the transmitting unit:
in the mode, most circuits are in a non-working state, specifically, a high-speed transmission circuit of the transmitting unit does not work, an output circuit does not emit light, and a termination impedance matching circuit of an electric input port needs to keep a low-resistance state matching termination meeting the requirement of a USB protocol;
in order to check and transfer the connection state of plugs and ports at two ends in a power saving mode, and ensure that the connection state can be awakened from the power saving mode in time, only a few circuits are in a working state or are awakened to work according to a certain time, specifically, an electric input port of a sending unit detects a circuit for inputting an AC signal, once the AC signal is input, a control unit wakes up related circuits such as a high-speed signal transmission channel of the sending unit, and the like, so that the sending unit of the USB plug enters a transmission mode and sends first signal light; if the receiving unit of the USB plug is also in the power saving mode at this time, the control unit can selectively wake up related circuits such as a high-speed signal transmission channel of the receiving unit, so that the receiving unit of the USB plug also enters the transmission mode.
Optionally, for a power saving mode of the receiving unit,
in this mode, the receiving unit is in an inactive state, most of the circuits, including the high-speed transmission circuit,
in order to check and transfer the connection state of plugs and ports at two ends in the power saving mode, and ensure that the plugs and ports can be awakened from the power saving mode in time, only a few circuits are included, wherein the circuits comprise circuits for detecting the matching termination state of the ports through the electric output ports and circuits for detecting the input of optical signals through the input circuits, and the circuits are in a working state or are awakened to work according to a certain time.
Optionally, in order to check and transfer the connection state between the plugs and the ports at two ends in the power saving mode, and ensure that the electric output port can be awakened in time from the power saving mode, the electric output port detection port is matched with the circuit in the termination state and the circuit in which the input circuit detects the input of the optical signal, and is in a working state or is awakened to work according to a certain time, specifically:
1) The electric output port of the receiving unit carries out matching termination detection according to a certain time interval t2, if the detection result proves that the uplink port or the downlink port connected with the electric output port is always in a connection state, a termination impedance matching circuit of the electric input port of the USB plug transmitting unit continuously maintains a low-resistance state matching termination state meeting the USB protocol requirement, the control unit wakes up an output circuit of the transmitting unit, transmits second signal light to the opposite-end plug, then turns off light again to enter a non-working state, and at the moment, the receiving unit and the transmitting unit of the plug both maintain a power-saving mode; if the detection result proves that the connected uplink port or downlink port is disconnected, the control unit controls the sending unit and the receiving unit of the USB plug to enter an initialization mode, and the termination impedance matching circuit of the electric input port of the sending unit is set to be matched and terminated in a high-resistance state according with the requirements of the USB protocol;
2) The input circuit of the receiving unit always detects whether an optical signal is transmitted, if the first signal light is found, the control unit wakes up relevant circuits such as a high-speed signal transmission circuit of the receiving unit of the plug to enable the receiving unit of the USB plug to enter a transmission mode, and meanwhile, the control unit can also wake up relevant circuits such as the high-speed signal transmission circuit of the transmitting unit of the USB plug selectively to enable the transmitting unit of the USB plug to enter the transmission mode; if the second signal light is found, the sending unit and the receiving unit of the USB plug keep the current state and are still in the power saving mode; if no optical signal input is found beyond a certain time t3, the control unit controls the sending unit and the receiving unit of the USB plug to enter an initialization mode, and the termination impedance matching circuit of the electrical input port of the sending unit is set to be matched and terminated in a high-resistance state according with the requirements of the USB protocol.
Alternatively, the setting of t3 needs to be longer than the setting of the counterpart plug t2 with which it is paired.
Optionally, in order to cope with the second irregular plugging situation of the invention, the phenomenon of unmatched states at two ends of the USB system is avoided,
After the electric output port of the receiving unit finds that the connected uplink port or downlink port is disconnected, the non-luminous state of the USB plug is continuously maintained for more than t4 time or the USB plug is forced to wait for t4 time, and then the control unit controls the sending unit and the receiving unit of the USB plug to enter an initialization mode.
Alternatively, the setting of t3 should be between t2 and t2+t4 of the counterpart plug with which it is paired, and the time difference of the two plug timers should be taken into account.
Optionally, the second signal light has different power or frequency from the first signal light, so that the information that the USB plug and the port of the local terminal are still in a connection state can be transmitted, but the mode conversion cannot be triggered, and the sending unit and the receiving unit of the USB plug of the opposite terminal can maintain the power saving mode;
and/or the number of the groups of groups,
the t2 time of the USB plug is set to be less than 100 ms.
The invention further discloses a USB active optical cable using the USB plug, which is characterized by comprising the following components:
an optical transmission medium comprising a first plug, a second plug, and a connection between the first plug and the second plug;
wherein the first plug and the second plug are the USB plug according to any one of claims 1 to 9, the transmitting unit of the first plug corresponds to the receiving unit of the second plug, and the receiving unit of the first plug corresponds to the transmitting unit of the second plug.
The invention has the following advantages:
(1) Based on the independent control of the sending unit and the receiving unit, the working states of the sending unit and the receiving unit of the active optical cable are divided into an initialization mode, a power saving mode and a transmission mode, and necessary working requirements and mode jump conditions are provided for each mode, so that the power consumption management of the active optical cable is facilitated;
(2) In the initialization mode, especially in the power saving mode, a method for checking and transmitting the state of the matching termination (Rx termination) of the port is provided, so that the USB system composed of the uplink port, the active cable and the downlink port can keep the state uniform.
(3) Aiming at the condition that the USB plug has two different unconventional plug-in conditions, in the mode of mode jump, the method carries out targeted processing to distinguish a plurality of different application conditions of thoroughly disconnecting and unconventional plug-in.
(4) The invention is simultaneously applicable to pure optical cables and hybrid cables with various power supply modes.
Drawings
FIG. 1 is a schematic diagram of a USB plug capable of managing power consumption and status in accordance with a specific embodiment of the present invention;
FIG. 2 is a schematic diagram of a USB active optical cable capable of managing power consumption and status in accordance with a specific embodiment of the present invention.
The technical features indicated by the reference numerals in the drawings are as follows:
100. a first plug; 200. a second plug; 300. an optical transmission medium; 1. a transmitting unit; 11. an electrical input port; 12. an output circuit; 13. a transmission unit high-speed transmission circuit; the method comprises the steps of carrying out a first treatment on the surface of the 2. A receiving unit; 21. an electrical output port; 22. an input circuit; 23. a receiving unit high-speed transmission circuit; 3. a control unit; 4. a timer.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
In the present invention, the following is given for the corresponding concept:
according to the USB protocol, the port on the host or the hub connected with the device is called a downlink port, and the port on the device connected with the host or the hub is called an uplink port. The USB cable has 2 plugs, which may be referred to as a first plug and a second plug for convenience of distinction, wherein the plug is referred to as a first plug inserted into the downstream port and the plug is referred to as a second plug inserted into the upstream port. The first plug and the second plug are respectively provided with a transmitting unit and a receiving unit. The USB transmission is a bidirectional transmission, and in order to facilitate distinguishing between 2 data streams, 2 directions of the bidirectional data stream are referred to as a first direction and a second direction.
The first direction refers to a direction in which the downlink port transmits data to the uplink port, and may also be referred to as a downlink direction;
the second direction refers to the direction in which the upstream port passes data to the downstream port, and may also be referred to as the upstream direction.
The invention mainly comprises the following steps: based on the independent control of the sending unit and the receiving unit, the states of the ports or circuits of the sending unit and the receiving unit are detected by the control unit, the working states of the sending unit and the receiving unit in the USB plug of the active optical cable are divided into an initialization mode, a power saving mode and a transmission mode, and necessary working requirements and mode jump conditions are provided for each mode, so that the power consumption management of the active optical cable is facilitated; furthermore, for the initialization mode of the sending unit and the receiving unit, especially for the power saving mode, a method for checking and transmitting the matching termination (Rx termination) state of the ports is provided, so that the USB system formed by the uplink port, the active cable and the downlink port can keep the state unified; and consider 2 different application cases that distinguish between a complete disconnection and an irregular plug. The invention is also suitable for pure optical cables and hybrid cables with various power supply modes.
In the present invention, the transmission modes of the transmitting unit and the receiving unit in the active optical cable USB plug correspond to the U0 and U1 states in the USB protocol, and in this state, it is not necessary to perform a port matching termination (Rx termination) state check.
Referring to fig. 1, a schematic diagram of a USB plug capable of managing power consumption and status is disclosed, which is suitable for an active optical cable of an optical transmission medium such as an optical fiber, as a first plug and a second plug thereof,
in the present invention, the first plug and the second plug each have the same structure, which is schematically shown in the drawing. In the following description, the specific structure and operation principle of the USB plug will be explained by taking the first plug 100 connected to the downstream port as an example, and the second plug 200 is connected to the upstream port, but the operation principle is the same as that of the first plug.
In particular, the method comprises the steps of,
the USB plug comprises a sending unit 1, a receiving unit 2, a control unit 3 and at least one timer 4;
wherein the transmitting unit 1 includes: an electrical input port 11, a transmission unit high-speed transmission circuit 13, and an output circuit 12,
the electrical input port 11 is connected to the uplink port or the downlink port, and is configured to receive an input USB electrical signal to be transmitted, and determine whether an AC signal is currently input, for example, when the USB plug is connected to the uplink port, receive the USB electrical signal output from the uplink port, and determine whether an AC signal is input;
The electrical input port 11 is further provided with a termination impedance matching circuit (termination matching circuit), wherein the termination impedance matching circuit provides a low-resistance state matching termination (RRX-DC) meeting the requirements of the USB protocol or provides a HIGH-resistance state matching termination (ZRX-HIGH-IMP-DC-POS) meeting the requirements of the USB protocol;
the transmitting unit high-speed transmission circuit 13 processes the USB electric signal input from the electric input port 11 and transmits the processed USB electric signal to the output circuit 12;
the output circuit 12 is connected with an optical transmission medium and transmits an optical signal;
the receiving unit 2 includes: an electrical output port 21, a receiving unit high-speed transmission circuit 23, and an input circuit 22;
the input circuit 22 is connected to the optical transmission medium, and is configured to receive an optical signal converted from a USB electrical signal transmitted from the other one of the upstream port and the downstream port, and determine whether an optical signal is currently input, for example, when the USB plug is connected to the upstream port, the input circuit 22 of the receiving unit 2 of the USB plug receives the optical signal transmitted from the transmitting unit 1 of the USB plug connected to the downstream port of the opposite end;
the receiving unit high-speed transmission circuit 23 processes the signal output by the input circuit 22 and sends the processed signal to the electric output port 21;
The electrical output port 21 outputs the USB electrical signal, which is obtained by processing the received signal, to one of the upstream port and the downstream port, and is capable of detecting a port matching termination (Rx termination) state;
a control unit 3, configured to receive the related information from the sending unit 1 and the receiving unit 2, determine current working modes of the sending unit and the receiving unit, perform corresponding control operations, and enable the sending unit and the receiving unit to respectively jump between different working modes;
a timer 4 for counting time, which counts the duration of the electrical idle state of the electrical input port, and other time counting operations required for the operating mode skip condition,
the operation modes of the transmitting unit 1 and the receiving unit 2 include an initialization mode, a transmission mode, and a power saving mode.
For the initialization mode, the transmitting unit 1 and the receiving unit 2 enter the initialization mode after the USB plug is powered up.
In this state, the terminating impedance matching circuit (termination matching circuit) of the electric input port is configured to be a HIGH-impedance state matching termination (ZRX-HIGH-IMP-DC-POS) meeting the requirements of the USB protocol, and the default state of the output circuit is non-light emission; in this state, the receiving unit performs a matching termination (Rx termination) detection at a certain time interval t0, i.e. an Rx Detect operation, and the input circuit performs an optical signal detection.
Wherein the time interval t0 is preferably a value of less than 12ms, for example 8ms or less.
In the initialization mode of the device, in the initialization mode,
1) If the electric output port 21 of the receiving unit 2 detects a low-resistance state matching termination (RRX-DC) meeting the requirement of the USB protocol, judging that the USB plug is connected to an uplink port or a downlink port, and controlling the output circuit 12 to switch on by the control unit 3 to send first signal light;
correspondingly, if the electric output port 21 of the receiving unit 2 detects a HIGH-impedance state matching termination (ZRX-HIGH-IMP-DC-POS) meeting the requirements of the USB protocol, it is judged that the USB plug is not connected to the uplink port or the downlink port, and the control unit 3 controls the output circuit 12 not to emit/turn off light;
namely, judging the connection state of the USB plug of the local end from the detection of the matched end;
2) If the input circuit 22 of the receiving unit 2 finds that the opposite plug transmits the first signal light, the control unit 3 sets the termination impedance matching circuit (termination matching circuit) of the electrical input port 11 of the transmitting unit 1 of the present USB plug to a low-impedance state matching termination (RRX-DC) conforming to the USB protocol requirements,
if the input circuit 22 of the receiving unit 2 finds that the opposite plug does not transmit the first signal light, the control unit 3 sets the termination impedance matching circuit (termination matching circuit) of the electrical input port 11 of the transmitting unit 1 of the present USB plug to be in compliance with the HIGH impedance state matching termination (ZRX-HIGH-IMP-DC-POS) required by the USB protocol, and the first signal light has a certain power or frequency, so that the input circuit of the receiving unit of the opposite USB plug can be distinguished.
Namely, judging the connection state of the USB plug at the opposite end from detecting whether an optical signal is received or not;
3) The transmitting unit and the receiving unit may enter a transmission mode respectively:
when the electric output port 21 of the receiving unit 2 detects a low-resistance state matching termination (RRX-DC) meeting the requirement of the USB protocol and judges that the USB plug is connected to an uplink port or a downlink port, the control unit 3 controls the transmitting unit 1 to enter a transmission mode while transmitting first signal light;
when the input circuit 22 of the receiving unit 2 finds that the opposite plug transmits the first signal light, the control unit 3 controls the receiving unit 2 to enter a transmission mode;
that is, the judgment standards of the transmitting unit and the receiving unit entering the transmission mode are mutually independent;
4) Further, in the use of the USB active optical cable, there is a situation of such an unconventional plug, after the USB plug of the local end is connected to the upstream port or the downstream port, when the USB plug of the opposite end is not connected yet, the USB plug of the local end is disconnected again due to an artificial or fault reason, that is, the first unconventional plug in the present invention.
Therefore, in order to avoid that the USB active optical cable cannot timely respond to the plugging state of two ends under the condition of the unconventional plugging, the following method is adopted to control the transmitting unit and the receiving unit to enter the transmission mode simultaneously:
Only when
Condition 1: the electrical output port 21 of the receiving unit 2 detects a low resistance state matching termination (RRX-DC) meeting the USB protocol requirements, and
condition 2: the input circuit 22 of the receiving unit 2 finds that the opposite plug transmits the first signal light,
when the conditions 1 and 2 are satisfied, the control unit 3 enables the transmitting unit 1 and the receiving unit 2 to enter a transmission mode, and the matching termination detection operation of the electric output port of the receiving unit is stopped at the moment;
in particular, the method comprises the steps of,
when only condition 1 is satisfied and condition 2 is not satisfied, according to the present embodiment, the working mode of the local plug does not jump, and the detection of the matching termination (Rx termination) of the local plug is continuously performed simultaneously with the detection of the optical signal, and is not stopped. At this time, the local plug is changed from the connected state to the disconnected state, the local plug can find the change of the state, and simultaneously transmit the change of the state to the opposite plug in a way of closing the optical path, so as to realize real-time transmission of the change of the state, prevent the opposite plug from entering a transmission mode by mistake under the condition that the local plug is pulled out again, and the opposite plug also transmits the change of the state to an uplink port/a downlink port connected with the opposite plug by setting a termination impedance matching circuit (termination matching circuit) of an electric input port 11 of a transmitting unit 1 of the opposite plug to a HIGH-impedance state matching termination (ZRX-HIGH-IMP-DC-POS) meeting the requirement of the USB protocol;
Similarly, when only condition 2 is satisfied and condition 1 is not satisfied, according to the present embodiment, the working mode of the local plug is not skipped, the optical signal detection of the local plug is continuously performed simultaneously with the detection of the matching termination (Rx termination) of the local plug, and the detection is not stopped, at this time, the opposite plug is changed from the connected state to the disconnected state, the local plug can detect the state change by not detecting the optical signal, and can not enter the transmission mode by mistake, and can also transmit the state change to the upstream port/downstream port connected by setting the termination impedance matching circuit (termination matching circuit) of the electric input port 11 of the transmitting unit 1 of the local plug to the HIGH impedance state matching termination (ZRX-HIGH-IMP-DC-POS) meeting the USB protocol requirements;
therefore, by setting up that both the condition 1 and the condition 2 are satisfied at the same time so that both the transmitting unit 1 and the receiving unit 2 enter the transmission mode, it is possible to avoid the situation of the first irregular plugging, and the incorrect entering of the local plug into the transmission mode, further leading to the state setting error of the local plug and even the opposite plug.
5) The initialization mode consumes less power than the transmission mode.
Preferably, the working states of the components in the initialization mode after the USB plug is powered on are that the matching termination detection circuit of the electrical output port of the receiving unit and the optical signal detection circuit of the input circuit are in working states except that the termination impedance matching circuit of the electrical input port of the transmitting unit needs to be configured to be in a HIGH-impedance state matching termination (ZRX-HIGH-IMP-DC-POS) meeting the requirements of the USB protocol, or in working states at a certain time interval, and other circuits are in non-working states.
For the transmission mode of the transmitting unit and the receiving unit, in this mode:
the high-speed signal transmission circuit of the sending unit and the receiving unit is in an operating state, so that signal transmission can be carried out, and the sending unit and the receiving unit can jump from a transmission mode to a power saving mode.
According to the USB protocol, if a port (uplink port or downlink port) enters a certain power saving state, the port will send information to the opposite port, so that the opposite port enters the same power saving state together, and the state of the whole USB system is kept uniform. According to the behavior, the two directions of the active optical cable can be used for judging the independent power saving mode, and finally, the unified result of the whole USB system state can be achieved. In addition, the power saving mode judgment is independently carried out in two directions of the active optical cable, so that the compatibility mode state and the U1 state in the USB protocol can be supported conveniently. The compatibility mode is a test mode specified by the USB protocol, in which the USB system continues signal transmission in only one direction, and in the other direction, most of the time, is in an idle state. And the U1 state needs to be transmitted, and only one direction needs to transmit the ping.
The transmitting unit jumps from the transmission mode to the power saving mode, and the specific method is as follows:
the Electrical input port 11 of the transmitting unit 1 of the USB plug continues to perform AC signal detection, if no AC signal is input, the transmission path is in an Electrical Idle (Electrical Idle) state at this time, and when the Electrical Idle (Electrical Idle) state exceeds t1 time, the control unit 3 controls the transmitting unit of the USB plug to enter the power saving mode.
Preferably, the t1 time is a time setting greater than 300 ms. t1 may be clocked by a timer.
For a USB active optical cable comprising two USB plugs, the electric input ports of the sending units of the two USB plugs can continuously detect AC signals and enter a power saving mode according to the detection result.
The receiving unit jumps from the transmission mode to the power saving mode, and the specific method is as follows:
the input circuit 22 of the receiving unit 2 of the USB plug continuously detects whether an optical signal is transmitted, and once no optical signal is transmitted, the control unit 3 of the USB plug controls the receiving unit of the USB plug to enter the power saving mode.
Power saving mode for the transmitting unit:
in this mode, most of the circuits are inactive, including for example that the high speed transmission circuit 13 is inactive, the output circuit 12 does not emit light, but the termination impedance matching circuit (termination matching circuit) of the electrical input port 11 needs to maintain a low resistance state matching termination (RRX-DC) conforming to the USB protocol requirements.
In order to check and transfer the connection state of the plugs and the ports at both ends in the power saving mode, and ensure that the connection state can be awakened from the power saving mode in time, only a few circuits are in an operating state or are awakened to operate according to a certain time, for example, a circuit for detecting an AC signal input by the electric input port 11 of the transmitting unit 1 is as follows:
the electrical input port 11 of the transmitting unit 1 always detects whether an AC signal is input, and once the AC signal is input, the control unit 3 wakes up related circuits such as a high-speed signal transmission channel of the transmitting unit, so that the transmitting unit of the USB plug enters a transmission mode and transmits a first signal light;
if the receiving unit of the USB plug is also in the power saving mode at this time, the control unit 3 can selectively wake up related circuits such as a high-speed signal transmission channel of the receiving unit, so that the receiving unit of the USB plug also enters the transmission mode;
for the power saving mode of the receiving unit,
in this mode the receiving unit is in an inactive state for most of the circuits, including for example the high speed transmission circuit 23.
In order to be able to check and transfer the connection state of the plugs at both ends with the ports in the power saving mode while ensuring that it is possible to wake up from the power saving mode in time, only a very small number of circuits are in the operation state or wake up for a certain time to operate, for example, a circuit in which the electrical output port 21 detects the port-matching termination state and a circuit in which the input circuit 22 detects the input of an optical signal. The method comprises the following steps:
1) The electrical output port 21 of the receiving unit 2 performs a matching termination (Rx termination) detection at a certain time interval t2, if the detection result proves that the uplink port or the downlink port connected with the electrical output port 21 of the receiving unit 1 is always in a connected state, the termination impedance matching circuit (termination matching circuit) of the electrical input port 11 of the present USB plug transmitting unit 1 continues to maintain a low-impedance matching termination (RRX-DC) meeting the USB protocol requirement, and the control unit 3 wakes up the output circuit 12 of the transmitting unit 1, transmits a second signal light to the opposite plug, and then turns off the light again to enter an inactive state, where both the receiving unit 2 and the transmitting unit 1 of the present plug maintain a power saving mode; if the detection result proves that the connected uplink port or downlink port is disconnected, the control unit 3 controls the sending unit 1 and the receiving unit 2 of the USB plug to enter an initialization mode, and sets a termination impedance matching circuit (termination matching circuit) of the electric input port 11 of the sending unit 1 to be a HIGH-impedance state matching termination (ZRX-HIGH-IMP-DC-POS) meeting the requirement of the USB protocol;
2) The input circuit 22 of the receiving unit 2 always detects whether an optical signal is transmitted, if the first signal light is found, the control unit 3 wakes up relevant circuits such as a high-speed signal transmission circuit of the receiving unit 2 of the plug, so that the receiving unit of the USB plug enters a transmission mode, and meanwhile, the control unit 3 can also wake up relevant circuits such as the high-speed signal transmission circuit of the transmitting unit 1 of the USB plug selectively, so that the transmitting unit of the USB plug enters the transmission mode; if the second signal light is found, the sending unit and the receiving unit of the USB plug keep the current state and are still in the power saving mode; if no optical signal input is found for a certain time t3, the control unit 3 controls the transmitting unit and the receiving unit of the present USB plug to enter an initialization mode, and sets a termination impedance matching circuit (termination matching circuit) of the electrical input port 11 of the transmitting unit 1 to a HIGH-impedance state matching termination (ZRX-HIGH-IMP-DC-POS) conforming to the USB protocol requirements.
It can be seen that the second signal light has a different power or frequency from the first signal light, so that the information that the USB plug and the port of the local terminal are still in a connection state can be transferred, but the mode conversion is not triggered, so that the transmitting unit and the receiving unit of the USB plug of the opposite terminal can maintain the power saving mode.
Preferably, the t2 time of the USB plug is set to be less than 100 ms.
the setting of t3 needs to be longer than the setting of the counterpart plug t2 with which it is paired, preferably in the order of milliseconds.
3) Further, the USB plug has the second abnormal plugging condition of the present invention, that is, the USB plug is disconnected from the upstream port or the downstream port and reconnected to the upstream port or the downstream port at a very high speed due to human beings or faults, which causes the USB plug connected to the USB plug to enter the initialization mode from the power saving mode and then enter the transmission mode from the initialization mode immediately, but the opposite plug may not time t3 at this time, so the opposite plug will not find the abnormal plugging action at this time, and also can not transmit the abnormal plugging action at this time to the downstream port or the upstream port connected to the opposite plug, which causes the status of the upstream port and the downstream port to be non-uniform, thereby affecting the communication.
Preferably, in order to avoid the phenomenon of mismatch of states at two ends of the USB system caused by irregular plugging,
for the USB plug that will not be powered down after the disconnection, after the electrical output port 21 of the receiving unit 2 finds that the connected uplink port or downlink port is disconnected, the non-lighting state of the USB plug needs to be continuously maintained for more than t4 time, and then the control unit 3 controls the transmitting unit and the receiving unit of the USB plug to enter the initialization mode. The purpose of continuously maintaining the non-luminous state for more than t4 is to ensure the t3 of the opposite end USB plug to be overtime, and prevent the opposite end USB plug from directly turning to a transmission mode without entering an initialization state, thereby causing the non-uniform state of ports at two ends of the USB system.
For the USB plug which is powered down after disconnection, the plug has no power after disconnection, and the USB plug does not record what state is before power failure after power-on, so that the USB plug needs to wait for t4 time forcefully after power-on, a sending unit does not emit light in the time, and a receiving unit does not perform low-resistance state matching termination detection and optical signal detection; the control unit 3 then controls the transmitting unit and the receiving unit of the present USB plug to enter an initialization mode. Therefore, the function of continuously maintaining the non-luminous state for more than t4 time can be achieved, and further the problem that the port states at two ends of the USB system are not uniform due to the fact that the opposite-end USB plug directly goes to the transmission mode without entering the initialization state is prevented.
In this case, the setting of t3 should be between t2 and t2+t4 of the counterpart plug with which it is paired, and the time difference of the two plug timers needs to be taken into consideration.
The second plug and the first plug have the same working mechanism.
Referring to fig. 2, the present invention further discloses a USB active optical cable using the above-mentioned USB plug, which includes a first plug 100, a second plug 200, and an optical transmission medium 300 connecting the first plug and the second plug;
the first plug and the second plug are both USB plugs, the sending unit of the first plug corresponds to the receiving unit of the second plug, and the receiving unit of the first plug corresponds to the sending unit of the second plug.
In particular, the method comprises the steps of,
in a first, downstream direction,
the transmitting unit of the first plug receives the electric signal output by the downlink port, converts the electric signal into an optical signal through processing, and transmits the optical signal to the receiving unit of the second plug through an optical transmission medium; the receiving unit of the second plug receives the optical signal transmitted by the optical transmission medium, converts the optical signal into a required electrical signal after processing, and then transmits the electrical signal to the receiving end of the uplink port.
In the second, i.e. upward direction,
The transmitting unit of the second plug receives the electric signal output by the uplink port, converts the electric signal into an optical signal through processing, and transmits the optical signal to the receiving unit of the first plug through an optical transmission medium; the receiving unit of the first plug receives the optical signal transmitted by the optical transmission medium, converts the optical signal into a required electrical signal after processing, and then transmits the electrical signal to the receiving end of the downlink port.
In summary, the invention has the following advantages:
(1) Based on the independent control of the sending unit and the receiving unit, the working states of the sending unit and the receiving unit of the active optical cable are divided into an initialization mode, a power saving mode and a transmission mode, and necessary working requirements and mode jump conditions are provided for each mode, so that the power consumption management of the active optical cable is facilitated;
(2) In the initialization mode, especially in the power saving mode, a method for checking and transmitting the state of the matching termination (Rx termination) of the port is provided, so that the USB system composed of the uplink port, the active cable and the downlink port can keep the state uniform.
(3) Aiming at the condition that the USB plug has two different unconventional plug cases, the mode jump mode is processed in a targeted way so as to distinguish a plurality of different application cases of complete disconnection and unconventional plug.
(4) The invention is simultaneously applicable to pure optical cables and hybrid cables with various power supply modes.
It will be apparent to those skilled in the art that the elements or steps of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or they may alternatively be implemented in program code executable by a computer device, such that they may be stored in a storage device for execution by the computing device, or they may be separately fabricated into individual integrated circuit modules, or a plurality of modules or steps in them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
While the invention has been described in detail in connection with specific preferred embodiments thereof, it is not to be construed as limited thereto, but rather as a result of a simple deduction or substitution by a person having ordinary skill in the art without departing from the spirit of the invention, which is to be construed as falling within the scope of the invention defined by the appended claims.

Claims (16)

1. A USB plug capable of managing power consumption and status, said USB plug being adapted for use in an active optical cable for an optical transmission medium, comprising:
A transmitting unit, a receiving unit and a control unit;
wherein the transmitting unit includes: an electrical input port, a transmitting unit high-speed transmission circuit, and an output circuit,
the electric input port is used for being connected to an uplink port or a downlink port and receiving an input USB electric signal to be transmitted;
the electric input port is also provided with a termination impedance matching circuit, and the termination impedance matching circuit provides a low-resistance state matching termination meeting the USB protocol requirement or a high-resistance state matching termination meeting the USB protocol requirement;
the transmitting unit high-speed transmission circuit is used for processing the USB electric signal input by the electric input port and then transmitting the processed USB electric signal to the output circuit;
the output circuit is used for being connected with an optical transmission medium and sending optical signals;
the receiving unit includes: an electrical output port, a receiving unit high-speed transmission circuit and an input circuit;
the input circuit is used for being connected with the optical transmission medium, receiving the optical signal converted by the USB electrical signal and judging whether the optical signal is input currently or not;
the receiving unit high-speed transmission circuit is used for processing signals output by the input circuit and then transmitting the processed signals to the electric output port;
The electric output port is used for outputting the USB electric signal after the received signal is processed and detecting the matching termination state of the port;
the control unit is used for receiving the related information from the sending unit and the receiving unit, judging the current working modes of the sending unit and the receiving unit, performing corresponding control operation, and enabling the sending unit and the receiving unit to respectively jump between different working modes;
the working modes comprise a transmission mode and a power saving mode;
in the transmission mode, the high-speed signal transmission circuits of the sending unit and the receiving unit are in a working state; in the power saving mode, the high-speed transmission circuits of the sending unit and the receiving unit are in a non-working state;
the electric input port of the sending unit in the transmission mode continuously detects the AC signal, and if no AC signal is input for more than t1 time, the control unit controls the sending unit to enter the power saving mode; and/or, the input circuit of the receiving unit in the transmission mode continuously detects whether an optical signal is transmitted, and once no optical signal is transmitted, the control unit controls the receiving unit to enter the power saving mode;
in the power saving mode, once the electric input port of the transmitting unit finds that an AC signal is input, the control unit enables the transmitting unit to enter a transmission mode and transmits first signal light; in the power saving mode, the input circuit of the receiving unit detects whether an optical signal is transmitted, and if the first signal light is found, the control unit enables the receiving unit to enter a transmission mode.
2. The USB plug capable of managing power consumption and status of claim 1,
the working mode further comprises an initialization mode;
for the initialization mode, the transmitting unit and the receiving unit enter the initialization mode after the USB plug is powered on;
in the state of the transmitting unit, the termination impedance matching circuit of the electric input port is configured to be in high-resistance state matching termination meeting the USB protocol requirement, and the output circuit does not emit light;
in this state, the receiving unit performs the matching termination detection at a certain time interval t0 from the electrical output port, and the input circuit performs the optical signal detection.
3. The USB plug capable of managing power consumption and status according to claim 2, wherein,
in the initialization mode of the device, in the initialization mode,
1) If the electric output port of the receiving unit detects that the low-resistance state matching terminal meets the USB protocol requirement, judging that the USB plug is connected to an uplink port or a downlink port, controlling the output circuit to switch on and off by the control unit, and sending first signal light;
correspondingly, if the electric output port of the receiving unit detects a high-resistance state matching termination meeting the USB protocol requirement, the control unit controls the output circuit not to emit light or switch off light;
2) If the input circuit of the receiving unit finds that the opposite-end plug transmits the first signal light, the control unit sets a termination impedance matching circuit of an electric input port of the transmitting unit of the USB plug to be in a low-resistance state matching termination meeting the USB protocol requirement;
if the input circuit of the receiving unit finds that the opposite plug does not send the first signal light, the control unit sets the termination impedance matching circuit of the electric input port of the sending unit of the USB plug to be in high-impedance state matching termination meeting the requirements of the USB protocol.
4. A USB plug capable of managing power consumption and status according to claim 3,
the transmitting unit and the receiving unit can enter a transmission mode respectively:
when the electric output port of the receiving unit detects that the low-resistance state matching terminal meets the USB protocol requirement, the control unit sends first signal light and controls the sending unit to enter a transmission mode;
when the input circuit of the receiving unit finds that the opposite plug transmits the first signal light, the control unit controls the receiving unit to enter a transmission mode.
5. A USB plug capable of managing power consumption and status according to claim 3,
The transmitting unit and the receiving unit can enter a transmission mode simultaneously:
condition 1: the electrical output port of the receiving unit detects a low impedance state matching termination meeting USB protocol requirements, and
condition 2: the input circuit of the receiving unit finds that the opposite plug transmits the first signal light,
when both the condition 1 and the condition 2 are satisfied, the control unit causes both the transmitting unit and the receiving unit to enter the transmission mode, and at this time, the matching termination detection operation of the electrical output port of the receiving unit is stopped.
6. The USB plug capable of managing power consumption and status of claim 5,
the initialization mode of the USB plug is lower than the power consumption of the transmission mode, and the working states of all the components in the initialization mode after the USB plug is powered on are that other circuits are in a non-working state except that a termination impedance matching circuit of an electric input port of a sending unit needs to be configured to be matched and terminated in a high-resistance state meeting the requirements of a USB protocol, and a matching termination detection circuit of an electric output port of a receiving unit and an optical signal detection circuit of the input circuit need to be in a working state or are in a working state at a certain time interval.
7. The USB plug capable of managing power consumption and status according to claim 1 or 4 or 5, characterized in that,
In the transmission mode:
the high-speed signal transmission circuits of the transmitting unit and the receiving unit are in an operating state, so that signal transmission can be performed, and the transmitting unit and the receiving unit can jump from a transmission mode to a power saving mode.
8. The USB plug capable of managing power consumption and status according to claim 1 or 4 or 5, characterized in that,
power saving mode for the transmitting unit:
in this mode, the transmitting unit specifically, the transmitting unit high-speed signal transmission circuit does not work, the output circuit does not emit light, the termination impedance matching circuit of the electric input port keeps the low-resistance state matching termination meeting the requirement of the USB protocol, the electric input port of the transmitting unit detects the circuit for inputting the AC signal, once the AC signal is input, the control unit wakes up the transmitting unit high-speed signal transmission circuit, so that the transmitting unit of the USB plug enters the transmission mode and transmits the first signal light; if the receiving unit of the USB plug is also in the power saving mode at this time, the control unit wakes up the high-speed signal transmission circuit of the receiving unit, so that the receiving unit of the USB plug also enters the transmission mode;
therefore, the connection state of plugs and ports at two ends is checked and transferred in the power saving mode, and the wake-up of the power saving mode is ensured.
9. The USB plug capable of managing power consumption and status of claim 8,
for the power saving mode of the receiving unit,
in the power saving mode, the high speed transmission circuit is in a non-working state, and the circuit of the electric output port detection port matched termination state and the circuit of the input circuit detection optical signal input are in a working state or are awakened to work according to a certain time.
10. The USB plug capable of managing power consumption and status of claim 9,
the circuit for detecting the port matching termination state of the electric output port and the circuit for detecting the optical signal input of the input circuit are in a working state or are awakened to work according to a certain time, and specifically comprise the following steps:
1) The electric output port of the receiving unit carries out matching termination detection according to a certain time interval t2, if the detection result proves that the uplink port or the downlink port connected with the electric output port is always in a connection state, a termination impedance matching circuit of the electric input port of the USB plug transmitting unit continuously maintains a low-resistance state matching termination state meeting the USB protocol requirement, the control unit wakes up an output circuit of the transmitting unit, transmits second signal light to the opposite-end plug, then turns off light again to enter a non-working state, and at the moment, the receiving unit and the transmitting unit of the plug both maintain a power-saving mode; if the detection result proves that the connected uplink port or downlink port is disconnected, the control unit controls the sending unit and the receiving unit of the USB plug to enter an initialization mode, and the termination impedance matching circuit of the electric input port of the sending unit is set to be matched and terminated in a high-resistance state according with the requirements of the USB protocol;
2) The input circuit of the receiving unit always detects whether an optical signal is transmitted, if the first signal light is found, the control unit transmits high-speed signal for waking up the receiving unit of the plug to enable the receiving unit of the USB plug to enter a transmission mode, and meanwhile, the control unit can also selectively wake up the high-speed signal transmission circuit of the transmitting unit of the USB plug to enable the transmitting unit of the USB plug to enter the transmission mode; if the second signal light is found, the sending unit and the receiving unit of the USB plug keep the current state and are still in the power saving mode; if no optical signal input is found yet after a certain time t3, the control unit controls the sending unit and the receiving unit of the USB plug to enter an initialization mode, and the termination impedance matching circuit of the electric input port of the sending unit is set to be matched and terminated in a high-resistance state according with the requirements of the USB protocol;
therefore, the connection state of plugs and ports at two ends is checked and transferred in the power saving mode, and the wake-up of the power saving mode is ensured.
11. The USB plug capable of managing power consumption and status of claim 10,
the setting of t3 needs to be longer than the setting of the mating plug t 2.
12. The USB plug capable of managing power consumption and status of claim 10,
in order to avoid the phenomenon of mismatch of states at two ends of the USB system caused by irregular plugging,
after the electric output port of the receiving unit finds that the connected uplink port or downlink port is disconnected, the non-luminous state of the USB plug is continuously maintained for more than t4 time or the USB plug is forced to wait for t4 time, and then the control unit controls the sending unit and the receiving unit of the USB plug to enter an initialization mode.
13. The USB plug capable of managing power consumption and status of claim 12,
the setting of t3 should be between t2 and t2+t4 of the counterpart plug with which it is paired, and the time difference of the two plug timers needs to be taken into account.
14. USB plug capable of managing power consumption and status according to claim 10 or 12, characterized in that,
the second signal light has a different power or frequency than the first signal light;
and/or the number of the groups of groups,
the t2 time of the USB plug is set to be less than 100 ms.
15. USB plug capable of managing power consumption and status according to any of claims 2-6,9-13, characterized in that,
the USB plug also includes a timer for time counting, including counting the duration of the electrical idle state of the electrical input port, as well as other time counting operations required for operational mode skip conditions.
16. A USB active optical cable using the USB plug of any one of claims 1-15, comprising:
an optical transmission medium comprising a first plug, a second plug, and a connection between the first plug and the second plug;
wherein the first plug and the second plug are the USB plug according to any one of claims 1 to 15, the transmitting unit of the first plug corresponds to the receiving unit of the second plug, and the receiving unit of the first plug corresponds to the transmitting unit of the second plug.
CN202110557211.5A 2021-05-21 2021-05-21 USB plug capable of managing power consumption and state and active optical cable Active CN114460696B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110557211.5A CN114460696B (en) 2021-05-21 2021-05-21 USB plug capable of managing power consumption and state and active optical cable
US17/664,056 US11928074B2 (en) 2021-05-21 2022-05-19 USB active optical cable and plug capable of managing power consumption and status

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110557211.5A CN114460696B (en) 2021-05-21 2021-05-21 USB plug capable of managing power consumption and state and active optical cable

Publications (2)

Publication Number Publication Date
CN114460696A CN114460696A (en) 2022-05-10
CN114460696B true CN114460696B (en) 2024-01-19

Family

ID=81406193

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110557211.5A Active CN114460696B (en) 2021-05-21 2021-05-21 USB plug capable of managing power consumption and state and active optical cable

Country Status (1)

Country Link
CN (1) CN114460696B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102621644A (en) * 2011-01-25 2012-08-01 安华高科技光纤Ip(新加坡)私人有限公司 Active optical cable and a method and apparatus for performing power management in the AOC
WO2015096663A1 (en) * 2013-12-25 2015-07-02 华为技术有限公司 On-chip optical network system and optical power control method
CN107276675A (en) * 2017-08-09 2017-10-20 东莞市启鼎光电科技有限公司 A kind of USB3.0 HUB based on optical fiber long-distance transmissions
CN110113070A (en) * 2019-03-21 2019-08-09 长芯盛(武汉)科技有限公司 A kind of signal sending and receiving method suitable for USB

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8824838B2 (en) * 2010-12-07 2014-09-02 Corning Cable Systems Llc Integrated circuit for facilitating optical communication between electronic devices
US10727955B2 (en) * 2018-11-29 2020-07-28 At&T Intellectual Property I, L.P. Method and apparatus for power delivery to waveguide systems

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102621644A (en) * 2011-01-25 2012-08-01 安华高科技光纤Ip(新加坡)私人有限公司 Active optical cable and a method and apparatus for performing power management in the AOC
WO2015096663A1 (en) * 2013-12-25 2015-07-02 华为技术有限公司 On-chip optical network system and optical power control method
CN107276675A (en) * 2017-08-09 2017-10-20 东莞市启鼎光电科技有限公司 A kind of USB3.0 HUB based on optical fiber long-distance transmissions
CN110113070A (en) * 2019-03-21 2019-08-09 长芯盛(武汉)科技有限公司 A kind of signal sending and receiving method suitable for USB

Also Published As

Publication number Publication date
CN114460696A (en) 2022-05-10

Similar Documents

Publication Publication Date Title
US9160451B2 (en) Active optical cable connector plug and active optical cable using same
US7603570B2 (en) Power delivery over ethernet cables
JP3544932B2 (en) Electronic device and power control method thereof
CN104407556B (en) Hot standby redundancy module switching device
US7750495B2 (en) Power line adapter and method of controlling power line adapter operated in power-saving mode
WO2007016253A1 (en) Method device including a bypass switch for an ethernet device, method for creating a bypass path and corresponding ethernet network
TWI754588B (en) System for transmitting power to a remote poe subsystem by forwarding pd input voltage and manufacturing method, using method, and non-transitory program storage device readable by a computing device of the same
CN107547210B (en) Non-standard power supply equipment, powered equipment and system
CN102622071B (en) Power distribution device and power distribution circuit
CN106155967A (en) The circuit of USB interface multiplexing, method and apparatus
CN101848306B (en) Network device
CN113193914B (en) Sending unit, receiving unit, active transmission device and active transmission system suitable for USB signals
CN108933627B (en) Optical module and optical network system
CN102497276B (en) Power source conversion circuit and network camera with same
US9336176B2 (en) Remote access appliance with communication protocol autosensing feature
JP2010141692A (en) Optical/electrical composite cable, optical/electrical composite cable connecting device, and method of driving optical/electrical composite cable
US11928074B2 (en) USB active optical cable and plug capable of managing power consumption and status
CN107360005B (en) Power receiving end equipment and power receiving method
CN114460696B (en) USB plug capable of managing power consumption and state and active optical cable
CN117792499A (en) Repeater with Y-Cable and signal transmission system thereof
CN205071015U (en) Ethernet power supply unit
CN114089490B (en) USB active optical cable and plug capable of managing power consumption and state
CN218181479U (en) Power management system of server mainboard, server and server backboard
US20220255294A1 (en) Communication device, terminal device and active optical cable
CN114661646A (en) Serial port switching control circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant