PAM4 modulation-based optical transceiver module and control method thereof

文档序号:1579619 发布日期:2020-01-31 浏览:22次 中文

阅读说明:本技术 一种基于pam4调制的光收发模块及其控制方法 (PAM4 modulation-based optical transceiver module and control method thereof ) 是由 缪文雄 于 2019-10-24 设计创作,主要内容包括:本发明提出了一种基于PAM4调制的光收发模块及其控制方法,该光收发模块包括光电转换采集模块的信号输出端分别与电压峰值检波采集模块块的电压峰值检波信号输入端和比较模块的电流比较信号输入端相连,电压峰值检波采集模块的电压峰值检波信号输出端与控制器U1的电压峰值检波信号输入端相连;控制器U1根据接收电压峰值检波采集模块发送的电压峰值检波信号,向比较模块输入参考第一电平或/和参考第一电平以及参考第三电平或/和参考第四电平的大小,控制比较模块输出NRZ码型电信号。本发明能够接收NRZ和PAM4码型光信号,解决NRZ码型光通信装置与PAM4码型光通信装置间不兼容问题,增强了PAM4光模块的使用便捷性,便于在光通信装置中体验。(The invention provides optical transceiver modules based on PAM4 modulation and a control method thereof, the optical transceiver modules comprise a signal output end of a photoelectric conversion acquisition module which is respectively connected with a voltage peak detection signal input end of a voltage peak detection acquisition module block and a current comparison signal input end of a comparison module, a voltage peak detection signal output end of the voltage peak detection acquisition module is connected with a voltage peak detection signal input end of a controller U1, and a controller U1 inputs a reference th level or/and a reference th level and a reference third level or/and a reference fourth level to the comparison module according to a voltage peak detection signal sent by the voltage peak detection acquisition module, and controls the comparison module to output an NRZ code type electric signal.)

1, kinds of PAM4 modulation-based optical transceiver modules, which are characterized by comprising a photoelectric conversion acquisition module, a voltage peak detection acquisition module, a comparison module and a controller U1;

the signal output end of the photoelectric conversion acquisition module is respectively connected with the voltage peak detection signal input end of the voltage peak detection acquisition module block and the current comparison signal input end of the comparison module, and the voltage peak detection signal output end of the voltage peak detection acquisition module is connected with the voltage peak detection signal input end of the controller U1;

the controller U1 inputs the reference level or/and the reference level and the reference third level or/and the reference fourth level to the comparison module according to the voltage peak detection signal sent by the received voltage peak detection acquisition module, and controls the comparison module to output an NRZ code type electric signal.

2. The PAM4 modulation-based optical transceiver module as claimed in claim 1, wherein the optical-to-electrical conversion acquisition module comprises a resistor R1 having a th terminal connected to ground, a resistor R1 having a second terminal connected to a th terminal of a photodiode D1, a voltage peak detection signal input terminal of the voltage peak detection acquisition module and a current comparison signal input terminal of the comparison module, and a photodiode D1 having a second terminal connected to a power supply VCC1Are connected.

3. The PAM4 modulation-based optical transceiver module as claimed in claim 1, wherein the voltage peak detection acquisition module includes a resistor R2 with a th end connected to the signal output end of the photoelectric conversion acquisition module and the current comparison signal input end of the comparison module, a resistor R2 with a th end connected to the th end of the resistor R3, a th end of the resistor R4 and the cathode of the diode D2, a resistor R3 with a second end connected to the ground of the power supply and the anode of the diode D2, a resistor R4 with a second end connected to the non-inverting input end of the amplifier U5, an amplifier U5 with an inverting input end connected to the th end of the resistor R5 and the emitter of the transistor Q1, and a resistor R5 with the power supply VCC2The collector of the transistor Q1 is connected to the th terminal of the resistor R6, the second terminal of the resistor R6 is connected to the th terminal of the resistor R7 and the power supply VCC1The second end of the resistor R7 is connected with the collector of the transistor Q2, the base of the transistor Q1 and the base of the transistor Q2 are respectively connected with the output end of the amplifier U5, the emitter of the transistor Q2 is respectively connected with the th end of the capacitor C1, the th end of the resistor R8 and the non-inverting input end of the amplifier U6, the second end of the capacitor C1 and the second end of the resistor R8 are respectively connected with the power groundThe inverting input terminal of the amplifier U6 is connected to the th terminal of the resistor R9 and the th terminal of the resistor R10, respectively, the second terminal of the resistor R9 is connected to the power ground, and the second terminal of the resistor R10 and the output terminal of the amplifier U6 are connected to the voltage peak detection signal input terminal of the controller U1, respectively.

4. The PAM4 modulation based optical transceiver module of claim 1, wherein the comparison module comprises: the positive phase input end of the amplifier U3 is respectively connected with the positive phase input end of the amplifier U4, the signal output end of the photoelectric conversion acquisition module and the voltage peak detection signal input end of the voltage peak detection acquisition module;

