Background
The Optical transceiver module (transceiver) includes a Transmitter Optical Subassembly (TOSA) and a Receiver Optical Subassembly (ROSA). Among them, the light receiving device needs to be subjected to a high frequency test before use.
Sensitivity (Sensitivity) is one of the test indexes of an optical receiver when a high frequency test is performed on an optical receiver device. Sensitivity refers to the minimum Optical Power (AOP) or the minimum Optical Modulation Amplitude (OMA) required by an Optical receiver under a condition that a specified bit error is guaranteed.
At present, when the sensitivity of an optical receiver is determined, an error code tester is utilized to test the error code level of an optical receiving device under different power conditions; then fitting different light powers and corresponding error rates which are incident into the light receiver into a straight line by a direct linear fitting method; then, a sensitivity value or an optical modulation amplitude OMA corresponding to a predetermined error rate is calculated from the straight line.
However, in a trans-impedance amplifier (TIA) having poor linearity in an optical receiver, if the sensitivity is directly obtained using linear fitting, the obtained sensitivity is not accurate.
Disclosure of Invention
The invention aims to provide a high-precision optical receiver sensitivity testing method. In order to achieve the purpose, the invention provides the following technical scheme: the method comprises the following steps:
adjusting a first sensitivity value of an optical receiver, wherein the first sensitivity value enables the error rate of the optical receiver to belong to a first preset range;
adjusting the attenuation of the optical receiver, and recording at least one second sensitivity value obtained after the attenuation is adjusted;
determining a first fitted straight line according to the first sensitivity value and the at least one second sensitivity value;
determining at least two third sensitivity values corresponding to at least two first preset error rates according to the first fitting straight line, wherein each first preset error rate corresponds to one third sensitivity value;
determining a second fitted straight line according to the at least two third sensitivity values;
determining at least one fourth sensitivity value corresponding to at least one second preset bit error rate according to the second fitting straight line;
determining a third fitted straight line according to the at least two third sensitivity values and the at least one fourth sensitivity value;
determining at least one fifth sensitivity value corresponding to at least one third preset bit error rate according to the third fitting straight line;
determining a fourth fitted straight line according to the at least two third sensitivity values, the at least one fourth sensitivity value and the at least one fifth sensitivity value;
and determining the testing sensitivity of the specified bit error rate according to the fourth fitting straight line, wherein the testing sensitivity is the optical power value and/or the optical modulation amplitude corresponding to the specified bit error rate.
Optionally, the adjusting the attenuation of the optical receiver and recording at least one second sensitivity value obtained after the attenuation is adjusted includes:
increasing the attenuation amount by 1 from the original attenuation amount to obtain a first attenuation amount, wherein the first attenuation amount corresponds to one second sensitivity value; the original attenuation is the attenuation corresponding to the first sensitivity value;
and increasing the attenuation amount by 1 from the first attenuation amount to obtain a second attenuation amount, wherein the second attenuation amount corresponds to one second sensitivity value.
Optionally, the determination manner of the fitted straight line is a least square method, and the fitted straight line includes at least one of a first fitted straight line, a second fitted straight line, a third fitted straight line, and the fourth fitted straight line.
Optionally, after determining the test sensitivity with the specified bit error rate according to the fourth fitted straight line, the method further includes:
the following steps are repeatedly executed:
acquiring a real bit error rate corresponding to the test sensitivity;
comparing whether the difference value between the real error rate and the specified error rate is larger than a preset threshold value or not;
when the difference value between the real error rate and the specified error rate is larger than the preset threshold value, determining at least one kth sensitivity value corresponding to at least one jth preset error rate according to an ith fitting straight line, wherein i is larger than or equal to 4, j is larger than or equal to 4, k is larger than or equal to 6, and the jth preset error rate is gradually reduced along with the increase of j;
determining an i +1 th fitted straight line according to the at least two third sensitivity values, the at least one fourth sensitivity value, the at least one fifth sensitivity value and the at least one kth sensitivity value;
and determining the sensitivity when the error rate is the specified error rate according to the (i + 1) th fitting straight line, and stopping until the difference value between the real error rate corresponding to the sensitivity and the specified error rate is less than or equal to the preset threshold value.
Optionally, the first preset range is [2e ]-5,9e-6]。
Optionally, the at least two first preset bit error rates include: 3e-8,3e-9And 3e-10。
Alternatively,the at least one second predetermined bit error rate comprises: 3e-11。
Optionally, the at least one third preset bit error rate includes: 2e-12。
Optionally, the predetermined bit error rate is e-12。
The invention has the beneficial effects that: by after determining the first fitted straight line; continuously determining a second fitting straight line, a third fitting straight line and a fourth fitting straight line according to a plurality of preset error rates on the basis of the first fitting straight line, so that the fitting straight line obtained by the test system continuously approaches to a real fitting straight line corresponding to the specified error rate; the problem that the sensitivity is obtained at one time by linear fitting and the obtained sensitivity is not accurate can be solved; the accuracy of testing the sensitivity of the optical receiver can be improved.
The foregoing description is only an overview of the technical solutions of the present invention, and in order to make the technical solutions of the present invention more clearly understood and to implement them in accordance with the contents of the description, the following detailed description is given with reference to the preferred embodiments of the present invention and the accompanying drawings.
Detailed Description
The following detailed description of embodiments of the present invention is provided in connection with the accompanying drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
First, several terms referred to in the present application will be described.
Error rate: the method is a parameter for measuring the capability of an optical fiber communication system for correctly transmitting symbols, and is characterized by the probability of errors after binary bit streams are transmitted through the system.
BER=m/n
Wherein, BER is bit error rate, m is the number of bits with errors in transmission, and n is the total number of bits.
The bit error rate can be approximately expressed by the following equation:
wherein Q is2Is the signal to noise ratio. The sensitivity versus signal-to-noise ratio is as follows:
wherein i
nIs the input correlated noise of the trans-group amplifier, r
eFor the extinction ratio of the input signal, ρ is the responsivity of the photodiode, Q
2For signal-to-noise ratio, Sen is sensitivity.
In addition
Namely, Q
2Where, then the bit error rate can be expressed by:
fig. 1 is a schematic structural diagram of a system for high-precision optical receiver sensitivity testing according to an embodiment of the present application, where as shown in fig. 1, the system at least includes: a signal generator 110, an optical transceiver module 120, a demultiplexer 130, a variable optical attenuator 140, an optical power meter 150, a multiplexer 160, an optical receiver 170, and a signal receiver 180.
Wherein the signal generator 110 and the signal receiver 180 may be disposed in the same device; alternatively, the present invention may be provided in a different device, which is not limited in this embodiment.
The signal generator 110 is communicatively connected to the optical transceiver module 120 by wire or wirelessly. The signal generator 110 is used to transmit an optical signal to the optical transceiver module 120.
Optionally, an optical coupler is further disposed in the optical transceiver module 120. The optical transceiver module 120 is communicatively connected to the demultiplexer 130 by wire or wirelessly. The optical transceiver module 120 is configured to transmit the received optical signal to the demultiplexer 130.
The demultiplexer 130 is communicatively coupled to the variable optical attenuator 140 and the optical power meter 150 by wire or wirelessly. The demultiplexer 130 is configured to demultiplex the optical signal and send the demultiplexed optical signal to the variable optical attenuator 140 and the optical power meter 150.
Wherein the variable optical attenuator 140 and the optical power meter 150 may be provided in the same device; alternatively, the present invention may be provided in a different device, which is not limited in this embodiment.
The variable optical attenuator 140 is configured to adjust an attenuation amount of the received demultiplexed optical signal; the optical power meter 150 is used to calculate the optical power value after the attenuation amount adjustment.
The optical power meter 150 communicates with the multiplexer 160 by wire or wirelessly.
The variable optical attenuator 140 transmits the attenuated optical signal to the multiplexer 160
The multiplexer 160 is configured to multiplex the received attenuated optical signals and send the multiplexed optical signals to the optical receiver 170.
The multiplexer 160 communicates with the optical receiver 170 by wire or wirelessly.
The optical receiver 170 is configured to send the received optical signal to the signal receiver 180 for bit error rate analysis.
Fig. 2 is a flowchart of a method for testing sensitivity of a high-precision optical receiver according to an embodiment of the present application, and the present application is described by taking the method as an example applied to the system shown in fig. 1. The method at least comprises the following steps:
step 201, adjusting a first sensitivity value of the optical receiver.
The first sensitivity value is such that the bit error rate of the optical receiver falls within a first predetermined range. The first predetermined range is set by the tester, and illustratively, the error rate value in the first predetermined range is greater than a specified error rate, such as: a first predetermined rangeIs [2e ]-5,9e-6]In this embodiment, the setting manner of the first preset range is not limited.
In this embodiment, the sensitivity may be at least one of an optical power value and an optical modulation amplitude.
Step 202, adjusting the attenuation of the optical receiver, and recording at least one second sensitivity value obtained after the attenuation is adjusted.
Schematically, the test system increases the attenuation of the optical receiver by 1 from the original attenuation, obtaining a first attenuation; and increasing the attenuation amount by 1 from the first attenuation amount to obtain a second attenuation amount, wherein the second attenuation amount corresponds to a second sensitivity value. The first attenuation amount corresponds to a second sensitivity value, and the second attenuation amount also corresponds to a second sensitivity value; the raw attenuation is the attenuation corresponding to the first sensitivity value.
The present embodiment is described by taking the number of times of adjusting the attenuation amount of the optical receiver as an example, and the number of times of adjusting the attenuation amount of the optical receiver may be adjusted only once or more in actual implementation, which is not limited in the present embodiment.
Step 203, determining a first fitted straight line according to the first sensitivity value and the at least one second sensitivity value.
Optionally, the test system determines the first fitted straight line according to a least squares method. Illustratively, the first fitting straight line is determined based on a least square method according to a point a (a first sensitivity value, a bit error rate corresponding to the first sensitivity value), a point B (a second sensitivity value 1, a bit error rate corresponding to the second sensitivity value 1), and a point C (a second sensitivity value 2, a bit error rate corresponding to the second sensitivity value 2).
And 204, determining at least two third sensitivity values corresponding to the at least two first preset bit error rates according to the first fitted straight line.
Because the first fitting straight line represents the relationship between the sensitivity and the bit error rate, the third sensitivity value corresponding to each first preset bit error rate can be determined according to the first fitting straight line. Each first preset bit error rate corresponds to a third sensitivity value.
The embodiment does not count the sum of the first preset error ratesThe specific numerical values are limited, and schematically, the first preset bit error rate is 3, which are respectively: 3e-8,3e-9And 3e-10。
And step 205, determining a second fitted straight line according to the at least two third sensitivity values.
Optionally, the test system determines the second fitted straight line according to a least squares method. Schematically, a second fitting straight line is determined based on a least square method according to a point D (a third sensitivity value 1, a first preset error rate 1 corresponding to the third sensitivity value 1), a point E (a third sensitivity value 2, a first preset error rate 2 corresponding to the third sensitivity value 2), and a point F (a third sensitivity value 3, a first preset error rate 3 corresponding to the third sensitivity value 3).
And step 206, determining at least one fourth sensitivity value corresponding to at least one second preset bit error rate according to the second fitted straight line.
Since the second fitting straight line represents the relationship between the sensitivity and the bit error rate, the fourth sensitivity value corresponding to each second preset bit error rate can be determined according to the second fitting straight line. Each second preset bit error rate corresponds to a fourth sensitivity value.
The second preset error rate is smaller than the first preset error rate, the number and specific numerical values of the second preset error rate are not limited in this embodiment, schematically, the second preset error rate is 1, and the numerical values are: 3e-11。
Step 207, determining a third fitted straight line according to the at least two third sensitivity values and the at least one fourth sensitivity value.
Optionally, the test system determines the third fitted straight line according to a least squares method. Schematically, a third fitting straight line is determined based on a least square method according to a point D (a third sensitivity value 1, a first preset error rate 1 corresponding to the third sensitivity value 1), a point E (a third sensitivity value 2, a first preset error rate 2 corresponding to the third sensitivity value 2), a point F (a third sensitivity value 3, a first preset error rate 3 corresponding to the third sensitivity value 3), and a point G (a fourth sensitivity value, a second preset error rate corresponding to the fourth sensitivity value).
And step 208, determining at least one fifth sensitivity value corresponding to at least one third preset bit error rate according to the third fitted straight line.
Since the third fitting straight line represents the relationship between the sensitivity and the bit error rate, the fifth sensitivity value corresponding to each third preset bit error rate can be determined according to the third fitting straight line. Each third preset bit error rate corresponds to a fifth sensitivity value.
The third preset error rate is smaller than the second preset error rate, the number and specific numerical values of the third preset error rate are not limited in this embodiment, schematically, the third preset error rate is 1, and the numerical values are: 2e-12。
And step 209, determining a fourth fitted straight line according to the at least two third sensitivity values, the at least one fourth sensitivity value and the at least one fifth sensitivity value.
Optionally, the test system determines the fourth fitted straight line according to a least squares method. Schematically, a fourth fitting straight line is determined based on a least square method according to a point D (a third sensitivity value 1, a first preset error rate 1 corresponding to the third sensitivity value 1), a point E (a third sensitivity value 2, a first preset error rate 2 corresponding to the third sensitivity value 2), a point F (a third sensitivity value 3, a first preset error rate 3 corresponding to the third sensitivity value 3), a point G (a fourth sensitivity value, a second preset error rate corresponding to the fourth sensitivity value), and a point H (a fifth sensitivity value, a third preset error rate corresponding to the fifth sensitivity value).
And step 210, determining the testing sensitivity of the specified bit error rate according to the fourth fitted straight line.
And the test sensitivity is an optical power value and/or an optical modulation amplitude corresponding to the specified bit error rate.
The prescribed bit error rate is smaller than the third bit error rate, the present embodiment does not limit the value of the prescribed bit error rate,
in summary, in the method for testing the sensitivity of the high-precision optical receiver provided by the embodiment, after the first fitted straight line is determined; continuously determining a second fitting straight line, a third fitting straight line and a fourth fitting straight line according to a plurality of preset error rates on the basis of the first fitting straight line, so that the fitting straight line obtained by the test system continuously approaches to a real fitting straight line corresponding to the specified error rate; the problem that the sensitivity is obtained at one time by linear fitting and the obtained sensitivity is not accurate can be solved; the accuracy of testing the sensitivity of the optical receiver can be improved.
Optionally, based on the above embodiment, after step 210, the test system may further repeatedly perform the following steps: acquiring a real bit error rate corresponding to the test sensitivity; comparing whether the difference value between the real error rate and the specified error rate is larger than a preset threshold value or not; when the difference value between the real error rate and the specified error rate is larger than a preset threshold value, determining at least one kth sensitivity value corresponding to at least one jth preset error rate according to an ith fitting straight line, wherein i is larger than or equal to 4, j is larger than or equal to 4, k is larger than or equal to 6, and the jth preset error rate is gradually reduced along with the increase of j; determining an i +1 th fitted straight line according to the at least two third sensitivity values, the at least one fourth sensitivity value, the at least one fifth sensitivity value and the at least one kth sensitivity value; and determining the sensitivity when the error rate is the specified error rate according to the (i + 1) th fitting straight line, and stopping until the difference value between the real error rate corresponding to the sensitivity and the specified error rate is less than or equal to a preset threshold value.
In this embodiment, the fitting straight line is generated more times, so that the fitting straight line approaches to a true fitting straight line corresponding to a specified bit error rate, and accuracy in testing the sensitivity of the optical receiver can be improved.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.