CN113824498A - Optical module and rate mode switching method thereof - Google Patents
Optical module and rate mode switching method thereof Download PDFInfo
- Publication number
- CN113824498A CN113824498A CN202010568958.6A CN202010568958A CN113824498A CN 113824498 A CN113824498 A CN 113824498A CN 202010568958 A CN202010568958 A CN 202010568958A CN 113824498 A CN113824498 A CN 113824498A
- Authority
- CN
- China
- Prior art keywords
- optical module
- signal
- optical
- rate mode
- receiving end
- 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.)
- Granted
Links
- 230000003287 optical effect Effects 0.000 title claims abstract description 337
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000011084 recovery Methods 0.000 claims abstract description 52
- 238000004891 communication Methods 0.000 claims abstract description 17
- 230000005540 biological transmission Effects 0.000 description 19
- 239000013307 optical fiber Substances 0.000 description 19
- 238000010586 diagram Methods 0.000 description 8
- 230000002457 bidirectional effect Effects 0.000 description 5
- 230000008859 change Effects 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 5
- 230000010365 information processing Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 230000008054 signal transmission Effects 0.000 description 4
- 230000007246 mechanism Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 description 2
- 230000017525 heat dissipation Effects 0.000 description 2
- 239000007769 metal material Substances 0.000 description 2
- 238000007493 shaping process Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 239000003990 capacitor Substances 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 239000010931 gold Substances 0.000 description 1
- 229910052737 gold Inorganic materials 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 229910052751 metal Inorganic materials 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000005693 optoelectronics Effects 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G02—OPTICS
- G02B—OPTICAL ELEMENTS, SYSTEMS OR APPARATUS
- G02B6/00—Light guides; Structural details of arrangements comprising light guides and other optical elements, e.g. couplings
- G02B6/24—Coupling light guides
- G02B6/42—Coupling light guides with opto-electronic elements
- G02B6/4201—Packages, e.g. shape, construction, internal or external details
- G02B6/4274—Electrical aspects
- G02B6/428—Electrical aspects containing printed circuit boards [PCB]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/40—Transceivers
Landscapes
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Physics & Mathematics (AREA)
- Optics & Photonics (AREA)
- Optical Communication System (AREA)
Abstract
The application provides a method for switching the rate mode of an optical module, which is characterized in that a low-frequency signal for indicating the rate mode of an optical module adjusting an internal clock data recovery chip of an optical module at a receiving end is loaded on a normal service signal. Therefore, after the optical module at the receiving end receives the optical signal, the optical module demodulates the low-frequency signal from the optical signal, performs the rate mode of the clock data recovery chip according to the indication of the low-frequency signal, and then returns a signal for completing the rate mode of the clock data recovery chip through the low-frequency message channel so as to inform that the switching of the rate mode is completed. According to the embodiment of the application, the low-frequency signal is loaded on the basis of the normal service signal, the function of the message channel is added, the speed mode switching work of the optical module is completed on the basis that the normal service communication function is not influenced, the speed mode switching work of the far-end optical module can be realized without additionally arranging control equipment, and the method is simple and efficient.
Description
Technical Field
The present application relates to the field of optical fiber communication technologies, and in particular, to a rate mode switching method for an optical module and an optical module.
Background
In the access network communication system, mutual optical connection is established between an optical line terminal and an optical network unit to realize data communication. Specifically, the optical line terminal is provided with a first optical module, the optical network unit is provided with a receiving end optical module, and optical connection is established between the first optical module and the receiving end optical module; the optical line terminal sends an optical signal to the receiving end optical module through the first optical module to realize that the optical line terminal sends data to the optical network unit; the optical line terminal receives the optical signal from the receiving end optical module through the first optical module, so that the optical line terminal receives the data from the optical network unit.
Further, with the increase of the network rate, when the optical module transmits at a rate of over ten million, the signal quality will be obviously reduced; in order to ensure the signal quality, a CDR (Clock and Data Recovery) chip is used in the optical module to perform shaping and Recovery processing on the transmitted electrical signal. However, when the network environment involves multiple transmission protocols, the range of rates of signals transmitted in the passive optical network can be wide; the rate ranges may include: from below 8.5Gb/s to 11.7 Gb/s. The frequency of the signal is changed along with the change of the signal rate; that is, a low rate signal is generally lower in frequency, and a high rate signal is higher in frequency. The CDR chip is usually fixed to a preset rate mode after the optical module is initially powered on; the CDR chip cannot lock signals with a rate outside the predetermined rate mode processing capability, and cannot shape the signals. Therefore, it is now common practice for an optical module to turn off the CDR chip to accommodate a low-rate operating mode, such as 10Gbps, as defined by the SFF-8472 protocol.
Therefore, in order to control the optical module on the optical network unit side in the communication system, a commonly used control method is to establish an optical path dedicated to control the optical network unit side on the optical line terminal side and the optical network unit side. And when the control equipment at the side of the optical network unit receives the instruction, operating the optical module at the side of the optical network unit. However, this method requires a special control device.
Disclosure of Invention
In view of the above problems, the present embodiment provides a method for switching a rate mode of an optical module and an optical module.
According to a first aspect of the embodiments of the present application, a method for switching rate mode of an optical module is provided, which may be applied to, but is not limited to, an optical module at an optical line terminal side, and the method mainly includes:
sending a first optical signal, wherein the first optical signal is a signal obtained by superimposing a low-frequency message channel signal on a high-frequency signal, the high-frequency signal is a normal service signal, and the low-frequency message channel signal is used for indicating an optical module at a first optical signal receiving end to adjust a rate mode of an internal clock data recovery chip of the optical module;
receiving a second optical signal sent by the optical module of the receiving end;
judging whether a low-frequency message channel signal demodulated from the second optical signal is a signal for indicating an optical module of the receiving end to complete rate mode switching of a clock data recovery chip;
and if the signal indicates that the optical module of the receiving end completes the rate mode switching of the clock data recovery chip, setting a rate mode adjustment flag bit to be a first preset value.
According to a second aspect of embodiments of the present application, there is provided an optical module including an optical transmission assembly, a printed circuit board, and an MCU disposed on the printed circuit board, wherein:
the MCU is provided with a program which can execute the method according to the first aspect of the embodiment of the application;
the light sending assembly is connected with the MCU through the printed circuit board, and the MCU can control the light sending assembly to send the optical signal loaded with the low-frequency information channel signal.
As can be seen from the foregoing embodiments, the optical module and the method for switching the rate mode of the optical module provided in the embodiments of the present application adjust the low-frequency signal of the rate mode of the internal clock data recovery chip by loading the low-frequency signal indicating the optical module at the receiving end on the normal service signal. Therefore, after the optical module at the receiving end receives the optical signal, the optical module demodulates the low-frequency signal from the optical signal, performs the rate mode of the clock data recovery chip according to the indication of the low-frequency signal, and then returns a signal for completing the rate mode of the clock data recovery chip through the low-frequency message channel so as to inform that the switching of the rate mode is completed. According to the embodiment of the application, the low-frequency signal is loaded on the basis of the normal service signal, the function of the message channel is added, the speed mode switching work of the optical module is completed on the basis that the normal service communication function is not influenced, the speed mode switching work of the far-end optical module can be realized without additionally arranging control equipment, and the method is simple and efficient.
Drawings
In order to more clearly explain the technical solution of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained according to the drawings without any creative effort.
Fig. 1 is a schematic diagram of a connection relationship of an optical communication terminal;
FIG. 2 is a schematic diagram of an optical network unit;
fig. 3 is a schematic structural diagram of an optical module provided in an embodiment of the present application;
fig. 4 is an exploded structural schematic diagram of an optical module provided in an embodiment of the present application;
fig. 5 is a basic flowchart illustrating a method for switching a rate mode of an optical module according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments will be described clearly and completely with reference to the drawings in the embodiments, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
One of the core elements of fiber optic communications is the conversion of optical to electrical signals. The optical fiber communication uses the optical signal carrying information to transmit in the optical fiber/optical waveguide, and the information transmission with low cost and low loss can be realized by using the passive transmission characteristic of the light in the optical fiber. The information processing devices such as computers use electrical signals, which require the interconversion between electrical signals and optical signals during the signal transmission process.
The optical module realizes the photoelectric conversion function in the technical field of optical fiber communication, and the interconversion of optical signals and electric signals is the core function of the optical module. The optical module is electrically connected with an external upper computer through a golden finger on a circuit board, main electrical connections comprise power supply, I2C signals, data signal transmission, grounding and the like, the electrical connection mode realized by the golden finger becomes a standard mode of the optical module industry, and on the basis, the circuit board is a necessary technical characteristic in most optical modules.
Fig. 1 is a schematic diagram of connection relationship of an optical communication terminal. As shown in fig. 1, the connection of the optical communication terminal mainly includes an optical network unit 100, an optical module 200, an optical fiber 101, and a network cable 103;
one end of the optical fiber is connected with the far-end server, one end of the network cable is connected with the local information processing equipment, and the connection between the local information processing equipment and the far-end server is completed by the connection between the optical fiber and the network cable; and the connection between the optical fiber and the network cable is completed by an optical network unit with an optical module.
An optical port of the optical module 200 is connected with the optical fiber 101 and establishes bidirectional optical signal connection with the optical fiber; the electrical port of the optical module 200 is accessed into the optical network unit 100, and establishes bidirectional electrical signal connection with the optical network unit; the optical module realizes the mutual conversion of optical signals and electric signals, thereby realizing the connection between the optical fiber and the optical network unit; specifically, the optical signal from the optical fiber is converted into an electrical signal by the optical module and then input to the optical network unit 100, and the electrical signal from the optical network unit 100 is converted into an optical signal by the optical module and input to the optical fiber. The optical module 200 is a tool for realizing the mutual conversion of the photoelectric signals, and has no function of processing data, and information is not changed in the photoelectric conversion process.
The optical network unit is provided with an optical module interface 102, which is used for accessing an optical module and establishing bidirectional electric signal connection with the optical module; the optical network unit is provided with a network cable interface 104 for accessing a network cable and establishing bidirectional electric signal connection with the network cable; the optical module is connected with the network cable through the optical network unit, specifically, the optical network unit transmits a signal from the optical module to the network cable and transmits the signal from the network cable to the optical module, and the optical network unit is used as an upper computer of the optical module to monitor the work of the optical module.
At this point, a bidirectional signal transmission channel is established between the remote server and the local information processing device through the optical fiber, the optical module, the optical network unit and the network cable.
Common information processing apparatuses include routers, switches, electronic computers, and the like; the optical network unit is an upper computer of the optical module, provides data signals for the optical module, and receives the data signals from the optical module, and the common upper computer of the optical module also comprises an optical line terminal and the like.
Fig. 2 is a schematic diagram of an optical network unit structure. As shown in fig. 2, the optical network unit 100 includes a circuit board 105, and a cage 106 is disposed on a surface of the circuit board 105; an electric connector is arranged in the cage 106 and used for connecting an electric port of an optical module such as a golden finger; the cage 106 is provided with a heat sink 107, and the heat sink 107 has a convex structure such as a fin for increasing a heat radiation area.
The optical module 200 is inserted into an optical network unit, specifically, an electrical port of the optical module is inserted into an electrical connector in the cage 106, and an optical port of the optical module is connected with the optical fiber 101.
The cage 106 is positioned on the circuit board, enclosing the electrical connectors on the circuit board in the cage; the optical module is inserted into the cage, the cage fixes the optical module, and heat generated by the optical module is conducted to the cage through the optical module housing and finally diffused through the heat sink 107 on the cage.
Fig. 3 is a schematic structural diagram of an optical module 200 according to an embodiment of the present disclosure, and fig. 4 is an exploded structural diagram of the optical module 200 according to the present disclosure. As shown in fig. 3 and 4, an optical module 200 provided in an embodiment of the present application includes an upper housing 201, a lower housing 202, an unlocking handle 203, a circuit board 30, a light emitting module 40, and a light receiving module 50.
The upper shell 201 covers the lower shell 202 to form a wrapping cavity with two openings; the outer contour of the wrapping cavity is generally a square body, and specifically, the lower tube shell comprises a main plate and two side plates which are positioned on two sides of the main plate and are perpendicular to the main plate; the upper shell comprises a cover plate, and the cover plate covers two side plates of the upper shell to form a wrapping cavity; the upper shell can also comprise two side walls which are positioned at two sides of the cover plate and are perpendicular to the cover plate, and the two side walls are combined with the two side plates to cover the lower shell.
The two openings may be two openings (204, 205) located at the same end of the optical module, or two openings located at different ends of the optical module; one opening is an electric port 204, and a gold finger of the circuit board extends out of the electric port 204 and is inserted into an upper computer such as an optical network unit; the other opening is an optical port 205 for external optical fiber access to connect the optical transmitting assembly 40 and the optical receiving assembly 50 inside the optical module; optoelectronic devices such as circuit board 30, light emitting assembly 40 and light receiving assembly 50 are located in the package cavity.
The assembly mode of combining the upper shell and the lower shell is adopted, so that the circuit board 30, the light emitting assembly 40, the light receiving assembly 50 and other devices can be conveniently installed in the shells, and the upper shell and the lower shell form an outermost packaging protection shell of the optical module; the upper shell and the lower shell are made of metal materials, so that electromagnetic shielding and heat dissipation are facilitated; generally, the shell of the optical module cannot be made into an integrated structure, so that when devices such as a circuit board and the like are assembled, the positioning component, the heat dissipation structure and the electromagnetic shielding structure cannot be installed, and the production automation is not facilitated.
The unlocking handle 203 is located on the outer wall of the wrapping cavity/lower tube shell 202 and used for realizing the fixed connection between the optical module and the upper computer or releasing the fixed connection between the optical module and the upper computer.
The unlocking handle 203 is provided with a clamping structure matched with the upper computer cage; the tail end of the unlocking handle is pulled to enable the unlocking handle to move relatively on the surface of the outer wall; the optical module is inserted into a cage of the upper computer, and the optical module is fixed in the cage of the upper computer through a clamping structure of the unlocking handle; by pulling the unlocking handle, the clamping structure of the unlocking handle moves along with the unlocking handle, so that the connection relation between the clamping structure and the upper computer is changed, the clamping relation between the optical module and the upper computer is relieved, and the optical module can be drawn out from the cage of the upper computer.
The circuit board 30 is provided with circuit traces, electronic components (such as capacitors, resistors, triodes, and MOS transistors), and chips (such as the microprocessor MCU2045, the laser driver chip, the limiting amplifier, the clock data recovery CDR, the power management chip, and the data processing chip DSP).
The circuit board 30 connects the electrical devices in the optical module together according to the circuit design through circuit wiring to realize the electrical functions of power supply, electrical signal transmission, grounding and the like.
The circuit board 30 is generally a rigid circuit board, which can also realize a bearing function due to its relatively hard material, for example, the rigid circuit board can stably bear a chip; the rigid circuit board may also provide a smooth load bearing when the light emitting assembly 40 and the light receiving assembly 50 are located on the circuit board; the hard circuit board can also be inserted into an electric connector in the upper computer cage, and specifically, a metal pin/golden finger is formed on the surface of the tail end of one side of the hard circuit board and is used for being connected with the electric connector; these are not easily implemented with flexible circuit boards.
A flexible circuit board is also used in a part of the optical module to supplement a rigid circuit board; the flexible circuit board is generally used in combination with a rigid circuit board, for example, the rigid circuit board may be connected to the optical transceiver device through the flexible circuit board.
The optical transmitter module 40 and the optical receiver module 50 are respectively used for transmitting and receiving optical signals. The light emitting module 40 in this embodiment is packaged by a housing, and the circuit board 30 extends into the housing of the light emitting module 40, and is electrically connected to components in the housing by a wire bonding made of a metal material, for example, by a gold wire. Of course, in other embodiments, the light emitting assembly 40 may also be packaged in a non-hermetic manner.
Further, in the working process of the optical module, the optical module is configured to send a relatively high-frequency data optical signal according to a data electrical signal from the optical line terminal so as to maintain an original external data transmission service of the optical line terminal, and at the same time, the optical module also sends a relatively low-frequency control optical signal according to a non-data electrical signal (i.e., a signal not used for a normal transmission service) so as to send control information to the optical module at the opposite end, so that control data is transmitted to the remote system while the normal service is not interrupted, so that the optical module at the opposite end performs rate mode adjustment.
Since the optical module and the optical module at the opposite end are both externally connected by one optical fiber, the data optical signal and the control optical signal are mixed in the same light beam to be transmitted by the same optical fiber, and in order to distinguish different signals, the data optical signal and the control optical signal are set to have different frequencies in the embodiment. In its implementation, can be through setting up microprocessor, the optical transmission subassembly and the optical receiving subassembly in the optical module, control optical transmission subassembly and superpose the low frequency modulation signal (control light signal) on the high frequency signal (data light signal) that it sent, and this embodiment calls low frequency modulation signal as the low frequency message channel. For example, a low frequency modulation signal of 50Kbps is superimposed on a 10Gbps or 25Gbps signal, wherein the 10Gbps or 25Gbps signal is a normal traffic signal, and another low frequency signal of 50Kbps is added to perform other manipulation functions.
Fig. 5 is a basic flowchart illustrating a method for switching a rate mode of an optical module according to an embodiment of the present application. As shown in fig. 5, the method mainly includes the following steps:
s101: a first optical signal is transmitted.
The first optical signal is an optical signal obtained by superimposing a low-frequency message channel signal on a high-frequency signal, the high-frequency signal is a normal service signal, and the low-frequency message channel signal is used for indicating an optical module at a first optical signal receiving end to adjust a rate mode of an internal clock data recovery chip of the optical module.
In this embodiment, the optical module that transmits the optical signal (referred to as an optical module at an optical signal transmitting End, referred to as a transmitting-End optical module for short in this embodiment) may be an optical module at a Near End ((NE, Near End)) of an optical network, and the optical module that receives the optical signal (referred to as an optical module at an optical signal receiving End, referred to as a receiving-End optical module for short in this embodiment) may be an optical module at a Far End (FE, Far End, or RE, Remote End) of the optical network.
For the modulation of the optical signal, a low frequency signal, such as a 50Kbps signal, can be added simultaneously to a high frequency signal of normal traffic, such as an optical signal of 10Gbps or 25 Gbps. When a low-frequency message channel signal is loaded, the laser in the optical module can be configured as follows: adding a low-frequency signal to the bias direct current; and adding a low-frequency modulation signal to the direct current negative voltage bias. Of course, the modulation method is not limited to the above modulation method. Further, the low frequency message channel signal may be implemented in a coded manner, for example, 10110 represents that an optical module of a receiving end is to be controlled to switch to a low rate mode, such as 10 Gbps; 10001 represents that the optical module to be controlled at the receiving end is switched to a high-rate mode, such as 25 Gbps.
The data code corresponding to the loaded low-frequency message channel signal can be written into a preset register in the optical module by an upper computer connected with the optical module, and when the optical module receives an instruction of the upper computer connected with the optical module, the data content stored in the preset register is sent out through a low-frequency message channel.
For example, a rate adjustment enable flag bit is set in a register of an optical module on the transmitting side. For the enabling mode of the flag bit, the optical module may change the first preset value of the optical module into a second preset value, for example, 1 may be changed into 0, and of course, if actually needed, the upper computer may also change the first preset value of the optical module into the second preset value; the host computer to which the optical module is connected can change the second preset value into the first preset value, for example, 0 into 1, and of course, if the optical module is actually needed, the optical module can also change the second preset value into the first preset value. In addition, when the optical module is initially powered on, the default value of the rate adjustment enabling zone bit is a second preset value.
Further, the MCU in the optical module can adjust the action of enabling the zone bit by detecting whether the upper computer changes the speed; and if the action of changing the speed adjustment enabling zone bit is detected on the upper computer, inquiring whether the numerical value written into a speed adjustment enabling zone bit register by the upper computer is a first preset value or not. If the bit of the rate adjustment enabling flag bit is changed to the first preset value by the upper computer, executing step S102; otherwise, the rate adjustment enabling flag bit may be continuously queried after a preset time interval.
For the query mode of the rate adjustment enabling flag bit, both the optical module and the upper computer may query the rate adjustment enabling flag bit in a polling mode, for example, when the upper computer queries that the flag bit is a first preset value, the upper computer queries the flag bit after a preset time interval, for example, 1 ms.
Furthermore, for the optical module at the receiving end, different modes for controlling the rate mode of the internal clock data recovery chip can be provided to realize the switching of the module communication rate.
For example, to complete the switching of the optical module in the two speed modes of 10Gbps and 25Gbps, the switching can be realized by controlling the on and off of the clock data recovery chip. When the low-speed mode of 10G is to be switched, the low-frequency message channel signal is used for indicating an optical module at an optical signal receiving end to close a clock data recovery chip inside the optical module; when the mode is switched to the high-speed mode of 25G, the low-frequency message channel signal is used for indicating an optical module at the optical signal receiving end to start a clock data recovery chip inside the optical module. Of course, in other embodiments, the switching between other rates, for example, the switching between 1 Gbps and 25Gbps, therefore, in order to distinguish two different rate modes, the present embodiment is named a first rate mode and a second rate mode, respectively, wherein the communication rate of the second rate mode is greater than that of the first rate mode.
In addition, the content of the low-frequency message channel signal can be set to control the rate modes of a data transmission path and a data receiving path in the receiving-end optical module, for example, when the data transmission path in the receiving-end optical module needs to be controlled to be switched to the low-rate mode, a first low-frequency message channel signal is transmitted, so that a clock data recovery chip of the data transmission path is closed; when a data transmission path in a receiving end optical module needs to be controlled to be switched into a high-rate mode, a second low-frequency message channel signal is transmitted, so that a clock data recovery chip of the data transmission path is started; when a data receiving channel in a receiving end optical module needs to be controlled to be switched into a low-rate mode, a third low-frequency message channel signal is sent so that a clock data recovery chip of the data receiving channel is closed; and when the data receiving path in the receiving end optical module needs to be controlled to be switched into a high-rate mode, sending a fourth low-frequency message channel signal so as to start a clock data recovery chip of the data receiving path.
Further, in addition to switching the rate mode of the optical module by controlling the clock data recovery chip to be turned on and off, the present embodiment also provides that the rate mode in the clock data recovery chip is adaptively adjusted by acquiring the out-of-lock state information in the CDR chip as the feedback information through the MCU in the optical module. For example, in a clock data recovery chip with model GN2010D, the set originating rate patterns are ordered from the highest rate pattern to the lowest rate pattern, respectively: a first rate mode, a second rate mode, and a third rate mode. If the originating rate mode is set to the first rate mode, its internal clock data recovery unit can lock the electrical signals at 10.3Gb/s-11.7Gb/s rate. If the rate mode is set to the second rate mode, the second clock data recovery unit can lock the electrical signals at a rate of 9.95Gb/s to 11.3 Gb/s. If the rate mode is set to the third rate mode, the clock data recovery unit can lock the electric signals with the rate of about 8.5Gb/s and below; and the electrical signal with too low a rate is directly bypassed without shaping.
As for the rate mode adjustment manner of the receiving-end optical module, the principle of the signal sent by the sending-end optical module is the same, that is, the optical signal loaded with the low-frequency message channel signal is also sent to instruct the optical module at the optical signal receiving end to adjust the rate mode of the internal clock data recovery chip.
S102: and receiving a second optical signal sent by the optical module of the receiving end.
After the receiving end optical module demodulates the low-frequency message channel signal, the speed mode of an internal clock data recovery chip can be controlled to be adjusted according to the content of the low-frequency message channel signal, so that the speed mode of the optical module can be adjusted.
In order to realize that the receiving end optical module can receive low-frequency signals, a conventional high-frequency signal receiving circuit, such as a photoelectric converter, a trans-impedance amplifier and a limiting amplifier, which are connected in sequence, can be configured inside the receiving end optical module, and meanwhile, the low-frequency receiving circuit is configured to receive low-frequency message channel signals. The low-frequency receiving circuit can be realized by configuring an isolation circuit on the high-frequency signal receiving circuit.
Further, after the receiving-end optical module completes the rate mode adjustment of its internal clock data recovery chip, the receiving-end optical module may send a message for completing the rate adjustment to the sending-end optical module through the low-frequency message channel, so that the sending end may confirm that the rate mode adjustment of the receiving-end optical module is completed.
S103: and judging whether the low-frequency message channel signal demodulated from the second optical signal is a signal for indicating the optical module at the receiving end to complete the rate mode switching of the clock data recovery chip.
The optical module at the sending end demodulates a low-frequency message channel signal from the second optical signal by using a low-frequency receiving circuit inside the optical module at the sending end, analyzes the content of the low-frequency message channel signal, and executes step S104 after confirming that a message of completing the rate mode adjustment of the clock data recovery chip sent by the optical module at the receiving end is received.
S104: and if the signal indicates that the optical module of the receiving end completes the rate mode switching of the clock data recovery chip, setting a rate mode adjustment flag bit to be a first preset value.
So as to inform an upper computer connected with the optical module at the sending end that the optical module at the receiving end successfully completes the rate mode adjustment.
If the upper computer enables the optical module to transmit the low-frequency message channel signal in a mode of adopting the rate adjustment enabling zone bit, after the low-frequency message channel signal demodulated from the second optical signal is confirmed to be a signal indicating that the optical module at the receiving end completes rate mode switching of the clock data recovery chip, the rate adjustment enabling zone bit is changed from a first preset value to a second preset value. Therefore, after the upper computer inquires that the zone bit is changed into the second preset value, the upper computer can read the data in the rate mode adjusting zone bit, and in addition, the subsequent upper computer can also send other data contents.
According to the embodiment of the application, the low-frequency signal is loaded on the basis of the normal service signal, the function of the message channel is added, the speed mode switching work of the optical module is completed on the basis that the normal service communication function is not influenced, the speed mode switching work of the far-end optical module can be realized without additionally arranging control equipment, and the method is simple and efficient.
Further, when data is transmitted between optical modules, a situation that data transmission fails at this time due to temporary power failure of the optical modules, network problems, and the like may occur, and in order to prevent a situation that adjustment of a rate mode of an optical module at a receiving end fails due to data transmission failure, this embodiment further provides a data retransmission mode between the optical modules.
In this mechanism, after step S103 is executed, if the low frequency message channel signal demodulated from the second optical signal is a signal indicating that the optical module at the receiving end completes the rate mode switching of the clock data recovery chip, the data retransmission flag is changed from the first preset value to the second preset value in addition to step S104. Otherwise, step S105 is executed.
S105: if the time length of the first optical signal sent exceeds the preset time length, judging whether the time of the data which is sent to indicate the optical module of the first optical signal receiving end to adjust the speed mode of the internal clock data recovery chip of the optical module does not exceed a preset time threshold value.
The sending number register sendcounter and the sending interval period register Runcounter may be set inside the optical module, where the two registers are both default values of 0 when the optical module is initially powered on. When the optical module sends out the low frequency message channel signal each time, the count value of the sending time register sendcounter is accumulated by 1, and meanwhile, the sending interval period register Runcounter is equivalent to a timer which starts to count, and the count value of the register is added by 1 every time the timer passes a software period.
If the preset times is not exceeded, executing step S106; otherwise, step S107 is executed.
S106: and sending out the data for indicating the optical module at the first optical signal receiving end to adjust the rate mode of the internal clock data recovery chip through a low-frequency information channel.
S107: and changing the data retransmission zone bit from a first preset value to a second preset value, and setting the rate mode adjustment zone bit to the second preset value.
By setting the rate mode adjustment flag bit to the second preset value, it is indicated that after the optical module at the transmitting end repeatedly transmits data for many times, the optical module at the receiving end still does not receive correct data, which indicates that the data transmission (also referred to as module bottom layer data transmission) between the optical modules fails completely.
In addition, if the upper computer enables the optical module to transmit the low-frequency message channel signal in a mode of adopting the rate adjustment enabling flag bit, after the low-frequency message channel signal demodulated from the second optical signal is determined to be a signal indicating that the optical module at the receiving end completes the rate mode switching of the clock data recovery chip, the rate adjustment enabling flag bit is changed from a first preset value to a second preset value. Therefore, after the upper computer inquires that the zone bit is changed into the second preset value, the upper computer can read the data in the rate mode adjustment zone bit.
In this embodiment, by establishing a data retransmission mechanism inside the optical module, compared with a mode in which a low-frequency message channel signal indicating that the optical module at the receiving end completes rate mode switching of the clock data recovery chip is not demodulated from the second optical signal after a preset time is exceeded, and the rate mode adjustment flag is directly set to the second preset value, functions of checking, error retransmission, and reporting of transmission failure of data transmission can be realized on a module level, so that a burden of an upper computer when the mechanism is realized is reduced, and efficiency of the entire system when the information channel is used for transmitting data is improved.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
Claims (7)
1. A method for switching rate mode of an optical module is characterized by comprising the following steps:
sending a first optical signal, wherein the first optical signal is an optical signal obtained by superimposing a low-frequency message channel signal on a high-frequency signal, the high-frequency signal is a normal service signal, and the low-frequency message channel signal is used for indicating an optical module at a first optical signal receiving end to adjust a rate mode of an internal clock data recovery chip of the optical module;
receiving a second optical signal sent by the optical module of the receiving end;
judging whether a low-frequency message channel signal demodulated from the second optical signal is a signal for indicating an optical module of the receiving end to complete rate mode switching of a clock data recovery chip;
and if the signal indicates that the optical module of the receiving end completes the rate mode switching of the clock data recovery chip, setting a rate mode adjustment flag bit to be a first preset value.
2. The method of claim 1, wherein instructing an optical module at the first optical signal receiving end to adjust its internal clock data recovery chip rate mode comprises:
instructing an optical module at the first optical signal receiving end to close a clock data recovery chip in the optical module so as to switch the optical module at the receiving end into a first speed mode;
or,
instructing the optical module at the first optical signal receiving end to start an internal clock data recovery chip so as to switch the optical module at the receiving end into a second rate mode;
wherein a communication rate of the second rate mode is greater than a communication rate of the first rate mode.
3. The method of claim 1 or 2, wherein prior to transmitting the first optical signal, the method further comprises:
changing the second preset value of the data retransmission flag bit into the first preset value;
judging whether the low-frequency message channel signal demodulated from the second optical signal is a signal indicating that the optical module of the receiving end completes the rate mode switching of the clock data recovery chip, wherein the method further comprises the following steps:
if the signal indicates that the optical module of the receiving end completes the rate mode switching of the clock data recovery chip, changing the data retransmission flag bit from a first preset value to a second preset value;
if the first optical signal is not a signal indicating that the optical module of the receiving end completes rate mode switching of the clock data recovery chip, judging whether the number of times of sending data for indicating the optical module of the first optical signal receiving end to adjust the rate mode of the internal clock data recovery chip does not exceed a preset number threshold when the sending duration of the first optical signal exceeds a preset duration;
and if the preset frequency threshold value is not exceeded, sending out the data for indicating the optical module of the first optical signal receiving end to adjust the speed mode of the internal clock data recovery chip through the low-frequency information channel again.
4. The method of claim 3, wherein after determining whether the number of times that data for instructing an optical module at the first optical signal receiving end to adjust the rate mode of its internal clock data recovery chip has been transmitted does not exceed a preset number threshold, the method further comprises:
if the number of times of retransmission exceeds the preset number threshold, the data retransmission flag bit is changed from a first preset value to a second preset value, and the rate mode adjustment flag bit is set to the second preset value.
5. The method of claim 1, wherein prior to transmitting the first optical signal, the method further comprises:
inquiring whether the rate adjustment enabling flag bit is a first preset value;
and if the first preset value is the first preset value, the first optical signal is sent.
6. The method of claim 5, wherein if the clock data recovery chip rate mode switching signal is completed for an optical module at the receiving end, the method further comprises:
and changing the rate adjustment enabling zone bit from a first preset value to a second preset value.
7. An optical module comprising an optical transmitting assembly, a printed circuit board, and an MCU disposed on the printed circuit board, wherein:
the MCU is provided with a circuit capable of executing the method of any one of claims 1 to 6;
the light sending assembly is connected with the MCU through the printed circuit board, and the MCU can control the light sending assembly to send the optical signal loaded with the low-frequency information channel signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010568958.6A CN113824498B (en) | 2020-06-19 | 2020-06-19 | Rate mode switching method of optical module and optical module |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010568958.6A CN113824498B (en) | 2020-06-19 | 2020-06-19 | Rate mode switching method of optical module and optical module |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113824498A true CN113824498A (en) | 2021-12-21 |
CN113824498B CN113824498B (en) | 2023-04-25 |
Family
ID=78924659
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010568958.6A Active CN113824498B (en) | 2020-06-19 | 2020-06-19 | Rate mode switching method of optical module and optical module |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113824498B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114465662A (en) * | 2022-02-25 | 2022-05-10 | 青岛海信宽带多媒体技术有限公司 | Optical module |
CN116232467A (en) * | 2023-05-05 | 2023-06-06 | 深圳市飞思卓科技有限公司 | 200G optical module circuit, control method and interface |
CN116347277A (en) * | 2023-05-30 | 2023-06-27 | 深圳市聚鸿互联技术有限公司 | Self-adaptive rate channel switching method for optical network unit and optical network unit |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102025415A (en) * | 2009-09-18 | 2011-04-20 | 华为技术有限公司 | Velocity detection method and device |
CN104468024A (en) * | 2013-09-23 | 2015-03-25 | 中兴通讯股份有限公司 | Method, device and system for configuring node |
CN110519666A (en) * | 2019-08-16 | 2019-11-29 | 青岛海信宽带多媒体技术有限公司 | A kind of optical module wavelength configuration method, apparatus and optical module |
-
2020
- 2020-06-19 CN CN202010568958.6A patent/CN113824498B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102025415A (en) * | 2009-09-18 | 2011-04-20 | 华为技术有限公司 | Velocity detection method and device |
CN104468024A (en) * | 2013-09-23 | 2015-03-25 | 中兴通讯股份有限公司 | Method, device and system for configuring node |
CN110519666A (en) * | 2019-08-16 | 2019-11-29 | 青岛海信宽带多媒体技术有限公司 | A kind of optical module wavelength configuration method, apparatus and optical module |
WO2021031652A1 (en) * | 2019-08-16 | 2021-02-25 | 青岛海信宽带多媒体技术有限公司 | Optical module wavelength configuration method and device, and optical module |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114465662A (en) * | 2022-02-25 | 2022-05-10 | 青岛海信宽带多媒体技术有限公司 | Optical module |
CN114465662B (en) * | 2022-02-25 | 2024-02-27 | 青岛海信宽带多媒体技术有限公司 | Optical module |
CN116232467A (en) * | 2023-05-05 | 2023-06-06 | 深圳市飞思卓科技有限公司 | 200G optical module circuit, control method and interface |
CN116347277A (en) * | 2023-05-30 | 2023-06-27 | 深圳市聚鸿互联技术有限公司 | Self-adaptive rate channel switching method for optical network unit and optical network unit |
CN116347277B (en) * | 2023-05-30 | 2023-08-04 | 深圳市聚鸿互联技术有限公司 | Self-adaptive rate channel switching method for optical network unit and optical network unit |
Also Published As
Publication number | Publication date |
---|---|
CN113824498B (en) | 2023-04-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110519666B (en) | Optical module wavelength configuration method and device and optical module | |
CN113824498B (en) | Rate mode switching method of optical module and optical module | |
CN113098613B (en) | Optical module and wavelength automatic communication method based on double-MCU optical module | |
CN113189718A (en) | Optical module and wavelength configuration method thereof | |
CN113179131A (en) | Optical module | |
CN111555810A (en) | Optical module and data transmission method | |
CN111193547A (en) | Optical module | |
CN110401486B (en) | Optical module and light emission control method | |
CN114879321B (en) | Optical module | |
CN214177318U (en) | Optical module | |
CN113452446B (en) | Optical module and channel switching method | |
CN113364523B (en) | Data sending method and optical module | |
CN111522103B (en) | Optical module | |
CN114124228B (en) | Optical module | |
CN212647089U (en) | Optical module | |
CN113472449B (en) | Optical module and signal polarity definition method | |
CN113300773B (en) | Optical module | |
CN113824492B (en) | Optical link self-checking method and optical module | |
CN216290918U (en) | Optical module | |
CN212649470U (en) | Optical module | |
CN212649471U (en) | Optical module | |
CN113098621B (en) | Optical module and wavelength automatic polling method based on double-MCU optical module | |
CN112039593B (en) | Optical module | |
CN114915345B (en) | Optical module | |
CN113364524B (en) | Data receiving method and optical module |
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 |