the output end of the amplifier U3 is connected with the th end of the output loop of the relay U7, the second end of the output loop of the relay U7 is connected with the NRZ th signal input end A1 of the level conversion chip U2, the th end of the input loop of the relay U7 is connected with the power ground, the second end of the input loop of the relay U7 is connected with the emitter of the triode Q3, the collector of the triode Q3 is connected with the power supply V3CC1The base electrode of the triode Q3 is connected with the closing signal output end of the amplifier U3 of the controller U1;

the output end of the amplifier U4 is connected with the end of the output loop of the relay U8, the second end of the output loop of the relay U8 is connected with the NRZ second signal input end A2 of the level conversion chip U2, the end of the input loop of the relay U8 is connected with the power ground, the second end of the input loop of the relay U8 is connected with the emitter of the triode Q4, the collector of the triode Q4 is connected with the power supply VCC1The base electrode of the triode Q4 is connected with the closing signal output end of the amplifier U4 of the controller U1;

the level amplitude signal output end of the controller U1 is connected with the level amplitude signal input end VCC1 of the level conversion chip U2, the second level amplitude signal output end of the controller U1 is connected with the second level amplitude signal input end VCC2 of the level conversion chip U2, the control signal output end of the controller U1 is connected with the control signal input end OE of the level conversion chip U2, the NRZ th signal input end of the controller U1 is connected with the NRZ th signal output end VCC1 of the level conversion chip U2, and the NRZ second signal input end of the controller U1 is connected with the NRZ second signal output end VCC1 of the level conversion chip U2.

5, A control method of PAM4 modulation-based optical transceiver module, characterized by comprising the following steps:

s1, the controller U1 obtains peak level amplitude according to the voltage signal collected by the voltage peak detection collection module, determines that the reference th level is input to the inverting input end of the amplifier U3, and inputs the reference second level to the inverting input end of the amplifier U4, wherein the reference th level is K of the peak level amplitude1Multiple, K1∈(1/P,P1/P]P is the peak level amplitude, P1Is a positive number less than P and greater than 1; k with reference to the second level as the amplitude of the peak level2Multiple, K2∈(0,1/P];

S2, the controller U1 judges whether the optical signal collected by the photoelectric conversion collection module is PAM4 code type optical signal or NRZ code type optical signal:

if the photoelectric conversion acquisition module acquires a PAM4 code type optical signal, executing step S3;

if the optical signal is an NRZ code type optical signal, the step S4 is executed;

s3, the controller U1 sends cut-off level to the base of the triode Q3 and sends cut-off level to the base of the triode Q4; at the moment, the input loop of the relay U7 is electrified, the output loop of the relay U7 is closed, the input loop of the relay U8 is electrified, and the output loop of the relay U8 is closed;

the photodiode D1 converts the received PAM4 code type optical signal into a current signal, and the current signal is converted into a voltage signal by the resistor R1 and input into the non-inverting input terminal of the amplifier U3 and the non-inverting input terminal of the amplifier U4;

the controller U1 inputs a reference th level to an inverting input terminal of the amplifier U3 and a reference second level to an inverting input terminal of the amplifier U4, and a voltage th signal input to a non-inverting input terminal of the amplifier U3 and a voltage second signal input to a non-inverting input terminal of the amplifier U4 are input to the photoelectric conversion acquisition module, the amplifier U3 compares the reference level with the voltage signal to output an NRZ code th electric signal, the amplifier U4 compares the reference second level with the voltage second signal to output an NRZ code second electric signal, namely, the NRZ code electric signal output by an output terminal of the amplifier U3 is high, and the NRZ code second electric signal output by an output terminal of the amplifier U4 is low;

an NRZ code type electrical signal output by the amplifier U3 and an NRZ code type second electrical signal output by the amplifier U4 are input to the level conversion chip U2, the controller U1 outputs reference third levels for the NRZ code type electrical signal and reference fourth levels for the NRZ code type second electrical signal to the level conversion chip U2, the level conversion chip U2 adjusts the level amplitudes of the NRZ code type electrical signal and the NRZ code type second electrical signal according to the input reference third levels and reference fourth levels, outputs the NRZ code type electrical signal and the NRZ code type second electrical signal after the level amplitudes are adjusted, and realizes output of converting the received PAM4 code type optical signal into an NRZ code type electrical signal;

s4, the controller U1 sends an on/saturation level to the base of transistor Q3 and a cutoff level to the base of transistor Q4; at the moment, the input loop of the relay U7 is electrified, the output loop of the relay U7 is closed, the input loop of the relay U8 is electrified, and the output loop of the relay U8 is disconnected; that is, amplifier U3 has an output and amplifier U4 has no output;

the photodiode D1 converts the received NRZ code type optical signal into a current signal, and the current signal is converted into a voltage signal due to the presence of the resistor R1 and input to the non-inverting input terminal of the amplifier U3;

the controller U1 inputs a th reference level to the inverting input end of the amplifier U3 and a th voltage signal input to the non-inverting input end of the amplifier U3 by the photoelectric conversion acquisition module, and the amplifier U3 compares the th reference level with the th voltage signal to output an NRZ code type th electric signal, namely, the NRZ code type th electric signal output by the output end of the amplifier U3 is high;

