CN110687495A - Device, system and method for testing reliability of power failure active reporting function - Google Patents

Device, system and method for testing reliability of power failure active reporting function Download PDF

Info

Publication number
CN110687495A
CN110687495A CN201911070784.4A CN201911070784A CN110687495A CN 110687495 A CN110687495 A CN 110687495A CN 201911070784 A CN201911070784 A CN 201911070784A CN 110687495 A CN110687495 A CN 110687495A
Authority
CN
China
Prior art keywords
power failure
test
power
active reporting
time
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.)
Granted
Application number
CN201911070784.4A
Other languages
Chinese (zh)
Other versions
CN110687495B (en
Inventor
曾争
林国营
黄友朋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Power Grid Co Ltd
Metrology Center of Guangdong Power Grid Co Ltd
Original Assignee
Guangdong Power Grid Co Ltd
Metrology Center of Guangdong Power Grid Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Power Grid Co Ltd, Metrology Center of Guangdong Power Grid Co Ltd filed Critical Guangdong Power Grid Co Ltd
Priority to CN201911070784.4A priority Critical patent/CN110687495B/en
Publication of CN110687495A publication Critical patent/CN110687495A/en
Application granted granted Critical
Publication of CN110687495B publication Critical patent/CN110687495B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass
    • G01R35/04Testing or calibrating of apparatus covered by the other groups of this subclass of instruments for measuring time integral of power or current

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

The application discloses a power failure active reporting function reliability testing device, a system and a method, a controller controls the power supply and power failure frequency of a testing table body for a tested intelligent ammeter according to a preset power failure active reporting testing scheme, the method comprises the steps of simulating a data request of a preset period by an acquisition terminal according to a power failure active reporting test scheme, analyzing whether the detected intelligent electric meter reports correctly and actively or not by recording the time of each action in the reliability test process, recording the action time interval and the failure interval time of the detected intelligent electric meter, the method can help improve the active reporting function of the detected intelligent electric meter, is not limited by the difficulty in simulating communication failure in a laboratory environment, does not need to manually initiate a request, and solves the technical problems that the conventional reliability testing mode of the power failure reporting function has difficulty in simulating a communication failure mode, wastes time and labor and cannot analyze the factors causing the active reporting failure.

Description

Device, system and method for testing reliability of power failure active reporting function
Technical Field
The application relates to the technical field of power failure reporting, in particular to a device, a system and a method for testing reliability of an active reporting function in power failure.
Background
The intelligent electric meter is used as acquisition terminal equipment of an intelligent power grid, not only has the function of metering and charging, but also has the function of detecting the power consumption quality of the power grid, can monitor power grid events such as power failure, end phase, overload, overcurrent, undervoltage, voltage loss, cut-off, reverse phase sequence, three-phase imbalance and the like, requests active reporting when monitoring the power grid events, and can assist a power system to realize power supply quality analysis of the power grid and early warning of faults in advance.
The intelligent ammeter has two active reporting modes in power failure, wherein one mode is that after power failure, the intelligent ammeter directly reports to the acquisition terminal after occupying the bus in the data acquisition interval, and the other mode is that when the acquisition terminal polls. No matter which mode is adopted, the intelligent electric meter actively reports when the power failure depends on the super capacitor or the external battery, the MCU, the RS485 and other peripheral equipment of the communication module of the intelligent electric meter keep low power consumption after the power failure generally, when the electric meter monitors that a request or a bus initiated by the acquisition equipment is idle, the MCU can be awakened in time, and the super capacitor is used for supplying power to complete the active reporting of the power failure. The intelligent electric meter can accurately and reliably complete active reporting, the MCU can be awakened in time, the super capacitor still has enough electric quantity to complete active reporting after waiting for a period of time, and power failure reporting can be stably and reliably carried out after the intelligent electric meter is hung, so that reliability testing of power failure reporting of the intelligent electric meter is delayed.
Aiming at the test of the power failure active reporting function, if a traditional test means is adopted, for the active reporting mode by occupying a bus mode, a failure mode which is difficult to simulate communication in a laboratory environment is tested, for the polling reporting mode of an acquisition terminal, the power down of a detection platform body can be controlled, after waiting for an acquisition period, a request is manually initiated, time and labor are wasted, and the factor causing the active reporting failure cannot be analyzed, so that how to improve the reliability test of the power failure active reporting function is a technical problem to be solved urgently by technical personnel in the field.
Disclosure of Invention
The application provides a reliability testing device, a system and a method for an active reporting function in power failure, which are used for solving the technical problems that the conventional reliability testing mode for the active reporting function in power failure is difficult in communication failure mode simulation, time-consuming and labor-consuming and cannot analyze factors causing the active reporting failure.
In view of this, a first aspect of the present application provides a device for testing reliability of an active reporting function in power outage, including: the intelligent ammeter comprises a controller, an intelligent ammeter to be detected and a test table body;
the controller is used for acquiring a power failure active reporting test scheme, controlling the power-up and power-down frequency of the test table body according to the power failure active reporting test scheme, starting a communication control mode for the tested intelligent electric meter according to the power failure active reporting test scheme, recording the time of each initiating action and receiving action in the power failure active reporting function reliability test process, and calculating the success rate of power failure active reporting, wherein the power failure active reporting test scheme comprises test times, power-up and power-down frequency, acquisition cycle waiting time and a test mode;
the test table body is used for powering on or powering off the intelligent ammeter to be tested according to the control instruction of the controller;
and the detected intelligent electric meter is used for entering a low power consumption mode when being in a power-off state and actively reporting power failure to the controller according to the determined communication control mode.
Optionally, the controller comprises:
the acquisition module is used for acquiring a power failure active reporting test scheme;
the first control module is used for controlling the power-on and power-off frequency of the test table body according to the power failure active reporting test scheme and starting to record the power failure time at the moment of power failure;
a second control module, configured to determine a communication control mode for the detected smart meter according to the power failure active reporting test scheme, if the test mode in the power failure active reporting test scheme is an active polling mode of a simulation acquisition terminal, actively initiate a data reading request to the detected smart meter, so that the detected smart meter is awakened by a communication frame signal and actively reported to the controller, and if the test mode in the power failure active reporting test scheme is an active waiting reporting mode of a simulation terminal, release a bus, so that the detected smart meter is awakened by a bus release signal and actively reports power failure to the controller;
the second control module records request time and release time when actively initiating a data reading request and a bus release to the detected intelligent electric meter;
the recording module is used for recording the time of each action initiating and action receiving in the power failure active reporting function reliability test process, wherein the action initiating time comprises the time of sending a power failure instruction for controlling the test table body, the time of initiating a data reading request and the time of releasing a bus, and the action receiving time comprises the power failure time of the test table body and the time of the tested intelligent electric meter actively reporting the power failure to the controller;
and the calculation module is used for judging whether the receiving action is overtime according to the action initiating time and the action receiving time and calculating the success rate of the active reporting of power failure.
Optionally, the method further comprises: testing a software terminal;
the test software terminal is used for installing power failure active reporting test software, issuing a power failure active reporting test scheme to the controller through the test software, reading test data of the controller, wherein the test data comprises the action initiating time, the action receiving time and the success rate, and generating a test report.
Optionally, the testing software terminal is further configured to:
and issuing ammeter parameters to the detected intelligent ammeter or modifying the ammeter parameters of the detected intelligent ammeter, and reading ammeter data of the detected intelligent ammeter.
Optionally, the test stage body is further configured to:
and feeding back the time of each power-on and power-off to the controller in real time.
Optionally, the test software terminal is a PC terminal.
A second aspect of the present application provides a system for testing reliability of an active reporting function in power outage, including any one of the devices for testing reliability of an active reporting function in power outage of the first aspect.
A third aspect of the present application provides a method for testing reliability of an active reporting function in power outage, including:
after the controller acquires a power failure active reporting test scheme, controlling a test table body to carry out power-on and power-off operation on the intelligent ammeter to be tested according to a preset power-on and power-off frequency according to the power failure active reporting test scheme, wherein the power failure active reporting test scheme comprises test times, power-on and power-off frequency, acquisition cycle waiting time and a test mode;
the controller starts a communication control mode for the detected intelligent electric meter, so that the detected intelligent electric meter actively reports power failure to the controller according to the determined communication control mode;
the controller records the time of sending the power failure instruction for controlling the test table body, the time of initiating the data reading request, the time of releasing the bus, the power failure time of the test table body and the time of the detected intelligent electric meter actively reporting to the controller in power failure, and calculates the success rate of the active reporting in power failure.
Optionally, the starting, by the controller, a communication control mode for the detected smart meter, so that the detected smart meter actively reports power outage to the controller according to the determined communication control mode, includes:
if the test mode in the power failure active reporting test scheme is an analog acquisition terminal active polling mode, actively initiating a data reading request to the detected intelligent ammeter so that the detected intelligent ammeter is awakened by a communication frame signal and actively reports the power failure to the controller;
and if the test mode in the power failure active reporting test scheme is a mode that the simulation terminal passively waits for active reporting, releasing the bus, so that the detected intelligent electric meter is awakened by a bus release signal and actively reports the power failure to the controller.
Optionally, after the controller obtains the power failure active reporting test scheme, the controller controls the test table body to perform power-on and power-off operations on the smart electric meter to be tested according to a preset power-on and power-off frequency according to the power failure active reporting test scheme, and the method further includes:
and the controller receives the power failure active reporting test scheme issued by the test software terminal.
According to the technical scheme, the embodiment of the application has the following advantages:
in this application, a power failure initiative reporting function reliability testing arrangement is provided, include: the intelligent ammeter comprises a controller, an intelligent ammeter to be detected and a test table body; the controller is used for acquiring a power failure active reporting test scheme, controlling the power-on and power-off frequency of the test table body according to the power failure active reporting test scheme, starting a communication control mode for the tested intelligent ammeter according to the power failure active reporting test scheme, recording the time of each action initiation and receiving in the power failure active reporting function reliability test process, and calculating the success rate of power failure active reporting, wherein the power failure active reporting test scheme comprises test times, power-on and power-off frequency, acquisition cycle waiting time and a test mode; the test table body is used for powering on or powering off the intelligent ammeter to be tested according to the control instruction of the controller; and the detected intelligent electric meter is used for entering a low power consumption mode when being in a power-off state and actively reporting power failure to the controller according to the determined communication control mode. In the power failure active reporting function reliability testing device provided by the application, the controller controls the power supply and power failure frequency of the testing table body for the tested intelligent ammeter according to the preset power failure active reporting testing scheme, the method comprises the steps of simulating a data request of a preset period by an acquisition terminal according to a power failure active reporting test scheme, analyzing whether the detected intelligent electric meter reports correctly and actively or not by recording the time of each action in the reliability test process, recording the action time interval and the failure interval time of the detected intelligent electric meter, the method can help improve the active reporting function of the detected intelligent electric meter, is not limited by the difficulty in simulating communication failure in a laboratory environment, does not need to manually initiate a request, and solves the technical problems that the conventional reliability testing mode of the power failure reporting function has difficulty in simulating a communication failure mode, wastes time and labor and cannot analyze the factors causing the active reporting failure.
Drawings
Fig. 1 is a schematic structural diagram of an embodiment of a device for testing reliability of an active reporting function in power outage provided by the present application;
fig. 2 is a schematic structural diagram of another embodiment of a device for testing reliability of an active reporting function in power outage provided by the present application;
FIG. 3 is a schematic diagram of the controller of FIGS. 1 and 2;
fig. 4 is a schematic flowchart illustrating an embodiment of a method for testing reliability of an active reporting function in power outage provided by the present application;
fig. 5 is a flowchart illustrating a method for testing reliability of an active reporting function in power outage according to another embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
For easy understanding, please refer to fig. 1, an embodiment of an apparatus for testing reliability of an active reporting function in power outage provided by the present application includes: the intelligent ammeter comprises a controller, an intelligent ammeter to be detected and a test table body;
the controller is used for acquiring a power failure active reporting test scheme, controlling the power-on and power-off frequency of the test table body according to the power failure active reporting test scheme, starting a communication control mode for the tested intelligent ammeter according to the power failure active reporting test scheme, recording the time of each action initiation and receiving in the power failure active reporting function reliability test process, and calculating the success rate of power failure active reporting, wherein the power failure active reporting test scheme comprises test times, power-on and power-off frequency, acquisition cycle waiting time and a test mode;
the test table body is used for powering on or powering off the intelligent ammeter to be tested according to the control instruction of the controller;
and the detected intelligent electric meter is used for entering a low power consumption mode when being in a power-off state and actively reporting power failure to the controller according to the determined communication control mode.
It should be noted that, as shown in fig. 1, fig. 1 is a schematic structural diagram of a reliability testing apparatus for an active power failure reporting function provided in this embodiment of the present application, and includes a controller, a tested smart meter, and a testing platform, where the active power failure reporting testing scheme may include testing parameters of this time, power-up and power-down frequencies, an acquisition period, a waiting time, and a testing mode, and the power-up and power-down frequencies of the testing platform are controlled, the controller actively reports the testing scheme according to the received power failure, starts to record the power-down time at the moment of power failure, and selects a communication control mode for the tested smart meter according to the testing mode in the active power failure reporting testing scheme, where the communication control mode may be an RS485 communication mode and a module communication mode, the RS communication mode corresponds to the testing mode is an active power failure reporting mode simulating bus preemption, and the module communication mode corresponds to the testing mode is, therefore, the communication control mode of the controller for the detected intelligent electric meter can wake up the detected intelligent electric meter to carry out power failure active reporting to the controller, the controller records the actual test times, the starting time of each action and the feedback ending time corresponding to the starting time of each action in the power failure active reporting function reliability test process, the success rate of power failure active reporting is calculated according to the recorded time and the action feedback result, the failure time of power failure active reporting can be analyzed according to the failure condition, and a basis is provided for improving the power failure active reporting function reliability of the detected intelligent electric meter. The controller can support the power failure of at least 32 detected intelligent electric meters to actively report the test data records.
The traditional reliability test means for the function of actively reporting the power failure is different in the reporting scheme, and by adopting the active reporting mode of occupying the bus, the failure mode of communication is difficult to simulate for testing in a laboratory environment, the failure mode mainly focuses on the failure of active reporting of communication, and the intelligent ammeter actively reports in a mode of actively occupying the bus by means of auxiliary analysis of the laboratory test environment, the laboratory test environment belongs to a passive receiving state, if the test requires simulation to establish a preemptive communication environment, and the simulation of the preemptive test environment is the key to testing the reliability, the preemptive environment is preferably established by a simulation table or an actual measurement table, when the active reporting fails, it is difficult to judge whether the reporting function of the detected intelligent electric meter is failed or other preemptive communication environments are caused, and the existing test environment is difficult to simulate and establish a reliable preemptive communication test environment. The power failure active reporting mode reported when the collection terminal polls can control the detection platform to be powered off, and after waiting for a collection period, manually initiate a request, so that the method not only consumes manpower and time, but also cannot reliably traverse various factors causing active reporting failure. The controller controls the power supply and power failure frequency of the test table body for the detected intelligent electric meter according to a preset power failure active reporting test scheme, simulates a data request of a preset period of an acquisition terminal according to the power failure active reporting test scheme, analyzes whether the detected intelligent electric meter is correctly and actively reported or not by recording the time of each action in the reliability test process, can help to improve the active reporting function of the detected intelligent electric meter by recording the action time interval and the failure interval time of the detected intelligent electric meter, is not limited by the difficulty of simulating communication failure in a laboratory environment, does not need to manually initiate a request, and solves the problems that the conventional reliability test mode of the power failure reporting function has difficulty in simulating a communication failure mode, Time and labor are wasted, and the factors causing the active reporting failure cannot be analyzed.
For convenience of understanding, please refer to fig. 2 and fig. 3, the present application also provides another embodiment of a reliability testing apparatus for an active reporting function in power outage, as a further improvement of the reliability testing apparatus for an active reporting function in power outage in the previous embodiment, where a controller in the reliability testing apparatus for an active reporting function in power outage in the embodiment of the present application includes:
the acquisition module is used for acquiring a power failure active reporting test scheme;
the first control module is used for actively reporting a test scheme according to power failure to control the power-on and power-off frequency of the test table body and starting to record power failure time at the moment of power failure;
the second control module is used for determining a communication control mode for the intelligent ammeter to be detected according to the power failure active reporting test scheme, if the test mode in the power failure active reporting test scheme is an active polling mode of a simulation acquisition terminal, actively initiating a data reading request to the intelligent ammeter to be detected, enabling the intelligent ammeter to be detected to be awakened by a communication frame signal, and actively reporting the intelligent ammeter to the controller, and if the test mode in the power failure active reporting test scheme is a passive waiting active reporting mode of the simulation terminal, releasing a bus, enabling the intelligent ammeter to be detected to be awakened by a bus release signal, and actively reporting the power failure to the controller;
the second control module records request time and release time when actively initiating a data reading request and a bus release to the detected intelligent electric meter;
the recording module is used for recording the time of each action initiating and action receiving in the power failure active reporting function reliability test process, the action initiating time comprises the time of sending a power failure instruction for controlling the test table body, the time of initiating a data reading request and the time of releasing a bus, and the action receiving time comprises the power failure time of the test table body and the time of the tested intelligent electric meter actively reporting the power failure to the controller;
and the computing module is used for judging whether the receiving action is overtime according to the action initiating time and the action receiving time and computing the success rate of the active reporting of power failure.
As a further improvement, the device for testing reliability of an active reporting function in power failure in the embodiment of the present application further includes: testing a software terminal;
the test software terminal is used for installing power failure active reporting test software, issuing a power failure active reporting test scheme to the controller through the test software, reading test data of the controller, wherein the test data comprises action initiating time, action receiving time and success rate, and generating a test report.
As a further improvement, the test software terminal is further used for:
and issuing the ammeter parameters to the detected intelligent ammeter or modifying the ammeter parameters of the detected intelligent ammeter, and reading the ammeter data of the detected intelligent ammeter.
As a further improvement, the test bench body is also used for:
and feeding back the time of each power-on and power-off to the controller in real time.
As a further improvement, the test software terminal is a PC terminal.
It should be noted that the reliability testing apparatus for an active power failure reporting function provided in this embodiment of the present application may further include a testing software terminal, where the testing software terminal may be a PC terminal or a mobile terminal, and is configured to issue an active power failure reporting testing scheme to the controller, and read the testing data and the testing result of the controller, where the testing data includes each recording time, and the testing result includes a success rate. And sending the ammeter parameters to the detected intelligent ammeter or modifying the ammeter parameters of the detected intelligent ammeter, and reading the ammeter data of the detected intelligent ammeter. The test table body supplies power to the detected intelligent electric meter, can provide a controllable output structure for the controller to access and control, and feeds back power-on and power-off time to the controller in real time when power-on and power-off operation is executed after a power-on and power-off control instruction of the controller is received, so that the controller can record the power-on and power-off time conveniently.
The RS485 bus adopts a differential mode, and when sending '1', A-B>0.2V, when "0" is transmitted, B-A>0.2V, signal hold state, i.e., -0.2V<A-B<And 0.2V, because the stop bit of serial communication is '1', the idle state of the RS485 bus receiving end is kept to '1' in the normal communication state. In the electricity consumption information acquisition system, the communication of an RS485 bus is adopted as a half-duplex mode, an acquisition terminal sends an acquisition instruction, the instruction comprises an ammeter communication address, the collected ammeter hung below the acquisition terminal can receive data, and the instruction is complete and complete through judgmentWhen the correct address is correct, only the electric meter with the matched communication address waits for trPost-time response instruction, trThe time requirement is negotiated by the selected communication protocol, and the DL/T6452007 protocol gives a specific data range of 20ms<tr<500ms, and acquiring an idle time interval t between the transmission of a meter reading instruction by the terminal and the return frame of the electric energy metersAlso specified by the communication protocol negotiation, the DL/T6452007 protocol specifies Ts>20ms, some protocols negotiate as ts>33 bits, so whether receiving or sending has waiting time, when simulating meter reading test of the acquisition terminal, the waiting time must be customized to the test scheme according to the current communication protocol.
The communication gap or the polling time interval of the terminal waiting for acquisition can be calculated by taking the communication baud rate 2400, the byte format is a one-bit start bit, 8-bit data bit, one-bit even check and one-bit stop bit, the communication protocol requires that the data length does not exceed 200, and the header, the tail and the lead code are added, and 216 bytes are calculated in total, so the most ideal state is that the current bus is idle, the waiting time is 0, but the most of the time is the longest time for waiting for one frame: the Tw is 216 × 11/2400 is 0.99S, a case that multiple smart meters need to report when powered down at the same time needs to be considered, in the worst state, for example, 32 tables under the acquisition terminal all have power down, there is bus preemption in the communication gap, and if each table calculates reporting time in a manner of reporting a 6-byte active reporting status word: tr 22 × 11/2400 is 0.1S, the time to report of the last table: t ═ Tw +31 ═ Tr ═ 0.99+31 ═ 0.1 ═ 4.09S; in a practical environment, due to the stability of the communication system, a state such as timeout retransmission is involved, so that the time may be longer than T. In the test scheme, aiming at the active reporting scheme of the direct power failure of the seizing bus, the waiting time after the power failure can be set in an increasing mode according to the waiting time T, the final failure time is evaluated, and configurable parameters are involved in the test scheme: the method comprises the steps of testing times, capacitance charging time, waiting time, a sampling period, the number of sample tables, addresses of the sample tables, a communication baud rate and the like, wherein the total testing times are set to be 30 times (the times can be adjusted according to needs), the capacitance charging time is set to be full charging time 20s, the testing is started with the optimal state waiting time T (ts) being 20ms, Tw is increased progressively each time, after the increasing time reaches T, the increasing amplitude of each time is reduced to Tr until the measuring times are met or the communication power failure active reporting fails. The above operation is then re-cycled while taking into account the capacitor charging time as being in a non-full charge state.
Aiming at the test scheme that the active report adopts a polling mode of the acquisition terminal, only the acquisition period of the actual acquisition terminal needs to be considered, a general period unit is set according to min, the time is 1-15 min, for verification test, the test scheme adopts s as a unit and is used for better evaluating the failure time of the active report of the power failure of the ammeter, the acquisition period is similar to the setting of the waiting time in the first scheme, and the set is set in an increasing mode, and the test is carried out until the ammeter actively reports the failure or reaching set test times.
After the PC terminal test software configuration finishes various parameters of the test scheme, the parameters can be preset to the controller through the serial port, and the test of power failure active reporting is started through a command. After the controller receives the starting command, the controller starts to load parameters in the test scheme, and the controller firstly controls the test platform body to be electrified. And determining whether to preempt the bus according to the test scheme, wherein the idle state of the RS485 bus receiving end is kept to be 1 in the normal communication state, so that the bus can be preempted by enabling the bus state to be 0 or sending all 0 idle frame commands. And then, performing cyclic test according to the steps of controlling power supply/test table body to be powered on- > waiting for capacitor charging- > power down- > simulating test- > powering on- >. If a plurality of intelligent electric meters to be tested exist in the test, the intelligent electric meters are tested in sequence, and after the test of each meter is completed, the intelligent electric meters are stored into corresponding sample meter files for the PC end test software to read. And after the test of all the tested intelligent electric meters is finished, the controller automatically stops the test. The tested smart electric meter file stored in the controller can be read and deleted by the testing software at the PC end, and when the storage space is full, the tested smart electric meter file with the farthest date and time is automatically covered.
It should be noted that, a system including any one of the above two embodiments of the device for actively reporting functional reliability during power failure shall belong to the protection scope of the present application.
For convenience of understanding, please refer to fig. 4, the present application provides an embodiment of a method for testing reliability of an active reporting function in power outage, including:
step 101, after acquiring a power failure active reporting test scheme, a controller controls a test table body to carry out power-on and power-off operation on a tested intelligent ammeter according to a preset power-on and power-off frequency according to the power failure active reporting test scheme, wherein the power failure active reporting test scheme comprises test times, power-on and power-off frequency, acquisition cycle waiting time and a test mode.
And 102, starting a communication control mode of the detected intelligent electric meter by the controller, so that the detected intelligent electric meter actively reports power failure to the controller according to the determined communication control mode.
103, the controller records the time of sending the power failure instruction for controlling the test table body, the time of initiating the data reading request, the time of releasing the bus, the power failure time of the test table body and the time of actively reporting the power failure of the detected intelligent electric meter to the controller, and calculates the success rate of actively reporting the power failure.
For easy understanding, please refer to fig. 5, which provides another embodiment of a method for testing reliability of an active reporting function in power outage, including:
step 201, the controller receives a power failure active reporting test scheme issued by the test software terminal.
Step 202, after the system obtains the power failure active reporting test scheme, the system controls the test table body to carry out power-on and power-off operation on the tested intelligent ammeter according to the preset power-on and power-off frequency according to the power failure active reporting test scheme, wherein the power failure active reporting test scheme comprises test times, power-on and power-off frequency, acquisition cycle waiting time and a test mode.
Step 203, if the test mode in the power failure active reporting test scheme is an analog acquisition terminal active polling mode, actively initiating a data reading request to the detected intelligent ammeter so that the detected intelligent ammeter is awakened by a communication frame signal and actively reports the power failure to the controller;
and if the test mode in the power failure active reporting test scheme is a mode that the simulation terminal passively waits for active reporting, releasing the bus, so that the detected intelligent electric meter is awakened by a bus release signal and actively reports the power failure to the controller.
And 204, recording the time of sending the power failure instruction of the control test table body, the time of initiating the data reading request, the time of releasing the bus, the power failure time of the test table body and the time of actively reporting the power failure of the detected intelligent electric meter to the controller by the controller, and calculating the success rate of actively reporting the power failure.
Please refer to fig. 2 and fig. 5, an implementation process of the method for testing reliability of an active reporting function in power outage in the embodiment of the present application may be expressed as follows:
1) editing a test scheme in PC (personal computer) end test software, wherein the test scheme comprises parameters such as test times, frequency, each acquisition period, waiting time, test mode and the like;
2) sending the test scheme to a controller, wherein the flow mark in fig. 2 is I;
3) receiving the determination of the controller, identifying the flow mark as II in FIG. 2, and issuing a test starting instruction;
4) the controller starts testing according to a preset scheme, a testing mode determines whether to seize the bus, and if the analog acquisition terminal is in an active polling mode, the bus is not seized; if the analog acquisition terminal passively waits for an active reporting mode, the bus is seized;
5) controlling the power failure of the test platform body, receiving confirmation feedback of the test platform body, and simultaneously recording the power failure time;
6) the detected intelligent electric meter is in a power failure state, enters a low power consumption mode, and waits for the active report of power failure; if the detected intelligent electric meter adopts a reading and reporting mode, waiting for the reading of the controller; if the mode is a direct active reporting mode, waiting for the controller to release the bus;
7) the controller actively reports the current acquisition period or waiting time and test mode in the test scheme according to the preset power failure, and determines the operation of the current step: if the analog acquisition terminal is in an active polling mode, actively initiating a data reading request; if the analog acquisition terminal is in a passive waiting active reporting mode, releasing the bus; and recording the current operation time; the flow in FIG. 2 is identified as IV;
8) the detected intelligent electric meter is awakened by a controller communication frame or a bus release signal, active reporting of a power failure event is carried out, and the flow mark in fig. 2 is III;
9) the controller waits for receiving the active report, if the receiving is overtime, the power failure active report is considered to fail, the test is ended, the ending time is recorded, the failure times are accumulated, and then the step 4 is skipped; if the receiving is successful, initiating a request for reading the active reporting status word, waiting for the response of the detected intelligent electric meter, and jumping to the step 10), wherein the flow mark in fig. 2 is iv;
10) reporting the status word by the detected intelligent electric meter, and finishing the active reporting of the power failure; identified as III in FIG. 2;
11) the controller waits for receiving the active report, if the receiving is overtime, the power failure active report is considered to fail, the test is ended, the ending time is recorded, and the failure times are accumulated; if the receiving is successful, ending the test, recording the ending time, and accumulating the success times; if the test times reach the times specified by the preset scheme, ending the test of the intelligent ammeter to be tested, and skipping to the step 12), otherwise skipping to the step 4) to continue the next test;
12) the controller extracts and records the communication address of the detected intelligent electric meter, calculates the success rate, judges the failure time, records the failure time into a file, and stores the file with the automatic cover date farthest after the file is full;
13) the PC terminal test software access controller requests to read the test result, records the test result or generates a test report, and a tester or a manufacturer can provide judgment basis for improving products.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A power failure active reporting function reliability testing device is characterized by comprising: the intelligent ammeter comprises a controller, an intelligent ammeter to be detected and a test table body;
the controller is used for acquiring a power failure active reporting test scheme, controlling the power-up and power-down frequency of the test table body according to the power failure active reporting test scheme, starting a communication control mode for the tested intelligent electric meter according to the power failure active reporting test scheme, recording the time of each initiating action and receiving action in the power failure active reporting function reliability test process, and calculating the success rate of power failure active reporting, wherein the power failure active reporting test scheme comprises test times, power-up and power-down frequency, acquisition cycle waiting time and a test mode;
the test table body is used for powering on or powering off the intelligent ammeter to be tested according to the control instruction of the controller;
and the detected intelligent electric meter is used for entering a low power consumption mode when being in a power-off state and actively reporting power failure to the controller according to the determined communication control mode.
2. The device for testing reliability of active reporting function in power outage of claim 1, wherein the controller comprises:
the acquisition module is used for acquiring a power failure active reporting test scheme;
the first control module is used for controlling the power-on and power-off frequency of the test table body according to the power failure active reporting test scheme and starting to record the power failure time at the moment of power failure;
a second control module, configured to determine a communication control mode for the detected smart meter according to the power failure active reporting test scheme, if the test mode in the power failure active reporting test scheme is an active polling mode of a simulation acquisition terminal, actively initiate a data reading request to the detected smart meter, so that the detected smart meter is awakened by a communication frame signal and actively reported to the controller, and if the test mode in the power failure active reporting test scheme is an active waiting reporting mode of a simulation terminal, release a bus, so that the detected smart meter is awakened by a bus release signal and actively reports power failure to the controller;
the second control module records request time and release time when actively initiating a data reading request and a bus release to the detected intelligent electric meter;
the recording module is used for recording the time of each action initiating and action receiving in the power failure active reporting function reliability test process, wherein the action initiating time comprises the time of sending a power failure instruction for controlling the test table body, the time of initiating a data reading request and the time of releasing a bus, and the action receiving time comprises the power failure time of the test table body and the time of the tested intelligent electric meter actively reporting the power failure to the controller;
and the calculation module is used for judging whether the receiving action is overtime according to the action initiating time and the action receiving time and calculating the success rate of the active reporting of power failure.
3. The device for testing reliability of active reporting function in power outage according to claim 1, further comprising: testing a software terminal;
the test software terminal is used for installing power failure active reporting test software, issuing a power failure active reporting test scheme to the controller through the test software, reading test data of the controller, wherein the test data comprises the action initiating time, the action receiving time and the success rate, and generating a test report.
4. The device for testing reliability of active reporting function in power outage of claim 3, wherein the testing software terminal is further configured to:
and issuing ammeter parameters to the detected intelligent ammeter or modifying the ammeter parameters of the detected intelligent ammeter, and reading ammeter data of the detected intelligent ammeter.
5. The device for testing reliability of active reporting function in power outage according to claim 1, wherein the test stage body is further configured to:
and feeding back the time of each power-on and power-off to the controller in real time.
6. The apparatus according to claim 3, wherein the test software terminal is a PC terminal.
7. A system for testing reliability of active reporting function in power failure, comprising the apparatus for testing reliability of active reporting function in power failure according to any one of claims 1 to 6.
8. A method for testing reliability of an active reporting function in power failure is characterized by comprising the following steps:
after the controller acquires a power failure active reporting test scheme, controlling a test table body to carry out power-on and power-off operation on the intelligent ammeter to be tested according to a preset power-on and power-off frequency according to the power failure active reporting test scheme, wherein the power failure active reporting test scheme comprises test times, power-on and power-off frequency, acquisition cycle waiting time and a test mode;
the controller starts a communication control mode for the detected intelligent electric meter, so that the detected intelligent electric meter actively reports power failure to the controller according to the determined communication control mode;
the controller records the time of sending the power failure instruction for controlling the test table body, the time of initiating the data reading request, the time of releasing the bus, the power failure time of the test table body and the time of the detected intelligent electric meter actively reporting to the controller in power failure, and calculates the success rate of the active reporting in power failure.
9. The method as claimed in claim 8, wherein the step of enabling the controller to initiate a communication control mode for the detected smart meter so that the detected smart meter actively reports the power outage to the controller according to the determined communication control mode includes:
if the test mode in the power failure active reporting test scheme is an analog acquisition terminal active polling mode, actively initiating a data reading request to the detected intelligent ammeter so that the detected intelligent ammeter is awakened by a communication frame signal and actively reports the power failure to the controller;
and if the test mode in the power failure active reporting test scheme is a mode that the simulation terminal passively waits for active reporting, releasing the bus, so that the detected intelligent electric meter is awakened by a bus release signal and actively reports the power failure to the controller.
10. The method as claimed in claim 8, wherein after the controller obtains the active reporting test scheme for power outage, the controller controls the test platform body to perform power-on and power-off operations on the smart meter to be tested according to a preset power-on and power-off frequency according to the active reporting test scheme for power outage, and the method further comprises:
and the controller receives the power failure active reporting test scheme issued by the test software terminal.
CN201911070784.4A 2019-11-05 2019-11-05 Device, system and method for testing reliability of power failure active reporting function Active CN110687495B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911070784.4A CN110687495B (en) 2019-11-05 2019-11-05 Device, system and method for testing reliability of power failure active reporting function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911070784.4A CN110687495B (en) 2019-11-05 2019-11-05 Device, system and method for testing reliability of power failure active reporting function

