CN107863989A - Telephone line fault monitoring system and monitoring method - Google Patents
Telephone line fault monitoring system and monitoring method Download PDFInfo
- Publication number
- CN107863989A CN107863989A CN201711287717.9A CN201711287717A CN107863989A CN 107863989 A CN107863989 A CN 107863989A CN 201711287717 A CN201711287717 A CN 201711287717A CN 107863989 A CN107863989 A CN 107863989A
- Authority
- CN
- China
- Prior art keywords
- line
- circuit
- polarity
- signal
- current
- 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.)
- Pending
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 40
- 238000000034 method Methods 0.000 title claims abstract description 28
- 238000001514 detection method Methods 0.000 claims abstract description 71
- 238000001914 filtration Methods 0.000 claims description 37
- 238000012545 processing Methods 0.000 claims description 36
- 238000005070 sampling Methods 0.000 claims description 27
- 230000005611 electricity Effects 0.000 claims description 13
- 230000008859 change Effects 0.000 claims description 11
- 238000004458 analytical method Methods 0.000 claims description 10
- 238000006243 chemical reaction Methods 0.000 claims description 8
- 230000007257 malfunction Effects 0.000 claims description 5
- 238000001228 spectrum Methods 0.000 claims description 5
- 238000004891 communication Methods 0.000 claims description 4
- 230000008569 process Effects 0.000 claims description 4
- 230000009897 systematic effect Effects 0.000 claims description 3
- 238000007689 inspection Methods 0.000 claims 1
- 238000012423 maintenance Methods 0.000 abstract description 4
- 230000005856 abnormality Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 9
- 238000005259 measurement Methods 0.000 description 4
- 238000012360 testing method Methods 0.000 description 4
- WHXSMMKQMYFTQS-UHFFFAOYSA-N Lithium Chemical compound [Li] WHXSMMKQMYFTQS-UHFFFAOYSA-N 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 3
- 229910052744 lithium Inorganic materials 0.000 description 3
- 230000006641 stabilisation Effects 0.000 description 3
- 238000011105 stabilization Methods 0.000 description 3
- 238000013459 approach Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 230000002441 reversible effect Effects 0.000 description 2
- 230000035945 sensitivity Effects 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- 206010044565 Tremor Diseases 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007717 exclusion Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000010349 pulsation Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B3/00—Line transmission systems
- H04B3/02—Details
- H04B3/46—Monitoring; Testing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/22—Arrangements for supervision, monitoring or testing
- H04M3/2209—Arrangements for supervision, monitoring or testing for lines also used for data transmission
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Monitoring And Testing Of Exchanges (AREA)
Abstract
The present invention provides a kind of telephone line fault monitoring system and monitoring method, wherein, system includes, polarity detection circuit, polarity reversal circuit, ring detecting circuit, picking/hanging machine detection circuit, signal sample circuit, controller;Picking/hanging machine detection circuit is connected to polarity reversal circuit and signal sample circuit;Controller is connected to polarity detection circuit, polarity reversal circuit, ring detecting circuit, picking/hanging machine detection circuit, signal sample circuit.Telephone line fault monitoring system provided by the invention and monitoring method, are monitored to the state of telephone line in real time, and when finding failure, failure judgement type, and alarm signal is sent to remind attendant to carry out corresponding maintenance, practicality is good, and flexibility is high.
Description
Technical field
The present invention relates to telephone line malfunction monitoring technical field, more particularly to a kind of telephone line fault monitoring system and
Monitoring method.
Background technology
One end connection interchanger of telephone line, other end connection telephone set.Telephone line is by two transmission of analogue signal
Signal line group into i.e. electrode line and negative line.When the electrode line of exchanger side connects the electrode line of telephone set, and exchanger side
Negative line connection telephone set negative line when, be referred to as positive connection;When the electrode line of exchanger side connects the negative pole of telephone set
Line, and during the electrode line of the negative line connection telephone set of exchanger side, referred to as Opposite direction connection.No matter forward direction is connected or reversely connected
Connect, phone can normal use.
Various states on telephone line be present, including interchanger to terminal send ringing signal when ringing condition, call
When the positive off hook state off hook state of forward direction when connection (), call when reverse off hook state (off-hook during Opposite direction connection
State), short-circuit condition of hook state and telephone line of the landline telephone when being not used when breaking down, open-circuit condition etc..
At present, the mode that fault detect is carried out to telephone line of generally use, it is the mode of timing or manual intervention, but
It is that this fault detection approach needs short interruptions terminal to communicate, i.e. the real-time to line fault detection first can not be realized,
Second the proper communication of user is influenceed, flexibility is not high.
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of telephone line fault monitoring system and monitoring method, in real time
The state of telephone line is monitored, and when finding failure, failure judgement type, and send alarm signal and safeguarded with reminding
Personnel carry out corresponding maintenance, and practicality is good, and flexibility is high.
In order to solve the above technical problems, technical scheme provided by the invention is:
On the one hand, the present invention provides a kind of telephone line fault monitoring system, including, polarity detection circuit, polarity reversal
Circuit, ring detecting circuit, picking/hanging machine detection circuit, signal sample circuit, controller;
Picking/hanging machine detection circuit is connected to polarity reversal circuit and signal sample circuit;
Controller is connected to polarity detection circuit, polarity reversal circuit, ring detecting circuit, dislodging machine testing electricity
Road, signal sample circuit.
Further, in addition to lightning protection circuit, lightning protection circuit are connected with signal sample circuit.
Further, polarity detection circuit includes, and Polarity comparision device, believes for detecting line polarity, and by Check up polarity
Number send to controller;
Polarity reversal circuit includes, and polarity switched cell and switching driver element, controller is according to Check up polarity signal, control
System switching driver element driving polarity switched cell performs polarity switching;Wherein, polarity switched cell is locking type relay, is cut
It is H type drive circuits to change driver element;
Ring detecting circuit includes, Boll traits unit, detect circuit ringing signal, and by Boll traits signal send to
Controller, for carrying out line status judgement for controller;
Picking/hanging machine detection circuit includes, line voltage distribution detection unit and line current detection unit, and line voltage distribution detection is single
Member is used to detect line voltage signal, and line current detection unit is used to detect line current signal, voltage detection signal and electricity
Stream detection signal is used to carry out dislodging machine judgement for the controller;
Signal sample circuit, including current sampling unit and voltage sampling unit, current sampling unit are used for line electricity
Stream is sampled, and voltage sampling unit is used to sample line voltage distribution, samples the line current data and line electricity of acquisition
Data are pressed to be used to carry out line status analysis and line fault judgement for controller.
Further, in addition to interface circuit, interface circuit are used to input control instruction to controller, and/or, receive
The control instruction or information of controller output, and interface circuit includes, serial communication interface, keyboard, LED light, BUZ buzzings
Device.
Further, in addition to it is used for the power module circuitry that power supply is provided, and power module circuitry includes, chargeable electricity
Pond, charging control unit, supply voltage detection unit, power conversion unit;Wherein, rechargeable battery is used to pass through power conversion
After be powered, charging control unit is used to carry out charge control when rechargeable battery is charged, and supply voltage detection is single
Member is used for the cell voltage for detecting rechargeable battery, and battery voltage detection signal is used to sentence for controller progress battery status alarm
It is disconnected.
Further, line status includes, ringing condition, handle off hook state, hands-free off hook state, hook state, takes off
Machine state, inlet wire broken string state;Line fault includes, open lines, line short, line electrical leakage, circuit serious drain, terminal
Improper and machine.
On the other hand, the present invention provides a kind of telephone line fault monitoring method, including,
Systematic learning step, when gathering unit normal use, current value, magnitude of voltage under off-hook and hook state, and
Collection is normal and machine is in use, current value, magnitude of voltage under off-hook and hook state, and by the data gathered handled with
Obtain benchmark dataset;
Sampling step, sampled with default sample mode and obtain line voltage distribution data and/or line current data;
Data processing step, processing is filtered to line voltage distribution data and line current data;
Malfunction monitoring step, according to benchmark dataset and, according to filtered line voltage distribution data and line electricity fluxion
Judge according to line status, and when there is line fault, corresponding alarm signal is sent by interface.
Further, data processing step specifically includes, and to line voltage distribution data and line current data, is filtered using numeral
Wave method carries out digital filtering, and is adaptively adjusted filter factor in processing is filtered, and by setting time length
Filtered voltage data and current data carry out secondary anti-tampering processing.
Further, the filtering mode of data processing step is first-order filtering, or multistage filtering, or DSP spectrum analyses
Filtering.
Further, line status includes, ringing condition, handle off hook state, hands-free off hook state, hook state, takes off
Machine state, inlet wire broken string state;Line fault includes, open lines, line short, line electrical leakage, circuit serious drain, terminal
Improper and machine.
Telephone line fault monitoring system provided by the invention and monitoring method, the state of telephone line is carried out in real time
Monitoring, and when finding failure, failure judgement type, and alarm signal is sent to remind attendant to carry out corresponding maintenance, it is real
Good with property, flexibility is high.
Brief description of the drawings
Fig. 1 is the application schematic diagram of telephone line fault monitoring system provided in an embodiment of the present invention;
Fig. 2 is the block diagram of telephone line fault monitoring system provided in an embodiment of the present invention;
Fig. 3 is the principle schematic diagram of polarity detection circuit provided in an embodiment of the present invention;
Fig. 4 is the principle schematic diagram of polarity reversal circuit provided in an embodiment of the present invention;
Fig. 5 is the principle schematic diagram of ring detecting circuit provided in an embodiment of the present invention;
Fig. 6 is the principle schematic diagram of picking/hanging machine detection circuit provided in an embodiment of the present invention;
Fig. 7 is the principle schematic diagram of signal sample circuit provided in an embodiment of the present invention;
Fig. 8 is another block diagram of telephone line fault monitoring system provided in an embodiment of the present invention;
Fig. 9 is the principle schematic diagram of power module circuitry provided in an embodiment of the present invention;
Figure 10 is the flow chart of telephone line fault monitoring method provided in an embodiment of the present invention;
Figure 11 is first-order filtering flow chart provided in an embodiment of the present invention.
Embodiment
The present invention is further illustrated below by specific embodiment, it should be understood, however, that, these embodiments are only
It is used for specifically describing in more detail, and is not to be construed as limiting the present invention in any form.
Embodiment one
The telephone line fault monitoring system 200 provided with reference to Fig. 1, the present embodiment, is arranged at interchanger 100 and phone
Between machine 300, for carrying out malfunction monitoring to the telephone line for being connected to terminal.And as illustrated in fig. 2, telephone line failure prison
Examining system 200, including, polarity detection circuit 1, polarity reversal circuit 2, ring detecting circuit 3, picking/hanging machine detection circuit 4, signal
Sample circuit 5, controller 6;
Picking/hanging machine detection circuit 4 is connected to polarity reversal circuit 2 and signal sample circuit 5;
Controller 6 is connected to polarity detection circuit 1, polarity reversal circuit 2, ring detecting circuit 3, dislodging machine testing
Circuit 4, signal sample circuit 5.
The telephone line fault monitoring system 200 that the present embodiment provides, is monitored to the state of telephone line in real time,
And when finding failure, failure judgement type, and alarm signal is sent to remind attendant to carry out corresponding maintenance, practicality
Good, flexibility is high.
It should be noted that in the present embodiment, by monitor in real time access telephone wire both ends DC (direct current) magnitudes of voltage and
The parameter value (measured value) of DC loop current values, measurement and the normal operating condition of record circuit and telephone set 300, measurement and meter
Each parameter value (calculated value) current on telephone wire, the deviation of parameter are calculated, the calculated value and deviation handled by predefined function
Value, in a manner of self-adaptive processing, the slowly varying caused non-erroneous skew of amendment circuit parameter value.By each new measured value
Made comparisons with current calculated value and deviation, when a new measured value exceedes from current calculated value and deviation beyond setting
During value range, whether changed, combined circuit status condition present at that time, made by the parameter for comparing and analyzing detection
Go out corresponding event to judge.
In addition, the signaling and signal transmitted in the line will be nondestructively by systems, the use to telephone set 300 will not make
Into influence.System normal line voltage of the recordable lower telephone set 300 in handle off-hook, hands-free off-hook, is treated by learning functionality
The parameters such as leakage current during machine, as the underlying parameter compared, while phone and circuit are considered because of such environmental effects, parameter
It accordingly can slowly change, make automatically and repair positively related deviation value parameter.
When telephone set 300 is standby or during open lines, the voltage of telephone wire is higher, due to circuit and terminal exist it is certain
Leakage current, by filtering, sampling, after enhanced processing, its value is supplied to MCU (that is, controller 6) to enter for electric current, voltage sampling circuit
Row contrast and analysis, make corresponding standby leakage current event and judge.
When user's off-hook or line short, same line voltage distribution can produce obvious change, and circuit DC current is larger,
Line voltage distribution is relatively low when off-hook or line short, and system monitors the change of line voltage distribution in real time, and MCU is by contrasting and analyzing i.e.
Abnormal conditions can be detected.
After system access telephone line, automatic detection currently talks about line access mode, judges whether reversed polarity, if circuit antipole
Property, then MCU is overturn incoming line in internal system by polarity reversal circuit 2, it is ensured that detecting system normal work.
After circuit normal work, manual intervention is needed to carry out " study " process, purpose is exactly to obtain circuit and terminal (that is, telephone set 300)
The parameter of various states under normal circumstances, including study current phone call alarming threshold, standby leakage current alarming threshold and
Ringing interval is set, normally to judge each event setup criterion during system work.
When using lithium battery, to reduce system power dissipation, MCU is typically in low-velocity scanning mode of operation.Work as system detectio
When to off hook signal, bell signal, interface to instruction or having actuation of keys, triggering MCU is all in fast mode, place
Manage current event;Under normal circumstances, timing wake-up MCU enters fast mode.
Preferably, in addition to lightning protection circuit, lightning protection circuit are connected with signal sample circuit 5.
It is further preferred that polarity detection circuit 1 includes, Polarity comparision device, examined for detecting line polarity, and by polarity
Signal is surveyed to send into controller 6;As illustrated in fig. 3, polarity detection circuit 1 is mainly made up of Polarity comparision device, main function
To access Check up polarity to telephone wire, being the detected voltage for ensureing line electricity flow valuve/magnitude of voltage sample circuit the purpose of the circuit
It is correct with current polarity.Its act on be detect circuit tap into system whether and polarity when tapping into system.Once telephone wire accesses
There is opposite polarity situation, the polarity detection circuit 1 exports in low level signal a POP=1, Fig. 3 immediately, and a and b are inlet wire
End.
Polarity reversal circuit 2 includes, polarity switched cell and switching driver element, controller 6 according to Check up polarity signal,
Control switching driver element, driving polarity switched cell perform polarity switching;Wherein, polarity switched cell is locking type relay
Device, switching driver element are H type drive circuits;As illustrated in fig. 4, in the present embodiment, polarity reversal circuit 2 is by polarity switching list
Member and switching driver element composition.Polarity reversal circuit 2 is controlled by MCU RERL1 and RERL2.Polarity switching employs locking
Type relay, telephone wire polarity reversal are mainly realized by relay;Switching driving is using conventional H type drive circuits, control
Relay implements switching, passes through two signal control switchings of RERL1 and RERL2 by MCU.During normal work, MCU, which has been recorded, to be worked as
Preceding line polarity state, MCU output RERL1 and RERL2 are 1;When POD be 1 when, after MCU is analyzed and processed, it is necessary to
During switching action, MCU control RERL1 and RERL2 export the level (01 or 10) opposite with current state, overturn relay,
Complete to reverse line polarity.It should be noted that RERL1 and RERL2 can not export 0 simultaneously, otherwise relay power will be short over the ground
Road.MCU switch control logics are shown in Table 1.
Ring detecting circuit 3 includes, Boll traits unit, detects circuit ringing signal, and Boll traits signal is sent
To controller, for carrying out line status judgement for controller;As illustrated in fig. 5, ring detecting circuit 3 is mainly by Boll traits
Unit forms, and its output signal is RDET.When receiving circuit ringing-current AC signal, the Boll traits signal is through Boll traits
Blocking coupling inside element circuit, is input to Boll traits unit, and the output of Boll traits unit is corresponding with Boll traits signal
DC pulse level signal.When i.e. Boll traits signal occurs in circuit, RDET is pulsation high level (for example, 1), RDET during no bell
For 0.
The control logic table of table 1
Picking/hanging machine detection circuit 4 includes, line voltage distribution detection unit and line current detection unit, and line voltage distribution detection is single
Member is used to detect circuit threshold voltage signal, and line current detection unit is used to detect circuit threshold current signal, voltage signal
It is used to carry out dislodging machine judgement for controller 6 with current signal;As illustrated in fig. 6, picking/hanging machine detection circuit 4 is examined by line voltage distribution
Unit and line current detection unit two parts circuit composition are surveyed, circuit a' and b' are the internal positive line after polarity reversal
Road, a' are anode;A " and b' is circuit leading-out terminal, connects user terminal.
Wherein, hook state is plucked in line voltage distribution detection unit detection:When standby line voltage distribution it is high (typically 22V~
64V), it is 0 higher than the threshold voltage of setting, on-off circuit conducting, LDET output ends;Circuit during the normal off-hook of user terminal
Voltage is low (line voltage distribution is generally below 15V), and on-off circuit cut-off, LDET ends output is 1, i.e., off hook signal is 1.MCU passes through
Whether LDET condition adjudgements have motor-driven work of seting out, and terminal is in holding state if LDET no dial tones, if LDET has off-hook
Then system judges off hook state to signal.
Line current detection unit can detect off hook state:Using off-hook current threshold is set, in the standby state, its
Leakage current very little, and the feature that line current under off hook state is big.When user's off-hook, line current is more than threshold
Value, on-off circuit conducting, HDF output ends are 1;Under holding state, output 0.
MCU can be accurately judged to the dislodging machine SOT state of termination by detecting LDET and HDF ports, as MCU analysis and and
The foundation of process circuit state.
Signal sample circuit 5, including current sampling unit and voltage sampling unit, current sampling unit are used for line electricity
Stream is sampled, and voltage sampling unit is used to sample line voltage distribution, samples the line current data and line electricity of acquisition
Data are pressed to be used to carry out line status analysis and line fault judgement for controller 6.As illustrated in fig. 7, LDET, PWEN are to adopt
Sample control signal, AADJ are change detection current range gear control signal, are controlled by MCU;VOX is picked up line electricity
Pressure value sampled output, Iout are current value sampled output, and two outputs are coupled with the inputs of MCU AD conversion.
Voltage detecting during off-hook:LDET also serves as detecting enable signal both as detection off hook signal in circuit.After off-hook
LDET exports high level, starts voltage sampling circuit, the line voltage distribution detected after VOX output off-hooks.Same phone is plucked hands-free
Line voltage distribution difference (general hands-free off-hook line voltage higher, handle off-hook is relatively low) under machine and handle off hook state, MCU leads to
The AD values for reading VOX outputs are crossed, compared with the AD values of the normal off hook state of record and are analyzed, you can whether judge user terminal
Normal off-hook or line short fault.
Inlet wire end line does not connect or during off line, and because inlet wire line voltage distribution is that 0, LDET can export high level, and HDF continues
Export low level, because circuit does not have voltage during off line, so VOX outputs be 0, MCU can determine whether it is current be off-line state or
Inlet wire broken string state.
Leakage current test when standby:Leakage current test when current detecting Iout is mainly used in standby.Using a high accuracy
Current sense amplifier, the current signal linear of detection is transformed into voltage signal, the amplifier has high pressure resistant, micro- electricity
The advantages that flowing, be high-precision, line current is filtered, amplifies, after current sampling, is output to MCU AD ports.
Line current is small when standby, predominantly the summation of phone caused leakage current and line electrical leakage stream in itself, the electric current
Signal includes DC current signal, interference signal and noise signal.Exported after scanned, filtering, amplification, sampling, be input to MCU
It is accurate to read AD values.By study, MCU can learn current phone normal use when leakage current, record, preserve Iout output
AD values.During system standby state, MCU timings enter fast mode, read Iout AD values, if AD values occur compared with macromutation,
MCU mark "abnormal" warnings, record event and incident duration.
Current software actual operating is:Under off-hook, holding state, MCU monitorings Iout and VOX is 8ms samplings one
Secondary, continuous 16 data are one group, the AD values averaged after maximum, minimum value as current Iout and VOX are filtered out, with
The standard value practised is compared, and is analysed whether as abnormality.By current processing method, detection circuit I out can realize 5 μ
A measurement accuracy, measurement range are the μ A of 5 μ A~200.
When system can adaptively feed back leakage current characteristic and the environmental change of telephone set 300, phone and line electrical leakage stream
Can corresponding slowly varying characteristic.It is conventional to exempt from electric telephone set 300 when standby, periodically from line fed, to keep phone
Normal work.The power taking moment line current of telephone set 300 is larger, and now Iout outputs are in periodically completely shelves characteristic, it is necessary to taking
Iout values during electricity make exclusion processing;Power taking tempus intercalare line current very little, normally machine and line electrical leakage are flowed into
Row analyzing and processing, when use environment changes, phone leakage current also occurs slowly varying.To adapt to case above, except to Iout
Outside output signal Real-time hardware filtering process measure, it is also necessary to which the software of big number criterion and single order software filtering is to handle.
It is further preferred that as illustrated in fig. 8, in addition to interface circuit, interface circuit, which is used to input to controller 6, to be controlled
System instruction, and/or, the control instruction of reception controller 6, and interface circuit includes, serial communication interface, keyboard, LED instructions
Lamp, BUZ buzzers.Need to illustrate still, interface circuit can be extended according to being actually needed, and the present embodiment is not made specifically
Limit.
Further, as illustrated in fig. 9, in addition to for providing the power module circuitry 7 of power supply, and power module circuitry
7 include, rechargeable battery, charging control unit, supply voltage detection unit, power conversion unit;Wherein, rechargeable battery is used
In being powered after power conversion, charging control unit is used to carry out charge control when rechargeable battery is charged,
Supply voltage detection unit is used for the cell voltage for detecting rechargeable battery, and battery voltage detection signal is used to enter for controller 6
Row battery status alarm decision.In the present embodiment, line voltage distribution detection unit detects the cell voltage of lithium battery, works as cell voltage
When value is less than setting value, BATDET exports a high level, and MCU reads BATDET=1, and MCU sends lithium battery low pressure alarming.
Specifically, line status includes, ringing condition, handle off hook state, hands-free off hook state, hook state, off line
State, inlet wire broken string state;Line fault includes, open lines, line short, line electrical leakage, circuit serious drain, and terminal is non-
Normal and machine.
Embodiment two
With reference to Figure 10, the present embodiment provides a kind of telephone line fault monitoring method, applied to the system in embodiment one,
Method includes,
Systematic learning step S1, when gathering unit normal use, current value, magnitude of voltage under off-hook and hook state, with
And collection is normal and machine is in use, current value, magnitude of voltage under off-hook and hook state, and the data gathered are handled
To obtain benchmark dataset;
Sampling step S2, sampled with default sample mode and obtain line voltage distribution data and/or line current data;
Data processing step S3, processing is filtered to line voltage distribution data and line current data;
Malfunction monitoring step S4, according to benchmark dataset and, according to filtered line voltage distribution data and line current
Data are judged line status, and when there is line fault, corresponding alarm signal is sent by interface.
In the present embodiment, study:System installation after or again verify regular link when, make system enter " study " state,
By interactive with user terminal, user terminal gathers phone and circuit in off-hook and hook state under different use states
Normal current value and magnitude of voltage down, are gathered and normal Current Voltage value under off-hook and hook state when machine uses, and preserve institute
The data collected, the benchmark for as the data that system collects in normal work analyze judgement and compare;
Scanning and sampling:Using 8ms timer interrupt modes, i.e., single pass is carried out to VOX and Iout per 8ms, pass through AD
Mouth samples to its signal data;Equally, per the input port of each modular circuit of 8ms synchronous scannings, the input shape of each port is read
State.
Signal data is analyzed and processing:Software filtering, using single order or multistage filtering algorithm;Or using DSP frequency spectrums point
Analyse algorithm.After purpose is exactly the analog voltage that will collect and current signal digitlization, various interference and sound are contained in the signal
Frequency AC signal obtains accurate direct current signal numerical value, it is necessary to carry out software filtering processing to it.
Data storage:Need to divide working area and memory block, keep in the data and storage target data of processing procedure respectively.
Store the alert data information such as duration section, event of failure and mark that line fault occurs.
Data processing step S3 is specifically included, to line voltage distribution data and line current data, using digital filtering method
Digital filtering is carried out, and filter factor is adaptively adjusted in processing is filtered, and by the filtering in setting time length
Voltage data and current data afterwards carries out secondary anti-tampering processing.Specifically, sampling period 8ms, and sample mode is fixed
When interrupt mode.And more specifically, filtered data are carried out using majority voting method, deviation compensation method secondary anti-tampering
Processing.It should be noted that digital filter (for example, first-order filtering, or multistage filtering, or DSP spectrum analyses filtering
Method) it can filter out most audio, signaling and interference signal in circuit, but it is discrete, transient state, random dry for some
Signal is disturbed, the filter capacity of filter processing method is limited, so, continue to carry out the filtered data in setting time length
Secondary anti-tampering processing, further filters out interference, makes up the defects of digital filtering is handled, and improves filtering accuracy.
In the present embodiment, the data sampling frequency of application is that every 8ms is once sampled, one group of 160 milliseconds of continuous sampling
(fixing tentatively 160 milliseconds of durations), then sampling number has CAIYANG_NUM=160/8=20 times, and through majority voting, (every group of sampling is all
It is continuous 20 AD sample magnitudes, removes 4 maximums, remove 4 minimum values, the processing costs for asking for remaining 12 numerical value is made
For the current numerical value of this group) processing after, obtain Ti.In addition, the T drawni、T(i-1)Value respectively with TxAnd T0Value compares, if worked as
Preceding detection data are beyond the permission excursion of setting, then abnormality counter adds one, while non-abnormality counter is clear
Zero processing, then it is assumed that be currently at doubtful abnormality.
The data of current detection are after the permission excursion of setting, into line short or open fault condition discrimination
Processing, influenceed to exclude the interference signal, the doubtful abnormality set in time duration is judged as abnormality, i.e.,
Represent that circuit breaks down.
The Rule of judgment of table 2 and judged result comparison table
The method of discrimination of abnormality:The standby current and off-hook voltage value currently measured respectively with " study " numerical value,
And upper one group of measured value compares, during beyond the threshold values of setting, represent that circuit is in doubtful abnormality, it is also necessary to according to
Current line work state, judge line short or short-circuit condition, and the relation of Rule of judgment and result is shown in Table 2.
In table 2, T0(include the standby leakage flow valuve I of " study " for the numerical value of " study "0With off-hook current value Iz0Or " learn
The off-hook magnitude of voltage V of habit "0);
TxFor self-adaptive processing correction value (including the standby leakage flow valuve I after processingxWith off-hook current value IzxOr processing
Off-hook magnitude of voltage V afterwardsx);
Ti(include the standby leakage flow valuve I of detection for current measured valueiWith off-hook current value IziOr the off-hook of detection
Magnitude of voltage Vi);
T(i-1)(similarly include the standby leakage flow valuve △ I and off-hook current value △ of last time detection for last measured value
IzOr off-hook magnitude of voltage);
△ T are that threshold values when setting abnormal (similarly includes the standby leakage current threshold values △ I and off-hook current threshold △ of setting
IzOr off-hook threshold voltage △ V);
In the present embodiment, as ︱ T0-Ti︱ >=△ T and ︱ Tx–Ti︱ >=△ T then think abnormality currently occur.
Further, the filtering mode of data processing step is first-order filtering, or multistage filtering, or DSP spectrum analyses
Filtering.It should be noted that the present embodiment is not defined to the concrete mode of digital filtering, actual conditions can be combined and carried out
Choose.Furthermore, it is necessary to explanation, first-order filtering, are called one order inertia filtering or first-order low-pass ripple.First-order low-pass ripple
Algorithmic formula is:In Y (n)=α X (n) (1- α) Y (n-1) formula:α is filter factor;X (n) is this sampled value;Y (n-1) is
Last time filtering output value;Y (n) is this filtering output value.First-order low-pass ripple method was filtered defeated using this sampled value with last time
Go out value to be weighted, obtain effective filter value so that output has feedback effect to input.
In the present embodiment, processing is filtered using first-order filtering mode, and during processing is filtered, it is adaptive
Ground adjustment first-order filtering coefficient is answered, to improve filtering accuracy.Specifically, the algorithm of first-order filtering coefficient is adjusted, as shown in figure 11,
1) when data quickly change, filter result can follow up in time, that is, sensitivity is preferential;And data variation is got over
It hurry up, sensitivity should be higher.
2) (stabilization of AD reference power sources, believe when data tend towards stability, and are vibrated above and below a fixed point on circuit
Number stabilization), filter result is tended to be steady, that is, smoothness is paid the utmost attention to;
3) after data stabilization, filter result can approach eventually equal to sampled data.
And before being adjusted, it would be desirable to first carry out following judgement;
Data variation whether towards same direction (such as when sampled value twice in succession is all than its last time filter result
Greatly, it is consistent to be considered as change direction, is otherwise considered as inconsistent);
Whether data variation is very fast (mainly judging the difference between sampled value and last time filter result).
Principle description below after adjustment:When data variation direction is inconsistent twice, illustrate there is shake, filter factor is clear
Zero, ignore this new sampled value;When data continue to a direction change, filter factor is gradually stepped up, this was carried and newly adopts
The power of sample value;When the very fast (difference of data variation>The technology of trembling that disappears accelerates the threshold of reaction) when, to accelerate to improve filter factor.
In the present embodiment, system can correctly perceive the working condition of circuit and terminal, and the work perceived according to these
Make state and detection signal, by the data processing of the signal transacting and software of hardware, correctly judge line fault conditions, send out
Go out corresponding alarm signal.
Specifically, line status includes, ringing condition, handle off hook state, hands-free off hook state, hook state, off line
State, inlet wire broken string state;Line fault includes, open lines, line short, line electrical leakage, circuit serious drain, and terminal is non-
Normal and machine.
Although present invention has been a certain degree of description, it will be apparent that, do not departing from the spirit and scope of the present invention
Under the conditions of, the appropriate change of each condition can be carried out.It is appreciated that the invention is not restricted to the embodiment, and it is attributed to right
It is required that scope, it includes the equivalent substitution of each factor.
Claims (10)
- A kind of 1. telephone line fault monitoring system, it is characterised in that including, polarity detection circuit, polarity reversal circuit, ring Detect circuit, picking/hanging machine detection circuit, signal sample circuit, controller;The picking/hanging machine detection circuit is connected to the polarity reversal circuit and the signal sample circuit;The controller is connected to the polarity detection circuit, the polarity reversal circuit, the ring detecting circuit, institute State picking/hanging machine detection circuit, the signal sample circuit.
- 2. telephone line fault monitoring system according to claim 1, it is characterised in that also including lightning protection circuit, The lightning protection circuit is connected with the signal sample circuit.
- 3. telephone line fault monitoring system according to claim 1, it is characterised in thatThe polarity detection circuit includes, Polarity comparision device, is sent for detecting line polarity, and by Check up polarity signal to control In device processed;The polarity reversal circuit includes, and polarity switched cell and switching driver element, the controller are examined according to the polarity Signal is surveyed, controls the switching driver element, drives the polarity switched cell to perform polarity switching;Wherein, the polarity is cut It is locking type relay to change unit, and the switching driver element is H type drive circuits;The ring detecting circuit includes, Boll traits unit, detect circuit ringing signal, and by Boll traits signal send to Controller, for carrying out line status judgement for controller;The picking/hanging machine detection circuit includes, line voltage distribution detection unit and line current detection unit, the line voltage distribution inspection Survey unit to be used to detect line voltage signal, the line current detection unit is used to detect line current signal, voltage detecting Signal and current detection signal are used to carry out dislodging machine judgement for the controller;The signal sample circuit, including current sampling unit and voltage sampling unit, the current sampling unit are used for line Road electric current is sampled, and the voltage sampling unit is used to sample line voltage distribution, samples the line current data of acquisition It is used to carry out line status analysis for the controller with line voltage distribution data and line fault judges.
- 4. telephone line fault monitoring system according to claim 1, it is characterised in that described also including interface circuit Interface circuit is used to input control instruction to the controller, and/or, receive control instruction or letter that the controller exports Breath, and the interface circuit includes, serial communication interface, keyboard, LED light, BUZ buzzers.
- 5. telephone line fault monitoring system according to claim 1, it is characterised in that also include being used to provide power supply Power module circuitry, and the power module circuitry includes, rechargeable battery, charging control unit, supply voltage detection unit, Power conversion unit;Wherein, the rechargeable battery is used to be powered after power conversion, and the charging control unit is used In carrying out charge control when the rechargeable battery is charged, the supply voltage detection unit, which is used to detecting, described can fill The cell voltage of battery, battery voltage detection signal are used to carry out battery status alarm decision for the controller.
- 6. telephone line fault monitoring system according to claim 2, it is characterised in that the line status includes, and shakes Bell-shaped state, handle off hook state, hands-free off hook state, hook state, off-line state, inlet wire broken string state;The line fault Including, open lines, line short, line electrical leakage, circuit serious drain, terminal is improper and machine.
- A kind of 7. telephone line fault monitoring method, it is characterised in that including,Systematic learning step, when gathering unit normal use, current value, magnitude of voltage under off-hook and hook state, and collection Normal and machine is handled the data gathered to obtain in use, current value, magnitude of voltage under off-hook and hook state Benchmark dataset;Sampling step, sampled with default sample mode and obtain line voltage distribution data and/or line current data;Data processing step, processing is filtered to the line voltage distribution data and the line current data;Malfunction monitoring step, according to the benchmark dataset and, according to filtered line voltage distribution data and line electricity fluxion Judge according to line status, and when there is line fault, corresponding alarm signal is sent by interface.
- 8. telephone line fault monitoring method according to claim 7, it is characterised in that the data processing step is specific Including to the line voltage distribution data and the line current data, carrying out digital filtering using digital filtering method, and entering It is adaptively adjusted filter factor in row filtering process, and by filtered voltage data and the electric current number in setting time length According to the secondary anti-tampering processing of progress.
- 9. telephone line fault monitoring method according to claim 7, it is characterised in that the filter of the data processing step Ripple mode is first-order filtering, or multistage filtering, or DSP spectrum analyses filtering.
- 10. telephone line fault monitoring method according to claim 7, it is characterised in that the line status includes, and shakes Bell-shaped state, handle off hook state, hands-free off hook state, hook state, off-line state, inlet wire broken string state;The line fault Including, open lines, line short, line electrical leakage, circuit serious drain, terminal is improper and machine.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711287717.9A CN107863989A (en) | 2017-12-07 | 2017-12-07 | Telephone line fault monitoring system and monitoring method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711287717.9A CN107863989A (en) | 2017-12-07 | 2017-12-07 | Telephone line fault monitoring system and monitoring method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107863989A true CN107863989A (en) | 2018-03-30 |
Family
ID=61705012
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711287717.9A Pending CN107863989A (en) | 2017-12-07 | 2017-12-07 | Telephone line fault monitoring system and monitoring method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107863989A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111556204A (en) * | 2020-04-22 | 2020-08-18 | 深圳震有科技股份有限公司 | Method, device, equipment and medium for detecting and processing line fault of analog telephone system |
CN112020044A (en) * | 2019-05-31 | 2020-12-01 | 北京小米移动软件有限公司 | Wireless charging communication method, device, equipment and storage medium |
CN113391214A (en) * | 2021-07-30 | 2021-09-14 | 湖北工业大学 | Battery micro-fault diagnosis method based on battery charging voltage ranking change |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2220139Y (en) * | 1994-05-18 | 1996-02-14 | 许寅初 | Theft-proof terminal box for telephone |
CN204350111U (en) * | 2014-12-30 | 2015-05-20 | 王秀玲 | A kind of Intelligent telephone control system based on DTMF |
CN205610749U (en) * | 2016-04-26 | 2016-09-28 | 国网山东省电力公司即墨市供电公司 | Telephone circuit trouble integrated test device |
CN106303098A (en) * | 2016-10-20 | 2017-01-04 | 国家电网公司 | Power dispatching telephone circuit automatic tour inspection system and method for inspecting |
CN207490922U (en) * | 2017-12-07 | 2018-06-12 | 深圳电器公司 | Telephone line fault monitoring system |
-
2017
- 2017-12-07 CN CN201711287717.9A patent/CN107863989A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2220139Y (en) * | 1994-05-18 | 1996-02-14 | 许寅初 | Theft-proof terminal box for telephone |
CN204350111U (en) * | 2014-12-30 | 2015-05-20 | 王秀玲 | A kind of Intelligent telephone control system based on DTMF |
CN205610749U (en) * | 2016-04-26 | 2016-09-28 | 国网山东省电力公司即墨市供电公司 | Telephone circuit trouble integrated test device |
CN106303098A (en) * | 2016-10-20 | 2017-01-04 | 国家电网公司 | Power dispatching telephone circuit automatic tour inspection system and method for inspecting |
CN207490922U (en) * | 2017-12-07 | 2018-06-12 | 深圳电器公司 | Telephone line fault monitoring system |
Non-Patent Citations (1)
Title |
---|
艾茂 等: "电话线路故障在线监测系统的设计", 《信息通信》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112020044A (en) * | 2019-05-31 | 2020-12-01 | 北京小米移动软件有限公司 | Wireless charging communication method, device, equipment and storage medium |
CN112020044B (en) * | 2019-05-31 | 2021-10-01 | 北京小米移动软件有限公司 | Wireless charging communication method, device, equipment and storage medium |
US11316386B2 (en) | 2019-05-31 | 2022-04-26 | Beijing Xiaomi Mobile Software Co., Ltd. | Communication method and device for wireless charging |
CN111556204A (en) * | 2020-04-22 | 2020-08-18 | 深圳震有科技股份有限公司 | Method, device, equipment and medium for detecting and processing line fault of analog telephone system |
CN113391214A (en) * | 2021-07-30 | 2021-09-14 | 湖北工业大学 | Battery micro-fault diagnosis method based on battery charging voltage ranking change |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108107357A (en) | Switching signal detection circuit with self-diagnostic function | |
CN203241494U (en) | Direct current system AC series current fault and insulation fault monitoring line-selection apparatus | |
CN106569129B (en) | Motor safety detection method and system and electric machine control system | |
CN107863989A (en) | Telephone line fault monitoring system and monitoring method | |
CN103135038A (en) | Alternative current electric crosstalk and insulation fault monitoring line selection method of direct current system | |
CN102207529A (en) | Voltage sampling device and method capable of judging sampling line break of battery pack | |
CN101895085B (en) | Power supply circuit protective device and protective control method | |
CN104267273A (en) | Quick detection circuit and method for mains fluctuation | |
CN106199343A (en) | A kind of power system DC power supply monitor and monitoring method | |
CN107450027A (en) | A kind of uninterrupted power source intelligent online monitoring and warning system platform | |
CN205652941U (en) | Elevator thing networking intelligent acquisition terminal | |
CN206876240U (en) | Intelligent metering instrument with NB IoT communication modules | |
CN207490922U (en) | Telephone line fault monitoring system | |
CN104868563A (en) | Intelligent charge-discharge equipment and real-time monitoring and controlling method | |
CN207717935U (en) | Switching signal detection circuit with self-diagnostic function | |
CN114035555A (en) | PLC controller fault detection system | |
CN119209871A (en) | Non-stop replacement device for outdated batteries in DC battery packs of substations | |
CN201247411Y (en) | Remote video diagnostic equipment for pump station control system fault | |
CN204166058U (en) | A kind of city electro-mechanical wave quick detection circuit | |
CN212322937U (en) | Residual current circuit breaker | |
CN103337837A (en) | Power supply circuit protective control method | |
CN115166494B (en) | Intelligent IT online circuit detection monitoring device | |
CN201935981U (en) | Fault detector for electric distribution network | |
CN117474345A (en) | Intelligent environment-friendly remote real-time monitoring and early warning method and system | |
CN108680885A (en) | Zero method and device of Hall current sensor school |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180330 |