the NRZ code electrical signal output from the amplifier U3 is input to the level conversion chip U2, the controller U1 outputs reference third levels for the NRZ code electrical signal to the level conversion chip U2, the level conversion chip U2 adjusts the level amplitude of the NRZ code electrical signal according to the input reference third levels, outputs the NRZ code electrical signal after the level amplitude adjustment, and converts the received NRZ code optical signal into an NRZ code electrical signal.

6. The method for controlling the optical transceiver module based on the PAM4 modulation as claimed in claim 5, wherein step S4 is:

s4, the controller U1 sends a cut-off level to the base of transistor Q3 and an on/saturation level to the base of transistor Q4; at the moment, the input loop of the relay U7 loses power, the output loop of the relay U7 is disconnected, the input loop of the relay U8 is electrified, and the output loop of the relay U8 is closed; i.e., amplifier U3 has no output, amplifier U4 has an output;

the photodiode D1 converts the received NRZ code type optical signal into a current signal, and the current signal is converted into a voltage signal due to the presence of the resistor R1 and input to the non-inverting input terminal of the amplifier U4;

the controller U1 detects the peak level amplitude obtained by the acquisition module according to the voltage peak value in the step S1; the controller U1 inputs a reference second level to the inverting input terminal of the amplifier U4 and a voltage second signal input to the non-inverting input terminal of the amplifier U4 by the photoelectric conversion acquisition module, and the amplifier U4 compares the reference second level with the voltage second signal to output an NRZ code type second electric signal; namely, the NRZ code type second electric signal output by the output end of the amplifier U4 is low;

the NRZ code type second electrical signal output by the amplifier U4 is input to the level conversion chip U2, the controller U1 outputs reference fourth levels for the NRZ code type second electrical signal to the level conversion chip U2, the level conversion chip U2 adjusts the level amplitude of the NRZ code type second electrical signal according to the input reference fourth levels, and outputs the NRZ code type second electrical signal after the level amplitude adjustment, thereby realizing output of converting the received NRZ code type optical signal into an NRZ code type electrical signal.

7. The method for controlling the PAM4 modulation-based optical transceiver module of claim 5, wherein in step S2, the method for the controller U1 to determine whether the optical signal of PAM4 code type or NRZ code type collected by the photoelectric conversion collection module is: the controller U1 judges according to the control signal sent to the controller U1 by the upper computer.

8. The method according to claim 5, wherein in step S3 or S4, the controller U1 inputs and outputs the NRZ pattern electrical signal and the NRZ pattern second electrical signal control signal after the level amplitude adjustment to the level conversion chip U2, and the level conversion chip U2 outputs the NRZ pattern electrical signal and the NRZ pattern second electrical signal after the level amplitude adjustment;

the controller U1 inputs and outputs the NRZ pattern th electric signal control signal after the level amplitude adjustment to the level conversion chip U2, and the level conversion chip U2 outputs the NRZ pattern th electric signal after the level amplitude adjustment.

9. The method as claimed in claim 6, wherein the controller U1 inputs the level-shift chip U2 with the level-shift signal control signal of NRZ pattern and the level-shift chip U2 outputs the level-shift signal of NRZ pattern.

Technical Field

The invention relates to the technical field of communications, in particular to PAM4 modulation-based optical transceiver modules and a control method thereof.

Background

The bandwidth requirement of a 5G base station is greatly improved, the bandwidth requirement of the 4G LTE base station is expected to be more than 10 times of that of the 4G LTE base station, the coverage range of the 5G network base station is small, the base station density is expected to be 5-10 times of that of the 4G era, and therefore the optical module consumption is large and the optical fiber resources are tense in the 5G network.

Disclosure of Invention

The invention aims to at least solve the technical problems in the prior art, and particularly creatively provides optical transceiver modules based on PAM4 modulation and a control method thereof

In order to achieve the above object, the present invention provides optical transceiver modules based on PAM4 modulation, including a photoelectric conversion acquisition module, a voltage peak detection acquisition module, a comparison module, and a controller U1;

the signal output end of the photoelectric conversion acquisition module is respectively connected with the voltage peak detection signal input end of the voltage peak detection acquisition module and the current comparison signal input end of the comparison module, and the voltage peak detection signal output end of the voltage peak detection acquisition module is connected with the voltage peak detection signal input end of the controller U1;

the controller U1 inputs the reference level or/and the reference level and the reference third level or/and the reference fourth level to the comparison module according to the voltage peak detection signal sent by the received voltage peak detection acquisition module, and controls the comparison module to output an NRZ code type electric signal.

In preferred embodiments of the present invention, the photoelectric conversion collecting module comprises a resistor R1 with a th end connected to the power ground, a resistor R1 with a second end connected to a th end of a photodiode D1, a voltage peak detection signal input end of the voltage peak detection collecting module and a current comparison signal input end of the comparing module, and a photodiode D1 with a second end connected to the power VCC1Are connected. Convert the signal of telecommunication into current signal, it is high-efficient accurate through photoelectric conversion collection module.

In preferred embodiments of the present invention, the voltage peak detection collection module comprises a resistor R2 with a th end connected to the signal output end of the photoelectric conversion collection module and the current comparison signal input end of the comparison module, a resistor R2 with a second end connected to the th end of the resistor R3, the th end of the resistor R4 and the cathode of the diode D2, and a resistor R3 with the anode of the diode D2The poles of the resistor R4 are respectively connected with the power ground, the second end of the resistor R3578 is connected with the non-inverting input end of the amplifier U5, the inverting input end of the amplifier U5 is respectively connected with the th end of the resistor R5 and the emitter of the triode Q1, and the second end of the resistor R5 is connected with the power supply VCC2The collector of the transistor Q1 is connected to the th terminal of the resistor R6, the second terminal of the resistor R6 is connected to the th terminal of the resistor R7 and the power supply VCC1The second end of the resistor R7 is connected with the collector of the transistor Q2, the base of the transistor Q1 and the base of the transistor Q2 are respectively connected with the output end of the amplifier U5, the emitter of the transistor Q2 is respectively connected with the th end of the capacitor C1, the th end of the resistor R8 and the non-inverting input end of the amplifier U6, the second end of the capacitor C1 and the second end of the resistor R8 are respectively connected with the power ground, the inverting input end of the amplifier U6 is respectively connected with the th end of the resistor R9 and the th end of the resistor R10, the second end of the resistor R9 is connected with the power ground, and the second end of the resistor R10 and the output end of the amplifier U6 are respectively connected with the voltage peak detection signal input end of the controller U1.

In preferred embodiments of the invention, the comparing module comprises a positive phase input terminal of an amplifier U3 connected with a positive phase input terminal of an amplifier U4, a signal output terminal of the photoelectric conversion collecting module and a voltage peak detection signal input terminal of the voltage peak detection collecting module respectively;

the output end of the amplifier U3 is connected with the th end of the output loop of the relay U7, the second end of the output loop of the relay U7 is connected with the NRZ th signal input end A1 of the level conversion chip U2, the th end of the input loop of the relay U7 is connected with the power ground, the second end of the input loop of the relay U7 is connected with the emitter of the triode Q3, the collector of the triode Q3 is connected with the power supply V3CC1The base electrode of the triode Q3 is connected with the closing signal output end of the amplifier U3 of the controller U1;

the output end of the amplifier U4 is connected with the th end of the output loop of the relay U8, the second end of the output loop of the relay U8 is connected with the NRZ second signal input end A2 of the level conversion chip U2, the th end of the input loop of the relay U8 is connected with the power ground, and the second end of the input loop of the relay U8 is connected with the second end of the input loop of the relay U8Connected with the emitter of the transistor Q4, and the collector of the transistor Q4 is connected with a power supply VCC1The base electrode of the triode Q4 is connected with the closing signal output end of the amplifier U4 of the controller U1;

the level amplitude signal output end of the controller U1 is connected with the level amplitude signal input end VCC1 of the level conversion chip U2, the second level amplitude signal output end of the controller U1 is connected with the second level amplitude signal input end VCC2 of the level conversion chip U2, the control signal output end of the controller U1 is connected with the control signal input end OE of the level conversion chip U2, the NRZ th signal input end of the controller U1 is connected with the NRZ th signal output end VCC1 of the level conversion chip U2, and the NRZ second signal input end of the controller U1 is connected with the NRZ second signal output end VCC2 of the level conversion chip U2.

The invention also provides a control method of optical transceiver modules based on PAM4 modulation, which comprises the following steps:

s1, the controller U1 obtains peak level amplitude according to the voltage signal collected by the voltage peak detection collection module, determines that the reference th level is input to the inverting input end of the amplifier U3, and inputs the reference second level to the inverting input end of the amplifier U4, wherein the reference th level is K of the peak level amplitude1Multiple, K1∈(1/P,P1/P]P is the peak level amplitude, P1Is a positive number less than P and greater than 1; k with reference to the second level as the amplitude of the peak level2Multiple, K2∈(0,1/P];

S2, the controller U1 judges whether the optical signal collected by the photoelectric conversion collection module is PAM4 code type optical signal or NRZ code type optical signal:

if the photoelectric conversion acquisition module acquires a PAM4 code type optical signal, executing step S3;

if the optical signal is an NRZ code type optical signal, the step S4 is executed;

s3, the controller U1 sends cut-off level to the base of the triode Q3 and sends cut-off level to the base of the triode Q4; at the moment, the input loop of the relay U7 is electrified, the output loop of the relay U7 is closed, the input loop of the relay U8 is electrified, and the output loop of the relay U8 is closed;

the photodiode D1 converts the received PAM4 code type optical signal into a current signal, and the current signal is converted into a voltage signal by the resistor R1 and input into the non-inverting input terminal of the amplifier U3 and the non-inverting input terminal of the amplifier U4;

the controller U1 inputs a reference th level to an inverting input terminal of the amplifier U3 and a reference second level to an inverting input terminal of the amplifier U4, and a voltage th signal input to a non-inverting input terminal of the amplifier U3 and a voltage second signal input to a non-inverting input terminal of the amplifier U4 are input to the photoelectric conversion acquisition module, the amplifier U3 compares the reference level with the voltage signal to output an NRZ code th electric signal, the amplifier U4 compares the reference second level with the voltage second signal to output an NRZ code second electric signal, namely, the NRZ code electric signal output by an output terminal of the amplifier U3 is high, and the NRZ code second electric signal output by an output terminal of the amplifier U4 is low;

an NRZ code type electrical signal output by the amplifier U3 and an NRZ code type second electrical signal output by the amplifier U4 are input to the level conversion chip U2, the controller U1 outputs reference third levels for the NRZ code type electrical signal and reference fourth levels for the NRZ code type second electrical signal to the level conversion chip U2, the level conversion chip U2 adjusts the level amplitudes of the NRZ code type electrical signal and the NRZ code type second electrical signal according to the input reference third levels and reference fourth levels, outputs the NRZ code type electrical signal and the NRZ code type second electrical signal after the level amplitudes are adjusted, and realizes output of converting the received PAM4 code type optical signal into an NRZ code type electrical signal;

s4, the controller U1 sends an on/saturation level to the base of transistor Q3 and a cutoff level to the base of transistor Q4; at the moment, the input loop of the relay U7 is electrified, the output loop of the relay U7 is closed, the input loop of the relay U8 is electrified, and the output loop of the relay U8 is disconnected; that is, amplifier U3 has an output and amplifier U4 has no output;

the photodiode D1 converts the received NRZ code type optical signal into a current signal, and the current signal is converted into a voltage signal due to the presence of the resistor R1 and input to the non-inverting input terminal of the amplifier U3;

the controller U1 inputs a th reference level to the inverting input end of the amplifier U3 and a th voltage signal input to the non-inverting input end of the amplifier U3 by the photoelectric conversion acquisition module, and the amplifier U3 compares the th reference level with the th voltage signal to output an NRZ code type th electric signal, namely, the NRZ code type th electric signal output by the output end of the amplifier U3 is high;

the NRZ code electrical signal output from the amplifier U3 is input to the level conversion chip U2, the controller U1 outputs reference third levels for the NRZ code electrical signal to the level conversion chip U2, the level conversion chip U2 adjusts the level amplitude of the NRZ code electrical signal according to the input reference third levels, outputs the NRZ code electrical signal after the level amplitude adjustment, and converts the received NRZ code optical signal into an NRZ code electrical signal.

In preferred embodiments of the present invention, step S4 is:

s4, the controller U1 sends a cut-off level to the base of transistor Q3 and an on/saturation level to the base of transistor Q4; at the moment, the input loop of the relay U7 loses power, the output loop of the relay U7 is disconnected, the input loop of the relay U8 is electrified, and the output loop of the relay U8 is closed; i.e., amplifier U3 has no output, amplifier U4 has an output;

the photodiode D1 converts the received NRZ code type optical signal into a current signal, and the current signal is converted into a voltage signal due to the presence of the resistor R1 and input to the non-inverting input terminal of the amplifier U4;

the controller U1 detects the peak level amplitude obtained by the acquisition module according to the voltage peak value in the step S1; the controller U1 inputs a reference second level to the inverting input terminal of the amplifier U4 and a voltage second signal input to the non-inverting input terminal of the amplifier U4 by the photoelectric conversion acquisition module, and the amplifier U4 compares the reference second level with the voltage second signal to output an NRZ code type second electric signal; namely, the NRZ code type second electric signal output by the output end of the amplifier U4 is low;

the NRZ code type second electrical signal output by the amplifier U4 is input to the level conversion chip U2, the controller U1 outputs reference fourth levels for the NRZ code type second electrical signal to the level conversion chip U2, the level conversion chip U2 adjusts the level amplitude of the NRZ code type second electrical signal according to the input reference fourth levels, outputs the NRZ code type second electrical signal after the level amplitude adjustment, and converts the received NRZ code type optical signal into an NRZ code type electrical signal for output.

In preferable embodiments of the present invention, in step S2, the controller U1 determines whether the optical signal of PAM4 code type or NRZ code type is acquired by the photoelectric conversion acquisition module by determining that the controller U1 determines the optical signal according to the control signal sent to the controller U1 by the upper computer.

In preferred embodiments of the present invention, in step S3 or S4, the controller U1 inputs and outputs the NRZ code th electric signal and the NRZ code second electric signal control signal after level amplitude adjustment to the level conversion chip U2, and the level conversion chip U2 outputs the NRZ code th electric signal and the NRZ code second electric signal after level amplitude adjustment;

the controller U1 inputs and outputs the NRZ pattern th electric signal control signal after the level amplitude adjustment to the level conversion chip U2, and the level conversion chip U2 outputs the NRZ pattern th electric signal after the level amplitude adjustment.

In preferred embodiments of the present invention, the controller U1 inputs and outputs the level-amplitude adjusted NRZ pattern second electric signal control signal to the level conversion chip U2, and the level conversion chip U2 outputs the level-amplitude adjusted NRZ pattern second electric signal.

In summary, due to the adoption of the technical scheme, the invention can receive NRZ and PAM4 code type optical signals, solves the problem of incompatibility between an NRZ code type optical communication device and a PAM4 code type optical communication device, enhances the use convenience of the PAM4 optical module, and facilitates the experience in the optical communication device.

Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.

Drawings

The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:

fig. 1 is a schematic block diagram of the present invention.

Fig. 2 is a schematic circuit diagram of the present invention.

Detailed Description

Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.

The invention provides light transceiving modules based on PAM4 modulation, as shown in FIG. 1, comprising a photoelectric conversion acquisition module, a voltage peak detection acquisition module, a comparison module and a controller U1;

the signal output end of the photoelectric conversion acquisition module is respectively connected with the voltage peak detection signal input end of the voltage peak detection acquisition module and the current comparison signal input end of the comparison module, and the voltage peak detection signal output end of the voltage peak detection acquisition module is connected with the voltage peak detection signal input end of the controller U1;

the controller U1 inputs the reference level or/and the reference level and the reference third level or/and the reference fourth level to the comparison module according to the voltage peak detection signal sent by the received voltage peak detection acquisition module, and controls the comparison module to output an NRZ code type electric signal.

In preferred embodiments of the invention, the photoelectric conversion collecting module comprises a current ratio of the th end of the resistor R1 connected to the power ground, the second end of the resistor R1 connected to the th end of the photodiode D1, the voltage peak detection signal input end of the voltage peak detection collecting module and the comparing moduleA second terminal of the photodiode D1 is connected to the power supply VCC1Are connected.

In preferred embodiments of the present invention, the voltage peak detection and collection module includes a resistor R2 having a th end connected to the signal output end of the photoelectric conversion and collection module and the current comparison signal input end of the comparison module, a resistor R2 having a second end connected to the th end of the resistor R3, the th end of the resistor R4 and the cathode of the diode D2, a resistor R3 having a second end connected to the power ground and the anode of the diode D2 having a positive end of the diode D2, a resistor R4 having a second end connected to the non-inverting input end of the amplifier U5, an amplifier U5 having an inverting input end connected to the th end of the resistor R5 and the emitter of the transistor Q1, and a resistor R5 having a second end connected to the power supply V3626CC2The collector of the transistor Q1 is connected to the th terminal of the resistor R6, the second terminal of the resistor R6 is connected to the th terminal of the resistor R7 and the power supply VCC1The second end of the resistor R7 is connected to the collector of the transistor Q2, the base of the transistor Q1 and the base of the transistor Q2 are respectively connected to the output end of the amplifier U5, the emitter of the transistor Q2 is respectively connected to the th end of the capacitor C1, the th end of the resistor R8 and the non-inverting input end of the amplifier U6, the second end of the capacitor C1 and the second end of the resistor R8 are respectively connected to the power ground, the inverting input end of the amplifier U6 is respectively connected to the th end of the resistor R9 and the th end of the resistor R10, the second end of the resistor R9 is connected to the power ground, and the second end of the resistor R10 and the output end of the amplifier U6 are respectively connected to the voltage peak detection signal input end of the controller U1.

In preferred embodiments of the invention, the comparing module comprises a positive phase input terminal of an amplifier U3 connected with a positive phase input terminal of an amplifier U4, a signal output terminal of the photoelectric conversion collecting module and a voltage peak detection signal input terminal of the voltage peak detection collecting module respectively;

the output end of the amplifier U3 is connected with the th end of the output loop of the relay U7, the second end of the output loop of the relay U7 is connected with the NRZ th signal input end A1 of the level conversion chip U2, the th end of the input loop of the relay U7 is connected with the power ground, the second end of the input loop of the relay U7 is connected with the emitter of the triode Q3, and the triode Q3 is connected with the second end of the input loop of the relay U7Collector of Q3 and power supply VCC1The base electrode of the triode Q3 is connected with the closing signal output end of the amplifier U3 of the controller U1;

the output end of the amplifier U4 is connected with the end of the output loop of the relay U8, the second end of the output loop of the relay U8 is connected with the NRZ second signal input end A2 of the level conversion chip U2, the end of the input loop of the relay U8 is connected with the power ground, the second end of the input loop of the relay U8 is connected with the emitter of the triode Q4, the collector of the triode Q4 is connected with the power supply VCC1The base electrode of the triode Q4 is connected with the closing signal output end of the amplifier U4 of the controller U1;

the level amplitude signal output end of the controller U1 is connected with the level amplitude signal input end VCC1 of the level conversion chip U2, the second level amplitude signal output end of the controller U1 is connected with the second level amplitude signal input end VCC2 of the level conversion chip U2, the control signal output end of the controller U1 is connected with the control signal input end OE of the level conversion chip U2, the NRZ th signal input end of the controller U1 is connected with the NRZ th signal output end VCC1 of the level conversion chip U2, and the NRZ second signal input end of the controller U1 is connected with the NRZ second signal output end VCC2 of the level conversion chip U2.

As shown in FIG. 2, the circuit of the present invention is connected such that the th terminal of the resistor R1 is connected to the ground of the power supply, the second terminal of the resistor R1 is connected to the th terminal of the photodiode D1, the non-inverting input terminal of the amplifier U3, the non-inverting input terminal of the amplifier U4 and the th terminal of the resistor R2, and the second terminal of the photodiode D1 is connected to the power supply VCC1The second end of the resistor R2 is respectively connected with the th end of the resistor R3, the th end of the resistor R4 and the cathode of the diode D2, the second end of the resistor R3 and the anode of the diode D2 are respectively connected with the ground of a power supply, the second end of the resistor R4 is connected with the non-inverting input end of the amplifier U5, the inverting input end of the amplifier U5 is respectively connected with the th end of the resistor R5 and the emitter of the triode Q1, the second end of the resistor R5 is connected with the power supply V5CC2The collector of the transistor Q1 is connected to the th terminal of the resistor R6, the second terminal of the resistor R6 is connected to the th terminal of the resistor R7 and the power supply VCC1The second terminal of the resistor R7 is connected to the collector of the transistor Q2The emitter of the transistor Q1 and the base of the transistor Q2 are respectively connected with the output end of the amplifier U5, the emitter of the transistor Q2 is respectively connected with the 2 th end of the capacitor C2, the 2 th end of the resistor R2 and the non-inverting input end of the amplifier U2, the second end of the capacitor C2 and the second end of the resistor R2 are respectively connected with the power ground, the inverting input end of the amplifier U2 is respectively connected with the 2 th end of the resistor R2 and the 2 th end of the resistor R2, the second end of the resistor R2 is connected with the power ground, the second end of the resistor R2 and the output end of the amplifier U2 are respectively connected with the voltage peak detection signal input end of the controller U2, the output end of the amplifier U2 is connected with the 2 th end of the output loop of the U2, the second end of the output loop of the relay U2 is connected with the NRZ 2 signal input end A2 of the level conversion chip U2, the second end of the relay U2 input loop is connected with the power ground, the collector of the relay U2 is connected with the emitter of the power supply circuit 2, and the emitterCC1The base of the triode Q3 is connected with the switch-off signal output end of the amplifier U3 of the controller U1, the output end of the amplifier U4 is connected with the th end of the output loop of the relay U8, the second end of the output loop of the relay U8 is connected with the NRZ second signal input end A2 of the level shift chip U2, the th end of the input loop of the relay U8 is connected with the power ground, the second end of the input loop of the relay U8 is connected with the emitter of the triode Q4, the collector of the triode Q4 is connected with the power supply VCC1The base of the triode Q4 is connected with the close signal output end of the amplifier U4 of the controller U1, the level amplitude signal output end of the controller U1 is connected with the level amplitude signal input end VCC1 of the level conversion chip U2, the second level amplitude signal output end of the controller U1 is connected with the second level amplitude signal input end VCC2 of the level conversion chip U2, the control signal output end of the controller U1 is connected with the control signal input end OE of the level conversion chip U2, the NRZ signal input end of the controller U1 is connected with the NRZ signal output end VCC1 of the level conversion chip U2, the NRZ second signal input end of the controller U1 is connected with the NRZ second signal output end VCC2 of the level conversion chip U2, the NRZ signal output end B1 of the level conversion chip U2 outputs the adjusted level amplitude modulated NRZ pattern electrical signal, and the level conversion chip U converts the level converted electrical signalThe NRZ second signal output terminal B2 of 2 outputs the adjusted level amplitude adjusted NRZ pattern second electric signal.

The invention also provides a control method of optical transceiver modules based on PAM4 modulation, which comprises the following steps:

s1, the controller U1 obtains peak level amplitude according to the voltage signal collected by the voltage peak detection collection module, determines that the reference th level is input to the inverting input end of the amplifier U3, and inputs the reference second level to the inverting input end of the amplifier U4, wherein the reference th level is K of the peak level amplitude1Multiple, K1∈(1/P,P1/P]P is the peak level amplitude, P1Is a positive number less than P and greater than 1; k with reference to the second level as the amplitude of the peak level2Multiple, K2∈(0,1/P](ii) a In the present embodiment, if the peak level width P is 5V, P is the value1The value is 3, namely the selectable range of the reference th level is 1-3V, the selectable range of the reference second level is 0-1V, and preferably, the reference th level is 2V, and the reference second level is 0.5V.

S2, the controller U1 judges whether the optical signal collected by the photoelectric conversion collection module is PAM4 code type optical signal or NRZ code type optical signal:

if the photoelectric conversion acquisition module acquires a PAM4 code type optical signal, executing step S3;

if the optical signal is an NRZ code type optical signal, the step S4 is executed;

s3, the controller U1 sends cut-off level to the base of the triode Q3 and sends cut-off level to the base of the triode Q4; at the moment, the input loop of the relay U7 is electrified, the output loop of the relay U7 is closed, the input loop of the relay U8 is electrified, and the output loop of the relay U8 is closed;

the photodiode D1 converts the received PAM4 code type optical signal into a current signal, and the current signal is converted into a voltage signal by the resistor R1 and input into the non-inverting input terminal of the amplifier U3 and the non-inverting input terminal of the amplifier U4;

the controller U1 inputs a reference th level to an inverting input terminal of the amplifier U3 and a reference second level to an inverting input terminal of the amplifier U4, and a voltage th signal input to a non-inverting input terminal of the amplifier U3 and a voltage second signal input to a non-inverting input terminal of the amplifier U4 are input to the photoelectric conversion acquisition module, the amplifier U3 compares the reference level with the voltage signal to output an NRZ code th electric signal, the amplifier U4 compares the reference second level with the voltage second signal to output an NRZ code second electric signal, namely, the NRZ code electric signal output by an output terminal of the amplifier U3 is high, and the NRZ code second electric signal output by an output terminal of the amplifier U4 is low;

an NRZ code type electrical signal output by the amplifier U3 and an NRZ code type second electrical signal output by the amplifier U4 are input to the level conversion chip U2, the controller U1 outputs reference third levels for the NRZ code type electrical signal and reference fourth levels for the NRZ code type second electrical signal to the level conversion chip U2, the level conversion chip U2 adjusts the level amplitudes of the NRZ code type electrical signal and the NRZ code type second electrical signal according to the input reference third levels and reference fourth levels, outputs the NRZ code type electrical signal and the NRZ code type second electrical signal after the level amplitudes are adjusted, and realizes output of converting the received PAM4 code type optical signal into an NRZ code type electrical signal;

s4, the controller U1 sends an on/saturation level to the base of transistor Q3 and a cutoff level to the base of transistor Q4; at the moment, the input loop of the relay U7 is electrified, the output loop of the relay U7 is closed, the input loop of the relay U8 is electrified, and the output loop of the relay U8 is disconnected; that is, amplifier U3 has an output and amplifier U4 has no output;

the photodiode D1 converts the received NRZ code type optical signal into a current signal, and the current signal is converted into a voltage signal due to the presence of the resistor R1 and input to the non-inverting input terminal of the amplifier U3;

the controller U1 inputs a th reference level to the inverting input end of the amplifier U3 and a th voltage signal input to the non-inverting input end of the amplifier U3 by the photoelectric conversion acquisition module, and the amplifier U3 compares the th reference level with the th voltage signal to output an NRZ code type th electric signal, namely, the NRZ code type th electric signal output by the output end of the amplifier U3 is high;

the NRZ code electrical signal output from the amplifier U3 is input to the level conversion chip U2, the controller U1 outputs reference third levels for the NRZ code electrical signal to the level conversion chip U2, the level conversion chip U2 adjusts the level amplitude of the NRZ code electrical signal according to the input reference third levels, outputs the NRZ code electrical signal after the level amplitude adjustment, and converts the received NRZ code optical signal into an NRZ code electrical signal.

In preferred embodiments of the present invention, step S4 is:

s4, the controller U1 sends a cut-off level to the base of transistor Q3 and an on/saturation level to the base of transistor Q4; at the moment, the input loop of the relay U7 loses power, the output loop of the relay U7 is disconnected, the input loop of the relay U8 is electrified, and the output loop of the relay U8 is closed; i.e., amplifier U3 has no output, amplifier U4 has an output;

the photodiode D1 converts the received NRZ code type optical signal into a current signal, and the current signal is converted into a voltage signal due to the presence of the resistor R1 and input to the non-inverting input terminal of the amplifier U4;

the controller U1 detects the peak level amplitude obtained by the acquisition module according to the voltage peak value in the step S1; the controller U1 inputs a reference second level to the inverting input terminal of the amplifier U4 and a voltage second signal input to the non-inverting input terminal of the amplifier U4 by the photoelectric conversion acquisition module, and the amplifier U4 compares the reference second level with the voltage second signal to output an NRZ code type second electric signal; namely, the NRZ code type second electric signal output by the output end of the amplifier U4 is low;

the NRZ code type second electrical signal output by the amplifier U4 is input to the level conversion chip U2, the controller U1 outputs reference fourth levels for the NRZ code type second electrical signal to the level conversion chip U2, the level conversion chip U2 adjusts the level amplitude of the NRZ code type second electrical signal according to the input reference fourth levels, and outputs the NRZ code type second electrical signal after the level amplitude adjustment, thereby realizing output of converting the received NRZ code type optical signal into an NRZ code type electrical signal.

In preferable embodiments of the present invention, in step S2, the controller U1 determines whether the optical signal of PAM4 code type or NRZ code type is acquired by the photoelectric conversion acquisition module by determining that the controller U1 determines the optical signal according to the control signal sent to the controller U1 by the upper computer.

In preferred embodiments of the present invention, in step S3 or S4, the controller U1 inputs and outputs the NRZ code th electric signal and the NRZ code second electric signal control signal after level amplitude adjustment to the level conversion chip U2, and the level conversion chip U2 outputs the NRZ code th electric signal and the NRZ code second electric signal after level amplitude adjustment;

the controller U1 inputs and outputs the NRZ pattern th electric signal control signal after the level amplitude adjustment to the level conversion chip U2, and the level conversion chip U2 outputs the NRZ pattern th electric signal after the level amplitude adjustment.

In preferred embodiments of the present invention, the controller U1 inputs and outputs the level-amplitude adjusted NRZ pattern second electric signal control signal to the level conversion chip U2, and the level conversion chip U2 outputs the level-amplitude adjusted NRZ pattern second electric signal.

While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种模拟信号识别与检测系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!