CN114679222A - Optical module top-adjusting method - Google Patents

Optical module top-adjusting method Download PDF

Info

Publication number
CN114679222A
CN114679222A CN202210234607.0A CN202210234607A CN114679222A CN 114679222 A CN114679222 A CN 114679222A CN 202210234607 A CN202210234607 A CN 202210234607A CN 114679222 A CN114679222 A CN 114679222A
Authority
CN
China
Prior art keywords
mcu
data
optical module
oam
operational amplifier
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
Application number
CN202210234607.0A
Other languages
Chinese (zh)
Other versions
CN114679222B (en
Inventor
黄首甲
宋云鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangwei Technology Guangzhou Co ltd
Original Assignee
Guangwei Technology Guangzhou Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangwei Technology Guangzhou Co ltd filed Critical Guangwei Technology Guangzhou Co ltd
Priority to CN202210234607.0A priority Critical patent/CN114679222B/en
Publication of CN114679222A publication Critical patent/CN114679222A/en
Application granted granted Critical
Publication of CN114679222B publication Critical patent/CN114679222B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/50Transmitters
    • H04B10/516Details of coding or modulation
    • H04B10/548Phase or frequency modulation
    • H04B10/556Digital modulation, e.g. differential phase shift keying [DPSK] or frequency shift keying [FSK]
    • H04B10/5561Digital phase modulation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/11Arrangements specific to free-space transmission, i.e. transmission through air or vacuum
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/50Transmitters
    • H04B10/516Details of coding or modulation
    • H04B10/54Intensity modulation
    • H04B10/541Digital intensity or amplitude modulation

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Optical Communication System (AREA)

Abstract

The invention discloses an optical module top-adjusting method, wherein an optical module comprises an MCU (microprogrammed control unit), and a first operational amplifier comparator and a second operational amplifier comparator which are electrically connected with the MCU, the first operational amplifier comparator is also electrically connected with a light emitting assembly, the second operational amplifier comparator is also electrically connected with a light receiving assembly, and the top-adjusting method comprises the following steps: the OAM modulation signal is subjected to Manchester coding through software programming, and the coded OAM modulation signal is transmitted to the light emission component after passing through the first operational amplifier comparator, and the light emission component converts the coded OAM modulation signal into an optical signal to be emitted; the light receiving component receives the light signal, converts the light signal into an electric signal and transmits the electric signal to the MCU through the second operational amplifier comparator; the MCU receives the OAM modulation signal and realizes Manchester decoding through a CLU unit in the MCU. The invention can realize the optical module top-adjusting OAM technology by only adopting one MCU and matching with software programming, thereby effectively saving the cost of additionally increasing a processor, saving the board distribution space and ensuring the overall performance of the module to be more stable.

Description

Optical module top-adjusting method
Technical Field
The invention belongs to the technical field of optical communication, and particularly relates to an optical module top-adjusting method.
Background
The Pilot Tone is to generate a low-speed optical associated signal for the main signal of the wavelength channel at the transmitting end by using frequency modulation or amplitude modulation technology, and to apply the signal to the top layer of the light without occupying the service channel.
With the rapid scale deployment of the 5G network, the situation of shortage of optical fiber resources in the existing network of an operator is continuously aggravated, and the deployment of the 5G fronthaul network faces a great challenge. And (3) displaying investigation data: A5G base station needs at least 12 core optical fibers to effectively meet the requirement of forward transmission bearing, if 4G network transformation is considered, a single station needs 36-48 core optical fibers to bear, the optical fiber demand under future indoor scene is higher, and the traditional scheme cannot meet the requirement of 5G forward transmission bearing.
Based on this, in order to meet the urgent 5G deployment requirement, the china mobile innovation proposes a semi-active forward-transmission bearer scheme based on the MWDM optical module tuning technology: the MWDM technology is adopted to reuse mature frequency spectrum resources of CWDM, more than 90% of optical fiber resources are saved, the existing industrial chain can be reused, and the optical fiber erection cost is reduced; the advantage of partial wavelength dispersion of the CWDM is fully exerted, and the transmission performance is greatly improved, so that the problem that the service operation stability is influenced by weak light of an access layer is effectively solved; compared with a pure passive scheme, the structure has the characteristics of optical link fault detection, high reliability and the like, and can effectively match the bearing requirements of a large number of 2B type innovation applications in the 5G era.
In the OAM processing of the 25G MWDM 5G forward transmission optical module, the most difficult is the interconnection and intercommunication among modules of different manufacturers, and the OAM processing can be transmitted with the modules of different manufacturers. Because the different modules are in mutual transmission, no clock line is controlled, and a low-frequency signal is added through the optical top layer, the synchronization is difficult.
Some manufacturer modules can only transmit by themselves, some transmission time is long and is easy to cause problems, packet loss or difficult synchronization, some modules are abnormal in midway or are difficult to synchronize after being plugged again even if the modules are synchronized, because the power-on sequence among different modules is different, the packet sending and receiving processing methods are different, and a user does not know when the opposite-end module sends, so that the data packet receiving processing is very important. Some manufacturer modules monitor whether data comes or not and process the data, so that MCU resources are consumed, and the MCU also needs to process other functions besides the top-up function. Therefore, the overall performance of the module is unstable, or the module loses packets, or MCU resources are not enough, an FPGA or a CPLD or an MCU is additionally added for processing, so that the cost is increased greatly, the board arrangement is very inconvenient, and the production is also inconvenient because the size of the optical module is regulated, one board cannot be placed down and 2 boards are required.
Disclosure of Invention
The invention aims to provide an optical module top-adjusting method to solve the problems that the overall performance of an optical module is unstable, packet loss occurs and MCU resources are insufficient in the prior art.
In order to achieve the above object, the optical module provided by the present invention includes an MCU, and a first operational amplifier comparator and a second operational amplifier comparator electrically connected to the MCU, wherein the first operational amplifier comparator is further electrically connected to a light emitting module, and the second operational amplifier comparator is further electrically connected to a light receiving module, and the method for adjusting the top-level includes the following steps: the OAM modulation signal is subjected to Manchester coding through software programming, and the coded OAM modulation signal is transmitted to the light emission component after passing through the first operational amplifier comparator, and the light emission component converts the coded OAM modulation signal into an optical signal to be emitted; the light receiving component receives the light signal, converts the light signal into an electric signal and transmits the electric signal to the MCU through the second operational amplifier comparator; the MCU receives the OAM modulation signal and realizes Manchester decoding through a CLU unit in the MCU.
Preferably, the step of manchester encoding the OAM modulated signal by software programming includes: defining whether to transmit a Flag variable Flag of the next Bit, and setting the initial value of the Flag to be 0; setting the interrupt time of a timer to be T; when the timing time is reached, the OAM modulation signal is subjected to Manchester coding; when the Bit is transmitted for the first time, namely If Flag is 0, sending high level or low level, and marking a variable Flag at a position 1 after sending; and when the Bit is transmitted for the second time, namely If Flag is 1, sending a corresponding low level or high level, and marking the position of a variable Flag to be 0 after sending so as to prepare for transmitting the next Bit.
Preferably, when the timing time is reached, after the step of manchester encoding the OAM modulated signal, the method further comprises: and after the coded data is placed in an RAM buffer area inside the MCU, the data is sent out from the buffer area for transmission.
Preferably, the implementation of the manchester decoding step by the CLU unit built in the MCU includes: manchester decoding is achieved through CLU0, CLU1, CLU2, CLU3 and logic gates inside the MCU.
Preferably, the MCU receives the OAM modulation signal, and before implementing the manchester decoding step by a CLU unit in the MCU, the method further includes a clock synchronization step, where the clock synchronization step includes: starting a PCA function of the MCU, and setting the PCA timing time as t; capturing the interruption interval and the number of rising edges of the data frame header through PCA rising edge interruption; judging whether the rising edge interruption interval and the number of the rising edges are equal to preset values or not; when the number of the rising edges is equal to a first preset value and the rising edge interruption interval is equal to a second preset value, starting a decoding clock to enable the MCU to receive the OAM modulation signal, realizing Manchester decoding through a CLU (clock unit) in the MCU, and closing a PCA (principal component analysis) function; and when the number of the rising edges is not equal to the first preset value or the number of the rising edge interruption intervals is not equal to the second preset value, continuing to capture the rising edge interruption intervals and the number of the rising edges of the data frame header through PCA rising edge interruption.
Specifically, the data rate of the OAM link layer is 1024bps, the rate accuracy is ± 30bps, the value of t is 10us, the first preset value is n, the value of n is 7, and the second preset value is t1Said t is1Is 1430us<t1<1490us or 940us<t1<1000us。
Preferably, the MCU receives the OAM modulation signal, and after implementing the manchester decoding step through its own CLU unit inside the MCU, the method further includes: judging a frame head and a frame tail of the decoded data; and when the frame header is 0x7E77E7E7E and the frame tail is 0x7E, judging that the analysis data is correct, and carrying out corresponding actions by the MCU according to the analysis content.
Preferably, the MCU receives the OAM modulation signal, and after implementing the manchester decoding step through its own CLU unit inside the MCU, the method further includes: judging a frame head and a frame tail of the decoded data; when the frame header is not 0x7E77E7E7E or the frame tail is not 0x7E, the MCU does not process the data and waits for the next data to be analyzed.
Preferably, when the frame header is not 0x7E77E7E or the frame trailer is not 0x7E, the MCU does not process the data, and after waiting for a next data parsing step, the method further includes: and when the frame head and the frame tail are continuously wrong for three times, closing a decoding clock, and starting a PCA function to continuously capture the interruption interval of the rising edge and the number of the rising edges.
Preferably, after implementing the manchester decoding step through the CLU0, CLU1, CLU2, CLU3 and logic gates inside the MCU, the method further comprises: transmitting the data decoded by Manchester, generating interruption by the MCU SPI and receiving the data, and putting the decoded data into an RAM buffer area in the MCU by the MCU in an SPI interruption function.
Compared with the prior art, the optical module top-adjusting method can realize the optical module top-adjusting OAM technology by only adopting one MCU and matching with software programming, effectively saves the cost of additionally increasing a processor, saves the board distribution space, has more stable module overall performance, is also beneficial to production and manufacture, and is convenient for mass production of optical modules.
Drawings
Fig. 1 is a hardware circuit diagram of an optical module tuning method according to an embodiment of the present invention.
Fig. 2 is a flowchart of manchester encoding in the optical module vertex-adjusting method according to the embodiment of the present invention.
Fig. 3 is a flowchart of manchester decoding in the optical module tuning method according to the embodiment of the present invention.
Fig. 4 is a flowchart of clock synchronization in an optical module tuning method according to an embodiment of the present invention.
Detailed Description
In order to explain technical contents, structural features, and effects achieved by the present invention in detail, the following detailed description is given with reference to the embodiments and the accompanying drawings.
As shown in fig. 1, the optical module tuning method provided by the present invention includes an MCU, and a first operational amplifier comparator and a second operational amplifier comparator electrically connected to the MCU, where the first operational amplifier comparator is further electrically connected to a light emitting module, and the second operational amplifier comparator is further electrically connected to a light receiving module, and the tuning method includes the following steps:
s1, carrying out Manchester encoding on the OAM modulation signal through software programming, transmitting the encoded OAM modulation signal to the light emitting component after passing through the first operational amplifier comparator, and converting the encoded OAM modulation signal into an optical signal by the light emitting component for emission;
s2, the light receiving component receives the light signal and converts the light signal into an electric signal, and the electric signal is transmitted to the MCU through the second operational amplifier comparator;
s3, the MCU receives the OAM modulation signal and realizes Manchester decoding through a CLU unit in the MCU.
Specifically, as shown IN fig. 1, the embodiment of the present invention includes a hardware structure, IN the encoding stage, a tune-to-top signal OAM message is encoded by an MCU, and then, an Encode OUTPUT is OUTPUT, and is input to an IN + pin of a first operational amplifier comparator, the IN-pin of the first operational amplifier comparator is grounded through a resistor R1, when the Encode OUTPUT of the MCU is a high level 1, the IN + is high, and because the IN-pin is grounded, the OUT pin of the first operational amplifier comparator is OUTPUT as a high level 1; when the Encode OUTPUT of the MCU OUTPUTs a low level 0, IN + is low, and at this time, the OUT pin of the first operational amplifier comparator OUTPUTs a low level 0.
The first operational amplifier comparator is electrically connected with the NMOS tube, when the OUT pin of the first operational amplifier comparator outputs a high level 1, the NMOS tube is conducted, at the moment, the NMOS tube can Output current, the current Output pin is connected to the ISINK pin of the Tx _ Driver chip, the current Output pin is the current Output pin (Laser Bias Sink Output) of the optical transmission assembly, the optical transmission assembly comprises a Transmitter Optical Subassembly (TOSA), the Tx _ Driver chip drives the TOSA Laser, when the OUT pin of the first operational amplifier comparator outputs a low level 0, the NMOS tube is not conducted, and at the moment, the NMOS tube outputs a current 0.
According to the embodiment of the invention, the low-frequency current signal generated by the top adjustment is finally received by the TxON pin of the Tx _ Driver chip and converged to the TOSA laser together, the current of the laser is changed, so that the transmitting optical power is changed, and the transmitting optical power is transmitted through the optical top layer. According to the mobile standard, the influence on the optical power is in the range of + -0.5dbm, the modulation amplitude P & tangle-solidup & gt 3% -5% of 0/1 optical layer signal, the calculation formula is: p ═ a (Pmax-Pmin)/(Pmax + Pmin), 3% is the minimum top-tuning depth after modulation, 5% is the maximum top-tuning depth after modulation, Pmax is the maximum emitted light power of the optical module, and Pmin is the minimum emitted light power of the optical module.
IN the decoding stage, after received optical Power RX _ Power passes through an optical receiving assembly, the received optical Power RX _ Power is connected to an RSSI pin of an Rx _ Tia chip and used as received optical Power monitoring of an optical module, and meanwhile, the received optical Power RX _ Power is also connected to an IN-pin of a second operational amplifier comparator through a capacitor C1, the optical receiving assembly comprises a light receiving sub-module (ROSA), because the capacitor C1 blocks direct current and alternating current, a low-frequency square wave signal is an alternating current signal and can pass through, then, through charging and discharging of the capacitor, the generated voltage is compared with the voltage of an IN + pin of the second operational amplifier comparator, and when the voltage is smaller than the voltage of 1.6V of the IN + pin, the OUT pin of the second operational amplifier comparator outputs a high level 1; when the voltage is larger than 1.6V of IN +, the OUT pin of the second operational amplifier comparator outputs low level 0, the OUT pin of the second operational amplifier comparator is connected to the Decode IN pin of the MCU, and the MCU decodes through the built-IN CLU.
It should be noted that, in the embodiment of the present invention, the MCU coding sublayer adopts manchester coding, where 0 is represented by a low-high level transition and 1 is a high-low level transition; the first operational amplifier comparator and the first operational amplifier comparator have the functions of current amplification and voltage comparison.
As shown in fig. 2, in step S1, the step of manchester encoding the OAM modulated signal by software programming includes:
Defining whether to transmit a Flag variable Flag of the next Bit, and setting the initial value of the Flag to be 0; setting the interrupt time of a timer to be T; when timing time is reached, the OAM modulation signal is subjected to Manchester coding, the coded data are placed in an RAM buffer area inside the MCU, then the data are transmitted from the buffer area, when Bit bits are transmitted for the first time, namely If Flag is equal to 0, high level or low level is transmitted, and a variable Flag is marked at a position 1 after transmission; and when the Bit is transmitted for the second time, namely If Flag is equal to 1, sending a corresponding low level or high level, and after sending, marking the position of a variable Flag to be 0 so as to prepare for transmitting the next Bit.
Specifically, as shown in fig. 2, after the optical module is powered on, the MCU is initialized, the MCU operates normally, since a Bit is transmitted 2 times in Manchester coding, a Flag variable Flag indicating whether to transmit a next Bit is defined, the Flag variable Flag is initially set to 0, that is, the Flag is set to 0, and since the OAM link layer data rate defined by china movement is 1024bps, a timer interrupt is defined, coding output is performed inside the interrupt function, the timer interrupt time T is 500/1024ms, when the timing time is up (YES), Manchester encoding (chester Encode) is performed, the encoded data is placed in a buffer area inside the MCU, and then the data is sent out from the buffer area.
Data is output in units of bytes Byte (Send by Byte), and each Byte consists of a Bit, so that it is transmitted in units of bits, and since manchester encoding is performed, it takes 2 clock cycles to transmit one Bit.
If high level 1 is to be output, i.e., If Bit is 1, when the Bit is transmitted for the first time, i.e., If Flag is 0, high level 1 is transmitted and variable Flag is set to position 1 (1 is transmitted and Flag is set to 1); when the Bit is transmitted for the second time, that is, If Flag is equal to 1, a low level of 0 is transmitted, and a variable Flag is set to 0 (0 is transmitted and Flag is set to 0); the next transmission sends the next Bit, and the cycle is interrupted.
If low level 0 is to be output, i.e., If Bit is 0, when the Bit is transmitted for the first time, i.e., If Flag is 0, low level 0 is transmitted and variable Flag is set to 1 (0 is transmitted and Flag is set to 1); when the Bit is transmitted for the second time, that is, If Flag is equal to 1, a high level 1 is transmitted, and a variable Flag is set to 0 (1 is transmitted and Flag is set to 0); the next transmission sends the next Bit, and the cycle is interrupted.
As shown in fig. 3, in the embodiment of the present invention, the step of implementing manchester decoding by a CLU unit in the MCU includes: manchester decoding is achieved through CLU0, CLU1, CLU2, CLU3 and logic gates inside the MCU. Transmitting the data decoded by Manchester, interrupting the MCU SPI, and putting the decoded data into an RAM buffer area in the MCU by the MCU in an SPI interruption function.
Specifically, as shown in fig. 3, after a received signal Rx Receive is decoded by a CLU0-CLU3 trigger and a logic gate, data encoded by Manchester is successfully analyzed, the analyzed data is transmitted, if data is transmitted, an MCU SPI is caused to be interrupted, the MCU, in an SPI interrupt function, puts the analyzed data into an RAM buffer inside the MCU, and the MCU analyzes the data (MCU analysis), and then processes the information (MCU processing) according to an OAM frame header and information content, so as to control the optical module to perform corresponding actions, and if the information needs to be transmitted to the outside, the MCU performs Manchester encoding (Manchester encoding) again, so as to transmit the information. The decoding process is then ended, and the loop is returned to encoding.
It should be noted that manchester coding is widely used in local area networks due to its good noise immunity and self-timing capability, and is therefore applied to such optical modules.
As shown in fig. 4, in the embodiment of the present invention, the MCU receives the OAM modulation signal, and before implementing the manchester decoding step through a CLU unit in the MCU, the method further includes a clock synchronization step, where the clock synchronization step includes: starting a PCA function of the MCU, and setting the PCA timing time as t; through PCA rising edge interruption, capturing the data frame header rising edge interruption interval and the number of rising edges; judging whether the rising edge interruption interval and the number of the rising edges are equal to preset values or not; when the number of the rising edges is equal to a first preset value and the rising edge interruption interval is equal to a second preset value, starting a decoding clock to enable the MCU to receive the OAM modulation signal, realizing Manchester decoding through a CLU (clock unit) in the MCU, and closing a PCA (principal component analysis) function; and when the number of the rising edges is not equal to the first preset value or the interruption interval of the rising edges is not equal to the second preset value, continuing to interrupt the rising edges through the PCA, and capturing the interruption interval of the rising edges of the header of the data frame and the number of the rising edges.
In the embodiment of the invention, the data rate of an OAM link layer is 1024bps, the rate precision is +/-30 bps, Manchester coding is adopted, 0 is represented by low-high level jump, 1 is high-low level jump, and the time for sending a Bit is as follows: 1S/1024 ═ 0.976msThe header of the transmission packet is 0x7E, and according to the Manchester encoding rule, the first byte needs to be transmitted with 0 and 1 in sequence; 1, 0; 1, 0; 1, 0; 1, 0; 1, 0; 1, 0; 0,1, the second byte is also this, the timing is started after the first rising edge is detected, 7 rising edges are total, 6 time intervals are provided, 2 time intervals are 1.5Bit, 4 time intervals are 1Bit, so the standard time intervals are 1.464ms and 0.976ms respectively, but the deviation within the allowable range is allowed, and 1430us is allowed because the value of the set PCA timing t is 10us<t1<1490us, or 940us<t2<1000us is a detection correct mark, the first preset value is n, the value of n is 7, and the second preset value is t1Said t is1Is 1430us<t1<1490us or 940us<t1<1000us。
In this embodiment of the present invention, as shown in fig. 4, after the steps of starting a decoding clock to decode and turning off a PCA function when the number of rising edges is equal to a first preset value and the rising edge interrupt interval is equal to a second preset value, the method further includes:
Judging a frame head and a frame tail of the decoded data; when the frame header is 0x7E77E7E7E and the frame tail is 0x7E, judging that the analysis data is correct, and carrying out corresponding actions by the MCU according to the analysis content; when the frame header is not 0x7E77E7E7E or the frame tail is not 0x7E, the MCU does not process the data, and waits for the next data segment to be analyzed; and when the frame head and the frame tail are continuously wrong for three times, closing a decoding clock, and starting a PCA function to continuously capture the interruption interval of the rising edge and the number of the rising edges.
Specifically, as shown in fig. 4, according to the china mobile standard, the data rate of the OAM link layer is 1024bps, the rate accuracy is ± 30bps, the BER is 1E-8, the header flag of the frame in data transmission is 0x7E7E, and the trailer flag is 0x7E, because the data transmission rate is fixed, the transmission time interval is fixed, so the decoding can be processed with a fixed clock period, and is not always processed, so that an MCU can determine, the resource cost of the MCU is saved, the MCU has more time to process other functions, and the overall operation performance of the module is better. But it is critical when this method starts clock decoding and the start is not synchronized with the peer module. In the embodiment of the invention, as the China Mobile is regulated, Manchester coding is adopted, 0 is represented by low-high level jump, 1 is high-low level jump, so that one Bit is transmitted for 2 times, for example, 0 is transmitted first, then 1 is transmitted first, and 8 bits exist in one Byte, so that 16 times are required for transmitting one Byte.
If the decoding clock is not started for a correct time, the counter-end module code sending clock misses N bits, or misses N transmissions, and the composed data always misses N for the Bit or N transmissions. Because the data are all represented by Byte, the Byte composed of 8 bits is wrong, therefore, the start of the decoding clock must start immediately after the transmission of some complete Byte data at the opposite end, and the Byte analysis is right at this moment. The method comprises the steps of immediately analyzing data after starting, if the analyzed data frame headers are not correct, the data is not processed, when the lower section of complete data comes, a complete data packet can be detected, so that the MCU controls the optical module to perform corresponding action or return the data to the opposite terminal according to the content of the data packet, but how to know that the transmission of the complete byte data of the opposite terminal module is finished is very critical. If the module has an abnormality in the middle of transmission, for example, it judges that the frame head and the frame tail are continuously wrong for 3 times, the decoding clock is closed, the PCA detection is started, the rising edge interruption interval is captured, and the process is repeated. According to the mobile standard, before the module succeeds in the transmission handshake, the data value is not 0x7E except for 0x7E at the end of the frame header, so that the data can be detected and decoded by using the value.
It should be noted that: PCA is an MCU programmable counter array which can be interrupted or timed.
The optical module top-adjusting method adopts an amplitude modulation scheme for top adjustment, and loads a lightweight OAM: the AAU and DU optical modules send OAM messages to realize end-to-end management and control of the optical modules and the optical paths of the Open-WDM system; a physical layer, a data link layer OAM modulation scheme and an interaction protocol are systematically defined, and the requirement of a 5G forwarding network is met.
According to the embodiment of the invention, through an original circuit built by discrete components, the whole optical module adopts 1C 8051 core low-cost MCU, and through the cooperation of hardware and software, the top-adjusting OAM technology is realized, and the requirements of the data rate of 1024bps, the rate precision of +/-30 bps and the bit error rate BER of 1E-8 on the China mobile OAM link layer can be met.
The method for tuning the top of the 25G MWDM optical module only increases a small amount of cost of hardware on the basis of the cost of the 25G CWDM optical module, and realizes the transmission of information such as monitoring and management of the optical module by adopting light-weight OAM and using a self-original method and algorithm by software. The method breaks through technical blockade, meets the requirements that the top-adjusting cost of the Chinese mobile top-adjusting technology is less than 0.5dB, and the top-adjusting depth P & lttangle-solidup & gt is 3% -5%, effectively saves the cost of additionally increasing a processor, saves the board distribution space, is also favorable for production and manufacture, is convenient for mass production of optical modules, does not always occupy MCU resources in a processing method, allows the MCU to have time for processing other functions, has more stable overall performance of the module, and perfectly solves the top-adjusting function through an independently innovative method and algorithm.
The above disclosure is only for the preferred embodiment of the present invention, and it should be understood that the scope of the present invention is not limited thereto, and therefore, the equivalent changes made in the claims of the present invention are included in the scope of the present invention.

Claims (10)

1. An optical module top-adjusting method is characterized in that the optical module comprises an MCU, and a first operational amplifier comparator and a second operational amplifier comparator which are electrically connected with the MCU, the first operational amplifier comparator is also electrically connected with a light emitting assembly, the second operational amplifier comparator is also electrically connected with a light receiving assembly, and the top-adjusting method comprises the following steps:
the OAM modulation signal is subjected to Manchester coding through software programming, and the coded OAM modulation signal is transmitted to the light emission component after passing through the first operational amplifier comparator, and the light emission component converts the coded OAM modulation signal into an optical signal to be emitted;
the light receiving component receives the light signal, converts the light signal into an electric signal and transmits the electric signal to the MCU through the second operational amplifier comparator;
the MCU receives the OAM modulation signal and realizes Manchester decoding through a CLU unit in the MCU.
2. The optical module tuning method of claim 1, wherein the manchester encoding the OAM modulated signal by software programming comprises:
Defining whether to transmit a Flag variable Flag of the next Bit, and setting the initial value of the Flag to be 0;
setting the interrupt time of a timer to be T;
when the timing time is reached, the OAM modulation signal is subjected to Manchester coding;
when the Bit is transmitted for the first time, namely If Flag is 0, sending high level or low level, and marking a variable Flag at a position 1 after sending; and when the Bit is transmitted for the second time, namely If Flag is 1, sending a corresponding low level or high level, and marking the position of a variable Flag to be 0 after sending so as to prepare for transmitting the next Bit.
3. The optical module tuning method of claim 2, wherein after the step of manchester encoding the OAM modulated signal when the timing time is reached, further comprising:
and after the coded data are placed in the RAM buffer area inside the MCU, the data are transmitted from the buffer area.
4. The optical module tuning method as claimed in claim 1, wherein the step of implementing manchester decoding by the CLU unit built in the MCU comprises:
manchester decoding is achieved through CLU0, CLU1, CLU2, CLU3 and logic gates inside the MCU.
5. The optical module tuning method of claim 1, wherein the MCU receives the OAM modulation signal, and further comprises a clock synchronization step before the manchester decoding step is implemented by a CLU unit built in the MCU, the clock synchronization step comprising:
Starting a PCA function of the MCU, and setting the PCA timing time as t;
capturing the interruption interval and the number of rising edges of the data frame header through PCA rising edge interruption;
judging whether the rising edge interruption interval and the number of the rising edges are equal to preset values or not;
when the number of the rising edges is equal to a first preset value and the rising edge interruption interval is equal to a second preset value, starting a decoding clock to enable the MCU to receive the OAM modulation signal, realizing Manchester decoding through a CLU (clock unit) in the MCU, and closing a PCA (principal component analysis) function;
and when the number of the rising edges is not equal to the first preset value or the number of the rising edge interruption intervals is not equal to the second preset value, continuing to capture the rising edge interruption intervals and the number of the rising edges of the data frame header through PCA rising edge interruption.
6. The optical module tuning method according to claim 5, wherein a data rate of an OAM link layer is 1024bps, a rate precision is ± 30bps, the value of t is 10us, the first preset value is n, the value of n is 7, and the second preset value is t1Said t is1Is 1430us<t1<1490us or 940us<t1<1000us。
7. The optical module tuning method of claim 6, wherein the MCU receives the OAM modulation signal, and further comprises, after the manchester decoding step is implemented by a CLU unit built in the MCU:
Judging a frame head and a frame tail of the decoded data;
and when the frame header is 0x7E77E7E7E and the frame tail is 0x7E, judging that the analysis data are correct, and carrying out corresponding action by the MCU according to the analysis content.
8. The optical module tuning method of claim 6, wherein the MCU receives the OAM modulation signal, and further comprises, after the manchester decoding step is implemented by a CLU unit built in the MCU:
judging a frame head and a frame tail of the decoded data;
when the frame header is not 0x7E77E7E7E or the frame tail is not 0x7E, the MCU does not process the data and waits for the next data to be analyzed.
9. The optical module tuning method of claim 8, wherein when the frame header is not 0x7E77E7E or the frame trailer is not 0x7E, the MCU does not process the data, and after waiting for a next data parsing step, the method further comprises:
and when the frame head and the frame tail are continuously wrong for three times, closing a decoding clock, and starting a PCA function to continuously capture the interruption interval of the rising edge and the number of the rising edges.
10. The optical module tuning method of claim 4, wherein after implementing the Manchester decoding step through the CLU0, the CLU1, the CLU2 and the CLU3 inside the MCU and the logic gate, further comprising: transmitting the data decoded by Manchester, generating interruption by the MCU SPI and receiving the data, and putting the decoded data into an RAM buffer area in the MCU by the MCU in an SPI interruption function.
CN202210234607.0A 2022-03-09 2022-03-09 Optical module roof adjusting method Active CN114679222B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210234607.0A CN114679222B (en) 2022-03-09 2022-03-09 Optical module roof adjusting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210234607.0A CN114679222B (en) 2022-03-09 2022-03-09 Optical module roof adjusting method

Publications (2)

Publication Number Publication Date
CN114679222A true CN114679222A (en) 2022-06-28
CN114679222B CN114679222B (en) 2024-05-28

Family

ID=82072169

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210234607.0A Active CN114679222B (en) 2022-03-09 2022-03-09 Optical module roof adjusting method

Country Status (1)

Country Link
CN (1) CN114679222B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024027435A1 (en) * 2022-08-05 2024-02-08 华为技术有限公司 Optical sending module, optical sending device, and method for adjusting pilot-tune depth

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4350973A (en) * 1979-07-23 1982-09-21 Honeywell Information Systems Inc. Receiver apparatus for converting optically encoded binary data to electrical signals
JP2005072731A (en) * 2003-08-20 2005-03-17 Matsushita Electric Ind Co Ltd Bidirectional optical transmitting/receiving device and bidirectional optical transmitting system
CN1706143A (en) * 2002-09-16 2005-12-07 希格纳尔集成产品公司 Clock recovery method for bursty communications
CN101557670A (en) * 2003-02-06 2009-10-14 塔西软件开发有限及两合公司 Digital control system for LCD backlights
CN112235218A (en) * 2020-12-15 2021-01-15 广州智慧城市发展研究院 Manchester signal decoding method and device
CN112787726A (en) * 2021-02-24 2021-05-11 东莞铭普光磁股份有限公司 Optical module with service management function

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4350973A (en) * 1979-07-23 1982-09-21 Honeywell Information Systems Inc. Receiver apparatus for converting optically encoded binary data to electrical signals
CN1706143A (en) * 2002-09-16 2005-12-07 希格纳尔集成产品公司 Clock recovery method for bursty communications
CN101557670A (en) * 2003-02-06 2009-10-14 塔西软件开发有限及两合公司 Digital control system for LCD backlights
JP2005072731A (en) * 2003-08-20 2005-03-17 Matsushita Electric Ind Co Ltd Bidirectional optical transmitting/receiving device and bidirectional optical transmitting system
CN112235218A (en) * 2020-12-15 2021-01-15 广州智慧城市发展研究院 Manchester signal decoding method and device
CN112787726A (en) * 2021-02-24 2021-05-11 东莞铭普光磁股份有限公司 Optical module with service management function

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
殷卫真著: "《基于FPGA的电子***设计》", 西安交通大学出版社, pages: 302 - 307 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024027435A1 (en) * 2022-08-05 2024-02-08 华为技术有限公司 Optical sending module, optical sending device, and method for adjusting pilot-tune depth

Also Published As

Publication number Publication date
CN114679222B (en) 2024-05-28

Similar Documents

Publication Publication Date Title
WO2007102303A1 (en) Pon system and terminal operation registering method
US20230224038A1 (en) Trigger-based optical wireless communication system
US20220116269A1 (en) Apparatus and methods for synchronization pattern configuration in an optical network
CN114679222B (en) Optical module roof adjusting method
CN113545007A (en) Power saving mechanism for high speed passive optical networks
CN202841143U (en) 40GE CFP optical module compatible with LR4 and ER4
EP1388968B1 (en) Bit error rate based system and method for optimizing communication system performance
JP2003087194A (en) Optical transmitter-receiver and communication transmission medium converter
CN117240363B (en) Signal transmission method based on optical module and optical module transmission system
CN105703836B (en) Optical module for optical network unit
US9369212B2 (en) System, method and apparatus for power saving using burst-mode transmission over point-to-point physical connections
JP2007243285A (en) Station side apparatus and up direction communication method of pon system
CN112260755A (en) Heterogeneous network communication system of coal mining working face of coal mine
CN112865886B (en) Method for realizing FC communication rate detection based on FPGA
Wang et al. WiFO: a hybrid WiFi free-space optical communication networks of femtocells
US11825233B2 (en) Data transmission system and data transmission method
CN101951311B (en) Sudden clock recovery method for dynamic optimal regulation at receiver in passive optical network
US20230403735A1 (en) Message Transmission Method, Terminal and Storage Medium
JP2006014228A (en) Communication method, communication system, station side communication apparatus and subscriber side communication apparatus
CN114640382A (en) Full-duplex self-frequency-modulation repeater based on modified LoRaWAN protocol and implementation method thereof
CN110417479B (en) Method and device for power adjustment
CN114531622A (en) Multi-stage PON (passive optical network) management method and related device
US8542701B2 (en) Method and device for determining timeslot configuration in TDM transmission
CN116896417B (en) Power supply control method and network equipment
CN211908832U (en) Signal fusion device based on 10G-EPON access

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