CN210776245U - Optical module - Google Patents
Optical module Download PDFInfo
- Publication number
- CN210776245U CN210776245U CN201921400240.5U CN201921400240U CN210776245U CN 210776245 U CN210776245 U CN 210776245U CN 201921400240 U CN201921400240 U CN 201921400240U CN 210776245 U CN210776245 U CN 210776245U
- Authority
- CN
- China
- Prior art keywords
- optical module
- pin
- module
- microcontroller
- detection pin
- 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
Images
Landscapes
- Optical Couplings Of Light Guides (AREA)
Abstract
The utility model discloses an optical module, the optical module includes microcontroller and module interface, the module interface is including detecting the pin, detect the pin with microcontroller is connected. The utility model discloses a to detect the pin and be connected with microcontroller, when the optical module does not insert external port, detect the pin and be in detection state on the throne, after the optical module inserts external port and the external device communication that corresponds with external port, microcontroller release detect the pin, detect the pin and be in multiplexing state, can carry out detection on the throne to the optical module through detecting the pin like this promptly, can realize detecting multiplexing of pin again after optical module and external device communication are normal.
Description
Technical Field
The utility model relates to an optical module technical field, in particular to detect multiplexing optical module of pin.
Background
For the pluggable electronic product, the system can monitor each pluggable port in real time, and when the pluggable port is inserted into the pluggable module, the system can recognize the state of the port and communicate with the pluggable module. In order to make the pluggable module recognizable to the system, the pluggable module is generally provided with a dedicated pin, and the dedicated pin is grounded inside the pluggable module to determine whether the pluggable module is in place through the dedicated pin. For example, when the dedicated pin is pulled up to a high level on the system side, the system can determine that the voltage state of the pin determines that the port is module-free; when a module is inserted, the level of the special pin is pulled to low level, and the system recognizes that the module is inserted into the port.
The method adopting the special pin can accurately identify whether the port has a plugging module or not. However, this method also has the following problems:
1. when the pluggable module is inserted, the state and the pin state of the module are unstable, and the communication between the system and the pluggable module in the unstable period may result in communication error or obstruction, especially, the time dislocation is more obvious when the pluggable module is in slow start and/or initialization.
2. The pin is used for detecting that the in-place pin is a special pin, the special pin is only used when the pluggable module is plugged in or pulled out, and the special pin is in a useless state in the use process of the pluggable module, so that the pin waste is caused.
SUMMERY OF THE UTILITY MODEL
The to-be-solved technical problem of the utility model lies in, to prior art not enough, provide an optical module to solve the problem that current optical module needs special pin to carry out detection on throne.
In order to solve the technical problem, the utility model discloses the technical scheme who adopts as follows:
an optical module comprises a microcontroller and a module interface, wherein the module interface comprises a detection pin, and the detection pin is connected with the microcontroller.
And the optical module is characterized in that a multiplex function output end is connected to a connecting wire of the detection pin and the microcontroller.
The optical module, wherein the detection pin is a bidirectional configurable pin.
The optical module is in a state of not being connected with an external interface, and the detection pin is in an in-place detection pin state.
The optical module is connected with an external interface and in an optical module initialization completion state, and the detection pin is in a multiplexing function state.
The optical module further comprises a pull-up resistor, one end of the pull-up resistor is grounded, and the other end of the pull-up resistor is connected to a connection circuit between the detection pin and the microcontroller.
The optical module, wherein the module interface further comprises an integrated circuit bus, and the integrated circuit bus is connected with the external port and communicates with a device configured with the external port through the integrated circuit bus.
The optical module comprises an optical module body, the module interface is arranged on the optical module body, and the microcontroller is arranged in the optical module body.
The optical module, wherein, the module interface is golden finger plug-in.
Has the advantages that: compared with the prior art, the utility model provides an optical module, optical module includes microcontroller and module interface, the module interface is including detecting the pin, detect the pin with microcontroller is connected. The utility model discloses a to detect the pin and be connected with microcontroller, when the optical module does not insert external port, detect the pin and be in detection state on the throne, after the optical module inserts external port and the external device communication that corresponds with external port, microcontroller release detect the pin, detect the pin and be in multiplexing state, can carry out detection on the throne to the optical module through detecting the pin like this promptly, can realize detecting multiplexing of pin again after optical module and external device communication are normal.
Drawings
Fig. 1 is a schematic structural diagram of an optical module provided by the present invention.
Fig. 2 is a schematic circuit diagram of an optical module provided by the present invention.
Detailed Description
The utility model provides an optical module, for making the utility model discloses a purpose, technical scheme and effect are clearer, make clear and definite, and it is right that the following refers to the attached drawing and the embodiment of lifting the utility model discloses further detailed description. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those within the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The following description of the embodiments will further explain the present invention by referring to the figures.
The present embodiment provides an optical module, as shown in fig. 1 and fig. 2, the optical module includes an optical module body 100, a module interface 101 is disposed on the optical module body 100, a microcontroller 200 is disposed in the optical module body 100, the module interface 101 includes a detection pin, the detection pin is connected to the microcontroller 200, and the microcontroller 200 controls a functional state of the detection pin. When the optical module is not inserted into the external port, the detection pin is in an in-place detection function state, after the optical module is inserted into the external port and communicates with the external equipment corresponding to the external port, the microcontroller releases the detection pin, and the detection pin is in a multiplexing function state, so that the optical module can be detected in place through the detection pin, and multiplexing of the detection pin can be realized after the optical module and the external equipment communicate normally. In this embodiment, the module interface adopts a gold finger plugging manner, so that the module interface can be conveniently plugged into an external interface, and the convenience in use of the optical module is improved. The microcontroller may be a MCU, e.g., MEGA 168, or the like.
Further, a pull-up resistor may be further disposed in the optical module body 100, and the pull-up resistor is used to display the state of the detection pin. One end of the pull-up resistor is connected to a connection line between the detection pin and the microcontroller 200, and the other end of the pull-up resistor is fixedly grounded, so that the level of the detection pin can be changed by changing the state of the pull-up resistor, and a system of the external device can determine the state of the optical module according to the level of the detection pin. For example, after the optical module is inserted into an external port of an external device, the microcontroller 200 adjusts the pull-up resistor to make the detection pin in a low level state, so that the system can determine that the optical module is in a presence state by acquiring the state that the detection pin is in the low level state.
Further, the detection pin is a bi-directional configurable pin, i.e. the detection pin can configure the state of the detection pin through the microcontroller 200, and also configure the multiplexing function state of the detection pin through the system. Correspondingly, a multiplexing branch is arranged on a connecting line of the detection pin and the microcontroller, and one end of the multiplexing branch, which is not connected on the connecting line of the detection pin and the microcontroller, is connected with a multiplexing function output end. When microcontroller 200 releases the detection pin, the multiplex function output enters an active state, so that the detection pin is in a multiplex function state. In this embodiment, the multiplexing branch is located between the pull-up resistor and the microcontroller, so as to connect the multiplexing functional unit through the multiplexing branch to execute communication corresponding to a multiplexing function. For example, the multiplexing function is a Boot Loader (Boot Loader) trigger function, a backup SDA communication line of the IIC, an indication state of an LED indicator, and the like.
For example, the following steps are carried out: the multiplexing function of the detection pin is a Boot Loader trigger function, when the optical module is inserted into an external port of external equipment, slow start and/or initialization are completed, and after the external equipment identifies the optical module and is stably communicated with the optical module, the microcontroller releases the detection pin, the output end of the multiplexing function enters a working state, so that the external equipment can enable the optical module to pass through an I (input/output) interface2C bus data pins SDA and I2And C, downloading the firmware by using a bus clock pin SCK.
For example, the following steps are carried out: the multiplex function of the detection pin is IIC (I)2C bus data pins SDA and I2C bus clock pin SCK). When the optical module is inserted into an external port of the external device, slow start and/or initialization are completed, the external device identifies the optical module and the communication with the optical module is stable, the multiplexing function output end enters a working state, the transmission rate of the IIC can be improved by 1 time by detecting synchronous communication of the pins and the SCK pin of the main IIC, the speed performance of the whole communication is never improved, or the reliability of the communication is improved, and the signal is prevented from being tampered by interference in a link.
For example, the following steps are carried out: after the module is detected in place, when an LED indicator lamp exists, the multiplexing function of the detection pin can be used for indicating the communication state, when the optical module is inserted into an external port of external equipment, slow start and/or initialization are completed, after the external equipment identifies the optical module and is stably communicated with the optical module, when ICC communication exists, the output end of the multiplexing function enters the working state, and the LED lamp can be controlled by the detection pin to synchronously flash to indicate the state. The LED lamp can be set in three states, for example, the LED lamp is not on, and no module is inserted; the LED lights up and the module is inserted; the LED lamp flickers, and the display system and the module are in communication.
Further, in an implementation manner of this embodiment, as shown in fig. 1 and 2, in the optical module housing, the optical module body is installed in the optical module housing, the module interface is installed in the optical module housing, and a gold finger of the module interface is missed to be placed at an outer end of the optical module housing so as to be connected with an external interface. In addition, the module interface includes functional pins for transmitting data signals, bus signals, control signals, and power, and as shown in fig. 2, each functional pin is interfaced with a corresponding functional circuit in the optical module body. The correspondence between the functional pins and the functional circuits is shown in table 1.
The functional circuit is the same as that of the conventional optical module, and therefore, the description thereof is not repeated here.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present invention in its corresponding aspects.
Claims (8)
1. An optical module is characterized by comprising an optical module body, a microcontroller and a module interface, wherein the module interface is arranged on the optical module body, and the microcontroller is arranged in the optical module body; the module interface comprises a detection pin, the detection pin is connected with the microcontroller, and the microcontroller controls the functional state of the detection pin, wherein the functional state comprises an in-place detection functional state and a multiplexing functional state.
2. The optical module of claim 1, wherein a multiplexing function output is connected to a connection line between the detection pin and the microcontroller.
3. The optical module according to claim 1 or 2, characterized in that the detection pin is a bi-directional configurable pin.
4. The optical module of claim 3, wherein the optical module is in a state of not being connected to an external interface, and the detection pin is in a state of being in a detection pin.
5. The optical module of claim 3, wherein the optical module is in a connection with an external interface and an optical module initialization completion state, and the detection pin is in a multiplexing function state.
6. The optical module of claim 1, further comprising a pull-up resistor, wherein one end of the pull-up resistor is connected to ground, and the other end of the pull-up resistor is connected to a connection line between the detection pin and the microcontroller.
7. The optical module of claim 1, wherein the module interface further comprises an integrated circuit bus, the integrated circuit bus being coupled to the external port and communicating with the device configured for the external port via the integrated circuit bus.
8. The optical module of claim 1, wherein the module interface is a gold finger plug.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201921400240.5U CN210776245U (en) | 2019-08-23 | 2019-08-23 | Optical module |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201921400240.5U CN210776245U (en) | 2019-08-23 | 2019-08-23 | Optical module |
Publications (1)
Publication Number | Publication Date |
---|---|
CN210776245U true CN210776245U (en) | 2020-06-16 |
Family
ID=71044760
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201921400240.5U Active CN210776245U (en) | 2019-08-23 | 2019-08-23 | Optical module |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN210776245U (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110412927A (en) * | 2019-08-23 | 2019-11-05 | 深圳市欧深特信息技术有限公司 | A kind of optical module is in position detecting method and optical module |
CN112865861A (en) * | 2020-12-31 | 2021-05-28 | 深圳市吉光通科技有限公司 | Optical network fault processing device, optical module and method |
CN113076274A (en) * | 2021-04-30 | 2021-07-06 | 成都优博创通信技术有限公司 | Optical module and software program acquisition method |
-
2019
- 2019-08-23 CN CN201921400240.5U patent/CN210776245U/en active Active
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110412927A (en) * | 2019-08-23 | 2019-11-05 | 深圳市欧深特信息技术有限公司 | A kind of optical module is in position detecting method and optical module |
CN110412927B (en) * | 2019-08-23 | 2024-07-26 | 深圳市欧深特信息技术有限公司 | Optical module in-place detection method and optical module |
CN112865861A (en) * | 2020-12-31 | 2021-05-28 | 深圳市吉光通科技有限公司 | Optical network fault processing device, optical module and method |
CN113076274A (en) * | 2021-04-30 | 2021-07-06 | 成都优博创通信技术有限公司 | Optical module and software program acquisition method |
CN113076274B (en) * | 2021-04-30 | 2022-08-09 | 成都优博创通信技术有限公司 | Optical module and software program acquisition method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN210776245U (en) | Optical module | |
CN102332667B (en) | Circuitry for active cable | |
US8903683B2 (en) | Cable with field-writeable memory | |
CN101526930A (en) | USB interface master-slave machine detection device and detection method | |
WO2018045687A1 (en) | Plug module recognition circuit and method | |
US8781332B2 (en) | Optical transceiver module, optical transmission device, and optical transmission method | |
CN204576500U (en) | A kind of usb communication circuit of compatible I2C communication and system | |
CN107562668A (en) | Bus deadlock recovery system and method | |
WO2016166539A1 (en) | Isolator with automatic speed selection for usb communication systems | |
CN111835631A (en) | Hot plug detection system and detection method for intelligent gateway expansion board | |
CN111538630B (en) | Evaluation board for simultaneously realizing time-sharing multiplexing of C2 bus and I2C bus of optical module | |
CN117907806A (en) | Fault analysis processing equipment and fault direction judging device of bidirectional signal line | |
WO2003069357A1 (en) | Smart adapter for wiring analyzer | |
CN110412927B (en) | Optical module in-place detection method and optical module | |
CN105607542B (en) | A kind of output interface device | |
CN211827247U (en) | PCIE SSD opens card tool | |
EP2687993B1 (en) | USB apparatus and embedded system incorporating same | |
CN109995425B (en) | Method for testing communication port of equipment and tool device | |
US20140201420A1 (en) | Transmission interface system with detection function and method | |
US20210117355A1 (en) | Chip and interface conversion device | |
CN112511223A (en) | Signal multiplexing circuit and device based on optical module clock signal and state detection | |
CN106372015A (en) | Multi-interface multiplex device | |
CN109101376B (en) | USB speed measuring device and system | |
CN221041793U (en) | Gating system of Type-C interface | |
CN221946487U (en) | USB-to-TTL-to-485 communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |