CN106656324B - The long luminescence detection apparatus of ONU optical module and method based on electric current - Google Patents

The long luminescence detection apparatus of ONU optical module and method based on electric current Download PDF

Info

Publication number
CN106656324B
CN106656324B CN201710082643.9A CN201710082643A CN106656324B CN 106656324 B CN106656324 B CN 106656324B CN 201710082643 A CN201710082643 A CN 201710082643A CN 106656324 B CN106656324 B CN 106656324B
Authority
CN
China
Prior art keywords
resistance
capacitor
oxide
metal
circuit
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
Application number
CN201710082643.9A
Other languages
Chinese (zh)
Other versions
CN106656324A (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.)
Shenzhen Phoenix Communication Technology Ltd By Share Ltd
Original Assignee
Shenzhen Phoenix Communication Technology Ltd By Share 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 Shenzhen Phoenix Communication Technology Ltd By Share Ltd filed Critical Shenzhen Phoenix Communication Technology Ltd By Share Ltd
Priority to CN201710082643.9A priority Critical patent/CN106656324B/en
Publication of CN106656324A publication Critical patent/CN106656324A/en
Application granted granted Critical
Publication of CN106656324B publication Critical patent/CN106656324B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • H04B10/0799Monitoring line transmitter or line receiver equipment

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • Measurement Of Current Or Voltage (AREA)

Abstract

The present invention relates to a kind of long luminescence detection apparatus of ONU optical module and method based on electric current, the detection device includes optical module, power supply, current detection circuit and watchdog circuit, and power supply is connected to the emission power end of the optical module by a metal-oxide-semiconductor switching circuit;Current detection circuit is connected between the metal-oxide-semiconductor switching circuit and the emission power end, to detect the operating current at the emission power end;Watchdog circuit is connected with the current detection circuit and metal-oxide-semiconductor switching circuit, to control the on-off of the metal-oxide-semiconductor switching circuit according to the operating current.The long luminous detection method of ONU optical module and device based on electric current provided according to the present invention, it can more accurately judge whether optical module is in long luminance, and in long luminance, it can be disconnected by control metal-oxide-semiconductor switching circuit, and then the long luminous optical module of shutdown in time is played, it avoids impacting other ONU equipments.Meanwhile reducing the maintenance difficulties and cost of ONU.

Description

The long luminescence detection apparatus of ONU optical module and method based on electric current
Technical field
The present invention relates to technical field of photo communication, in particular to a kind of ONU optical module long hair light detection dress based on electric current It sets and method.
Background technique
GPON/EPON is natural broadcasting network, using single fiber wavelength-division multiplex technique.Downlink uses 1490nm wavelength, number According to from OLT device to multiple ONU equipments, with broadcast type downlink (time-division multiplex technology TDM), ONU equipment is according to mark processing oneself Data, abandon other data.Uplink transmits upstream to ONU equipment using time division multiple acess access technology (TDMA) time-division slot Amount.When ONU equipment is in registration after success, OLT device can distribute specific bandwidth, band to ONU equipment according to the configuration of system Width is exactly that how much can transmit the basic time slot of data for PON level.In a port OLT (port PON) in the following, Clock is stringent synchronization between the port PON of all ONU equipment and OLT device, each ONU equipment is merely able in OLT It is started above at the time of equipment is distributed to him, data are transmitted with the slot length for distributing to it.It is mended by time slot allocation and time delay It repays, it is ensured that when the data-signal of multiple ONU equipments is coupled to an optical fiber, the uplink packet of each ONU equipment will not be interfered with each other.
Optical module in ONU equipment is long luminous: the uplink of optical module is normally burst mechanism, only in the time slot being assigned to It is sent, what other time was off.Long shine may be optical module failure either environmental factor itself, as rainwater along Optical fiber flows backward to optical module, causes optical module abnormal.This is one of the failure of PON system most serious, it will leads to same OLT ONU equipment online under interface is abnormal, and fault diagnosis is difficult.
Currently, whether belonging to the detection of long luminance to optical module, common methods are as follows:
Whether method one: CPU is greater than maximum OLT authorization cycles by the TX sending cycle that timing detects optical module, or It is ping OLT device, judges whether optical module is in long luminance, if it is passes through the transmission of switch OFF optical module Power supply VCCT.This method relies primarily on CPU software detection come TX_ when being optical module exception the shortcomings that realizing, be primarily present FAULT signal itself may also be abnormal, and also increases the utilization rate of CPU, reduces the forwarding performance of system;Or in length It may also the logical OLT device of ping when luminance.In addition optical module power supply is accidentally turned off when some process of CPU software hangs dead or abnormal Lead to that uplink is obstructed or detection module is abnormal and cannot turn off optical module power supply and still result in long shine.
Method two:
OLT device timing turns off ONU by polling mode in an idle state one by one, detects uplink message MAC and power To judge which ONU long shines.This method can mainly find long luminous ONU equipment, but can not solve the problems, such as in real time, ONU equipment is abnormal, issues any order from OLT device side and is all not responding to, the scene that can only arrive is handled.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.For this purpose, of the invention One purpose is to propose a kind of long luminescence detection apparatus of ONU optical module based on electric current.
It is another object of the present invention to propose a kind of long luminous detection method of ONU optical module based on electric current.
To achieve the above object, on the one hand, the ONU optical module long hair light detection according to an embodiment of the present invention based on electric current Device, comprising:
Optical module;
Power supply, the power supply are connected to the emission power end of the optical module by a metal-oxide-semiconductor switching circuit;
Current detection circuit, the current detection circuit are connected to the metal-oxide-semiconductor switching circuit and the emission power end Between, to detect the operating current at the emission power end;
Watchdog circuit, the watchdog circuit is connected with the current detection circuit and metal-oxide-semiconductor switching circuit, to root The on-off of the metal-oxide-semiconductor switching circuit is controlled according to the operating current.
In addition, the ONU optical module long luminescence detection apparatus according to the above embodiment of the present invention based on electric current can also have There is following additional technical characteristic:
According to one embodiment of present invention, further includes:
CPU, the GPIO pin of the CPU are connected with the metal-oxide-semiconductor switching circuit, to control the metal-oxide-semiconductor switch electricity The on-off on road.
According to one embodiment of present invention, the current detection circuit includes:
Current sampling module, to acquire the operating current at the emission power end;
Comparator, the comparator and the current sampling module, to by the average value of the operating current and default Threshold value is compared, and when the average value of the operating current is less than the predetermined threshold value, then exports square-wave signal to institute State watchdog circuit, the watchdog circuit exports high level to the metal-oxide-semiconductor switching circuit according to the square-wave signal, so that The metal-oxide-semiconductor switching circuit is held on;
When the operating current average value be greater than the predetermined threshold value, then export constant level signal and guard the gate to described Dog circuit, the watchdog circuit export low level to the metal-oxide-semiconductor switching circuit, so that institute according to the constant level signal State the disconnection of metal-oxide-semiconductor switching circuit.
According to one embodiment of present invention, the current sampling module includes first resistor, second resistance and the first electricity Hold, wherein one end of the first resistor is connected with the first inverting input terminal of the power supply and the comparator, described The other end of first resistor is connected with the one end at emission power end and second resistance, the other end of the second resistance and the ratio It is connected compared with the first non-inverting input terminal of device and one end of first capacitor, the other end of the first capacitor and the comparator connect Ground terminal is grounded jointly;
First output end of the comparator is connected to one end of one the 4th resistance, the other end connection of the 4th resistance It is connected to a 3rd resistor and one end of one second capacitor, the other end of the 3rd resistor with the power supply, described The other end of two capacitors is grounded;
The positive power source terminal of the comparator is connected to supply voltage a VDD, the supply voltage VDD and passes through one the 4th capacitor Ground connection, the second output terminal of the comparator are connected to one the 7th resistance and one the 5th capacitor one end, the 7th resistance it is another One end connects the watchdog circuit, the other end ground connection of the 5th capacitor, the second inverting input terminal of the comparator with Described one end of second capacitor is connected, and the second non-inverting input terminal of the comparator is connected to one the 5th resistance, one the 6th One end of resistance and a third capacitor, another termination power supply of the 5th resistance, the 6th resistance it is another The other end of end and the third capacitor is grounded jointly.
According to one embodiment of present invention, the watchdog circuit includes watchdog chip, the tenth capacitor, the 11st electricity Appearance, the tenth resistance, eleventh resistor, twelfth resistor, thirteenth resistor, the 12nd capacitor, the 14th resistance, the 15th resistance And the 16th resistance;
One end of tenth resistance connects the power supply, the other end and the house dog core of the tenth resistance One end of the hand-reset pin of piece, the tenth capacitor and eleventh resistor is connected, the other end of the eleventh resistor with it is described The house dog output pin of watchdog chip is connected, the other end ground connection of the tenth capacitor;
One end of 11st capacitor is connected with the positive power source terminal of the watchdog chip and the power supply, described The other end of 11st capacitor is grounded jointly with the ground terminal of the watchdog chip;One end of the thirteenth resistor with it is described The Power Supply Monitoring output pin of watchdog chip and one end of twelfth resistor are connected, the other end and electricity of the thirteenth resistor One end of source voltage end VCC2 and the 12nd capacitor is connected, the other end of the other end of the twelfth resistor and the 12nd capacitor Ground connection;
One end of 14th resistance falls signal output pin with the power supply of the watchdog chip and is connected, and described The other end of 14 resistance is connected with one end of the power supply and the 15th resistance, the other end of the 15th resistance with The reset output pin of the watchdog chip is connected, one end of the 16th resistance and the house dog of the watchdog chip Input pin is connected;
The reset output pin of the watchdog chip is connected with the metal-oxide-semiconductor switching circuit, the watchdog chip House dog input pin is connected with the current detection circuit.
According to one embodiment of present invention, the metal-oxide-semiconductor switching circuit include the 20th capacitor, the 21st capacitor, Metal-oxide-semiconductor, the 20th resistance, the 41st resistance, triode, the 21st resistance, the 22nd capacitor, the 33rd resistance and 22nd resistance;
One end of 20th capacitor is connected with the drain electrode of one end of 21 capacitor and metal-oxide-semiconductor, and described second The other end of ten capacitors and the 21st capacitor is grounded jointly, and the source electrode of the metal-oxide-semiconductor connects the emission power end and the 20th One end of resistance, the grid of the metal-oxide-semiconductor meet the one of the collector of the triode, the 20th resistance and the 41st resistance End, the base stage of another termination triode of the 41st resistance and one end of the 21st resistance, the triode Emitter ground connection, the other end of the 21st resistance and the 22nd capacitor, the 23rd resistance, the 22nd One end of resistance is connected, and the other end of the 22nd capacitor and the 33rd resistance is grounded jointly, the 22nd electricity The other end of resistance is connected with the reset output pin of the watchdog chip.
On the other hand, the long luminous detection method of ONU optical module based on electric current provided according to embodiments of the present invention, application In detection device as described above, comprising:
Current detection circuit detects the operating current at the emission power end of optical module;
Watchdog circuit controls the on-off of metal-oxide-semiconductor switching circuit according to the operating current.
According to one embodiment of present invention, the work electricity at the emission power end of the current detection circuit detection optical module Stream includes:
Acquire the operating current at the emission power end of optical module acquisition optical module;
The average value of the operating current is compared by comparator with predetermined threshold value, when being averaged for the operating current When value is less than the predetermined threshold value, then square-wave signal is exported to the watchdog circuit, when the average value of the operating current Greater than the predetermined threshold value, then constant level signal is exported to the watchdog circuit;
The watchdog circuit according to the operating current control metal-oxide-semiconductor switching circuit on-off include:
Watchdog circuit exports high level to the metal-oxide-semiconductor switching circuit, so that the metal-oxide-semiconductor according to the square-wave signal Switching circuit is held on;
Watchdog circuit exports low level to the metal-oxide-semiconductor switching circuit, so that described according to the constant level signal Metal-oxide-semiconductor switching circuit disconnects.
The long luminous detection method of ONU optical module and device based on electric current provided according to the present invention, passes through current detecting Circuit detects the operating current at the emission power end of optical module, then through watchdog circuit according to operating current control The on-off of metal-oxide-semiconductor switching circuit.Since when optical module is in long luminance, operating current is that invariable shape is presented State and be greater than work normally when average current, so, by the detection, the operating current can more accurately judge light Whether module is in long luminance, and in long luminance, can be disconnected by control metal-oxide-semiconductor switching circuit, in turn The long luminous optical module of shutdown in time is played, avoids impacting other ONU equipments.Meanwhile reduce the maintenance difficulties of ONU with Cost.In addition, the present invention realizes current detecting, power cutoff by hardware circuit completely, CPU is eliminated the reliance on to judge, is detected Judge and controls relatively reliable.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of ONU optical module long luminescence detection apparatus of the embodiment of the present invention based on electric current;
Fig. 2 is knot of the embodiment of the present invention based on current detection circuit in the long luminescence detection apparatus of ONU optical module of electric current Structure schematic diagram;
Fig. 3 is structure of the embodiment of the present invention based on watchdog circuit in the long luminescence detection apparatus of ONU optical module of electric current Schematic diagram;
Fig. 4 is knot of the embodiment of the present invention based on metal-oxide-semiconductor switching circuit in the long luminescence detection apparatus of ONU optical module of electric current Structure schematic diagram;
Fig. 5 is the flow chart of ONU optical module long luminous detection method of the embodiment of the present invention based on electric current;
Fig. 6 is flow chart of the embodiment of the present invention based on step S10 in the long luminous detection method of ONU optical module of electric current;
Fig. 7 is flow chart of the embodiment of the present invention based on step S20 in the long luminous detection method of ONU optical module of electric current.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
In the description of the present invention, it is to be understood that, term " center ", " longitudinal direction ", " transverse direction ", " length ", " width ", " thickness ", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom" "inner", "outside", " up time The orientation or positional relationship of the instructions such as needle ", " counterclockwise " is to be based on the orientation or positional relationship shown in the drawings, and is merely for convenience of The description present invention and simplified description, rather than the device or element of indication or suggestion meaning must have a particular orientation, with spy Fixed orientation construction and operation, therefore be not considered as limiting the invention.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include one or more of the features.In the description of the present invention, the meaning of " plurality " is two or more, Unless otherwise specifically defined.
In the present invention unless specifically defined or limited otherwise, term " installation ", " connected ", " connection ", " fixation " etc. Term shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can be machine Tool connection, is also possible to be electrically connected;It can be directly connected, two members can also be can be indirectly connected through an intermediary Connection inside part.For the ordinary skill in the art, above-mentioned term can be understood in this hair as the case may be Concrete meaning in bright.
Shown in referring to Fig.1, the embodiment of the invention provides a kind of long luminescence detection apparatus of ONU optical module based on electric current, It can be used for whether being in long luminance to the optical module 10 in ONU equipment and detect, and shine detecting in long When state, the power supply of control optical module 10 is disconnected.It includes optical module 10, power supply 11, current detection circuit 12 and guards the gate Dog circuit 14.
Specifically, power supply 11 is connected to the emission power end of the optical module 10 by a metal-oxide-semiconductor switching circuit 13 VCCT.Current detection circuit 12 is connected between the metal-oxide-semiconductor switching circuit 13 and the emission power end VCCT, to detect The operating current of the emission power end VCCT.Watchdog circuit 14 and the current detection circuit 12 and metal-oxide-semiconductor switching circuit 13 are connected, to control the on-off of the metal-oxide-semiconductor switching circuit 13 according to the operating current.
The long luminous detection method of ONU optical module 10 and device based on electric current provided according to the present invention, is examined by electric current Slowdown monitoring circuit 12 detects the operating current of the emission power end VCCT of optical module 10, then by watchdog circuit 14 according to the work The on-off of metal-oxide-semiconductor switching circuit 13 described in current control.Since optical module 10 is in normal operating conditions, the transmitting of optical module 10 It is the pulse signal of mechanical periodicity when the operating current of power end VCCT, and when optical module 10 is in long luminance, work It is the invariable state of presentation as electric current and is greater than average current when working normally, so, pass through the detection work Electric current can more accurately judge that optical module 10 whether in long luminance, and in long luminance, can pass through It controls metal-oxide-semiconductor switching circuit 13 to disconnect, and then plays the long luminous optical module 10 of shutdown in time, avoid making other ONU equipments At influence.Meanwhile reducing the maintenance difficulties and cost of ONU.In addition, the present invention completely by hardware circuit realize current detecting, Power cutoff eliminates the reliance on CPU15 to judge, detection judges and controls relatively reliable.
Referring to Fig.1 shown in, further include CPU15 in one embodiment of the invention, the GPIO pin of the CPU15 with The metal-oxide-semiconductor switching circuit 13 is connected, to control the on-off of the metal-oxide-semiconductor switching circuit 13.
It should be noted that the CPU15 can be CPU15 in ONU equipment, such as PAS6301 chip etc..
That is, in the present embodiment, it can also be by CPU15 come the on-off of manual control MOS switch circuit, Jin Erguan The sending function of optical module 10 is opened in supply shortage, is conducive to long-range fault diagnosis.
Referring to shown in Fig. 2, in one embodiment of the invention, current detection circuit 12 includes current sampling module 121 And comparator U1, operating current of the current sampling module 121 to acquire the emission power end VCCT;Comparator U1 with it is described Current sampling module 121, the average value of the operating current to be compared with predetermined threshold value.
When the average value of the operating current is less than the predetermined threshold value, then square-wave signal is exported to the house dog Circuit 14, the watchdog circuit 14 export high level to the metal-oxide-semiconductor switching circuit 13, so that institute according to the square-wave signal Metal-oxide-semiconductor switching circuit 13 is stated to be held on.When the operating current average value be greater than the predetermined threshold value, then export constant Level signal to the watchdog circuit 14, the watchdog circuit 14 exports low level to institute according to the constant level signal Metal-oxide-semiconductor switching circuit 13 is stated, so that the metal-oxide-semiconductor switching circuit 13 disconnects.
As noted previously, as optical module 10 is in normal operating conditions, the work of the emission power end VCCT of optical module 10 It is the pulse signal (square-wave pulse) of mechanical periodicity when electric current, and when long luminance occurs in optical module 10, operating current It is that invariable state is presented and is greater than average current when working normally, therefore, in the present embodiment, by presetting Predetermined threshold value, the predetermined threshold value is slightly larger than average current when working normally, in this way, comparator U1 can first basis The operating current that current sampling module 121 acquires calculates average value in one cycle, by the average value of the operating current with Predetermined threshold value is compared, as long as the average value of operating current is lower than predetermined threshold value, illustrates that the optical module 10 is in just Normal working condition, at this point, comparator U1 output square-wave signal to watchdog circuit 14 carries out feeding dog, the then basis of watchdog circuit 14 The square-wave signal keeps high level output, and then controls metal-oxide-semiconductor switching circuit 13 and be held on.And once operating current is averaged Value is greater than predetermined threshold value, then illustrates that the optical module 10 is in long light emitting module 10, at this point, comparator U1 output constant level letter Number to watchdog circuit 14 stop feed dog, watchdog circuit 14 then according to the constant level signal export low level, and then control Metal-oxide-semiconductor switching circuit 13 disconnects, and then cuts off the power supply electricity of the emission power end VCCT of the optical module 10 in long hair light state Source 11.In the present embodiment, using above-mentioned multilevel iudge mode, it can be ensured that rectangular light detection is relatively reliable accurate, simultaneously, it is ensured that Luminous optical module 10, which can be grown, to be disconnected in time.
Referring to shown in Fig. 2, in one particular embodiment of the present invention, current sampling module 121 include first resistor R1, Second resistance R2 and first capacitor C1, wherein one end of the first resistor R1 and the power supply 11 and the comparator The first inverting input terminal IN1- of U1 is connected, the other end and emission power end VCCT and second resistance R2 of the first resistor R1 One end be connected, the first non-inverting input terminal IN1+ and first capacitor of the other end of the second resistance R2 and the comparator U1 One end of C1 is connected, and the ground terminal GND of the other end of the first capacitor C1 and the comparator U1 are grounded jointly;Comparator U1 The first output end Output1 be connected to one end of one the 4th resistance R4, the other end of the 4th resistance R4 is connected to one One end of three resistance R3 and one second capacitor C2, the other end of the 3rd resistor R3 is connected with the power supply 11, described The other end of second capacitor C2 is grounded;The positive power source terminal VCC of comparator U1 is connected to a supply voltage VDD, the supply voltage VDD is grounded by one the 4th capacitor C4, and the second output terminal Output2 of the comparator U1 is connected to one the 7th resistance R7 and one The other end of the 5th one end capacitor C5, the 7th resistance R7 connects the watchdog circuit 14, and the 5th capacitor C5's is another One end ground connection, the second inverting input terminal IN2- of the comparator U1 is connected with described one end of the second capacitor C2, described The second non-inverting input terminal IN2+ of comparator U1 is connected to the one of one the 5th resistance R5, one the 6th resistance R6 and a third capacitor C3 End, another termination power supply 11 of the 5th resistance R5, the other end of the 6th resistance R3 and third electricity The other end for holding C3 is grounded jointly.
Wherein, optical mode is detected by the current sampling module 121 that first resistor R1, second resistance R2 and first capacitor C1 are formed After the operating current of the emission power end VCCT of block 10, pass through the first inverting input terminal IN1- and the first normal phase input end IN1+ Input comparator U1 exports square-wave signal by second output terminal Output2 after comparator U1 is compared with predetermined threshold value Dog feeding operation is carried out to watchdog circuit 14, or output constant level signal stops feeding dog to watchdog circuit 14.
Referring to shown in Fig. 3, watchdog circuit 14 includes watchdog chip U2, the tenth capacitor C10, the 11st capacitor C11, the Ten resistance R10, eleventh resistor R11, twelfth resistor R12, thirteenth resistor R13, the 12nd capacitor C12, the 14th resistance R14, the 15th resistance R15 and the 16th resistance R16;One end of the tenth resistance R10 connects the power supply 11, described The hand-reset pin of the other end of tenth resistance R10 and the watchdog chip U2The electricity of tenth capacitor C10 and the 11st The one end for hindering R11 is connected, the house dog output pin of the other end of the eleventh resistor R11 and the watchdog chip U2It is connected, the other end ground connection of the tenth capacitor C10;One end of the 11st capacitor C11 and the house dog core The positive power source terminal VCC and the power supply 11 of piece U2 is connected, the other end and the house dog core of the 11st capacitor C11 The ground terminal GND of piece U2 is grounded jointly;One end of the thirteenth resistor R13 and the Power Supply Monitoring of the watchdog chip U2 are defeated One end of pin PFI and twelfth resistor R12 are connected out, the other end and power voltage terminal VCC2 of the thirteenth resistor R13 And the 12nd capacitor C12 one end be connected, the other end of the twelfth resistor R12 and another termination of the 12nd capacitor R12 Ground;One end of the 14th resistance R14 and the power supply of the watchdog chip U2 fall signal output pinIt is connected, institute The other end for stating the 14th resistance R14 is connected with one end of 11 and the 15th resistance R15 of power supply, the 15th electricity Hinder the other end of R15 and the reset output pin of the watchdog chip U2It is connected, the 16th resistance R16's One end is connected with the house dog input pin WD of the watchdog chip U2;The reset output pin of the watchdog chip U2It is connected with the metal-oxide-semiconductor switching circuit 13, the house dog input pin WD and the electric current of the watchdog chip U2 Detection circuit 12 is connected.
Wherein, the second output terminal Output2 of the house dog input pin WD access comparator U1 of watchdog chip U2 is defeated Square-wave signal or constant level signal out, corresponding, the reset output pin of watchdog chip U2Export high level or Low level, and then metal-oxide-semiconductor switching circuit 13 is controlled by high level and is connected, it is disconnected by low level control metal-oxide-semiconductor switching circuit 13 It opens.
Referring to shown in Fig. 4, metal-oxide-semiconductor switching circuit 13 include the 20th capacitor R20, the 21st capacitor R21, metal-oxide-semiconductor Q2, 20th resistance R20, the 41st resistance R41, triode Q1, the 21st resistance R21, the 22nd capacitor C22, the 30th Three resistance R33 and the 22nd resistance R22;One end of one end of the 20th capacitor C20 and the 21 capacitor C21 and The drain electrode of metal-oxide-semiconductor Q2 is connected, and the other end of the 20th capacitor C20 and the 21st capacitor C21 is grounded jointly, the MOS The source electrode of pipe Q2 connects one end of the emission power end VCCT and the 20th resistance R20, and the grid of the metal-oxide-semiconductor Q2 connects described three One end of the collector of pole pipe Q1, the 20th resistance R20 and the 41st resistance R41, the 41st resistance R41's is another Terminate the base stage of the triode Q1 and one end of the 21st resistance R21, the emitter ground connection of the triode Q1, described the The other end of 21 resistance R21 and the 22nd capacitor C22, the 23rd resistance R23, the 22nd resistance R22 One end is connected, and the other end of the 22nd capacitor C22 and the 33rd resistance R33 is grounded jointly, the 22nd electricity Hinder the other end of R22 and the reset output pin of the watchdog chip U2It is connected.
When the other end of the 22nd resistance R22 accesses high level, then metal-oxide-semiconductor Q2 is connected, and when the 22nd resistance When the other end of R22 accesses low level, then metal-oxide-semiconductor Q2 is disconnected.
Referring to Figure 5, the embodiment of the invention provides a kind of long luminous detection method of ONU optical module based on electric current, Applied to the detection device as described in above-described embodiment, comprising:
S10, current detection circuit 12 detect the operating current of the emission power end VCCT of optical module.
S20, watchdog circuit 14 control the on-off of metal-oxide-semiconductor switching circuit 13 according to the operating current.
Referring to shown in Fig. 6 and Fig. 7, in one embodiment of the invention, step S10 includes:
S101, acquisition optical module acquire the operating current of the emission power end VCCT of optical module.
The average value of the operating current is compared by S102, comparator U1 with predetermined threshold value, when the work electricity When the average value of stream is less than the predetermined threshold value, then square-wave signal is exported to the watchdog circuit 14, when the work electricity The average value of stream is greater than the predetermined threshold value, then exports constant level signal to the watchdog circuit 14.
Step S20 includes:
S201, watchdog circuit 14 export high level to the metal-oxide-semiconductor switching circuit 13 according to the square-wave signal, so that The metal-oxide-semiconductor switching circuit 13 is held on.
S202, watchdog circuit 14 export low level to the metal-oxide-semiconductor switching circuit 13 according to the constant level signal, So that the metal-oxide-semiconductor switching circuit 13 disconnects.
The long luminous detection method of ONU optical module based on electric current provided according to the present invention, passes through current detection circuit 12 The operating current of the emission power end VCCT of optical module is detected, then institute is controlled according to the operating current by watchdog circuit 14 State the on-off of metal-oxide-semiconductor switching circuit 13.Since optical module is in normal operating conditions, the work of the emission power end VCCT of optical module Make be when electric current mechanical periodicity pulse signal (square-wave pulse), and when optical module is in long luminance, operating current It is the invariable state of presentation and is greater than average current when working normally, so, by the detection, the operating current can It, can be by controlling metal-oxide-semiconductor more accurately to judge whether optical module is in long luminance, and in long luminance Switching circuit 13 disconnects, and then plays the long luminous optical module of shutdown in time, avoids impacting other ONU equipments.Meanwhile Reduce the maintenance difficulties and cost of ONU.In addition, the present invention realizes current detecting, power cutoff by hardware circuit completely, no longer CPU is relied on to judge, detection judges and controls relatively reliable.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any One or more embodiment or examples in can be combined in any suitable manner.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example Property, it is not considered as limiting the invention, those skilled in the art are not departing from the principle of the present invention and objective In the case where can make changes, modifications, alterations, and variations to the above described embodiments within the scope of the invention.

Claims (6)

1. a kind of long luminescence detection apparatus of ONU optical module based on electric current characterized by comprising
Optical module;
Power supply, the power supply are connected to the emission power end of the optical module by a metal-oxide-semiconductor switching circuit;
Current detection circuit, the current detection circuit are connected between the metal-oxide-semiconductor switching circuit and the emission power end, To detect the operating current at the emission power end;
Watchdog circuit, the watchdog circuit are connected with the current detection circuit and metal-oxide-semiconductor switching circuit, to according to institute State the on-off that operating current controls the metal-oxide-semiconductor switching circuit;
The watchdog circuit includes watchdog chip, the tenth capacitor, the 11st capacitor, the tenth resistance, eleventh resistor, the tenth Two resistance, thirteenth resistor, the 12nd capacitor, the 14th resistance, the 15th resistance and the 16th resistance;
One end of tenth resistance connects the power supply, the other end and the watchdog chip of the tenth resistance One end of hand-reset pin, the tenth capacitor and eleventh resistor is connected, and the other end of the eleventh resistor is guarded the gate with described The house dog output pin of dog chip is connected, the other end ground connection of the tenth capacitor;
One end of 11st capacitor is connected with the positive power source terminal of the watchdog chip and the power supply, and the described tenth The other end of one capacitor and the ground terminal of the watchdog chip are grounded jointly;It guards the gate with described one end of the thirteenth resistor The Power Supply Monitoring output pin of dog chip and one end of twelfth resistor are connected, the other end and the power supply electricity of the thirteenth resistor One end of pressure side VCC2 and the 12nd capacitor is connected, the other end of the twelfth resistor and another termination of the 12nd capacitor Ground;
One end of 14th resistance falls signal output pin with the power supply of the watchdog chip and is connected, and the described 14th The other end of resistance is connected with one end of the power supply and the 15th resistance, the other end of the 15th resistance with it is described The reset output pin of watchdog chip is connected, and one end of the 16th resistance and the house dog of the watchdog chip input Pin is connected;
The reset output pin of the watchdog chip is connected with the metal-oxide-semiconductor switching circuit, and the watchdog chip is guarded the gate Dog input pin is connected with the current detection circuit;
Further include:
CPU, the GPIO pin of the CPU are connected with the metal-oxide-semiconductor switching circuit, to control the metal-oxide-semiconductor switching circuit On-off.
2. the ONU optical module long luminescence detection apparatus according to claim 1 based on electric current, which is characterized in that the electricity Current detection circuit includes:
Current sampling module, to acquire the operating current at the emission power end;
Comparator, the comparator and the current sampling module, to by the average value and pre-determined threshold of the operating current Value is compared, and when the average value of the operating current is less than the predetermined threshold value, is then exported square-wave signal and is seen to described Door dog circuit, the watchdog circuit export high level to the metal-oxide-semiconductor switching circuit, so that described according to the square-wave signal Metal-oxide-semiconductor switching circuit is held on;
When the average value of the operating current is greater than the predetermined threshold value, then constant level signal is exported to house dog electricity Road, the watchdog circuit export low level to the metal-oxide-semiconductor switching circuit, so that described according to the constant level signal Metal-oxide-semiconductor switching circuit disconnects.
3. the ONU optical module long luminescence detection apparatus according to claim 2 based on electric current, which is characterized in that the electricity Flowing sampling module includes first resistor, second resistance and first capacitor, wherein one end of the first resistor and power supply electricity First inverting input terminal of source and the comparator is connected, the other end and emission power end and second resistance of the first resistor One end be connected, the other end of the second resistance and the first non-inverting input terminal of the comparator and one end phase of first capacitor Even, the ground terminal of the other end of the first capacitor and the comparator is grounded jointly;
First output end of the comparator is connected to one end of one the 4th resistance, and the other end of the 4th resistance is connected to one One end of 3rd resistor and one second capacitor, the other end of the 3rd resistor are connected with the power supply, second electricity The other end of appearance is grounded;
The positive power source terminal of the comparator is connected to a supply voltage VDD, and the supply voltage VDD is connect by one the 4th capacitor Ground, the second output terminal of the comparator are connected to one the 7th resistance and one the 5th capacitor one end, the 7th resistance it is another End connects the watchdog circuit, the other end ground connection of the 5th capacitor, the second inverting input terminal of the comparator and institute The described one end for stating the second capacitor is connected, and the second non-inverting input terminal of the comparator is connected to one the 5th resistance, one the 6th electricity One end of resistance and a third capacitor, another termination power supply of the 5th resistance, the other end of the 6th resistance And the other end of the third capacitor is grounded jointly.
4. the ONU optical module long luminescence detection apparatus according to claim 1 based on electric current, feature is being, described Metal-oxide-semiconductor switching circuit includes the 20th capacitor, the 21st capacitor, metal-oxide-semiconductor, the 20th resistance, the 41st resistance, three poles Pipe, the 21st resistance, the 22nd capacitor, the 33rd resistance and the 22nd resistance;
One end of 20th capacitor is connected with the drain electrode of one end of 21 capacitor and metal-oxide-semiconductor, the 20th electricity Hold and the other end of the 21st capacitor is grounded jointly, the source electrode of the metal-oxide-semiconductor connects the emission power end and the 20th resistance One end, the grid of the metal-oxide-semiconductor meets one end of the collector of the triode, the 20th resistance and the 41st resistance, institute State the base stage of another termination triode of the 41st resistance and one end of the 21st resistance, the transmitting of the triode Pole ground connection, the other end of the 21st resistance and the 22nd capacitor, the 23rd resistance, the 22nd resistance One end be connected, the other end of the 22nd capacitor and the 33rd resistance is grounded jointly, the 22nd resistance it is another One end is connected with the reset output pin of the watchdog chip.
5. a kind of long luminous detection method of ONU optical module based on electric current is applied to described in any one of Claims 1-4 Detection device characterized by comprising
Current detection circuit detects the operating current at the emission power end of optical module;
Watchdog circuit controls the on-off of metal-oxide-semiconductor switching circuit according to the operating current.
6. the ONU optical module long luminous detection method according to claim 5 based on electric current, which is characterized in that the electricity The operating current at emission power end of current detection circuit detection optical module includes:
Acquire the operating current at the emission power end of optical module acquisition optical module;
The average value of the operating current is compared by comparator with predetermined threshold value, when the average value of the operating current is small When the predetermined threshold value, then square-wave signal is exported to the watchdog circuit, when the average value of the operating current is greater than The predetermined threshold value then exports constant level signal to the watchdog circuit;
The watchdog circuit according to the operating current control metal-oxide-semiconductor switching circuit on-off include:
Watchdog circuit exports high level to the metal-oxide-semiconductor switching circuit, so that the metal-oxide-semiconductor switchs according to the square-wave signal Circuit is held on;
Watchdog circuit exports low level to the metal-oxide-semiconductor switching circuit, so that the metal-oxide-semiconductor according to the constant level signal Switching circuit disconnects.
CN201710082643.9A 2017-02-16 2017-02-16 The long luminescence detection apparatus of ONU optical module and method based on electric current Active CN106656324B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710082643.9A CN106656324B (en) 2017-02-16 2017-02-16 The long luminescence detection apparatus of ONU optical module and method based on electric current

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710082643.9A CN106656324B (en) 2017-02-16 2017-02-16 The long luminescence detection apparatus of ONU optical module and method based on electric current

Publications (2)

Publication Number Publication Date
CN106656324A CN106656324A (en) 2017-05-10
CN106656324B true CN106656324B (en) 2019-11-08

Family

ID=58845184

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710082643.9A Active CN106656324B (en) 2017-02-16 2017-02-16 The long luminescence detection apparatus of ONU optical module and method based on electric current

Country Status (1)

Country Link
CN (1) CN106656324B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108809417B (en) * 2018-05-28 2021-02-19 安徽维德工业自动化有限公司 Fault detection system and method for optical fiber transceiver
CN109286236B (en) * 2018-11-16 2024-05-07 深圳众城卓越科技有限公司 Power supply circuit of control unit of wind power pitch system
CN110417260A (en) * 2019-07-23 2019-11-05 武汉洲际电讯科技股份有限公司 A kind of switching power circuit of detectable electric current

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105227234A (en) * 2015-11-03 2016-01-06 云南电网有限责任公司电力科学研究院 A kind of detection method of long hair light faulted ONU
CN205229961U (en) * 2015-11-30 2016-05-11 山东康威通信技术股份有限公司 Anti breech lock power -off reset circuit of CMOS singlechip
CN205453145U (en) * 2016-03-11 2016-08-10 曲靖师范学院 Power compensatory control system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020045952A1 (en) * 2000-10-12 2002-04-18 Blemel Kenneth G. High performance hybrid micro-computer
CN102904633B (en) * 2012-09-17 2016-04-20 杭州华三通信技术有限公司 Method and the device of optical module long hair light is detected in a kind of EPON

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105227234A (en) * 2015-11-03 2016-01-06 云南电网有限责任公司电力科学研究院 A kind of detection method of long hair light faulted ONU
CN205229961U (en) * 2015-11-30 2016-05-11 山东康威通信技术股份有限公司 Anti breech lock power -off reset circuit of CMOS singlechip
CN205453145U (en) * 2016-03-11 2016-08-10 曲靖师范学院 Power compensatory control system

