CN112737794B - Optical port and electric port self-adaptive connecting device - Google Patents
Optical port and electric port self-adaptive connecting device Download PDFInfo
- Publication number
- CN112737794B CN112737794B CN202011525808.3A CN202011525808A CN112737794B CN 112737794 B CN112737794 B CN 112737794B CN 202011525808 A CN202011525808 A CN 202011525808A CN 112737794 B CN112737794 B CN 112737794B
- Authority
- CN
- China
- Prior art keywords
- interface
- port
- optical
- resistor
- optical port
- 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
Links
- 230000003287 optical effect Effects 0.000 title claims abstract description 96
- 238000001514 detection method Methods 0.000 claims abstract description 30
- 238000000034 method Methods 0.000 claims abstract description 4
- 230000003044 adaptive effect Effects 0.000 claims description 16
- 238000002955 isolation Methods 0.000 claims description 8
- 239000013307 optical fiber Substances 0.000 claims description 3
- 238000012545 processing Methods 0.000 abstract description 9
- 238000010586 diagram Methods 0.000 description 12
- 230000005540 biological transmission Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Optical Communication System (AREA)
Abstract
The invention provides a self-adaptive connecting device for an optical port and an electric port, wherein a type detection circuit and a matching circuit of the self-adaptive connecting device for the optical port and the electric port are connected with an interface and a controller; the type detection circuit and the matching circuit are respectively connected with the electric port interface and the optical port interface; the controller stores matching modes corresponding to the electric port interface and the optical port interface respectively, and processes data transmitted by the electric port interface and the optical port interface through the matching modes; the type detection circuit detects the type of the interface which works currently, the type is sent to the controller, and the controller is connected with the interface through the matching circuit and adjusts the matching mode according to the type. According to the invention, the type of the currently working interface is obtained through the type detection circuit, the control chip adjusts the matching mode according to the type, data processing can be carried out according to the type of the interface, a plurality of mainboards or data processing circuits are not required to be arranged, the cost is reduced, the occupied space can be effectively controlled, and the space utilization rate is improved.
Description
Technical Field
The invention relates to the field of Ethernet communication, in particular to an optical port and electric port self-adaptive connection device.
Background
The general network card (especially the network card with 2U height) is single, double, four optical ports or single, double, four electric ports, and basically one network card is provided with a single type of interface or optical port or electric port. However, in practical application, the optical port and the electrical port exist at the same time, so two types of mainboards or data processing circuits are designed in the design to meet the practical application environment, and when a plurality of optical ports or electrical ports are required to be connected, bonding pads are required to be respectively arranged on the mainboards according to the types and the numbers of the electrical ports or the optical ports, so that the problems of increased cost and crowded space of the mainboards are caused.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides the optical port and electric port self-adaptive connection device, which is provided with the optical port interface and the electric port interface, is connected with the optical port interface and the electric port interface through the matching circuit and the type detection circuit, transmits data of the optical port interface or the electric port interface to the controller through the matching circuit, acquires the type of the currently working interface through the type detection circuit, and the control chip adjusts the matching mode according to the type, so that data processing can be carried out according to the type of the interface, a plurality of mainboards or data processing circuits are not required, the cost is reduced, the occupied space can be effectively controlled, and the space utilization rate is improved.
In order to solve the problems, the invention adopts a technical scheme that: an optical port and electrical port self-adaptive connection device, the optical port and electrical port self-adaptive connection device comprising: the device comprises an interface, a matching circuit, a type detection circuit and a controller, wherein the type detection circuit and the matching circuit are connected with the interface and the controller; the interface comprises an electric interface and an optical interface, and the type detection circuit and the matching circuit are respectively connected with the electric interface and the optical interface; the controller stores matching modes corresponding to the electric port interface and the optical port interface respectively, and processes data transmitted by the electric port interface and the optical port interface through the matching modes; the type detection circuit detects the type of the interface which works currently and sends the type to the controller, the controller is connected with the interface through the matching circuit and adjusts the matching mode according to the type, and the type comprises any one of an electric interface and an optical interface.
Further, the type detection circuit comprises a first triode, a first signal interface, a second signal interface, a first resistor and a reference voltage source, wherein the base electrode of the first triode is connected with one ends of the first signal interface, the second signal interface and the first resistor, the other end of the first resistor is grounded, the collector electrode of the first triode is connected with the reference voltage source and the controller, and the emitter electrode of the first triode is grounded.
Further, the type detection circuit further comprises a second resistor and a third resistor, one end of the second resistor is connected with the reference voltage source, the other end of the second resistor is connected with the collector electrode of the first triode, one end of the third resistor is connected with the base electrode of the first triode, and the other end of the third resistor is connected with the first signal interface and the second signal interface.
Further, the optical port interface comprises an optical port interface chip, two signal output ports of the optical port interface chip are connected with the first signal interface and the second signal interface in a one-to-one correspondence manner, and the optical port interface chip outputs high level to the first signal interface and the second signal interface when the optical port interface is connected with the optical fiber, so that the first triode is controlled to be conducted.
Further, the controller comprises a control chip, a signal receiving port of the control chip is connected with a collector electrode of the first triode, the control chip enables the matching mode to correspond to the optical port interface when the first triode is conducted, and the matching mode is adjusted to be a matching mode corresponding to the electrical port interface when the first triode is cut off.
Further, the control chip obtains the port voltage of the data transmitted by the electric port interface to be 0.95-1.05V, and obtains the port voltage of the data transmitted by the optical port interface to be 0.4-1.2V.
Further, the matching circuit comprises a network isolation transformer, one end of the network isolation transformer is connected with a receiving data port and a transmitting data port of the optical port interface chip, and the other end of the network isolation transformer is connected with a corresponding data port on the control chip.
Further, the matching circuit further comprises connection resistors, the number of the connection resistors is the same as that of the receiving data ports and the sending data ports, one end of each connection resistor is connected with one of the receiving data ports and the sending data ports, and the other end of each connection resistor is connected with the corresponding one of the data ports.
Further, the electric interface comprises an electric interface chip and a storage chip, wherein the electric interface chip is connected with the storage chip, and information is stored through the storage chip.
Further, the electrical port interface chip is connected with the controller through an MII mode, and the clock of the optical port interface chip is 25M.
Compared with the prior art, the invention has the beneficial effects that: the optical interface and the electric interface are arranged, the optical interface and the electric interface are connected through the matching circuit and the type detection circuit, the data of the optical interface or the electric interface is transmitted to the controller by the matching circuit, the type of the interface which works currently is obtained through the type detection circuit, the control chip adjusts the matching mode according to the type, the data processing can be carried out according to the type of the interface, a plurality of main boards or data processing circuits are not required, the cost is reduced, the occupied space can be effectively controlled, and the space utilization rate is improved.
Drawings
FIG. 1 is a block diagram of an embodiment of an optical port and electrical port adaptive connection apparatus according to the present invention;
FIG. 2 is a circuit diagram of an embodiment of an optical port interface of the optical port and electrical port adaptive connection device of the present invention;
FIG. 3 is a circuit diagram of an embodiment of an electrical port interface in the optical port and electrical port adaptive connection device of the present invention;
FIG. 4 is a circuit diagram of an embodiment of a type detection circuit in the optical port and electrical port adaptive connection device of the present invention;
FIG. 5 is a partial circuit diagram of an embodiment of a matching circuit in the optical port and electrical port adaptive connection device of the present invention;
FIG. 6 is a circuit diagram of an embodiment of a controller in the optical port and electrical port adaptive connection device of the present invention.
In the figure: q1, a first triode; r20 is a first resistor; r21, a second resistor; r19, third resistor; r13, fourth resistor; r22, fifth resistance; r1, a sixth resistor; r23, seventh resistance; r24, eighth resistor; r12, ninth resistor; r11, tenth resistor; r10, eleventh resistor; r9, twelfth resistor; r8, thirteenth resistance.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and detailed description, wherein it is to be understood that, on the premise of no conflict, the following embodiments or technical features may be arbitrarily combined to form new embodiments.
Referring to fig. 1-6, fig. 1 is a block diagram illustrating an embodiment of an optical port and electrical port adaptive connection device according to the present invention; FIG. 2 is a circuit diagram of an embodiment of an optical port interface of the optical port and electrical port adaptive connection device of the present invention; FIG. 3 is a circuit diagram of an embodiment of an electrical port interface in the optical port and electrical port adaptive connection device of the present invention; FIG. 4 is a circuit diagram of an embodiment of a type detection circuit in the optical port and electrical port adaptive connection device of the present invention; FIG. 5 is a partial circuit diagram of an embodiment of a matching circuit in the optical port and electrical port adaptive connection device of the present invention; FIG. 6 is a circuit diagram of an embodiment of a controller in the optical port and electrical port adaptive connection device of the present invention. The optical port and electrical port self-adapting connection device of the present invention will be described in detail with reference to fig. 1 to 6.
In this embodiment, the optical port and electrical port adaptive connection device includes: the device comprises an interface, a matching circuit, a type detection circuit and a controller, wherein the type detection circuit and the matching circuit are connected with the interface and the controller; the interface comprises an electric interface and an optical interface, and the type detection circuit and the matching circuit are respectively connected with the electric interface and the optical interface; the controller stores matching modes corresponding to the electric port interface and the optical port interface respectively, and processes data transmitted by the electric port interface and the optical port interface through the matching modes; the type detection circuit detects the type of the interface which works currently and sends the type to the controller, the controller is connected with the interface through the matching circuit, and the matching mode is adjusted according to the type, and the type comprises any one of an electric interface and an optical interface.
In this embodiment, the number of optical interfaces and electrical interfaces is one.
In this embodiment, the type detection circuit includes a first triode Q1, a first signal interface, a second signal interface, a first resistor R20, and a reference voltage source, where a base electrode of the first triode Q1 is connected to the first signal interface, the second signal interface, and one end of the first resistor R20, another end of the first resistor R20 is grounded, a collector electrode of the first triode Q1 is connected to the reference voltage source and the controller, and an emitter electrode of the first triode Q1 is grounded. Wherein, NPN triode of first triode Q1.
In this embodiment, the type detection circuit further includes a second resistor R21 and a third resistor R19, where one end of the second resistor R21 is connected to the reference voltage source, the other end is connected to the collector of the first triode Q1, one end of the third resistor R19 is connected to the base of the first triode Q1, and the other end is connected to the first signal interface and the second signal interface.
In a specific embodiment, the resistances of the first resistor R20, the second resistor R21, and the third resistor R19 are the same and are both 4.7K, the first signal interface includes a fourth resistor R13, and the second signal interface includes a fifth resistor R22, where the fourth resistor R13 and the fifth resistor R22 are zero ohm resistors.
In this embodiment, the optical interface includes an optical interface chip, two signal output ports of the optical interface chip are connected with the first signal interface and the second signal interface in a one-to-one correspondence manner, and when the optical interface is connected with the optical fiber, the optical interface chip outputs a high level to the first signal interface and the second signal interface to control the first triode Q1 to be turned on.
In a specific embodiment, the opt_det port of the optical interface chip is connected to the first signal interface and the opt_los port is connected to the second signal interface.
In this embodiment, the optical interface further includes a sixth resistor R1, a seventh resistor R23, an eighth resistor R24, a ninth resistor R12, a tenth resistor R11, an eleventh resistor R10, a twelfth resistor R9, and a thirteenth resistor R8, where two ends of the sixth resistor R1 are connected to two data transmission ports of the optical interface chip, one end of the seventh resistor R23 and one end of the eighth resistor R24 are connected to two data transmission short circuits in a one-to-one correspondence manner, and the other end of the seventh resistor R23 and the other end of the eighth resistor R24 are grounded. The two ends of the ninth resistor R12 are connected with two data receiving ports of the optical port interface chip, one end of the tenth resistor R11 is grounded, the other end of the tenth resistor R11 is connected with one data transmitting port, the other data port is connected with one end of the eleventh resistor R10, and the other end of the eleventh resistor R10 is grounded. One end of the twelfth resistor R9 is connected to an ungrounded end of the tenth resistor R11, the other end is connected to a reference voltage source, one end of the thirteenth resistor R8 is connected to the reference voltage source, and the other end is connected to an ungrounded end of the eleventh resistor R10.
In a specific embodiment, the resistance of the sixth resistor R1 and the ninth resistor R12 is 100 Ω, the resistance of the seventh resistor R23 and the eighth resistor R24 is 130 Ω, and the resistance of the tenth resistor R11, the eleventh resistor R10, the twelfth resistor R9 and the thirteenth resistor R8 is 4.7 kj. The reference voltage source is 3.3V.
In this embodiment, the controller includes a control chip, where a signal receiving port of the control chip is connected to a collector of the first triode Q1, and the control chip makes the matching mode correspond to the optical port interface when the first triode Q1 is turned on, and makes the matching mode correspond to the electrical port interface when the first triode Q1 is turned off.
In this embodiment, the control chip obtains the port voltage of the data transmitted by the electrical port interface to be 0.95-1.05V, and obtains the port voltage of the data transmitted by the optical port interface to be 0.4-1.2V.
In this embodiment, the matching circuit includes a network isolation transformer, one end of the network isolation transformer is connected to the receiving data port and the transmitting data port of the optical interface chip, and the other end is connected to the corresponding data port on the control chip.
In this embodiment, the matching circuit further includes connection resistors, the number of the connection resistors is the same as the number of the receiving data ports and the transmitting data ports, one end of the connection resistors is connected with one of the receiving data ports and the transmitting data ports, and the other end of the connection resistors is connected with a corresponding port of the data ports.
In this embodiment, the electrical interface includes an electrical interface chip and a memory chip, where the electrical interface chip is connected to the memory chip, and stores information through the memory chip. The circuit for information transmission between the electric interface chip and the control chip and the adopted data interface are all in the prior art, and are not described in detail herein.
In this embodiment, the electrical port interface chip is connected to the control chip of the controller through the MII mode, and the clock of the optical port interface chip is 25M.
The beneficial effects are that: the optical port and electric port self-adaptive connection device is provided with the optical port interface and the electric port interface, the optical port interface and the electric port interface are connected through the matching circuit and the type detection circuit, data of the optical port interface or the electric port interface is transmitted to the controller through the matching circuit, the type of the currently working interface is obtained through the type detection circuit, the control chip adjusts the matching mode according to the type, data processing can be carried out according to the type of the interface, a plurality of mainboards or data processing circuits are not required, the cost is reduced, occupied space can be effectively controlled, and the space utilization rate is improved.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different manner from other embodiments, so that identical and similar parts of each embodiment are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (6)
1. An optical port and electrical port self-adaptive connection device, characterized in that the optical port and electrical port self-adaptive connection device comprises: the device comprises an interface, a matching circuit, a type detection circuit and a controller, wherein the type detection circuit and the matching circuit are connected with the interface and the controller;
the interface comprises an electric interface and an optical interface, and the type detection circuit and the matching circuit are respectively connected with the electric interface and the optical interface;
the controller stores matching modes corresponding to the electric port interface and the optical port interface respectively, and processes data transmitted by the electric port interface and the optical port interface through the matching modes;
the type detection circuit detects the type of the interface which works currently and sends the type to the controller, the controller is connected with the interface through the matching circuit and adjusts the matching mode according to the type, and the type comprises any one of an electric interface and an optical interface;
the type detection circuit comprises a first triode, a first signal interface, a second signal interface, a first resistor and a reference voltage source, wherein the base electrode of the first triode is connected with one ends of the first signal interface, the second signal interface and the first resistor, the other end of the first resistor is grounded, the collector electrode of the first triode is connected with the reference voltage source and the controller, and the emitter electrode of the first triode is grounded;
the optical port interface comprises an optical port interface chip, two signal output ports of the optical port interface chip are connected with the first signal interface and the second signal interface in a one-to-one correspondence manner, and when the optical port interface is connected with the optical fibers, the optical port interface chip outputs high level to the first signal interface and the second signal interface to control the first triode to be conducted;
the controller comprises a control chip, a signal receiving port of the control chip is connected with a collector electrode of the first triode, the control chip enables the matching mode to correspond to the optical port interface when the first triode is conducted, and the matching mode is adjusted to correspond to the electric port interface when the first triode is cut off;
the matching circuit comprises a network isolation transformer, one end of the network isolation transformer is connected with a data receiving port and a data transmitting port of the optical port interface chip, and the other end of the network isolation transformer is connected with a corresponding data port on the control chip.
2. The adaptive connection device for optical and electrical ports of claim 1, wherein the type detection circuit further comprises a second resistor and a third resistor, one end of the second resistor is connected with the reference voltage source, the other end of the second resistor is connected with the collector of the first triode, one end of the third resistor is connected with the base of the first triode, and the other end of the third resistor is connected with the first signal interface and the second signal interface.
3. The device for adaptively connecting an optical port and an electrical port according to claim 1, wherein the control chip obtains the port voltage of the data transmitted by the electrical port interface to be 0.95-1.05V, and obtains the port voltage of the data transmitted by the optical port interface to be 0.4-1.2V.
4. The optical port and electrical port adaptive connection apparatus of claim 1, wherein the matching circuit further comprises connection resistors, the number of the connection resistors is the same as the number of the receiving data ports and the transmitting data ports, one end of the connection resistors is connected with one of the receiving data ports and the transmitting data ports, and the other end of the connection resistors is connected with a corresponding one of the data ports.
5. The optical port and electrical port self-adapting connection device according to claim 1, wherein the electrical port interface comprises an electrical port interface chip and a memory chip, the electrical port interface chip being connected to the memory chip, and information being stored by the memory chip.
6. The optical port and electrical port adaptive connection apparatus of claim 4, wherein the electrical port interface chip is connected to the controller by an MII mode and the optical port interface chip has a clock of 25M.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011525808.3A CN112737794B (en) | 2020-12-22 | 2020-12-22 | Optical port and electric port self-adaptive connecting device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011525808.3A CN112737794B (en) | 2020-12-22 | 2020-12-22 | Optical port and electric port self-adaptive connecting device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112737794A CN112737794A (en) | 2021-04-30 |
CN112737794B true CN112737794B (en) | 2024-02-09 |
Family
ID=75605433
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011525808.3A Active CN112737794B (en) | 2020-12-22 | 2020-12-22 | Optical port and electric port self-adaptive connecting device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112737794B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101621328A (en) * | 2008-06-30 | 2010-01-06 | 成都市华为赛门铁克科技有限公司 | Method for realizing photoelectric mutual exclusion, Ethernet photoelectric mutual exclusion interface and network equipment |
CN102045608A (en) * | 2010-12-29 | 2011-05-04 | 福建星网锐捷网络有限公司 | Network device for optical communication and method thereof for automatically configuring exchange interface |
CN109217940A (en) * | 2018-10-08 | 2019-01-15 | 深圳市三旺通信技术有限公司 | A kind of Combo mouthfuls of switching circuit |
CN111556383A (en) * | 2020-04-21 | 2020-08-18 | 深圳市三旺通信股份有限公司 | Optical module adaptive speed interface method, switch and computer storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10645027B2 (en) * | 2016-09-30 | 2020-05-05 | Facebook, Inc. | Network switches configured to employ optical or electrical interfaces |
-
2020
- 2020-12-22 CN CN202011525808.3A patent/CN112737794B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101621328A (en) * | 2008-06-30 | 2010-01-06 | 成都市华为赛门铁克科技有限公司 | Method for realizing photoelectric mutual exclusion, Ethernet photoelectric mutual exclusion interface and network equipment |
CN102045608A (en) * | 2010-12-29 | 2011-05-04 | 福建星网锐捷网络有限公司 | Network device for optical communication and method thereof for automatically configuring exchange interface |
CN109217940A (en) * | 2018-10-08 | 2019-01-15 | 深圳市三旺通信技术有限公司 | A kind of Combo mouthfuls of switching circuit |
CN111556383A (en) * | 2020-04-21 | 2020-08-18 | 深圳市三旺通信股份有限公司 | Optical module adaptive speed interface method, switch and computer storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112737794A (en) | 2021-04-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5523703A (en) | Method and apparatus for controlling termination of current driven circuits | |
CN111919402B (en) | Optical communication device, optical line terminal and optical communication processing method | |
US9672182B2 (en) | High-speed serial ring | |
JPH0779365B2 (en) | Interface subsystem applicable to multiple interface standards | |
CN112703488B (en) | Serial interface for semiconductor package | |
US20050185665A1 (en) | Management method for a bidirectional and simultaneous exchange of digital signals and a corresponding interface for a bidirectional and simultaneous communication | |
CN104133799A (en) | Multi-network-card NCSI management system | |
CN102103562A (en) | Multi-power mode serial interface architecture | |
CN106330468A (en) | Ethernet power supply device and Ethernet power supply method | |
CN210624840U (en) | Two-wire power supply communication circuit | |
CN101470151B (en) | CAN bus isolation circuit | |
JP6122509B2 (en) | Method for detecting receiving end, detection circuit, optical module and system | |
CN112737794B (en) | Optical port and electric port self-adaptive connecting device | |
CN106326174B (en) | A kind of two line telecommunication circuits | |
CN104052462A (en) | Isolated communication circuit | |
CN209570926U (en) | A kind of signal converting module and multi-channel interface switching device | |
CN107517053A (en) | A kind of half-duplex is anti-to disturb infrared serial interface circuit certainly | |
CN216873219U (en) | Communication circuit and multi-master communication system | |
CN216527159U (en) | Communication isolation circuit and device | |
CN213690608U (en) | SPI equipment communication circuit | |
CN201947266U (en) | Light module management system and light module | |
CN210123977U (en) | Relay cable and augmented reality system | |
CN113726580A (en) | 6U-VPX gigabit network module with dual-redundancy switching function for localization | |
CN201821374U (en) | Optical isolation half-duplex serial communication bus | |
US5663660A (en) | Device for matching a line interface of a station linked to a multiplexed-information transmission network |
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 |