CN-121982848-A - Power failure alarm method and system of power consumption loop monitoring module
Abstract
The invention provides a power failure alarm method and a system of an electricity utilization loop monitoring module, comprising the steps of connecting an electric fire detector with the electricity utilization loop monitoring module and numbering the electricity utilization loop monitoring module; the electric fire detector judges whether an electric loop monitoring module is offline through polling communication, if the offline electric loop monitoring module is not the electric loop monitoring module at the tail end, the upper-level equipment power-off zone bit of the lower-level equipment of the failed module is read, the electric loop monitoring module is judged to be in power-off fault or communication line fault, and if the offline electric loop monitoring module is not the electric loop monitoring module at the tail end, the lower-level equipment power-off zone bit of the upper-level equipment is combined to judge the electric fire detector to be in communication line fault or power-off fault. The invention adds the connected signal wire in the power consumption loop monitoring module, and judges the input/output polarity reversal state of the signal wire in real time by establishing a mutual monitoring mechanism between the front-stage monitoring module and the rear-stage monitoring module, thereby realizing the accurate judgment of the fault type of the off-line power consumption loop monitoring module.
Inventors
- LI NING
- WANG CHUANG
- AN QI
- ZHENG GANG
- LIU SONG
- LIU TAO
Assignees
- 北京四方继保自动化股份有限公司
- 北京四方继保工程技术有限公司
- 北京四方瑞和科技有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260128
Claims (11)
- 1. The power failure alarm method of the power consumption loop monitoring module is characterized by comprising the following steps of: Step 1, connecting an electric fire detector with an electric loop monitoring module, and numbering the electric loop monitoring module according to a continuous sequence; Step 2, carrying out polling communication on the electric fire detector and each electric loop monitoring module according to the serial number sequence, and judging whether the electric loop monitoring module is offline or not; Step 3, if the power consumption loop monitoring module is offline, judging whether the offline power consumption loop monitoring module is a power consumption loop monitoring module connected with the tail end, if so, entering step 5, otherwise, acquiring a power failure flag bit of the upper equipment of the lower equipment of the power consumption loop monitoring module with the failure; step 4, judging whether the power-off flag bit of the upper-level equipment is 1, if so, judging that the power-off fault of the fault power utilization loop monitoring module is the power-off fault, otherwise, judging that the communication line is the fault; Step 5, judging whether the upper equipment of the terminal power utilization loop monitoring module is powered off, if yes, the terminal power utilization loop monitoring module is powered off, otherwise, acquiring a power-off flag bit of the lower equipment of the upper equipment of the terminal power utilization loop monitoring module; And 6, judging whether the power-off flag bit of the lower-level equipment is 1, if so, determining that the terminal power utilization loop monitoring module is in power-off fault, and otherwise, determining that the terminal power utilization loop monitoring module is in communication line fault.
- 2. The power down warning method of a power usage loop monitoring module of claim 1, wherein, The electric fire detector is connected with the power consumption loop monitoring module, and specifically comprises: the total number of the power utilization loop monitoring modules is N, and N is more than or equal to 2, the electric fire detector is connected with the first power utilization loop monitoring modules through signal wires, and the power utilization loop monitoring modules are arranged according to sequence numbers and are connected with each other through the signal wires in sequence; The electric fire detector is connected with each electric loop monitoring module through 485 communication lines.
- 3. The power down warning method of a power usage loop monitoring module of claim 2, wherein, The electric fire detector is in polling communication with the electric loop monitoring module, and specifically comprises: the electric fire detector is connected with each electric loop monitoring module through 485 communication lines; The electric fire detector sequentially acquires the electricity consumption parameters of each electricity consumption circuit monitoring module through 485 communication lines according to the numbering sequence of the electricity consumption circuit monitoring modules, and judges that a certain electricity consumption circuit monitoring module is offline when no reply information is sent by the electricity consumption circuit monitoring module; and returning to the first electric loop monitoring module to restart the new polling communication after the polling to the Nth electric loop monitoring module is finished.
- 4. The power down warning method of a power usage loop monitoring module of claim 2, wherein, The method for acquiring the power-off flag bit of the upper-level equipment of the lower-level equipment of the power-consumption loop monitoring module with faults specifically comprises the following steps: setting the failure as an M-th power utilization loop monitoring module, wherein the lower-level equipment is an M+1-th power utilization loop monitoring module; The electric fire detector sends a command through a 485 communication line, and the power-off state bit of the power-off alarm upper-level equipment of the (M+1) th power-on loop monitoring module is set to be enabled; presetting level monitoring duration, and carrying out level monitoring on an M-th power utilization loop monitoring module after a power-off state bit of the monitoring upper-level equipment of the M+1th power utilization monitoring module is enabled; And judging whether the level of the M-th power utilization loop monitoring module is within the effective range or not in the level monitoring duration, if so, determining that the power-off flag bit of the upper-level equipment is 0, and if not, determining that the power-off flag bit of the upper-level equipment is 1.
- 5. The power down warning method of a power usage loop monitoring module of claim 4, wherein, The effective range of the level of the Mth power utilization loop monitoring module is 2.5-3.3V.
- 6. The power down warning method of a power usage loop monitoring module of claim 4, wherein, And step 4, after the preset level monitoring duration is reached, the electric fire detector reads the power-off flag bit of the upper-level equipment of the M+1 power utilization loop monitoring module through a 485 communication line, and the power-off state bit of the upper-level equipment of the M+1 power utilization loop monitoring module, and after the power-on of the M power utilization loop monitoring module resumes communication, the electric fire detector sends a command to close the level monitoring through the 485 communication line.
- 7. The power down warning method of a power usage loop monitoring module of claim 1, wherein, The lower-level equipment power-off zone bit of the upper-level equipment of the terminal power consumption loop monitoring module is obtained, and the method specifically comprises the following steps of: taking the upper-level equipment of the terminal power utilization loop monitoring module as an N-1 power utilization loop monitoring module, and enabling the monitoring lower-level equipment of the power utilization loop monitoring module by using an electric fire detector to send a command to the N-1 power utilization loop monitoring module through a 485 communication line; Presetting a level monitoring duration, after the N-1 power consumption loop monitoring module judges that the power-off state bit of the lower-level equipment is enabled, changing the high level of the signal line output from 2.5V to 3.5V into the pull-up input, then carrying out level monitoring on the N power consumption loop monitoring module, and judging whether the level is in an effective range within the level monitoring duration; If the power-off flag bit of the lower-level equipment is 0 in the effective range, if not in the effective range the power-off flag bit of the stage device is 1.
- 8. The power down warning method of a power usage loop monitoring module of claim 7, wherein, And step 6, namely, the power-off state bit of the subordinate equipment of the N-1 power utilization loop monitoring module, and after the power-on of the N power utilization loop monitoring module resumes communication, the electric fire detector sends a command to close the level monitoring of the N power utilization loop monitoring module through a 485 communication line.
- 9. A power outage alarm system for an electrical circuit monitoring module for implementing the power outage alarm method of the electrical circuit monitoring module according to any one of claims 1-8, comprising: the connection unit is used for connecting the electric fire detector with the electric loop monitoring module and numbering the electric loop monitoring module according to a continuous sequence; the off-line judging unit is used for carrying out polling communication with the power utilization loop monitoring module through the electric fire detector and judging whether the power utilization loop monitoring module is off-line or not; If the power consumption loop monitoring module is offline, judging whether the offline power consumption loop monitoring module is a power consumption loop monitoring module connected with the tail end, if so, judging the fault type through a fault judging module of the tail end equipment, and if not, judging the fault type through a fault judging module of the non-tail end equipment; the non-terminal equipment fault judging unit is used for acquiring a power-off flag bit of a superior equipment of a subordinate equipment of the power-on loop monitoring module with faults and judging whether the power-off flag bit of the superior equipment is 1, if yes, the power-on loop monitoring module with faults is a power-off fault, and if not, the power-on loop monitoring module with faults is a communication line fault; the terminal equipment fault judging unit is used for acquiring a lower-level equipment power-off flag bit of upper-level equipment of the terminal power-on loop monitoring module, judging whether the lower-level equipment power-off flag bit is 1, if yes, the terminal power-on loop monitoring module is in power-off fault, and if not, the terminal power-on loop monitoring module is in communication line fault.
- 10. A terminal comprises a processor and a storage medium, and is characterized in that: The storage medium is used for storing instructions; The processor being operative according to the instructions to perform the steps of the method according to any one of claims 1-8.
- 11. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the steps of the method according to any one of claims 1-8.
Description
Power failure alarm method and system of power consumption loop monitoring module Technical Field The invention relates to the technical field of power consumption loop monitoring module alarming, in particular to a power failure alarming method and system of a power consumption loop monitoring module. Background In a traditional power consumption loop monitoring module system, the power failure alarm report of the power consumption loop monitoring module is realized through the electric fire detector, and after the power failure, the power consumption loop monitoring module needs to keep sustainable work for about 30 seconds, so that the electric fire detector can detect the power failure sign of the power consumption loop monitoring module. Since the power circuit monitoring module is usually installed below the circuit breaker to monitor the power consumption parameter, the conventional circuit breaker and the installation space (such as the PZ30 box) thereof are very limited, and strict requirements are imposed on the size of the monitoring module. If the scheme of adding the energy storage capacitor is adopted, the module size is significantly beyond the limit of the mainstream application scene. Therefore, the current power failure alarm method of the power consumption loop monitoring module mainly has two problems, namely that a circuit design of an energy storage capacitor is needed to be added in a circuit, the cost is increased, and the size of the power consumption loop monitoring module is smaller and better, so that the energy storage capacitor is increased, and great challenges are brought to size convenience. Disclosure of Invention In order to solve the defects in the prior art, the invention provides a method for realizing power-off alarm by using an electric loop monitoring module system, which solves the problems of high cost and large space occupation caused by continuous work of a small part of equipment which can be realized depending on an energy storage capacitor after power-off due to the fact that most of equipment depends on 485 communication lines to judge that the equipment is offline and the equipment cannot be judged. The invention adopts the following technical scheme. A power failure alarm method of a power consumption loop monitoring module comprises the following steps: Step 1, connecting an electric fire detector with an electric loop monitoring module, and numbering the electric loop monitoring module according to a continuous sequence; Step 2, carrying out polling communication on the electric fire detector and each electric loop monitoring module according to the serial number sequence, and judging whether the electric loop monitoring module is offline or not; Step 3, if the power consumption loop monitoring module is offline, judging whether the offline power consumption loop monitoring module is a power consumption loop monitoring module connected with the tail end, if so, entering step 5, otherwise, acquiring a power failure flag bit of the upper equipment of the lower equipment of the power consumption loop monitoring module with the failure; step 4, judging whether the power-off flag bit of the upper-level equipment is 1, if so, judging that the power-off fault of the fault power utilization loop monitoring module is the power-off fault, otherwise, judging that the communication line is the fault; Step 5, judging whether the upper equipment of the terminal power utilization loop monitoring module is powered off, if yes, the terminal power utilization loop monitoring module is powered off, otherwise, acquiring a power-off flag bit of the lower equipment of the upper equipment of the terminal power utilization loop monitoring module; And 6, judging whether the power-off flag bit of the lower-level equipment is 1, if so, determining that the terminal power utilization loop monitoring module is in power-off fault, and otherwise, determining that the terminal power utilization loop monitoring module is in communication line fault. Preferably, the connecting the electric fire detector with the electric loop monitoring module specifically includes: the total number of the power utilization loop monitoring modules is N, and N is more than or equal to 2, the electric fire detector is connected with the first power utilization loop monitoring modules through signal wires, and the power utilization loop monitoring modules are arranged according to sequence numbers and are connected with each other through the signal wires in sequence; The electric fire detector is connected with each electric loop monitoring module through 485 communication lines. Preferably, the electrical fire detector is in polling communication with the electrical loop monitoring module, and specifically includes: the electric fire detector is connected with each electric loop monitoring module through 485 communication lines; The electric fire detector sequentially acquires the electricity consumption p