Also Published As

Publication number Publication date
CN106656324A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
CN106656324B (en) The long luminescence detection apparatus of ONU optical module and method based on electric current
US8326938B1 (en) Packet buffer apparatus and method
US8787751B2 (en) Method for identifying the optical network unit power off reason
JP5263394B2 (en) Optical communication apparatus and power saving control method for optical communication apparatus
CN101820558B (en) Method for detecting long luminance ONU in passive optical network
EP2362675A2 (en) Recovery of optical network unit form sleep state
CN105025400A (en) Probabilistic bandwidth control in a passive optical network (PON)
CN102204128A (en) Performance monitoring in passive optical networks
CN101594184A (en) A kind of optical line terminal
CN102752041A (en) Method for detecting frequent-light-emission optical network units (ONUs) in gigabit passive optical network (GPON) system
JP2008028451A (en) Optical subscriber communication system, abnormal light emission preventing method for optical subscriber device in optical subscriber communication system, and program thereof
EP3220556A1 (en) Method, device and system for detecting rogue optical network unit
CN108370271A (en) Detection method, device and the passive optical network of optical network unit
CN109525475A (en) A kind of monobus communication signal isolation circuit
CN107517087B (en) Optical module
CN102098097A (en) Optical network unit fault detection method and system in PON and optical line terminal
CN103220156B (en) A kind of multiterminal mouth POE for passive light network powers device and method of supplying power to
CN109547100A (en) A kind of optical power enhancement device and method forcibly closing abnormal fibre-optic terminus
CN103281116B (en) A kind of ONU long luminescence detection circuits and application system and its application process
CN102098198B (en) Ethernet protection method and device
US11012257B2 (en) Home side device and method of clearing management table
CN201215955Y (en) Light transmission system
CN106817255B (en) A kind of quick protective switch system and method based on safe lane
CN105306138A (en) Detection and processing method and device for optical network unit (ONU) and ONU
CN106059669A (en) Light receiving module

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Long light detection device and method of ONU optical module based on current

Effective date of registration: 20201231

Granted publication date: 20191108

Pledgee: Shenzhen hi tech investment small loan Co.,Ltd.

Pledgor: SHENZHEN PHOENIX TELECOM TECHNOLOGY Co.,Ltd.

Registration number: Y2020980010446

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20221205

Granted publication date: 20191108

Pledgee: Shenzhen hi tech investment small loan Co.,Ltd.

Pledgor: SHENZHEN PHOENIX TELECOM TECHNOLOGY Co.,Ltd.

Registration number: Y2020980010446