Disclosure of Invention
The invention aims to provide an on-line monitoring method and an on-line monitoring system for a gateway electric energy metering device for shunt inspection, which are used for solving the problems of poor real-time performance, few monitoring points, small monitoring range, incomplete functions and troublesome operation of an on-line monitoring system for gateway metering equipment in the prior art.
The technical scheme for solving the technical problems is as follows:
An on-line monitoring method of a gateway electric energy metering device for shunt inspection comprises the following steps:
The method comprises the steps that firstly, an online monitoring host machine shunts to collect monitoring data of an electric energy metering device of each metering loop;
Step two, the online monitoring host stores the monitoring data in an array mode;
thirdly, the online monitoring host calculates the stored monitoring data;
fourth, the on-line monitoring host stores the calculation result in an array mode;
fifthly, analyzing the monitoring data and the calculation result, if the abnormal condition exists, carrying out fault warning on the abnormal condition, and carrying out real-time online monitoring on the metering loop with the fault; and if no abnormal condition exists, repeating the steps, and carrying out inspection on all the metering loops.
Further, in the first step, the monitoring data is data collected by polling each metering loop at fixed time intervals.
Further, the time interval of polling collection may be set to any value from 5min to 60 min.
Further, in a first step, the monitoring data is taken as a single line Cheng Caiji, i.e. only one metering loop is collected at a time.
Further, the collected monitoring data comprise PT secondary loop current, CT secondary loop current, PT side secondary loop voltage, CT side secondary loop voltage, electric energy meter voltage, current, frequency and phase.
Further, in the third step, the on-line monitoring host calculates the stored monitoring data, including calculating PT secondary loop voltage drop, PT secondary loop load, CT secondary loop load, electric energy meter (primary meter) error, and electric energy meter (secondary meter) error.
Further, in the third step and the fifth step, the calculation and analysis of the monitoring data are multithreaded, and the monitoring data of a plurality of metering loops are processed simultaneously, or the monitoring data of only one metering loop are processed at the same time.
Further, when the online monitoring host calculates and analyzes that a certain index exceeds the tolerance, the polling mode is switched to real-time online monitoring of a single loop; when the on-line monitoring host calculates and analyzes that all the indexes are not out of tolerance, the inspection mode is not switched.
Further, the fault alarm comprises alarms for voltage loss and current loss of the monitored loop, abnormal electric energy meter, out-of-tolerance electric energy meter, pressure drop overrun of the PT secondary loop, abnormal operation of the CT extension and the CT secondary loop and abnormal operation of the PT extension and the PT secondary loop.
The PT extension is a PT secondary circuit measuring and information forwarding unit, and the CT extension is a CT secondary circuit measuring unit.
The on-line monitoring system of the gateway electric energy metering device for shunt inspection comprises an on-line monitoring host and a monitoring device of a plurality of metering loops, wherein the monitoring device of each metering loop comprises a PT (potential transformer) extension and a CT (current transformer) extension, the PT extension is a PT secondary loop measuring and information forwarding unit, the CT extension is a CT secondary loop measuring unit, the PT extension and the CT extension are respectively connected to PT and CT secondary loops, and the PT extension and the CT extension are respectively arranged in a PT terminal box and a CT terminal box;
The on-line monitoring host is connected with the electric energy meter main meter and the electric energy meter auxiliary meter on one hand and is used for collecting data of the electric energy meter main meter and the electric energy meter auxiliary meter on the other hand, and is connected with PT extensions of a plurality of metering loops on site; the CT extension and the PT extension share a power supply, and the acquired CT secondary circuit information is transmitted to the PT extension through a power line in a carrier communication mode, and the PT extension receives the information and then transmits the information acquired by the CT extension and the PT extension to the on-line monitoring host through the PT secondary circuit in the carrier communication mode.
The on-line monitoring host comprises a metering loop switching circuit, a signal conditioning circuit, an A/D conversion circuit, a PLC communication and synchronization module, an electric energy meter pulse acquisition module, a DSP, a microprocessor, a 4G and an Ethernet communication module;
The electric energy meter pulse acquisition module is respectively connected with the electric energy meter main meter and the electric energy meter auxiliary meter and is used for acquiring electric energy data of the electric energy meter main meter and the electric energy meter auxiliary meter, the metering circuit switching circuit only transmits voltage and current signals of the electric energy meter end of one metering circuit to the signal conditioning circuit at the same time, the signal conditioning circuit is connected with the DSP through the A/D conversion circuit, the DSP is connected with the microprocessor, the microprocessor calculates acquired information, the microprocessor is connected with the master station server through the 4G and Ethernet communication module, the master station server judges whether the electric energy metering device is normal or not through a set threshold value, if the electric energy metering device is normal, the microprocessor controls the metering circuit switching circuit to carry out polling acquisition according to a preset time interval, if the calculation and analysis show that the index of one metering circuit is out of tolerance, the polling mode is switched to carry out real-time on-line monitoring on the metering circuit; the DSP controls the connected PLC communication and synchronization module to transmit an information acquisition instruction to the metering loop switching circuit, the metering loop switching circuit transmits the information acquisition instruction to the next PT extension, and the next PT extension transmits the acquired information to the metering loop switching circuit through the PT secondary loop, so that switching among different metering loops is realized.
Further, the DSP is used for calculating the digitized voltage and current phasors, and the microprocessor is used for calculating errors, scheduling tasks, storing, controlling, displaying and external communication.
Further, the on-line monitoring host also comprises a man-machine interface, a memory and an RS485 communication module, wherein the man-machine interface, the memory and the RS485 communication module are all connected to the microprocessor.
Further, the man-machine interface is composed of a liquid crystal display and panel keys.
Further, the memory is composed of a DDR2 memory and an SD memory card, and is used for storing monitoring data and calculation results thereof.
Further, the on-line monitoring host also comprises a GPS time service and time synchronization module, and the GPS time service and time synchronization module is connected to the DSP.
The on-line monitoring method and system for the gateway electric energy metering device for shunt inspection have the following beneficial effects:
(1) One on-line monitoring host can poll and monitor a plurality of metering loops for one time within a period of time, and has more monitoring points and a wide monitoring range.
(2) The on-line monitoring host machine carries out inspection on each metering loop at any numerical time interval of 5-60 min, so that the 'full-time inspection' of the relative meaning of each metering loop is satisfied.
(3) The online monitoring host can calculate and analyze the voltage loss and current loss of the monitored loop, the abnormality of the electric energy meter, the out-of-tolerance of the electric energy meter, the pressure drop out-of-limit of the PT secondary loop, the abnormal operation of the CT extension and the CT secondary loop and the abnormal operation of the PT extension and the PT secondary loop according to the collected data, the fault analysis is comprehensive, the reliability of the online monitoring system of the gateway electric energy metering device is improved, and the normal operation of the electric power system is ensured.
Detailed Description
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the technical solutions of the present invention will be described in detail below. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, based on the examples herein, which are within the scope of the invention as defined by the claims, will be within the scope of the invention as defined by the claims.
Referring to the drawings, the on-line monitoring method and system of the gateway electric energy metering device for shunt inspection provided by the invention are now described.
As shown in fig. 1, an on-line monitoring system of a gateway electric energy metering device for shunt inspection comprises an on-line monitoring host and a monitoring device of a plurality of metering loops, wherein the monitoring device of each metering loop comprises a PT extension and a CT extension, the PT extension is a PT secondary loop measuring and information forwarding unit, the CT extension is a CT secondary loop measuring unit, the PT extension and the CT extension are respectively connected to PT and CT secondary loops (not shown in the figure), and the PT extension and the CT extension are respectively installed in a PT terminal box and a CT terminal box;
The on-line monitoring host is connected with the electric energy meter main meter and the electric energy meter auxiliary meter on one hand and is used for collecting data of the electric energy meter main meter and the electric energy meter auxiliary meter on the other hand, and is connected with PT extensions of a plurality of metering loops on site; the CT extension and the PT extension share a power supply, and the acquired CT secondary circuit information is transmitted to the PT extension through a power line in a carrier communication mode, and the PT extension receives the information and then transmits the information acquired by the CT extension and the PT extension to the on-line monitoring host through the PT secondary circuit in the carrier communication mode.
As shown in fig. 2, the on-line monitoring host includes a metering loop switching circuit, a signal conditioning circuit, an a/D conversion circuit, a PLC communication and synchronization module, an electric energy meter pulse acquisition module, a DSP, a microprocessor, a 4G and an ethernet communication module;
The electric energy meter pulse acquisition module is respectively connected with the electric energy meter main meter and the electric energy meter auxiliary meter and is used for acquiring electric energy data of the electric energy meter main meter and the electric energy meter auxiliary meter, the metering circuit switching circuit only transmits voltage and current signals of the electric energy meter end of one metering circuit to the signal conditioning circuit at the same time, the signal conditioning circuit is connected with the DSP through the A/D conversion circuit, the DSP is connected with the microprocessor, the microprocessor calculates acquired information, the microprocessor is connected with the master station server through the 4G and Ethernet communication module, the master station server judges whether the electric energy metering device is normal or not through a set threshold value, if the electric energy metering device is normal, the microprocessor controls the metering circuit switching circuit to carry out polling acquisition according to a preset time interval, if the calculation and analysis show that the index of one metering circuit is out of tolerance, the polling mode is switched to carry out real-time on-line monitoring on the metering circuit; the DSP controls the connected PLC communication and synchronization module to transmit an information acquisition instruction to the metering loop switching circuit, the metering loop switching circuit transmits the information acquisition instruction to the next PT extension, and the next PT extension transmits the acquired information to the metering loop switching circuit through the PT secondary loop, so that switching among different metering loops is realized.
The DSP is used for calculating the digitized voltage and current phasors, and the microprocessor is used for calculating errors, scheduling tasks, storing, controlling, displaying and externally communicating.
The on-line monitoring host computer still includes man-machine interface, memory and RS485 communication module, and man-machine interface, memory and RS485 communication module all are connected to microprocessor.
The man-machine interface consists of a liquid crystal display and panel keys.
The memory consists of a DDR2 memory and an SD memory card, and is used for storing monitoring data and calculation results thereof.
The on-line monitoring host also comprises a GPS time service and time synchronization module, and the GPS time service and time synchronization module is connected to the DSP.
The signal conditioning circuit selects a signal conditioning module with the model number of AD620, and the A/D conversion circuit selects an analog-to-digital converter with the model number of AD 7760.
The on-line monitoring host takes a DSP and a microprocessor as cores, has strong digital processing capacity, the DSP digital signal processor selects a fourth generation SHARC processor ADSP-21483 of ADI company, the DSP is made based on a Single Instruction Multiple Data (SIMD) kernel, supports 32-bit fixed point and 32/40-bit floating point algorithms, supports 400MHz kernel clock speed, and is internally provided with additional processing modules such as an FIR (finite impulse response filter), an IIR (infinite impulse response filter), an FFT (fast Fourier transform) accelerator and the like, so that the overall performance of the system can be greatly improved. Parameters such as three-phase voltage, current, frequency, phase and power are calculated in real time by utilizing the rapid floating point number calculation capability of ADSP-21483, and the accuracy of the electric parameters measured in real time is ensured to reach 0.05 level.
The microprocessor selects STM32F429 of an legal semiconductor company, is a 32-bit microcontroller based on ARM, has 1024KBytes of Flash capacity, supports 168MHz kernel clock speed, has 1MB of program storage capacity, and has rich peripheral interfaces.
Under normal conditions, the CT extensions of the metering loops store acquired CT side secondary loop voltage, current information and CT secondary loop loads in the CT extensions respectively, and the acquired CT side secondary loop voltage, current information and CT secondary loop loads are transmitted to the PT extensions through power lines in a carrier communication mode. The PT extensions of the plurality of metering loops store the collected PT side secondary loop voltage and current information and PT secondary loop loads in the PT extensions respectively. When the on-line monitoring host collects running state data of one metering loop according to a preset time interval, the microprocessor gives a control instruction to the metering loop switching circuit to collect the data of the metering loop, the monitoring data stored by the PT extension of the loop is transmitted to the on-line monitoring host through the PT secondary loop voltage line on site, the on-line monitoring host calculates the monitoring data according to the collected information such as voltage, current, frequency and phase of the main electric energy meter and the auxiliary electric energy meter, obtains information such as the integral error of the secondary loop of the electric energy metering device, the error of the main electric energy meter and the auxiliary electric energy meter, the voltage drop of the metering voltage secondary loop and the like, and transmits the information to the master station server through the 4G and Ethernet communication module, the master station server judges whether the metering device is normal or not through the set threshold value, if the device runs normally, the microprocessor controls the metering loop switching circuit to carry out the on-line monitoring according to the preset time interval, if the calculation and analysis shows that one index is out the error, the inspection mode is switched to carry out on-line monitoring on the loop.
The working principle of the metering circuit switching circuit is shown in fig. 3 and 4, fig. 3 is a circuit connection relation diagram of the metering voltage circuit switching circuit in the on-line monitoring host machine of the invention, and fig. 4 is a circuit connection relation diagram of the metering current circuit switching circuit in the on-line monitoring host machine of the invention. PC1, PC2, PC3, PC4 are control signals of a microprocessor to a metering loop switching circuit, the relay adopts G6A-474P-ST-US, the relay is a 4-pole double-throw relay, the triodes Q1 to Q4 drive the corresponding relay to work, when the metering loop 1 is provided with the control signal PC1, the triodes Q1 are saturated, the coils 1 and 2 of the relay LS1 have equivalent voltages to flow through, the relay is attracted, three-phase voltages on the metering loop 1 are transmitted to an on-line monitoring host, at the moment, when the control signals PC2, PC3 and PC4 of the metering loops 2, 3 and 4 are 0V, the triodes are cut off, no current flows through the relay coils, and the relay is released, so that data of the metering loops 2, 3 and 4 are not acquired.
The specific method for the on-line monitoring host to carry out polling acquisition according to the preset time interval is as follows: the on-line monitoring host computer collects the monitoring data of each metering loop at set time intervals, the data collection is single-threaded, and meanwhile, the monitoring data of one metering loop is collected. The technician sets the time interval of collection according to the field requirement, the specific interval time can be set to any value of 5 min-60 min, for example, the time interval A (A is more than or equal to 5min and less than or equal to 60 min) is taken, the 4 metering loops are simultaneously patrolled and inspected, the data of the 1 st metering loop are collected at the moment of the local time T, and the time of the data of the 1 st metering loop are recorded in the following wayData of the 2 nd metering loop are collected at the moment, and so on, at/>Data of the 3 rd metering loop are collected at the moment, and the data of the 3 rd metering loop are recorded in/>And collecting data of the 4 th metering loop at the moment. One online monitoring host can poll and monitor a plurality of metering loops in any time period, the monitoring points are more, the monitoring range is wide, and each metering loop can be monitored online in real time in any time period, so that the relative 'full-time inspection' of each metering loop is realized.
As shown in fig. 5, an on-line monitoring method for a gateway electric energy metering device for shunt inspection includes the following steps: the method comprises the steps that firstly, an online monitoring host machine shunts to collect monitoring data of an electric energy metering device of each metering loop; step two, the online monitoring host stores the monitoring data in an array mode; thirdly, the online monitoring host calculates the stored monitoring data; fourth, the on-line monitoring host stores the calculation result in an array mode; fifthly, analyzing the monitoring data and the calculation result, if the abnormal condition exists, carrying out fault warning on the abnormal condition, and carrying out real-time online monitoring on the metering loop with the fault; and if no abnormal condition exists, repeating the steps, and carrying out inspection on all the metering loops.
The specific method for storing the monitoring data in the array mode by the on-line monitoring host comprises the following steps: the on-line monitoring host collects parameters such as PT secondary loop load, PT extension voltage, CT secondary loop load, electric energy meter operation voltage, current, frequency, phase and the like, and the collected data are respectively stored in a memory of the on-line monitoring host in an array mode. The on-line monitoring host calculates the collected data, which is executed by the DSP and the microprocessor and comprises PT secondary circuit voltage drop, secondary circuit electric energy meter (main meter) error and electric energy meter (auxiliary meter) error, and the calculation results are respectively stored in a memory of the on-line monitoring host in an array mode.
The PT extension machine collects three-phase voltages of the voltage transformer with high precision, and transmits data back to the on-line monitoring host machine, the on-line monitoring host machine can accurately measure voltages of corresponding electric energy meter side collection points, the on-line monitoring host machine compares the voltages of two ends of a certain circuit to calculate the percentage of the circuit voltage drop to signals. The GPS timing and time synchronization module (timing precision 1 uS) arranged in the on-line monitoring host generates a phase measurement starting signal, so that synchronous measurement of the phases of the PT extension and the on-line monitoring host is realized, and the phase error of the PT secondary circuit pressure drop is calculated, thereby realizing real-time on-line monitoring of the PT secondary circuit pressure drop of the secondary circuit.
The CT extension measures the current of the CT side of the secondary circuit and the voltage signal of the secondary circuit, calculates the CT secondary load of the secondary circuit according to the acquired data, and transmits the CT secondary load to the PT extension of the same metering circuit in a carrier communication mode; the PT extension detects the voltage of the PT side of the secondary circuit and the current signal of the secondary circuit, the PT secondary load of the secondary circuit is obtained through calculation according to the acquired data, and the calculated CT secondary load and PT secondary load data are transmitted to the on-line monitoring host computer in a carrier communication mode through a secondary voltage wire of a voltage transformer on site, so that real-time on-line monitoring of the PT secondary load and the CT secondary load of the secondary circuit is realized.
The on-line monitoring host computer respectively collects the voltage, current, phase and power (active and reactive) of the main electric energy meter and the auxiliary electric energy meter, compares the voltage, current, phase and power with the electric energy pulse data of the electric energy meter, and calculates errors of the main electric energy meter and the auxiliary electric energy meter.
The analysis of the on-line monitoring host comprises analysis of the acquired data and analysis of the calculation result of the acquired data. According to the collected data, whether the monitored loop loses voltage or current, whether the electric energy meter is abnormal, whether the CT extension is abnormal, whether the CT secondary loop operates abnormally, whether the PT extension is abnormal and whether the PT secondary loop operates abnormally can be analyzed. According to the calculation result, whether the electric energy meter is out of tolerance, whether the PT secondary circuit voltage drop is out of limit, whether the PT load is overloaded and whether the CT load is overloaded can be analyzed. The fault analysis is comprehensive, the reliability of the on-line monitoring system of the gateway electric energy metering device is improved, and the normal operation of the electric power system is ensured.
The calculation and analysis of the monitoring data by the on-line monitoring host is multithreaded processing, and the monitoring data of 4 metering loops can be processed simultaneously, or a plurality of monitoring data of one metering loop can be processed simultaneously. When the online monitoring host calculates and analyzes that a certain index exceeds the tolerance, the inspection mode is switched to real-time online monitoring of a single loop; when the on-line monitoring host calculates and analyzes that all the indexes are not out of tolerance, the inspection mode is not switched. According to the knowledge of the person skilled in the art, it is considered that an abnormal situation in which more than 2 loops occur at the same time hardly occurs, and thus this situation is not considered.
The on-line monitoring host computer carries out on-line detection and state evaluation to the gateway electric energy metering device, and to abnormal conditions, the system sends alarm information to the cell-phone of relevant personnel through the GPRS communication mode, and product easy operation, multiple functional, labour saving and time saving improves fortune dimension efficiency greatly.
While the applicant has described and illustrated the examples of the present invention in detail with reference to the drawings of the specification, it should be understood by those skilled in the art that the above examples are only preferred embodiments of the present invention, and the detailed description is only for the purpose of helping the reader to better understand the spirit of the present invention, but not limiting the scope of the present invention, but any improvements or modifications based on the spirit of the present invention should fall within the scope of the present invention.