Publications (2)

Publication Number Publication Date
CN110687495A true CN110687495A (en) 2020-01-14
CN110687495B CN110687495B (en) 2021-01-22

Family

ID=69116205

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911070784.4A Active CN110687495B (en) 2019-11-05 2019-11-05 Device, system and method for testing reliability of power failure active reporting function

Country Status (1)

Country Link
CN (1) CN110687495B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113253182A (en) * 2021-05-11 2021-08-13 深圳市国电科技通信有限公司 Intelligent terminal calibration system and method applied to transformer area

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103616659A (en) * 2013-12-02 2014-03-05 国家电网公司 Automatic reliability test device and method for intelligent ammeters under circumstance of instant voltage interruption
CN104569903A (en) * 2014-12-15 2015-04-29 南昌市科陆智能电网科技有限公司 Automatic test system and test method
CN105206035A (en) * 2015-09-21 2015-12-30 国网上海市电力公司 Automatic detecting system and method for collection terminal functions
CN105203980A (en) * 2015-09-14 2015-12-30 广西电网有限责任公司电力科学研究院 Electric energy quality self-inspection system and self-inspection method thereof
JP2018137880A (en) * 2017-02-21 2018-08-30 三菱電機株式会社 Power management device, power management system, and power management method
CN109507464A (en) * 2018-09-21 2019-03-22 国网重庆市电力公司电力科学研究院 A kind of electric energy meter power loss event real-time report function automated detection method and device
CN109557498A (en) * 2018-12-21 2019-04-02 中国电力科学研究院有限公司 A kind of electric energy meter stops the processing method of telegram in reply event

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103616659A (en) * 2013-12-02 2014-03-05 国家电网公司 Automatic reliability test device and method for intelligent ammeters under circumstance of instant voltage interruption
CN104569903A (en) * 2014-12-15 2015-04-29 南昌市科陆智能电网科技有限公司 Automatic test system and test method
CN105203980A (en) * 2015-09-14 2015-12-30 广西电网有限责任公司电力科学研究院 Electric energy quality self-inspection system and self-inspection method thereof
CN105206035A (en) * 2015-09-21 2015-12-30 国网上海市电力公司 Automatic detecting system and method for collection terminal functions
JP2018137880A (en) * 2017-02-21 2018-08-30 三菱電機株式会社 Power management device, power management system, and power management method
CN109507464A (en) * 2018-09-21 2019-03-22 国网重庆市电力公司电力科学研究院 A kind of electric energy meter power loss event real-time report function automated detection method and device
CN109557498A (en) * 2018-12-21 2019-04-02 中国电力科学研究院有限公司 A kind of electric energy meter stops the processing method of telegram in reply event

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113253182A (en) * 2021-05-11 2021-08-13 深圳市国电科技通信有限公司 Intelligent terminal calibration system and method applied to transformer area

