CN1531226A - Apparatus and method for analog optical signal code error - Google Patents

Apparatus and method for analog optical signal code error Download PDF

Info

Publication number
CN1531226A
CN1531226A CNA031069975A CN03106997A CN1531226A CN 1531226 A CN1531226 A CN 1531226A CN A031069975 A CNA031069975 A CN A031069975A CN 03106997 A CN03106997 A CN 03106997A CN 1531226 A CN1531226 A CN 1531226A
Authority
CN
China
Prior art keywords
digital signal
signal
error code
clock
converted
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
CNA031069975A
Other languages
Chinese (zh)
Other versions
CN100407601C (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN031069975A priority Critical patent/CN100407601C/en
Publication of CN1531226A publication Critical patent/CN1531226A/en
Application granted granted Critical
Publication of CN100407601C publication Critical patent/CN100407601C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

A device simulating light signal error code and method, comprises optoelectronic switching module used in receiving light signal and converting it into binary digital signal, the clock picking up module used in picking up the clock signal having same rate with the digital signal, the multi-path error code generating module used in generating the digital signal needed by testing, optoelectronic switching module used in converting the binary digital signal into optical signal and outputting it. This invention not only implements the stimulation for optical signal error code to test the performance of communication system, but also sets the simulative error code rates precisely, has large simulative range of error code rate, and the simulative error code rate will not be changed by environmental influence.

Description

A kind of apparatus and method of analog optical signal error code
Technical field
The present invention relates to the communications field, relate to a kind of apparatus and method of analog optical signal error code specifically, so that communication system is carried out performance test.
Background technology
Present many communication systems often will communicate with light signal, in this type systematic, and the influence that the error code that often needs the checking light signal to introduce in transmission course produces whole system.Because of light signal when transmitting, might produce error code because of factor such as chromatic dispersion, optical power attenuation, transmitted power fluctuation, receiving sensitivity fluctuation, optical signal transceiver clock are asynchronous, optical transmission medium is interfered destruction, and error code is inevitable under imperfect environment.Therefore when this type of communication system of design, need the performance of verification system under the different optical transmission error rates and the optical transmission error rate of the maximum that can tolerate of system.
And prior art be by utilize optical attenuator to increase decay, increase long haul optical transmission medium, artificial increasing disturb, and as plugging the optical transmission medium connector repeatedly fast, utilizes optical switch to carry out repeatedly that simulation that method such as switch is similar to realizes.
Obviously, the use of above-mentioned prior art is very inconvenient, has a lot of deficiencies, mainly comprises:
1, because the difference between different optical transceiver modules, the optical transmission error rate and light decrement, optical transmission medium length there is no clear and definite corresponding relation, when needing simulated bit error and do not know great attenuation of needs and optical transmission medium length, can't simulate the error rate of appointment;
2, since optical transceiver module transmitting power and receiving sensitivity can be in time, factors such as ambient temperature, supply power voltage fluctuate, even neither a determined value to the identical error rate that decay simulated of same optical module increase;
3, because the attenuation of existing optical attenuator is difficult to accomplish fine setting, optical transmission medium length is difficult to adjust more, and the error rate can't be accomplished fine setting when simulated bit error;
4, with artificial plug optical transmission medium or optical switch the break-make of optical transmission medium is controlled because response speed is slow, can only be simulated a large amount of error bursts, uncontrollable equally to the error rate.
Technology contents
At said circumstances, the present invention proposes a kind of apparatus and method of analog optical signal error code, can be efficiently, accurately, stable, communication system is carried out the validation test of transmission error code influence easily.
To achieve these goals, the present invention at first provides a kind of device of analog optical signal error code, and this device comprises:
Photoelectric conversion module is used for receiving optical signals and is converted into digital signal;
Clock Extraction module: be used to extract the clock signal identical with data signal rate;
Multichannel error code generation module is used to produce and comprises the digital signal of testing required error code;
Electrooptic conversion module is used for digital signal is converted to light signal;
After light signal enters this photoelectric conversion module and is converted into digital signal, enter this Clock Extraction module to extract the clock signal identical with data signal rate, enter described multichannel error code generation module simultaneously by the digital signal of this photoelectric conversion module output and the clock signal of exporting by this Clock Extraction module, generation comprises the digital signal of testing required error code, this digital signal is converted to light signal by described electrooptic conversion module, and output.
Said apparatus also further comprises:
Serial/parallel modular converter is used for the serial digital signal of two-forty is converted to the parallel digital signal of low rate;
Clock frequency division module is used for the clock signal frequency division is the clock signal identical with parallel digital signal speed;
Parallel/serial modular converter is used for the parallel digital signal of low rate is reduced to the serial digital signal of two-forty;
Enter this serial/parallel modular converter by the digital signal of described photoelectric conversion module output and carry out the conversion of digital signal, and enter the frequency division that this clock frequency division module carries out clock signal by the clock signal that described Clock Extraction module extracts, digital signal after the conversion and clock signal enter described multichannel error code generation module, enter the frequency retrieval that this parallel/serial modular converter carries out digital signal and clock signal by digital signal of testing required error code comprising of its output and clock signal, the digital signal after the recovery enters electrooptic conversion module to convert light signal output to.
Described multichannel error code generation module is made up of several single channel error code generation modules, and single channel error code generation module is made up of XOR gate, pseudorandom number generator, comparator, error rate setting apparatus, the error rate that the pseudo-random number sequence that is produced by this pseudorandom number generator and this error rate setting apparatus are set enters described comparator simultaneously and compares, comparative result that is produced by this comparator and digital signal value enter XOR gate and carry out XOR, and the result that generates exports as digital signal.
The present invention has also proposed a kind of method of analog optical signal error code simultaneously, comprises following steps:
A, receiving optical signals are converted into digital signal;
B, the extraction clock signal identical with data signal rate;
C, under the control of clock signal, by the error rate that sets digital signal is disturbed with generation to comprise the digital signal of testing required error code;
D, the digital signal of testing required error code that comprises that is produced is converted to light signal, and output.
Between described step b and described step c, also comprise step bc:
The speed of bc, judgement digital signal, when if this speed is low, go to step c, otherwise, the serial digital signal of two-forty is converted to the parallel digital signal of low rate, and the clock signal identical with this serial digital signal speed that will extract simultaneously is converted to the clock signal identical with parallel digital signal speed;
Between described step c and steps d, also comprise step cd:
If judge among the cd step bc when speed of digital signal is low, go to steps d, otherwise, with the digital signal of testing required error code is converted to two-forty by the parallel digital signal of low rate the serial digital signal that comprises that is produced.
The speed of the parallel digital signal after being converted among the described step bc becomes the ratio of former serial digital signal speed and parallel data line width, the frequency of the clock signal after being converted becomes the ratio of original clock signal frequency and parallel data line width, and the speed of the serial digital signal after being converted among the described step cd becomes the product of former parallel digital signal speed and parallel data line width.
Described step c specifically comprises following steps:
C1, generation pseudo-random number sequence and the required error rate set point of setting test;
C2, the two is compared;
C3, digital signal value and comparative result are carried out XOR comprise the digital signal of testing required error code with generation.
The method that compares among the described step c2 is to adopt, if described pseudo-random number sequence is less than or equal to described error rate set point, then comparative result is 1, otherwise comparative result is 0.
Adopt technical solutions according to the invention, not only can finish the performance of the simulation of light signal error code, and the error rate of being simulated can be set accurately with testing communication system; The error rate scope that can simulate is big, and from 0 to 100%; The error rate of simulation can not change because of the influence of environment; Make testing efficiency improve greatly; Reduced the cost of test.
Introduce the present invention in detail below in conjunction with description of drawings and specific implementation.
Description of drawings
Fig. 1 is the The general frame of the device of the described a kind of analog optical signal error code of the embodiment of the invention;
Fig. 2 is the structured flowchart of single channel error code generation module in the device of the described a kind of analog optical signal error code of the embodiment of the invention;
Fig. 3 is the method flow diagram of the described a kind of analog optical signal error code of the embodiment of the invention;
Fig. 4 is the flow chart of step 3 in the method for a kind of analog optical signal error code described in the embodiment of the invention.
Specific implementation
Be illustrated in figure 1 as the device of embodiment of the invention analog optical signal error code, its composition comprises:
Photoelectric conversion module 1 is used for receiving optical signals and is converted into binary digital signal;
Serial/parallel modular converter 2 is used for the serial digital signal of two-forty is converted to the parallel digital signal of low rate;
Clock Extraction module 3 is used to extract the clock signal identical with serial digital signal speed;
Clock frequency division module 4 is used for the clock signal frequency division is the clock signal identical with parallel digital signal speed;
Multichannel error code generation module 5 is used to produce and comprises the digital signal of testing required error code;
Parallel/serial modular converter 6 is used for the parallel digital signal of low rate is reduced to the serial digital signal of two-forty;
Electrooptic conversion module 7 is used for digital signal is converted to light signal, and output.
Wherein, described multichannel error code generation module 5 is made up of n single channel error code generation module 51, and single channel error code generation module 51 is made up of XOR gate 511, pseudorandom number generator 512, comparator 513, error rate setting apparatus 514, as shown in Figure 2.
The parallel data line width of supposing in the present embodiment to be adopted is n, and the light signal speed that is received is f.
Present embodiment is used for optical fiber telecommunications system such as gigabit Ethernet are carried out the validation test of transmission error code influence, and it is connected on the optical fiber into the optical fiber telecommunications system input optical signal.The method of the described a kind of analog optical signal error code of present embodiment comprises following steps:
One, receiving optical signals is converted into digital signal.
Receive the light signal on the optical fiber and be converted into serial digital signal by described photoelectric conversion module 1, the speed of the serial digital signal after be converted this moment is f.
Two, the extraction clock signal identical with data signal rate.
3 pairs of digital signals by photoelectric conversion module 1 output of Clock Extraction module are carried out the extraction of clock signal.
Three, judge the speed of digital signal, when if this speed is low, go to step 4, otherwise, the serial digital signal of two-forty is converted to the parallel digital signal of low rate, and the clock signal identical with this serial digital signal speed that will extract simultaneously is converted to the clock signal identical with parallel digital signal speed.
Serial/parallel modular converter 2 is converted to the parallel digital signal of low rate with the serial digital signal of the two-forty that receives, and its speed becomes the ratio of former serial digital signal speed and parallel data line width, i.e. f/n; The frequency inverted that clock frequency division module 4 is responsible for the clock signal that will be extracted by Clock Extraction module 3 is the ratio of original clock signal frequency and parallel data line width, i.e. f/n.
Four, under the control of clock signal, by the error rate that sets digital signal is disturbed with generation to comprise the digital signal of testing required error code.Specifically be divided into following three steps:
1, produces pseudo-random number sequence and the required error rate set point of setting test;
Under the control of clock signal, each single channel error code generation module 51 in the multichannel error code generation module 5 is each parallel digital signal position of Synchronous Processing respectively, generating a speed by the pseudorandom number generator in each single channel error code generation module 51 511 is f/n, the pseudo-random number sequence A of scope between 1 to 2^x-1, wherein x is the figure place of pseudo-random number sequence, and error rate setting apparatus 512 is set a ber value B.
2, the two is compared;
Obtain pseudo-random number sequence A and ber value B by comparator 513, and the two is compared, if A≤B, test result C=1 then, otherwise C=0.
3, digital signal value and comparative result are carried out XOR and comprise the digital signal of testing required error code with generation.
Digital signal value and enter XOR gate 514 by the comparative result that comparator 513 produces and carry out XOR, when C=0, the output of XOR gate 514 equals input, when C=1, the output of XOR gate 514 with import opposite.
The error rate R=B/ (2^x-1) * 100% of the digital signal of XOR gate 514 outputs, the size that changes B just can change error rate R, and the error rate meets normal distribution, when B=0, R=0; When B=2^x-1, R=100%.
If judge in five step 3 when speed of digital signal is low, go to step 6, otherwise, with the digital signal of testing required error code is converted to two-forty by the parallel digital signal of low rate the serial digital signal that comprises that is produced.
Parallel/serial modular converter 6 will be by the digital signal of testing required error code is converted to two-forty by the parallel digital signal of low rate the serial digital signal that comprises of multichannel error code generation module 5 generations, its speed becomes the product of former parallel digital signal speed and parallel data line width, promptly is reduced to f.
Six, the digital signal of testing required error code that comprises that is produced is converted to light signal, and output.
Electrooptic conversion module 7 will be converted to light signal by the digital signal of testing required error code that comprises that multichannel error code generation module 5 produces, and export optical fiber telecommunications system to, use for its performance of test.
Present embodiment is connected to the input of communication system in actual applications, disturbs the generation error code with the light signal to input, with the performance of validation test communication system under the different optical transmission error rates and the optical transmission error rate of the maximum that can tolerate of system.If when the optical signal frequency that receives is low, can omit wherein serial/parallel modular converter, clock frequency division module and parallel/serial modular converter.

Claims (9)

1, a kind of device of analog optical signal error code is characterized in that, this device comprises:
Photoelectric conversion module is used for receiving optical signals and is converted into digital signal;
Clock Extraction module: be used to extract the clock signal identical with data signal rate;
Multichannel error code generation module is used to produce and comprises the digital signal of testing required error code;
Electrooptic conversion module is used for digital signal is converted to light signal;
After light signal enters this photoelectric conversion module and is converted into digital signal, enter this Clock Extraction module to extract the clock signal identical with data signal rate, enter described multichannel error code generation module simultaneously by the digital signal of this photoelectric conversion module output and the clock signal of exporting by this Clock Extraction module, generation comprises the digital signal of testing required error code, this digital signal is converted to light signal by described electrooptic conversion module, and output.
2, the device of a kind of analog optical signal error code as claimed in claim 1 is characterized in that, this device also further includes:
Serial/parallel modular converter is used for the serial digital signal of two-forty is converted to the parallel digital signal of low rate;
Clock frequency division module is used for the clock signal frequency division is the clock signal identical with parallel digital signal speed;
Parallel/serial modular converter is used for the parallel digital signal of low rate is reduced to the serial digital signal of two-forty;
Enter this serial/parallel modular converter by the digital signal of described photoelectric conversion module output and carry out the conversion of digital signal, and enter the frequency division that this clock frequency division module carries out clock signal by the clock signal that described Clock Extraction module extracts, digital signal after the conversion and clock signal enter described multichannel error code generation module, enter the frequency retrieval that this parallel/serial modular converter carries out digital signal and clock signal by digital signal of testing required error code comprising of its output and clock signal, the digital signal after the recovery enters electrooptic conversion module and converts light signal output to.
3, the device of a kind of analog optical signal error code as claimed in claim 1 or 2 is characterized in that, described multichannel error code generation module is made up of several single channel error code generation modules.
4, the device of a kind of analog optical signal error code as claimed in claim 3, it is characterized in that, described single channel error code generation module is made up of XOR gate, pseudorandom number generator, comparator, error rate setting apparatus, the pseudo-random number sequence that produces by this pseudorandom number generator and enter described comparator by the error rate that this error rate setting apparatus is set and compare, comparative result that is produced by this comparator and digital signal value enter XOR gate and carry out XOR, and the result who is generated exports as digital signal.
5, a kind of method of analog optical signal error code is characterized in that, the method includes the steps of:
A, receiving optical signals are converted into digital signal;
B, the extraction clock signal identical with data signal rate;
C, under the control of clock signal, by the error rate that sets digital signal is disturbed with generation to comprise the digital signal of testing required error code;
D, the digital signal of testing required error code that comprises that is produced is converted to light signal, and output.
6, the method for a kind of analog optical signal error code as claimed in claim 5 is characterized in that,
Between described step b and described step c, also comprise step bc:
The speed of bc, judgement digital signal, when if this speed is low, go to step c, otherwise, the serial digital signal of two-forty is converted to the parallel digital signal of low rate, and the clock signal identical with this serial digital signal speed that will extract simultaneously is converted to the clock signal identical with parallel digital signal speed;
Between described step c and steps d, also comprise step cd:
If judge among the cd step bc when speed of digital signal is low, go to steps d, otherwise, with the digital signal of testing required error code is converted to two-forty by the parallel digital signal of low rate the serial digital signal that comprises that is produced.
7, the method for a kind of analog optical signal error code as claimed in claim 6, it is characterized in that, the speed of the parallel digital signal after being converted among the described step bc becomes the ratio of former serial digital signal speed and parallel data line width, the frequency of the clock signal after being converted becomes the ratio of original clock signal frequency and parallel data line width, and the speed of the serial digital signal after being converted among the described step cd becomes the product of former parallel digital signal speed and parallel data line width.
8, the method for a kind of analog optical signal as claimed in claim 5 transmission error code in optical fiber is characterized in that described step c specifically comprises following steps:
C1, generation pseudo-random number sequence and the required error rate set point of setting test;
C2, the two is compared;
C3, digital signal value and comparative result are carried out XOR comprise the digital signal of testing required error code with generation.
9, the method for a kind of analog optical signal error code as claimed in claim 8, it is characterized in that, among the step c2 of described step c the two is compared also and comprise, if described pseudo-random number sequence is less than or equal to described error rate set point, then comparative result is 1, otherwise comparative result is 0.
CN031069975A 2003-03-16 2003-03-16 Apparatus and method for analog optical signal code error Expired - Lifetime CN100407601C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN031069975A CN100407601C (en) 2003-03-16 2003-03-16 Apparatus and method for analog optical signal code error

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN031069975A CN100407601C (en) 2003-03-16 2003-03-16 Apparatus and method for analog optical signal code error

Publications (2)

Publication Number Publication Date
CN1531226A true CN1531226A (en) 2004-09-22
CN100407601C CN100407601C (en) 2008-07-30

Family

ID=34282865

Family Applications (1)

Application Number Title Priority Date Filing Date
CN031069975A Expired - Lifetime CN100407601C (en) 2003-03-16 2003-03-16 Apparatus and method for analog optical signal code error

Country Status (1)

Country Link
CN (1) CN100407601C (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257418B (en) * 2008-03-31 2011-03-30 华为技术有限公司 Method and apparatus for generating error code and system for realizing error code insertion
CN101442385B (en) * 2007-11-24 2011-10-19 苏州旭创科技有限公司 Test device of digital communication error rate
TWI583974B (en) * 2016-04-07 2017-05-21 王中庸 Automatic Test and Measurement Apparatus
CN107689865A (en) * 2016-08-05 2018-02-13 上海国盾量子信息技术有限公司 Simulated photoelectric method, method of testing and device for quantum key distribution system
CN111651311A (en) * 2020-06-29 2020-09-11 中国人民解放军国防科技大学 Configurable physical layer error code generation device, chip and equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5872790A (en) * 1997-02-28 1999-02-16 International Business Machines Corporation ECC memory multi-bit error generator
JPH11266200A (en) * 1998-03-18 1999-09-28 Fujitsu Ltd Optical fiber communication method and device thereof and system used for execution of the communication method
CN1190913C (en) * 2002-08-06 2005-02-23 宜捷威科技股份有限公司 Test system and method for fast light transmission module

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101442385B (en) * 2007-11-24 2011-10-19 苏州旭创科技有限公司 Test device of digital communication error rate
CN101257418B (en) * 2008-03-31 2011-03-30 华为技术有限公司 Method and apparatus for generating error code and system for realizing error code insertion
TWI583974B (en) * 2016-04-07 2017-05-21 王中庸 Automatic Test and Measurement Apparatus
CN107689865A (en) * 2016-08-05 2018-02-13 上海国盾量子信息技术有限公司 Simulated photoelectric method, method of testing and device for quantum key distribution system
CN107689865B (en) * 2016-08-05 2024-02-02 上海国盾量子信息技术有限公司 Photoelectric simulation method, test method and device for quantum key distribution system
CN111651311A (en) * 2020-06-29 2020-09-11 中国人民解放军国防科技大学 Configurable physical layer error code generation device, chip and equipment
CN111651311B (en) * 2020-06-29 2023-07-11 中国人民解放军国防科技大学 Configurable physical layer error code generating device, chip and equipment

Also Published As

Publication number Publication date
CN100407601C (en) 2008-07-30

Similar Documents

Publication Publication Date Title
CN102637122A (en) Method and system for generating truly random numbers based on parity of physical noises
CN1265565C (en) Fiber-optic transceiver for long distance data communications
CN1109476C (en) CDMA mobile station apparatus and CDMA transmission method
CN105099553B (en) A kind of visible light communication method of reseptance and its system based on neuroid
CN1154309C (en) Encoder and decoder
CN1886688A (en) A low latency optical memory bus
CN103455306A (en) Double-line parallel high-speed random number generating device based on semiconductor ring laser
CN1531226A (en) Apparatus and method for analog optical signal code error
CN102244551B (en) Device and method for generating optical code signal
CN1780145A (en) Method and device for producing true random numbers
CN208386549U (en) A kind of SFP module test device
CN203480497U (en) Two-way parallel high-speed random number generation device based on semiconductor ring laser
CN1398060A (en) Test system and method for fast light transmission module
CN108040027A (en) VLC system OOFDM modulator approaches based on the amplification of Hadamard matrixes
CN107655570A (en) A kind of synchronous mechanically moving template type Hadamard spectrometers
CN106230412B (en) It is a kind of to integrate push-pull type narrow pulse driver towards silicon optical switch
CN1324922C (en) Detecting device for base band signal processing sub system in CDMA communication system
Chen et al. Experimental Demonstration of Real-Time in-Vehicle Optical Signal Reception Using FPGA and GPU
CN1725672A (en) Analog test method for stability of optical communication equipment system
CN103078723A (en) Calibration method and device for multiplexer data delay based on non-integral-multiple parallel-serial mapping
CN106921368A (en) The tunable pulse signal generator of array output
CN102723985B (en) Bandwidth optimization and design method for optical frequency code chips of spectral amplitude encoding/decoding system
CN1124654C (en) Avalanche photodiode optical receiver
CN102571209B (en) Optical fiber communication device of laser marking control system and coding method
CN219068201U (en) Optical transmission 1394B error rate testing device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Assignee: ZHUHAI ROSSINI WATCH INDUSTRY Ltd.

Assignor: HUAWEI TECHNOLOGIES Co.,Ltd.

Contract fulfillment period: 2008.11.25 to 2013.11.24

Contract record no.: 2009440001256

Denomination of invention: Apparatus and method for analog optical signal code error

Granted publication date: 20080730

License type: Exclusive license

Record date: 20090814

LIC Patent licence contract for exploitation submitted for record

Free format text: EXCLUSIVE LICENSE; TIME LIMIT OF IMPLEMENTING CONTACT: 2008.11.25 TO 2013.11.24; CHANGE OF CONTRACT

Name of requester: ZHUHAI ROSSINI WATCH INDUSTRY CO., LTD.

Effective date: 20090814

CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20080730