CN110568247A - Power failure warning method of communication terminal and communication terminal - Google Patents
Power failure warning method of communication terminal and communication terminal Download PDFInfo
- Publication number
- CN110568247A CN110568247A CN201910856522.4A CN201910856522A CN110568247A CN 110568247 A CN110568247 A CN 110568247A CN 201910856522 A CN201910856522 A CN 201910856522A CN 110568247 A CN110568247 A CN 110568247A
- Authority
- CN
- China
- Prior art keywords
- module
- communication terminal
- comparator
- voltage
- alarm
- 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
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
- G01R19/165—Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values
- G01R19/16566—Circuits and arrangements for comparing voltage or current with one or several thresholds and for indicating the result not covered by subgroups G01R19/16504, G01R19/16528, G01R19/16533
- G01R19/16576—Circuits and arrangements for comparing voltage or current with one or several thresholds and for indicating the result not covered by subgroups G01R19/16504, G01R19/16528, G01R19/16533 comparing DC or AC voltage with one threshold
Abstract
the invention relates to a power failure warning method of a communication terminal and the communication terminal, comprising a power module, a warning module connected with the power module and a comparator, wherein the comparator is provided with a reference voltage; the output end of the power supply module is connected with the comparator, is coupled with a comparison voltage and is input into the comparator, and the comparator compares the comparison voltage with the reference voltage and outputs a comparison signal to the alarm module; the alarm module generates an alarm signal and sends the alarm signal to the local side equipment. The invention not only can simplify the structure of the equipment, reduce the volume of the equipment and reduce the production cost of the equipment, but also can effectively improve the reliability of power failure alarm.
Description
Technical Field
The invention relates to the technical field of communication equipment, in particular to a power failure warning method of a communication terminal and the communication terminal.
Background
in order to find the fault of the communication equipment in time when the power is cut off, a power failure warning function is added in some communication terminals, so that an operator can quickly position and overhaul the communication equipment. Therefore, before the device is completely powered off, the device is required to send alarm information to the local side device in the current network, so that the fault can be reliably recorded and stored in the network server, and technicians can conveniently call and consult the fault.
the existing power failure alarm scheme generally adopts a mode that a power supply port is connected with an energy storage capacitor in parallel, as shown in fig. 1. When the energy storage device works normally, the power supply supplies power to the back plate and charges the energy storage capacitor; when the voltage is lower than the set threshold value Vrefwhen the communication equipment generates a power failure warning signal ALM, the energy storage capacitor is discharged to maintainThe circuit works for a short time to ensure that the signal is uploaded. However, for some small-sized terminal devices such as a household PON terminal, the size and cost of the terminal device are strictly calculated, and the energy storage capacitor is adopted, so that the volume of the product is increased, and the complexity of a peripheral circuit is also increased, thereby increasing the production cost of the product, lacking competitive advantages, and being not beneficial to popularization and use of the product.
Disclosure of Invention
In view of the above, it is desirable to provide a power-down warning method of a communication terminal and a communication terminal, which can reliably transmit power-down warning information without using a large-capacity energy storage capacitor.
In order to achieve the above purpose, the invention adopts the following technical scheme.
The invention provides a power failure warning method of a communication terminal, wherein the communication terminal comprises a power supply module and a warning module, and the method comprises the following steps:
Configuring a comparator, and setting a reference voltage for the comparator;
a comparison voltage is coupled from the output end of the power supply module, the comparison voltage is input into the comparator and is compared with the reference voltage, and a comparison signal is output;
inputting the comparison signal into the alarm module to generate an alarm signal;
and sending the alarm signal to the local side equipment.
In the power failure warning method, the step of coupling a comparison voltage to the output terminal of the slave power supply module, inputting the comparison voltage to the comparator, comparing the comparison voltage with the reference voltage, and outputting a comparison signal specifically includes:
Configuring a voltage division circuit to divide the output voltage of the power module into a comparison voltage;
inputting the comparison voltage into a non-inverting input terminal of the comparator, inputting the reference voltage into an inverting input terminal of the comparator, and outputting the comparison signal from an output terminal of the comparator.
In the power failure warning method, the communication terminal is a PON terminal, and the warning module is a PON protocol processing chip; the step of inputting the comparison signal into the alarm module to generate an alarm signal specifically includes:
inputting the comparison signal as an interrupt signal into the PON protocol processing chip, and enabling the PON protocol processing chip to enter an interrupt processing program;
The interrupt processing program comprises the steps of constructing a power failure alarm data packet, clearing the current sending cache data area and writing the power failure alarm data packet into the sending cache data area to form the alarm signal.
In the above power failure warning method, the step of sending the warning signal to the office device specifically includes:
and waiting for a sending time slot allocated by the local side equipment, and sending the alarm signal to the local side equipment when the sending time slot arrives.
in the above power failure warning method, the step of sending the warning signal to the office device further includes:
Repeatedly writing the power failure alarm data packet into the sending cache data area, and continuously waiting for the arrival of the next sending time slot allocated by the local side equipment;
And repeating the steps until the communication terminal is completely powered off.
in the above power failure warning method, the communication terminal further includes a user function module, and the method further includes the steps of:
resetting the user function module to stop working; or
The working power supply input is cut off to stop working.
in the power failure warning method, the output voltage of the power supply module is 12V, the comparison voltage is 1.2V, and the reference voltage is 1V.
The invention also provides a communication terminal, which comprises a power module, an alarm module connected with the power module and a comparator, wherein the comparator is provided with a reference voltage;
the output end of the power supply module is connected with the comparator, is coupled with a comparison voltage and is input into the comparator, and the comparator compares the comparison voltage with the reference voltage and outputs a comparison signal to the alarm module;
The alarm module generates an alarm signal and sends the alarm signal to the local side equipment.
in the above communication terminal, the communication terminal is a PON terminal, and the alarm module is a PON protocol processing chip.
in the above communication terminal, the output voltage of the power supply module is 12V, the comparison voltage is 1.2V, and the reference voltage is 1V.
The invention configures a comparator, couples a comparison voltage from the power module, and compares the comparison voltage with a reference voltage, so that when power failure occurs, the voltage of the power module is reduced, the comparison voltage is also reduced, when the voltage is reduced to be lower than the reference voltage, a comparison signal is output, the alarm module is triggered to send out an alarm signal, and the alarm signal is sent to the local side equipment, thereby realizing the power failure alarm of the communication terminal. The invention not only can simplify the structure of the equipment, reduce the volume of the equipment and reduce the production cost of the equipment, but also can effectively improve the reliability of power failure alarm.
drawings
FIG. 1 is a schematic circuit diagram of a prior art power down alarm scheme;
Fig. 2 is a schematic flow chart of a power failure warning method of a communication terminal in this embodiment;
Fig. 3 is a schematic circuit diagram of the communication terminal in this embodiment.
The implementation of the objects of the present invention and their functions and principles will be further explained in the detailed description with reference to the attached drawings.
Detailed Description
The following further description is made with reference to the drawings and specific embodiments.
as shown in fig. 2, this embodiment provides a power failure warning method for a communication terminal, where the communication terminal includes a power module and a warning module, the power module is configured to supply power to the communication terminal, and the warning module is configured to send warning information to a local device in a network where the communication terminal is located when a user powers off or a power grid fails.
the power failure warning method mainly comprises the following steps:
S1: configuring a comparator, and setting a reference voltage for the comparator;
S2: a comparison voltage is coupled from the output end of the power supply module, the comparison voltage is input into the comparator and is compared with the reference voltage, and a comparison signal is output;
s3: inputting the comparison signal into the alarm module to generate an alarm signal;
S4: and sending the alarm signal to the local side equipment.
specifically, step S2 specifically includes:
Configuring a voltage division circuit to divide the output voltage of the power module into a comparison voltage;
inputting the comparison voltage into a non-inverting input terminal of the comparator, inputting the reference voltage into an inverting input terminal of the comparator, and outputting the comparison signal from an output terminal of the comparator.
For example, assuming that the operating voltage of the terminal device is 1V and the normal output voltage of the power module is 12V, the voltage divider circuit of the embodiment can divide the comparison voltage (set to 1.2V) to be slightly smaller than the operating voltage signal, and set the operating voltage as the reference voltage. When the output voltage of the power module is reduced, the comparison voltage is reduced in equal proportion, and when the output voltage is reduced to be lower than the reference voltage (namely the working voltage), the comparison signal is changed.
The technical essence of the present invention will be described in detail below by taking an example in which the communication terminal is a PON terminal and the alarm module is a PON protocol processing chip.
In step S3, inputting the comparison signal into the alarm module, and the step of generating an alarm signal specifically includes:
Inputting the comparison signal as an interrupt signal into the PON protocol processing chip, and enabling the PON protocol processing chip to enter an interrupt processing program;
the interrupt processing program comprises the steps of constructing a power failure alarm data packet, clearing the current sending cache data area and writing the power failure alarm data packet into the sending cache data area to form the alarm signal.
the scheme that can be adopted is that when the power supply is normal, the output voltage of the power supply module is 12V, the divided comparison voltage is 1.2V and is higher than the reference voltage (or the working voltage is 1.0V), at this time, the comparator outputs a comparison signal, and when the comparison signal is input into the alarm module (namely the PON protocol processing chip), the alarm module does not generate interruption.
when a user is powered off or the power grid is in power failure, the output voltage of the power supply module starts to drop from 12V, the divided comparison voltage starts to drop from 1.2V, when the divided comparison voltage drops to be lower than the reference voltage by 1.0V, the comparator outputs another comparison signal, and when the comparison signal is input into the alarm module, the comparison signal enables the PON protocol processing chip to generate an interrupt and immediately enters an interrupt processing program.
in this embodiment, the interrupt handler includes:
And constructing a power failure alarm data packet, clearing the current sending cache data area and writing the power failure alarm data packet into the sending cache data area to form the alarm signal.
Then, the step S4 is to send the alarm signal to the office device, which specifically includes the following steps:
S41: waiting for a sending time slot allocated by the local side equipment, and sending the alarm signal to the local side equipment when the sending time slot arrives;
S42: repeatedly writing the power failure alarm data packet into the sending cache data area, and continuously waiting for the arrival of the next sending time slot allocated by the local side equipment;
s43: and repeating the steps until the PON terminal is completely powered off.
The embodiment can realize simple and convenient power failure alarm through the steps, namely, an energy storage capacitor with larger volume and a complex peripheral circuit are not needed, and the alarm signal is not needed to be subjected to complex conversion and output, so that the circuit structure of the terminal equipment can be effectively simplified, the size of a product is reduced, and the aim of reducing the production cost of the product is fulfilled.
In addition, in order to prolong the power-down time, the embodiment further includes the following steps:
S5: and sending a control signal to the user function module to stop the work of the user function module.
specifically, if the user function module is provided with a reset input end, the user function module is reset to stop working; if the user function module has no reset input end, the working power supply input of the user function module is cut off, so that the user function module stops working.
By stopping the user function module in time, the power consumption can be greatly reduced, the power failure alarm time is prolonged, the reliability of the power failure alarm is improved, and technicians can position the power failure equipment in time and remove faults.
Referring to fig. 3, the present embodiment provides a communication terminal 100 based on the above method, including a power module 110 and an alarm module 120 connected thereto, and further including a comparator 130, where the comparator 130 is provided with a reference voltage;
The output terminal of the power module 110 is connected to the comparator 130, coupled to a comparator circuit 140 for comparing the voltage and inputting the voltage to the comparator 130, and the comparator 130 compares the comparison voltage with the reference voltage and outputs a comparison signal to the alarm module 120;
The alarm module 120 generates an alarm signal and transmits the alarm signal to the central office end device 200.
generally, the communication terminal 100 further includes a user function module 150 for providing various service services to the user, and when power failure occurs, the comparison signal is adapted to cut off power supply to the user function module 150 to stop working, thereby saving power consumption and prolonging power failure alarm time.
The communication terminal 100 described in this embodiment may be a PON terminal, and the alarm module 120 is a PON protocol processing chip; of course, in other embodiments, communication terminal 100 may be a digital subscriber loop and cable modem, among others.
Preferably, if the operating voltage of the communication terminal 100 is 1V and the output voltage of the power module 110 is 12V, the comparison voltage is set to 1.2V and the reference voltage is set to 1V.
the power failure warning function, principle and characteristics of the communication terminal 100 of the present embodiment may refer to the above description, and are not repeated herein.
in summary, the present invention configures a comparator, couples a comparison voltage from the power module, and compares the comparison voltage with a reference voltage, so that when a power failure occurs, the voltage of the power module decreases, and the comparison voltage also decreases, and when the voltage decreases to be lower than the reference voltage, outputs a comparison signal to trigger the alarm module to send an alarm signal, and sends the alarm signal to the local side device, thereby implementing a power failure alarm of the communication terminal. The invention not only can simplify the structure of the equipment, reduce the volume of the equipment and reduce the production cost of the equipment, but also can effectively improve the reliability of power failure alarm.
the technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
the above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention.
Claims (10)
1. A power failure warning method of a communication terminal, wherein the communication terminal comprises a power module and a warning module, and the method comprises the following steps:
Configuring a comparator, and setting a reference voltage for the comparator;
a comparison voltage is coupled from the output end of the power supply module, the comparison voltage is input into the comparator and is compared with the reference voltage, and a comparison signal is output;
inputting the comparison signal into the alarm module to generate an alarm signal;
And sending the alarm signal to the local side equipment.
2. The power down warning method of a communication terminal as claimed in claim 1, wherein the step of coupling a comparison voltage from the output terminal of the power module, inputting the comparison voltage into the comparator, comparing the comparison voltage with the reference voltage, and outputting a comparison signal specifically comprises:
configuring a voltage division circuit to divide the output voltage of the power module into a comparison voltage;
Inputting the comparison voltage into a non-inverting input terminal of the comparator, inputting the reference voltage into an inverting input terminal of the comparator, and outputting the comparison signal from an output terminal of the comparator.
3. The power failure warning method of a communication terminal according to claim 1, wherein the communication terminal is a PON terminal, and the warning module is a PON protocol processing chip; the step of inputting the comparison signal into the alarm module to generate an alarm signal specifically includes:
Inputting the comparison signal as an interrupt signal into the PON protocol processing chip, and enabling the PON protocol processing chip to enter an interrupt processing program;
the interrupt processing program comprises the steps of constructing a power failure alarm data packet, clearing the current sending cache data area and writing the power failure alarm data packet into the sending cache data area to form the alarm signal.
4. The power down warning method for a communication terminal according to claim 3, wherein the step of sending the warning signal to the office device specifically includes:
And waiting for a sending time slot allocated by the local side equipment, and sending the alarm signal to the local side equipment when the sending time slot arrives.
5. the power down warning method for a communication terminal according to claim 4, wherein the step of transmitting the warning signal to the office device further comprises:
Repeatedly writing the power failure alarm data packet into the sending cache data area, and continuously waiting for the arrival of the next sending time slot allocated by the local side equipment;
And repeating the steps until the communication terminal is completely powered off.
6. the power down warning method of a communication terminal as claimed in claim 1, wherein the communication terminal further comprises a user function module, the method further comprising the steps of:
resetting the user function module to stop working; or
the working power supply input is cut off to stop working.
7. The power failure warning method for the communication terminal as claimed in any one of claims 1 to 6, wherein the output voltage of the power module is 12V, the comparison voltage is 1.2V, and the reference voltage is 1V.
8. A communication terminal comprises a power module and an alarm module connected with the power module, and is characterized in that: the circuit also comprises a comparator, wherein the comparator is provided with a reference voltage;
The output end of the power supply module is connected with the comparator, is coupled with a comparison voltage and is input into the comparator, and the comparator compares the comparison voltage with the reference voltage and outputs a comparison signal to the alarm module;
The alarm module generates an alarm signal and sends the alarm signal to the local side equipment.
9. the communication terminal of claim 8, wherein the communication terminal is a PON terminal, and the alarm module is a PON protocol processing chip.
10. The communication terminal according to claim 8 or 9, wherein the output voltage of the power supply module is 12V, the comparison voltage is 1.2V, and the reference voltage is 1V.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910856522.4A CN110568247A (en) | 2019-09-11 | 2019-09-11 | Power failure warning method of communication terminal and communication terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910856522.4A CN110568247A (en) | 2019-09-11 | 2019-09-11 | Power failure warning method of communication terminal and communication terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110568247A true CN110568247A (en) | 2019-12-13 |
Family
ID=68778892
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910856522.4A Pending CN110568247A (en) | 2019-09-11 | 2019-09-11 | Power failure warning method of communication terminal and communication terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110568247A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111865273A (en) * | 2020-07-29 | 2020-10-30 | Oppo广东移动通信有限公司 | Power failure reminding circuit and CPE (customer premise Equipment) |
CN113395177A (en) * | 2021-06-10 | 2021-09-14 | 浙江亿邦通信科技有限公司 | Power failure protection method for 5G gateway |
CN116963135A (en) * | 2023-09-20 | 2023-10-27 | 四川恒湾科技有限公司 | O-RU power failure alarm reporting method, device and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101895341A (en) * | 2010-07-23 | 2010-11-24 | 中兴通讯股份有限公司 | Terminal equipment and power failure alarm reporting method thereof |
CN105092942A (en) * | 2014-05-06 | 2015-11-25 | 普天信息技术有限公司 | Power down alarm system |
CN108196113A (en) * | 2017-12-30 | 2018-06-22 | 武汉长光科技有限公司 | A kind of quick warning circuit of ONU power down for PON system |
CN109031038A (en) * | 2018-05-25 | 2018-12-18 | 烽火通信科技股份有限公司 | A kind of method and circuit for realizing power fail warning in PON far end system |
-
2019
- 2019-09-11 CN CN201910856522.4A patent/CN110568247A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101895341A (en) * | 2010-07-23 | 2010-11-24 | 中兴通讯股份有限公司 | Terminal equipment and power failure alarm reporting method thereof |
CN105092942A (en) * | 2014-05-06 | 2015-11-25 | 普天信息技术有限公司 | Power down alarm system |
CN108196113A (en) * | 2017-12-30 | 2018-06-22 | 武汉长光科技有限公司 | A kind of quick warning circuit of ONU power down for PON system |
CN109031038A (en) * | 2018-05-25 | 2018-12-18 | 烽火通信科技股份有限公司 | A kind of method and circuit for realizing power fail warning in PON far end system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111865273A (en) * | 2020-07-29 | 2020-10-30 | Oppo广东移动通信有限公司 | Power failure reminding circuit and CPE (customer premise Equipment) |
CN113395177A (en) * | 2021-06-10 | 2021-09-14 | 浙江亿邦通信科技有限公司 | Power failure protection method for 5G gateway |
CN116963135A (en) * | 2023-09-20 | 2023-10-27 | 四川恒湾科技有限公司 | O-RU power failure alarm reporting method, device and system |
CN116963135B (en) * | 2023-09-20 | 2023-12-08 | 四川恒湾科技有限公司 | O-RU power failure alarm reporting method, device and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110568247A (en) | Power failure warning method of communication terminal and communication terminal | |
US8541908B2 (en) | Powered device capable of working in continuation in case of power failure | |
CN110519068B (en) | POE power supply control device and POE power supply system | |
WO2014106382A1 (en) | Power supply method and apparatus for access device | |
KR970068366A (en) | Bus-network operation of electronic devices with microcontrollers | |
CN110113174B (en) | Ethernet power supply equipment | |
CN102170358B (en) | Backward feed equipment and power supply control method thereof | |
WO2012009892A1 (en) | Terminal apparatus and method for reporting power failure alarm of terminal apparatus | |
CN101127608A (en) | Wireless network adapter over current protection method and device | |
CN106101028B (en) | Ethernet switch and power receiving and supplying circuit thereof | |
US11888309B2 (en) | Fault handling system of solid-state transformer | |
CN201918694U (en) | Power failure alarm circuit for integrated DSL (digital subscriber line) access device | |
CN114498840A (en) | Power management circuit and electronic equipment | |
CN108683514B (en) | Power supply circuit and power supply device | |
CN105245350B (en) | A kind of DSL power-on and power-off means of communication and its equipment | |
CN211239865U (en) | One-way out-of-band communication circuit based on POE network line | |
CN208850084U (en) | A kind of communication equipment | |
CN208673508U (en) | A kind of wireless calling switch with self-checking function | |
CN217133666U (en) | Reset device of communication terminal | |
CN213521396U (en) | Power-off return device and terminal equipment | |
CN102510121B (en) | Power failure processing device and method | |
CN101345950A (en) | Terminal and implementing method | |
CN205945754U (en) | Optical network holds equipment in place with a net and receive circuit thereof | |
US10440667B2 (en) | Access terminal | |
CN212086215U (en) | Control circuit of high-power isolation POE 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191213 |
|
RJ01 | Rejection of invention patent application after publication |