CN105099548B - A kind of method for detecting low speed optic communication bit rate - Google Patents
A kind of method for detecting low speed optic communication bit rate Download PDFInfo
- Publication number
- CN105099548B CN105099548B CN201510489735.XA CN201510489735A CN105099548B CN 105099548 B CN105099548 B CN 105099548B CN 201510489735 A CN201510489735 A CN 201510489735A CN 105099548 B CN105099548 B CN 105099548B
- Authority
- CN
- China
- Prior art keywords
- pulse width
- bit rate
- optic communication
- minimum
- counting
- 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.)
- Active
Links
- 238000004891 communication Methods 0.000 title claims abstract description 26
- 238000000034 method Methods 0.000 title claims abstract description 14
- 238000006243 chemical reaction Methods 0.000 claims abstract description 13
- 238000001514 detection method Methods 0.000 claims abstract description 6
- 230000000630 rising effect Effects 0.000 claims abstract description 4
- 230000003287 optical effect Effects 0.000 claims description 10
- 230000001960 triggered effect Effects 0.000 claims description 6
- 238000004321 preservation Methods 0.000 claims description 4
- 230000005540 biological transmission Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000001681 protective effect Effects 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 238000004080 punching Methods 0.000 description 1
Landscapes
- Optical Communication System (AREA)
- Dc Digital Transmission (AREA)
Abstract
The invention discloses a kind of method for detecting low speed optic communication bit rate, including:The rising edge and trailing edge of the electric impulse signal exported with photoelectric conversion module are counted and carry out pulse width counting;Pulse width count history minimum value is obtained by counting to be compared with pulse width before, and then optic communication bit rate is calculated by pulse width count history minimum value.The present invention can be relatively low into the detection for realizing low speed optic communication bit rate originally with compared with plain mode.
Description
Technical field
The present invention relates to a kind of method for detecting low speed optic communication bit rate.
Background technology
China Nanfang Grid Co., Ltd is in application patented technology (a kind of protection system for power line and transmission relay
The method of protection signal, Authorization Notice No.:CN101807819B during), find to exist due to protective relaying device software and hardware
The situation that mistake causes 2M optical interface communication abnormalities is set:The bit rate of the direct-connected mode of 4M fibre cores is 4Mbps, the communication of 2M optical interfaces
Mode bit rate is 2Mbps;Speed is mismatched and causes protective relaying device and SDH transmission equipment with 2M optical interfaces can not to connect
It is logical.
Typically encountering Similar Problems has two kinds of solutions:First, believed by optical Oscilloscope (light ophthalmograp) Direct Acquisition light
Feel the pulse punching, minimum pulse width T is judged by human eyemin, by 1/TminConversion obtains bit rate;But existing smooth oscillography
Device tests minimum test rate and can only achieve 100Mbps;2nd, the capture photoelectric conversion module output of equipment ordinary oscilloscope is taken apart
Electric signal pulse, judge minimum pulse width T by human eyemin, by 1/TminConversion obtains bit rate.Due to needing to tear open
Open up standby, this operation is typically not allowed to;And eye-observation easily omits the pulse of instantaneous abrupt change, causes bit rate meter
Calculate result mistake.
In sum, bit rate directly can not be detected on low-speed optical interface with existing instrument and equipment.
The content of the invention
The technical problems to be solved by the invention, are just to provide a kind of method for detecting low speed optic communication bit rate, can be straight
It is connected on and bit rate is detected on low-speed optical interface.
Above-mentioned technical problem is solved, the technical solution adopted by the present invention is:
A kind of method for detecting low speed optic communication bit rate, it is characterized in that comprising the following steps:
S1, described low speed optic communication pulse signal is converted into after electric impulse signal and clock by photoelectric conversion module
Signal is input into a pulse width counter together, and pulse width counter then exports current count value respectively to a comparator and
Minimum pulse width register, the output history minimum value of minimum pulse width register to described comparator, comparator
Output then feeds back to minimum pulse width register;
S2, initializes minimum pulse width register and pulse width counter:Minimum pulse width register is preserved
Initial value be set to pulse width counter peak value (if pulse width counter be 8 digit counters, 255) peak value is;Pulse
Width counter is zeroed out;
S3, the rising edge of the electric impulse signal exported with photoelectric conversion module is triggered and starts counting up clock trigger pulse width
Counter is started counting up;
S4, the trailing edge of the electric impulse signal exported with photoelectric conversion module is triggered and stops counting clock trigger pulse width
Counter stops counting;
S5, pulse width counter stop count after, by comparator pulse-width counter current count value with
The history minimum value that minimum pulse width register is preserved is compared:
If currency is more than history minimum value, any operation is not carried out;Conversely, currency write-in minimum pulse is wide
Degree register, as new history minimum value;
After the completion of comparing, pulse-width counter is zeroed out, repeat step S3, S4 and S5, persistently captures light pulse
Minimum widith, until capture end cycle;
S6, by the preservation history minimum value of minimum pulse width register, calculates optic communication bit rate.
Counting clock frequency in described step S3 and step S4 is the 65.536MHz of 32 times of 2M optical interfaces bit rate
Clock.
The formula of the calculating optic communication bit rate described in described step S6 is:65.536MHz removes history minimum value.
Described capture periodic regime is 1 second to 10 seconds.
The beneficial effects of the invention are as follows:It is automatic to capture signal pulse minimum widith incessantly, it is to avoid human eye judges may
The mistake for causing;And its implementation process is simple, can be with relatively low into the detection for realizing low speed optic communication bit rate originally.
Brief description of the drawings
Fig. 1 is a kind of theory diagram for detecting low speed optic communication bit rate method of the present invention.
Specific embodiment
Specific embodiment of the invention is described further below in conjunction with the accompanying drawings.
Reference picture 1, detection low speed optic communication bit rate method of the invention, including:
S1, described low speed optic communication pulse signal is converted into after electric impulse signal and clock by photoelectric conversion module
Signal is input into a pulse width counter together, and pulse width counter then exports current count value respectively to a comparator and
Minimum pulse width register, the output history minimum value of minimum pulse width register to described comparator, comparator
Output then feeds back to minimum pulse width register;
S2, initializes minimum pulse width register and pulse width counter:Minimum pulse width register is preserved
Initial value be set to pulse width counter peak value (if pulse width counter be 8 digit counters, 255) peak value is;Pulse
Width counter is zeroed out;
S3, the rising edge of the electric impulse signal exported with photoelectric conversion module is triggered and starts counting up clock trigger pulse width
Counter is started counting up;Counting clock frequency is the 65.536MHz clocks of 32 times of 2M optical interfaces bit rate;
S4, the trailing edge of the electric impulse signal exported with photoelectric conversion module is triggered and stops counting clock trigger pulse width
Counter stops counting;Counting clock frequency is the 65.536MHz clocks of 32 times of 2M optical interfaces bit rate;
S5, pulse width counter stop count after, by comparator pulse-width counter current count value with
The history minimum value that minimum pulse width register is preserved is compared:
If currency is more than history minimum value, any operation is not carried out;Conversely, currency write-in minimum pulse is wide
Degree register, as new history minimum value;
After the completion of comparing, pulse-width counter is zeroed out, repeat step S3, S4 and S5, persistently captures light pulse
Minimum widith, until capture end cycle (the capture cycle can be set as 1 second to 10 seconds according to user's request);
S6, by the preservation history minimum value of minimum pulse width register, calculates optic communication bit rate:
Formula is:65.536MHz removes history minimum value.
Claims (4)
1. it is a kind of detect low speed optic communication bit rate method, it is characterized in that comprising the following steps:
S1, low speed optic communication pulse signal is defeated together with clock signal after photoelectric conversion module is converted into electric impulse signal
Enter a pulse width counter, it is wide to a comparator and a minimum pulse respectively that pulse width counter then exports current count value
Degree register, the history minimum value of minimum pulse width register output to described comparator, then feed back by the output of comparator
Return minimum pulse width register;
S2, initializes minimum pulse width register and pulse width counter:By the first of minimum pulse width register preservation
Value is set to the peak value of pulse width counter;Pulse width counter is zeroed out;
S3, the rising edge of the electric impulse signal exported with photoelectric conversion module is triggered and starts counting up the counting of clock trigger pulse width
Device is started counting up;
S4, the trailing edge of the electric impulse signal exported with photoelectric conversion module is triggered and stops the counting of counting clock trigger pulse width
Device stops counting;
S5, after pulse width counter stops counting, by comparator pulse-width counter current count value and minimum
The history minimum value that pulse width register is preserved is compared:
If currency is more than history minimum value, any operation is not carried out;Conversely, currency write-in minimum pulse width is posted
Storage, as new history minimum value;
After the completion of comparing, pulse-width counter is zeroed out, repeat step S3, S4 and S5, persistently captures optic communication pulse
Signal minimum widith, until capture end cycle;
S6, by the preservation history minimum value of minimum pulse width register, calculates optic communication bit rate.
2. it is according to claim 1 detection low speed optic communication bit rate method, it is characterized in that:Described step S3 and step
Counting clock frequency in rapid S4 is the 65.536MHz clocks of 32 times of 2M optical interfaces bit rate.
3. it is according to claim 2 detection low speed optic communication bit rate method, it is characterized in that:Described capture cycle model
Enclose is 1 second to 10 seconds.
4. it is according to claim 3 detection low speed optic communication bit rate method, it is characterized in that:In described step S6
Calculating optic communication bit rate formula is:65.536MHz removes history minimum value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510489735.XA CN105099548B (en) | 2015-08-11 | 2015-08-11 | A kind of method for detecting low speed optic communication bit rate |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510489735.XA CN105099548B (en) | 2015-08-11 | 2015-08-11 | A kind of method for detecting low speed optic communication bit rate |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105099548A CN105099548A (en) | 2015-11-25 |
CN105099548B true CN105099548B (en) | 2017-06-20 |
Family
ID=54579228
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510489735.XA Active CN105099548B (en) | 2015-08-11 | 2015-08-11 | A kind of method for detecting low speed optic communication bit rate |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105099548B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102022109760A1 (en) | 2022-04-22 | 2023-11-09 | Harting Electric Stiftung & Co. Kg | Temperature-controlled connector |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102104426A (en) * | 2010-12-24 | 2011-06-22 | 安凯 | Adaptive method for determining code rate of diffusion laser communication |
WO2015038415A1 (en) * | 2013-09-13 | 2015-03-19 | Corning Optical Communications LLC | Methods, circuits and optical cable assemblies for optical transmission of high-speed data and low-speed data |
-
2015
- 2015-08-11 CN CN201510489735.XA patent/CN105099548B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102104426A (en) * | 2010-12-24 | 2011-06-22 | 安凯 | Adaptive method for determining code rate of diffusion laser communication |
WO2015038415A1 (en) * | 2013-09-13 | 2015-03-19 | Corning Optical Communications LLC | Methods, circuits and optical cable assemblies for optical transmission of high-speed data and low-speed data |
Non-Patent Citations (1)
Title |
---|
低信噪比下的码速率估计算法研究;许斌 等;《遥测遥控》;20140331;第2卷(第35期);第60-63页 * |
Also Published As
Publication number | Publication date |
---|---|
CN105099548A (en) | 2015-11-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN202939289U (en) | Battery pack health state evaluation system | |
CN105988066A (en) | Double-end partial discharging positioning method of long-distance cable based on correction pulses | |
CN106706997A (en) | Current dynamic detection method and device | |
CN102147426B (en) | Broadband triggering circuit of digital oscilloscope | |
CN107677982A (en) | A kind of digitalized electrical energy meter on-site calibrating method and device | |
WO2016150015A1 (en) | Processing method and apparatus for power failure alarm, and terminal | |
CN105099548B (en) | A kind of method for detecting low speed optic communication bit rate | |
CN201859177U (en) | Measurement module for low-frequency alternating current signal in relay protection device | |
CN103595588A (en) | Method for accurately measuring asynchronous Ethernet circuit time delay | |
CN210604926U (en) | DC power supply insulation impedance detection device to ground | |
CN203838302U (en) | Fault detection system for charge-discharge circuit | |
CN105509897A (en) | Infrared axle temperature detection system audio frequency channel frequency measuring method | |
CN102938556B (en) | With the capacitor protection measurement and control integration device of unbalanced current protection function | |
CN202230129U (en) | Counter with wireless data transmission and for lightning arrester | |
CN202837512U (en) | On-line monitoring system for storage battery | |
CN205283099U (en) | Servo motor undervoltage protection device | |
CN103994713A (en) | Novel cable length measuring method | |
CN205067668U (en) | Cable partial discharge signal positioning device | |
CN104407252B (en) | The safety detection circuit and its detection method of a kind of mining switching machine control button | |
CN203617681U (en) | Pulse over-current detection and protection circuit | |
CN103245836A (en) | Novel intelligent tramegger with self-discharge function | |
CN203984098U (en) | A kind of device for quick testing of powerline network | |
CN204168262U (en) | Rectifier and trigger pulse detecting equipment | |
CN207541249U (en) | Converter valve lightning arrester connected in parallel optoelectronic monitoring module calibration equipment in a kind of DC converter | |
CN205404658U (en) | Pulse output buffer circuit of electric energy meter |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C41 | Transfer of patent application or patent right or utility model | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20151231 Address after: 528000 Foshan Power Supply Bureau, Fenjiang South Road, Chancheng District, Guangdong, 1, China () Applicant after: FOSHAN POWER SUPPLY BUREAU OF GUANGDONG POWER GRID CORPORATION Applicant after: China Southern Power Grid Co., Ltd. Address before: 528000 Foshan Power Supply Bureau, Fenjiang South Road, Chancheng District, Guangdong, 1, China () Applicant before: FOSHAN POWER SUPPLY BUREAU OF GUANGDONG POWER GRID CORPORATION |
|
GR01 | Patent grant | ||
GR01 | Patent grant |