Also Published As

Publication number Publication date
CN110687495B (en) 2021-01-22

Similar Documents

Publication Publication Date Title
CN109116085B (en) Automobile quiescent current monitoring system and method
US8166346B2 (en) Power-on test system and method
CN106338690B (en) A kind of reserve battery detection method, device, system and method for supplying power to
CN111474865A (en) Dormancy awakening test system for intelligent vehicle-mounted terminal controller
CN106771972B (en) Automatic testing device, system and method for POS machine mainboard
CN105785175A (en) Portable detection apparatus for alternating-current/direct-current charging pile
CN106405286B (en) The automatic test approach and system of quality monitoring device of electrical energy
CN112014788B (en) Load identification module detection method based on wave recording file playback
CN101222735B (en) Method and device for testing standby time of mobile terminal
CN110687495B (en) Device, system and method for testing reliability of power failure active reporting function
CN115184817A (en) Storage battery online monitoring system
CN115827358A (en) Automatic test system, method and device for PFR function and storage medium
CN109389697A (en) Recording method, equipment and the readable storage medium storing program for executing of underground inspection data inputting time
CN110620674B (en) Configuration method of monitoring system and computer equipment
CN105501455B (en) A kind of unmanned aerial vehicle comprehensive power integrated system and method
CN109752664A (en) A kind of charging detects the method and application of battery core internal resistance in battery pack
CN206671503U (en) The system that on-line testing battery core holds
CN109065975A (en) A kind of direct current system management system and its control method
CN116698446A (en) Whole vehicle electrostatic current testing method, device, system and storage medium
CN107907838A (en) A kind of redundant power module tests system and method
CN116908517A (en) Static current testing method and device based on analog power supply and storage medium
CN206610099U (en) The configurable time synchronization test system in scene
CN106257305B (en) One kind obtaining source list automated detection method based on GNSS receiver hardware module
CN108387776A (en) A kind of method for early warning and device of intelligent electric meter
CN204332061U (en) A kind of carrier system electric power acquisition equipment and carrier test equipment thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant