A meter wiring anomaly data transmission system and method based on a power line meter
By collecting the instantaneous voltage sequence of the power grid using a power line analyzer, generating a virtual load current signal, and combining the meter readings to calculate the error, an anomaly diagnosis model is constructed. This solves the problems of complex wiring and inaccurate judgment in power metering devices, and achieves efficient and safe detection of wiring anomalies.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-03
- Publication Date
- 2026-03-10
AI Technical Summary
In existing technologies, the wiring of electricity metering devices is complex and wiring errors are common. Traditional inspection methods have high safety risks, low efficiency, and difficulty in guaranteeing accuracy. They cannot accurately trace the time when wiring abnormalities occur, and the standard signal of the power meter has a slight frequency or phase drift compared to the actual signal of the power grid, which affects the accuracy of the judgment.
A meter wiring anomaly data transmission system based on a power line analyzer is adopted. The power line analyzer is connected to the meter to collect the instantaneous value sequence of the power grid voltage. The phase and frequency of the power grid voltage are calculated using filters and digital phase-locked loop algorithms to generate a virtual load and construct a virtual load current signal. The error is calculated by combining the meter measurement value and an anomaly diagnosis model is constructed to achieve accurate detection throughout the entire process.
It reduces detection errors, improves the accuracy and efficiency of wiring anomaly detection, reduces equipment costs and safety hazards, reduces reliance on operator experience, and adapts to the detection needs of different meter specifications.
Smart Images

Figure CN121069271B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of virtual signal technology, specifically to a meter wiring anomaly data transmission system and method based on an epipolarizer. Background Technology
[0002] Electricity metering devices are core equipment in power systems, and the accuracy of their wiring directly affects electricity measurement and billing. However, the wiring of electricity metering devices is complex, and wiring errors are common. Traditional wiring inspection methods have many drawbacks, such as high safety risks associated with live-line work, cumbersome operation, low efficiency of manual judgment, and difficulty in guaranteeing accuracy. For example, current technology often uses on-site electrical testing instruments to collect data such as voltage and current, and then draws phase diagrams and judges errors. This process not only requires direct operation of high voltage, posing a risk of electric shock, but also involves complex wiring, can only complete part of the work, and still requires a large amount of manual calculation and analysis.
[0003] Meanwhile, with the widespread application of smart meters, higher demands are placed on the detection and diagnosis of wiring anomalies. Traditional methods relying on on-site inspections and manual analysis of electrical parameters cannot accurately trace the timing of wiring anomalies, and the calculated supplementary power is not precise enough, which is also unfavorable for large-scale inspections and pre- and in-process risk prevention. In addition, with the large number and wide application of three-phase smart meters, traditional troubleshooting methods based on monitoring abnormal line loss rates or power imbalances suffer from problems such as inaccurate location, low efficiency, and time-consuming and labor-intensive processes.
[0004] In recent years, in order to solve the problem of difficulty in troubleshooting meter wiring errors, cross-line testing equipment has emerged to detect whether the wiring is abnormal. However, when the user's load is zero or extremely low at the beginning of power supply, traditional methods cannot verify the accuracy of the meter. In addition, the standard signal of the cross-line testing equipment has a slight frequency or phase drift with the actual power grid signal, which introduces comparison error and affects the accuracy of the judgment. Summary of the Invention
[0005] The purpose of this invention is to provide a data transmission system and method for abnormal wiring of meters based on a nuclear line instrument, so as to solve the problems raised in the prior art.
[0006] To achieve the above objectives, the present invention provides the following technical solution:
[0007] A method for transmitting abnormal data of meter wiring based on a cross-sectional analyzer, the method comprising the following steps:
[0008] S100. Connect the power grid line analyzer to the meter. The power grid line analyzer collects discrete instantaneous voltage value sequences in the power grid and calculates the real-time phase and frequency of the power grid voltage from the instantaneous voltage value sequences.
[0009] Furthermore, the specific steps for calculating the real-time phase and frequency of the grid voltage from the instantaneous voltage value sequence are as follows:
[0010] S101. Connect the standard voltage output terminal of the power grid interconnect to the secondary side of the busbar PT of the meter, connect the standard current output terminal of the power grid interconnect to the power metering circuit, connect the communication line between the power grid interconnect and the meter, initialize the system, and start the microprocessor, signal generator and ADC sampling module in the power grid interconnect.
[0011] Clearly defining the connection method between the cross-section analyzer and the meter, and performing system initialization to start the core module, can reduce problems such as data transmission interruption and inaccurate data acquisition caused by non-standard connections, and ensure the stable start of the entire testing process.
[0012] S102. The power line analyzer uses an ADC sampling module to collect the three-phase voltage of the connected power grid to obtain a discrete instantaneous voltage value sequence u. grid (n), set the sampling frequency to f s The instantaneous voltage value sequence is filtered using a filter, and then processed using a digital phase-locked loop algorithm to calculate the real-time phase θ of the grid voltage. grid (n) and frequency f grid ;
[0013] The formula for calculating the real-time phase based on time series data is as follows:
[0014] ;
[0015] In the formula, θ grid (n-1) represents the real-time phase at the previous moment, f center The center frequency of the filter is represented by , and control(n) represents the filter control quantity output by the filter.
[0016] By acquiring discrete voltage instantaneous value sequences through an ADC sampling module and combining them with filters and digital phase-locked loop algorithms to calculate real-time phase and frequency, interference signals in the power grid can be effectively filtered out, ensuring high accuracy of the acquired power grid parameters. This provides a reliable power grid reference for subsequent virtual load construction and avoids distortion of subsequent detection results due to deviations in the reference parameters.
[0017] S200. Set up virtual load. The operator inputs the virtual load parameters into the power grid line instrument and uses the virtual load parameters to calculate the target phase difference between the current signal of the virtual load and the grid voltage.
[0018] Furthermore, the specific steps for calculating the target phase difference between the virtual load's current signal and the grid voltage using virtual load parameters are as follows:
[0019] S201. Set up virtual load: The operator inputs virtual load parameters into the power line analyzer. The virtual load parameters include the target power factor (PF). set and standard current amplitude I rated The microprocessor uses virtual load parameters to calculate the target phase difference between the virtual load's current signal and the grid voltage, using the following formula:
[0020] ;
[0021] In the formula, D set Arccos represents the target phase difference between the current signal of the virtual load and the grid voltage, and arccos represents the inverse cosine function.
[0022] Operators can input virtual load parameters according to actual testing needs, eliminating the need for physical load setup. This adapts to the testing requirements of meters of different specifications while avoiding the time-consuming, costly, and inflexible issues associated with physical load setup. The virtual load's power factor and current-voltage phase relationship are directly correlated, ensuring that the phase matching between the generated virtual load current signal and the grid voltage meets preset requirements, providing a reasonable load reference for accurately detecting the meter's wiring status.
[0023] The signal generator in the S300 epipolar line instrument uses the real-time phase of the grid voltage to generate a three-phase voltage signal that is in phase and frequency with the grid; it uses the target phase difference, real-time phase and virtual load parameters to calculate and generate a three-phase current signal, and uses the three-phase voltage signal and the three-phase current signal to form a virtual load;
[0024] Furthermore, the specific steps for constructing a virtual load using three-phase voltage and three-phase current signals are as follows:
[0025] S301, The signal generator uses the real-time phase θ of the power grid. grid (n) Generate a three-phase voltage signal that is in phase and frequency with the power grid. The three-phase voltage signal is then amplified by PWM and filtered by a filter before being output.
[0026] S302. The signal generator generates a three-phase current signal and calculates the phase of the three-phase current signal based on the real-time phase of the power grid and the target phase difference. The formula is as follows:
[0027] ;
[0028] In the formula, θ current (n) represents the phase of the three-phase current signal;
[0029] Using phase and a pre-set standard current amplitude I rated The formula for calculating the instantaneous current value of a three-phase current signal is:
[0030] ;
[0031] In the formula, I sync (n) represents the instantaneous current value of the three-phase current signal; the instantaneous current is input to PWM amplification and filtered by a filter to output the three-phase current signal;
[0032] S303. A virtual load is constructed using the output three-phase voltage signal and three-phase current signal.
[0033] The signal generator generates three-phase voltage signals with the same phase and frequency based on the real-time phase of the power grid. It calculates and generates three-phase current signals by combining the target phase difference and standard current amplitude. The signals are amplified and filtered by PWM, and the output voltage and current signals have stable waveforms and low distortion. The simulated virtual load is highly consistent with the actual power grid operation state, and can truly reflect the working condition of the meter under normal power grid conditions.
[0034] There is no need to use real electrical equipment to construct the load, which avoids energy consumption and equipment damage during the operation of physical loads. At the same time, it eliminates the safety risks such as circuit overload and overheating that may be caused by high-power physical loads, and reduces testing costs and safety hazards.
[0035] S400: Input the voltage and current signals of the virtual load into the meter through the metering circuit, and use the meter to display the measured values of different key data of the virtual load;
[0036] Furthermore, the specific steps for displaying different key data measurements of the virtual load using meters are as follows:
[0037] S401. The meter uses a metering loop to measure the three-phase voltage and three-phase current signals of the virtual load. The microprocessor reads the key data of the virtual load measured by the meter according to the meter's communication protocol. The key data includes the total active power P. meter Total reactive power Q meter Power factor PF meter Voltage phase angle θ U-meter Current phase angle θ I−meter ; Construct a set of key data measurement values {P} using the read measurement data. meter Q meter PF meter θ U-meter θ I−meter}
[0038] S500: Calculate the theoretical values of key virtual load data based on virtual load parameters, and calculate the error between the theoretical and measured values of key data.
[0039] Furthermore, the specific steps for calculating the error between the theoretical and measured values of key data are as follows:
[0040] S501. Calculate the theoretical values of key virtual load data based on the virtual load parameters, specifically:
[0041] The formula for calculating the theoretical value of total active power is: In the formula, U std I represents the three-phase voltage signal value of the virtual load. std P represents the three-phase current signal value of the virtual load. std This represents the theoretical value of total active power.
[0042] The theoretical value of total reactive power is calculated using the following formula: , in the formula, Q std This represents the theoretical value of total reactive power.
[0043] Theoretical power factor (PF) std =PF set Theoretical value of voltage phase angle θ U-std =θ grid Theoretical value of current phase angle θ I−std =θ grid -D set ;
[0044] S502, Construct a set of theoretical values for key virtual load data {P} std Q std PF std θ U-std θ I−std The key data error set is obtained by subtracting the key data measurement value set from the key data theoretical value set, which is {△P, △Q, △PF, △θ}. U , △θ I}, where △P represents the total active power error, △Q represents the total reactive power error, △PF represents the power factor error, and △θ represents the total reactive power error. U Represents the voltage phase angle error, Δθ I This indicates the current phase angle error.
[0045] Theoretical values are calculated based on virtual load parameters. These theoretical values directly correspond to the actual operating parameters of the virtual load, providing an absolute benchmark for judging the accuracy of meter readings and avoiding the problem of being unable to quantify meter errors due to the lack of a clear benchmark. By calculating errors in multiple dimensions such as total active power, total reactive power, power factor, and phase angle, the deviation of the meter in different metering dimensions can be comprehensively reflected. This not only helps determine whether there are wiring abnormalities but also provides detailed data support for subsequent anomaly identification.
[0046] S600. Extract historical meter wiring anomaly records, extract key data and anomaly types from the anomaly records to construct an anomaly diagnosis model, and use the anomaly diagnosis model to judge the error.
[0047] Furthermore, the specific steps for judging errors using the anomaly diagnosis model are as follows:
[0048] S601, The preset error threshold set is {Y_P, Y_Q, Y_PF, Y_θ} U ,Y_θ I Y_P represents the total active power error threshold, Y_Q represents the total reactive power error threshold, Y_PF represents the power factor error threshold, and Y_θ represents the total reactive power error threshold. U Y_θ represents the voltage phase angle error threshold. I Indicates the current phase angle error threshold;
[0049] The calculated error set is judged by using the error threshold set. When the error of all key data in the error set is less than the corresponding error threshold, the meter wiring is judged to be correct.
[0050] When any error in the set of critical data errors exceeds the corresponding error threshold, the meter wiring is determined to be abnormal, and the abnormality diagnosis model is activated.
[0051] S602. Extract historical meter wiring anomaly records, extract the error value of each key data in the anomaly records and map it to the corresponding wiring anomaly type, and sample and train the historical records to obtain an anomaly diagnosis model; when a meter wiring anomaly is determined, the anomaly diagnosis model extracts the error value of each key data and finds the corresponding anomaly type in the mapping association.
[0052] Based on historical wiring anomaly records, a diagnostic model is constructed that maps "key data error - anomaly type". When an anomaly is detected, the corresponding anomaly type can be quickly matched through the error value, which greatly improves the accuracy and efficiency of anomaly location compared with traditional manual investigation.
[0053] S700 integrates all data and judgment results from the epipolarizer's operation and generates a test report for uploading.
[0054] Furthermore, the specific steps for generating and uploading the test report are as follows:
[0055] S701. Integrate all data and judgment results during the operation of the epipolarizer. All data during the operation includes detection time, operator, location, preset virtual load key data, theoretical and measured values of key data, key data errors, and anomaly types; finally, generate and upload a detection report.
[0056] A meter wiring anomaly data transmission system based on a power line meter, comprising a data acquisition module, a power grid detection module, a virtual load module, a key data module, an anomaly judgment module, and a report upload module;
[0057] The data acquisition module is used to extract historical meter wiring abnormality records, and to map and associate each key data error value in the abnormality records with the corresponding wiring abnormality type.
[0058] The power grid detection module is used to connect the power grid line detector to the meter. The power grid line detector collects discrete instantaneous voltage value sequences in the power grid and calculates the real-time phase and frequency of the power grid voltage from the instantaneous voltage value sequences.
[0059] The virtual load module is used in the signal generator of the epipolar instrument to generate a three-phase voltage signal that is in phase and frequency with the grid voltage using the real-time phase of the grid voltage; it calculates and generates a three-phase current signal using the target phase difference, real-time phase and virtual load parameters; and it uses the three-phase voltage signal and the three-phase current signal to form a virtual load.
[0060] The key data module is used to display the measured values of key data using a meter, calculate the theoretical values of key data, and then calculate the key data error.
[0061] The anomaly detection module is used to preset a key data error threshold, use the error threshold to determine the key data error, and determine whether the meter wiring is abnormal.
[0062] The report upload module is used to integrate all data and judgment results during the operation of the epipolarizer and generate a test report for upload.
[0063] The key data module includes key data measurement value units, key data theoretical value units, and key data error units;
[0064] The key data measurement unit is used to input the voltage and current signals of the virtual load into the meter through the metering loop, and use the meter to display different key data measurement values of the virtual load.
[0065] The key data theoretical value unit is used to calculate the key data theoretical value of virtual load based on virtual load parameters;
[0066] The key data error unit is used to calculate the error between the theoretical and measured values of key data.
[0067] Compared with the prior art, the beneficial effects of the present invention are:
[0068] 1. This invention, from power grid parameter acquisition and virtual load construction to error calculation and anomaly diagnosis, uses precise algorithms and standardized operations throughout the entire process to minimize detection errors, ensure the accuracy of judgment on wiring anomalies, and reduce misjudgments and omissions.
[0069] 2. This invention requires no physical load and adapts to different testing scenarios by adjusting virtual load parameters, thereby reducing equipment costs and energy consumption. At the same time, the standardized connection and operation process reduces reliance on operator experience, lowers training costs, and the short testing time improves the efficiency of meter testing. Attached Figure Description
[0070] Figure 1 This is a module distribution diagram of a meter wiring abnormality data transmission system based on a cross-line meter according to the present invention.
[0071] Figure 2 This is a schematic diagram illustrating the steps of a method for transmitting abnormal data from a meter wiring system based on a cross-line meter, according to the present invention. Detailed Implementation
[0072] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0073] Example: Figures 1-2 As shown, the present invention provides a technical solution.
[0074] A method for transmitting abnormal data of meter wiring based on a cross-sectional analyzer, the method comprising the following steps:
[0075] S100. Connect the power grid line analyzer to the meter. The power grid line analyzer collects discrete instantaneous voltage value sequences in the power grid and calculates the real-time phase and frequency of the power grid voltage from the instantaneous voltage value sequences.
[0076] The specific steps for calculating the real-time phase and frequency of the grid voltage from the instantaneous voltage value sequence are as follows:
[0077] S101. Connect the standard voltage output terminal of the power grid interconnect to the secondary side of the busbar PT of the meter, connect the standard current output terminal of the power grid interconnect to the power metering circuit, connect the communication line between the power grid interconnect and the meter, initialize the system, and start the microprocessor, signal generator and ADC sampling module in the power grid interconnect.
[0078] Clearly defining the connection method between the cross-section analyzer and the meter, and performing system initialization to start the core module, can reduce problems such as data transmission interruption and inaccurate data acquisition caused by non-standard connections, and ensure the stable start of the entire testing process.
[0079] S102. The power line analyzer uses an ADC sampling module to collect the three-phase voltage of the connected power grid to obtain a discrete instantaneous voltage value sequence u.grid (n), set the sampling frequency to f s The instantaneous voltage value sequence is filtered using a filter, and then processed using a digital phase-locked loop algorithm to calculate the real-time phase θ of the grid voltage. grid (n) and frequency f grid ;
[0080] The formula for calculating the real-time phase based on time series data is as follows:
[0081] ;
[0082] In the formula, θ grid (n-1) represents the real-time phase at the previous moment, f center The center frequency of the filter is represented by , and control(n) represents the filter control quantity output by the filter.
[0083] By acquiring discrete voltage instantaneous value sequences through an ADC sampling module and combining them with filters and digital phase-locked loop algorithms to calculate real-time phase and frequency, interference signals in the power grid can be effectively filtered out, ensuring high accuracy of the acquired power grid parameters. This provides a reliable power grid reference for subsequent virtual load construction and avoids distortion of subsequent detection results due to deviations in the reference parameters.
[0084] S200. Set up virtual load. The operator inputs the virtual load parameters into the power grid line instrument and uses the virtual load parameters to calculate the target phase difference between the current signal of the virtual load and the grid voltage.
[0085] The specific steps for calculating the target phase difference between the current signal of the virtual load and the grid voltage using virtual load parameters are as follows:
[0086] S201. Set up virtual load: The operator inputs virtual load parameters into the power line analyzer. The virtual load parameters include the target power factor (PF). set and standard current amplitude I rated The microprocessor uses virtual load parameters to calculate the target phase difference between the virtual load's current signal and the grid voltage, using the following formula:
[0087] ;
[0088] In the formula, D set Arccos represents the target phase difference between the current signal of the virtual load and the grid voltage, and arccos represents the inverse cosine function.
[0089] Operators can input virtual load parameters according to actual testing needs, eliminating the need for physical load setup. This adapts to the testing requirements of meters of different specifications while avoiding the time-consuming, costly, and inflexible issues associated with physical load setup. The virtual load's power factor and current-voltage phase relationship are directly correlated, ensuring that the phase matching between the generated virtual load current signal and the grid voltage meets preset requirements, providing a reasonable load reference for accurately detecting the meter's wiring status.
[0090] The signal generator in the S300 epipolar line instrument uses the real-time phase of the grid voltage to generate a three-phase voltage signal that is in phase and frequency with the grid; it uses the target phase difference, real-time phase and virtual load parameters to calculate and generate a three-phase current signal, and uses the three-phase voltage signal and the three-phase current signal to form a virtual load;
[0091] The specific steps for constructing a virtual load using three-phase voltage and three-phase current signals are as follows:
[0092] S301, The signal generator uses the real-time phase θ of the power grid. grid (n) Generate a three-phase voltage signal that is in phase and frequency with the power grid. The three-phase voltage signal is then amplified by PWM and filtered by a filter before being output.
[0093] S302. The signal generator generates a three-phase current signal and calculates the phase of the three-phase current signal based on the real-time phase of the power grid and the target phase difference. The formula is as follows:
[0094] ;
[0095] In the formula, θ current (n) represents the phase of the three-phase current signal;
[0096] Using phase and a pre-set standard current amplitude I rated The formula for calculating the instantaneous current value of a three-phase current signal is:
[0097] ;
[0098] In the formula, I sync (n) represents the instantaneous current value of the three-phase current signal; the instantaneous current is input to PWM amplification and filtered by a filter to output the three-phase current signal;
[0099] S303. A virtual load is constructed using the output three-phase voltage signal and three-phase current signal.
[0100] The signal generator generates three-phase voltage signals with the same phase and frequency based on the real-time phase of the power grid. It calculates and generates three-phase current signals by combining the target phase difference and standard current amplitude. The signals are amplified and filtered by PWM, and the output voltage and current signals have stable waveforms and low distortion. The simulated virtual load is highly consistent with the actual power grid operation state, and can truly reflect the working condition of the meter under normal power grid conditions.
[0101] There is no need to use real electrical equipment to construct the load, which avoids energy consumption and equipment damage during the operation of physical loads. At the same time, it eliminates the safety risks such as circuit overload and overheating that may be caused by high-power physical loads, and reduces testing costs and safety hazards.
[0102] S400: Input the voltage and current signals of the virtual load into the meter through the metering circuit, and use the meter to display the measured values of different key data of the virtual load;
[0103] The specific steps for displaying different key data measurements of virtual load using meters are as follows:
[0104] S401. The meter uses a metering loop to measure the three-phase voltage and three-phase current signals of the virtual load. The microprocessor reads the key data of the virtual load measured by the meter according to the meter's communication protocol. The key data includes the total active power P. meter Total reactive power Q meter Power factor PF meter Voltage phase angle θ U-meter Current phase angle θ I−meter ; Construct a set of key data measurement values {P} using the read measurement data. meter Q meter PF meter θ U-meter θ I−meter}
[0105] S500: Calculate the theoretical values of key virtual load data based on virtual load parameters, and calculate the error between the theoretical and measured values of key data.
[0106] The specific steps for calculating the error between the theoretical and measured values of key data are as follows:
[0107] S501. Calculate the theoretical values of key virtual load data based on the virtual load parameters, specifically:
[0108] The formula for calculating the theoretical value of total active power is: In the formula, U std I represents the three-phase voltage signal value of the virtual load. std P represents the three-phase current signal value of the virtual load. std This represents the theoretical value of total active power.
[0109] The theoretical value of total reactive power is calculated using the following formula: , in the formula, Q std This represents the theoretical value of total reactive power.
[0110] Theoretical power factor (PF) std =PF set Theoretical value of voltage phase angle θ U-std =θ grid Theoretical value of current phase angle θ I−std =θ grid -D set ;
[0111] S502, Construct a set of theoretical values for key virtual load data {P} std Q std PF std θ U-std θ I−std The key data error set is obtained by subtracting the key data measurement value set from the key data theoretical value set, which is {△P, △Q, △PF, △θ}. U , △θ I}, where △P represents the total active power error, △Q represents the total reactive power error, △PF represents the power factor error, and △θ represents the total reactive power error. U Represents the voltage phase angle error, Δθ I This indicates the current phase angle error.
[0112] Theoretical values are calculated based on virtual load parameters. These theoretical values directly correspond to the actual operating parameters of the virtual load, providing an absolute benchmark for judging the accuracy of meter readings and avoiding the problem of being unable to quantify meter errors due to the lack of a clear benchmark. By calculating errors in multiple dimensions such as total active power, total reactive power, power factor, and phase angle, the deviation of the meter in different metering dimensions can be comprehensively reflected. This not only helps determine whether there are wiring abnormalities but also provides detailed data support for subsequent anomaly identification.
[0113] S600. Extract historical meter wiring anomaly records, extract key data and anomaly types from the anomaly records to construct an anomaly diagnosis model, and use the anomaly diagnosis model to judge the error.
[0114] The specific steps for judging errors using an anomaly diagnosis model are as follows:
[0115] S601, The preset error threshold set is {Y_P, Y_Q, Y_PF, Y_θ} U ,Y_θ I Y_P represents the total active power error threshold, Y_Q represents the total reactive power error threshold, Y_PF represents the power factor error threshold, and Y_θ represents the total reactive power error threshold. UY_θ represents the voltage phase angle error threshold. I Indicates the current phase angle error threshold;
[0116] The calculated error set is judged by using the error threshold set. When the error of all key data in the error set is less than the corresponding error threshold, the meter wiring is judged to be correct.
[0117] When any error in the set of critical data errors exceeds the corresponding error threshold, the meter wiring is determined to be abnormal, and the abnormality diagnosis model is activated.
[0118] S602. Extract historical meter wiring anomaly records, extract the error value of each key data in the anomaly records and map it to the corresponding wiring anomaly type, and sample and train the historical records to obtain an anomaly diagnosis model; when a meter wiring anomaly is determined, the anomaly diagnosis model extracts the error value of each key data and finds the corresponding anomaly type in the mapping association.
[0119] Based on historical wiring anomaly records, a diagnostic model is constructed that maps "key data error - anomaly type". When an anomaly is detected, the corresponding anomaly type can be quickly matched through the error value, which greatly improves the accuracy and efficiency of anomaly location compared with traditional manual investigation.
[0120] S700 integrates all data and judgment results from the epipolarizer's operation and generates a test report for uploading.
[0121] The specific steps for generating and uploading the test report are as follows:
[0122] S701. Integrate all data and judgment results during the operation of the epipolarizer. All data during the operation includes detection time, operator, location, preset virtual load key data, theoretical and measured values of key data, key data errors, and anomaly types; finally, generate and upload a detection report.
[0123] A meter wiring anomaly data transmission system based on a power line meter, comprising a data acquisition module, a power grid detection module, a virtual load module, a key data module, an anomaly judgment module, and a report upload module;
[0124] The data acquisition module is used to extract historical meter wiring abnormality records, and to map and associate each key data error value in the abnormality records with the corresponding wiring abnormality type.
[0125] The power grid detection module is used to connect the power grid line detector to the meter. The power grid line detector collects discrete instantaneous voltage value sequences in the power grid and calculates the real-time phase and frequency of the power grid voltage from the instantaneous voltage value sequences.
[0126] The virtual load module is used in the signal generator of the epipolar instrument to generate a three-phase voltage signal that is in phase and frequency with the grid voltage using the real-time phase of the grid voltage; it calculates and generates a three-phase current signal using the target phase difference, real-time phase and virtual load parameters; and it uses the three-phase voltage signal and the three-phase current signal to form a virtual load.
[0127] The key data module is used to display the measured values of key data using a meter, calculate the theoretical values of key data, and then calculate the key data error.
[0128] The anomaly detection module is used to preset a key data error threshold, use the error threshold to determine the key data error, and determine whether the meter wiring is abnormal.
[0129] The report upload module is used to integrate all data and judgment results during the operation of the epipolarizer and generate a test report for upload.
[0130] The key data module includes key data measurement value units, key data theoretical value units, and key data error units;
[0131] The key data measurement unit is used to input the voltage and current signals of the virtual load into the meter through the metering loop, and use the meter to display different key data measurement values of the virtual load.
[0132] The key data theoretical value unit is used to calculate the key data theoretical value of virtual load based on virtual load parameters;
[0133] The key data error unit is used to calculate the error between the theoretical and measured values of key data.
[0134] Example: Data is collected from the power grid. The sampling frequency is set to 20kHz. The three-phase voltage of the power grid is collected to obtain a discrete instantaneous voltage value sequence. According to the formula:
[0135] ;
[0136] Where f center =50Hz, Δt=1 / f s =50μs, control(n) is the filter control quantity output by the filter. In this test, the average value of control(n) is 0.02rad. The real-time phase θ of the grid voltage is calculated. grid (n) (approximately 0.3 rad after stabilization) and frequency f grid (After stabilization, the frequency is 50.02Hz), and it is displayed in real time on the epipolarizer screen;
[0137] Set the target power factor PF set =0.8, standard current amplitude I rated =5A;
[0138] The target phase difference D between the virtual load's current signal and the grid voltage is calculated. set =arccos(0.8)≈0.6435rad (approximately 36.87°);
[0139] The three-phase voltage signal and three-phase current signal are calculated using formulas to generate a virtual load.
[0140] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the invention can be implemented in other specific forms without departing from its spirit or essential characteristics. Therefore, the embodiments should be considered in all respects as exemplary and non-limiting, and the scope of the invention is defined by the appended claims rather than the foregoing description. Thus, all variations falling within the meaning and scope of equivalents of the claims are intended to be included within the present invention. No reference numerals in the claims should be construed as limiting the scope of the claims.
Claims
1. A method for transmitting meter connection abnormal data based on a core line instrument, characterized in that: The method comprises the following steps: S100, connecting the core line instrument with the meter, the core line instrument collecting a discrete voltage instantaneous value sequence in the power grid, and calculating the voltage instantaneous value sequence to obtain a real-time phase and a frequency of the power grid voltage; S200, setting a virtual load, an operator inputting a virtual load parameter in the core line instrument, and calculating a target phase difference of a current signal of the virtual load relative to the power grid voltage by using the virtual load parameter; S300, a signal generator in the core line instrument generating a three-phase voltage signal in phase and frequency with the power grid by using the real-time phase of the power grid voltage, and generating a three-phase current signal by using the target phase difference, the real-time phase and the virtual load parameter, and constructing the virtual load by using the three-phase voltage signal and the three-phase current signal; The specific steps of constructing the virtual load by using the three-phase voltage signal and the three-phase current signal are as follows: S301, the signal generator uses the real-time phase θ of the power grid grid (n) generating a three-phase voltage signal in phase and frequency with the power grid, and outputting after PWM amplification and filter filtering; S302, the signal generator generating the three-phase current signal, and calculating the phase of the three-phase current signal according to the real-time phase of the power grid and the target phase difference, and the formula is as follows: ; In the formula, θ current (n) represents the phase of the three-phase current signal; Using the phase and a pre-set standard current amplitude I rated The instantaneous current value of the three-phase current signal is calculated, according to the formula: ; In the formula, I sync (n) represents the instantaneous current value of the three-phase current signal; the instantaneous current is input into the PWM amplifier and filter to output the three-phase current signal; S303, constructing the virtual load by using the output three-phase voltage signal and the three-phase current signal; S400, input the voltage and current signals of the virtual load into the metering circuit through the metering circuit, and display different key data measurement values of the virtual load by using the metering table; the key data includes total active power P meter , total reactive power Q meter , power factor PF meter , voltage phase angle θ U-meter , current phase angle θ I−meter ; S500, calculating a theoretical value of key data of the virtual load according to the virtual load parameter, and calculating an error between the theoretical value and a measured value; S600, extracting a historical meter connection abnormal record, extracting key data and an abnormal type of the abnormal record to construct an abnormal diagnosis model, and judging the error by using the abnormal diagnosis model; S700, integrating all data and judgment results in the working process of the core line instrument, generating a detection report and uploading the detection report.
2. The method of claim 1, wherein: The specific steps of calculating the real-time phase and the frequency of the power grid voltage by using the voltage instantaneous value sequence in the S100 are as follows: S101, connecting a standard voltage output terminal of the core line instrument to a bus PT secondary side of the meter, connecting a standard current output terminal of the core line instrument to an electric energy metering loop, connecting a communication line of the core line instrument and the meter, initializing the system, and starting a microprocessor, a signal generator and an ADC sampling module in the core line instrument; S102, the kernel instrument utilizes the ADC sampling module to collect the accessed three-phase voltage of the power grid to obtain a discrete voltage instantaneous value sequence u grid (n), sets the sampling frequency as f s , utilizes a filter to filter the voltage instantaneous value sequence, utilizes a digital phase-locked loop algorithm to process the voltage instantaneous value sequence, and calculates to obtain the real-time phase θ grid (n) and frequency f grid of the power grid voltage. The real-time phase is calculated based on a time sequence, and the formula is as follows: ; In the formula, θ grid (n-1) indicates the real-time phase at the previous time, f center represents the filter center frequency, and control(n) represents the filter output filter control quantity.
3. The method of claim 2, wherein: The specific steps of calculating the target phase difference of the current signal of the virtual load relative to the power grid voltage by using the virtual load parameter in the S200 are as follows: S201, setting a virtual load, an operator inputs a virtual load parameter in the nuclear line instrument, the virtual load parameter including a target power factor PF set and a standard current amplitude I rated , the microprocessor calculates a target phase difference of a current signal of the virtual load relative to a power grid voltage by using the virtual load parameter, and the formula is: ; In the formula, D set represents the target phase difference of the current signal of the virtual load with respect to the grid voltage, and arccos represents the inverse cosine function.
4. The method of claim 3, wherein: The specific steps of displaying different key data measured values of the virtual load by using the meter in the S400 are as follows: S401、the meter measures the three-phase voltage signal and the three-phase current signal of the virtual load by using the metering circuit, and the microprocessor reads the key data of the virtual load measured by the meter according to the meter communication protocol, wherein the key data includes total active power P meter , total reactive power Q meter , power factor PF meter , voltage phase angle θ U-meter , current phase angle θ I−meter ; a key data measurement value set {P meter , Q meter , PF meter , θ U-meter , θ I−meter} is constructed by using the read meter measurement key data.
5. The method of claim 4, wherein: The specific steps of calculating the error between the theoretical value and the measured value of the key data in the S500 are as follows: S501, calculating the theoretical value of the key data of the virtual load according to the virtual load parameter, and the specific steps are as follows: The total active power theoretical value is calculated according to the formula: , wherein U std represents the three-phase voltage signal value of the virtual load, I std represents the three-phase current signal value of the virtual load, and P std represents the total active power theoretical value. The total reactive power theoretical value is calculated according to the formula: , wherein Q std represents the total reactive power theoretical value. Power factor theoretical value PF std = PF set , voltage phase angle theoretical value θ U-std = θ grid , current phase angle theoretical value θ I−std = θ grid - D set ; S502, construct a virtual load key data theoretical value set {P std , Q std , PF std , θ U-std , θ I−std} , use the key data theoretical value set to subtract the key data measured value set to obtain the key data error set as {△P, △Q, △PF, △θ U , △θ I}, △P represents total active power error, △Q represents total reactive power error, △PF represents power factor error, △θ U represents voltage phase angle error, and △θ I represents current phase angle error.
6. The method of claim 5, wherein: The specific steps of judging the error by using the abnormal diagnosis model in the S600 are as follows: S601, a set of preset error thresholds is {Y_P, Y_Q, Y_PF, Y_θ U , Y_θ I}, Y_P represents a total active power error threshold, Y_Q represents a total reactive power error threshold, Y_PF represents a power factor error threshold, Y_θ U represents a voltage phase angle error threshold, and Y_θ I represents a current phase angle error threshold. The error set is judged by using the error threshold set, when all key data errors in the error set are less than the corresponding error threshold, it is judged that the meter connection is correct; When any error in the key data error set is greater than the corresponding error threshold, it is judged that the meter connection is abnormal, and the abnormal diagnosis model is started. S602, extract historical meter connection abnormality records, map each key data error value in the abnormality records to a corresponding connection abnormality type, sample the historical records to train an abnormality diagnosis model, and when judging meter connection abnormality, the abnormality diagnosis model extracts each key data error value to find the corresponding abnormality type in the mapping.
7. The method of claim 6, wherein: The specific steps of generating and uploading the detection report in S700 are: S701, integrate all data and judgment results in the working process of the core line instrument, the all data in the working process including detection time, operator, location, preset virtual load key data, key data theoretical value and measured value, key data error, abnormality type, and finally generate and upload the detection report.
8. A system for transmitting data on meter connection anomalies based on a core line instrument, applying a method for transmitting data on meter connection anomalies based on a core line instrument according to any one of claims 1 to 7, characterized in that: The meter connection abnormality data transmission system includes a data acquisition module, a power grid detection module, a virtual load module, a key data module, an abnormality judgment module, and a report uploading module. The data acquisition module is used to extract historical meter connection abnormality records, and map each key data error value in the abnormality records to a corresponding connection abnormality type. The power grid detection module is used to connect the core line instrument with the meter, the core line instrument collects a sequence of discrete voltage instantaneous values in the power grid, and calculates the real-time phase and frequency of the power grid voltage from the sequence of voltage instantaneous values. The virtual load module is used to generate a three-phase voltage signal with the same phase and frequency as the power grid using the real-time phase of the power grid voltage by the signal generator in the core line instrument, calculate a three-phase current signal using the target phase difference, real-time phase, and virtual load parameters, and use the three-phase voltage signal and the three-phase current signal to form a virtual load. The key data module is used to display the key data measured value by the meter, calculate the key data theoretical value, and then calculate the key data error. The abnormality judgment module is used to preset a key data error threshold, judge the key data error using the error threshold, and judge whether the meter connection is abnormal. The report uploading module is used to integrate all data and judgment results in the working process of the core line instrument, and generate and upload the detection report.
9. A meter connection abnormal data transmission system based on a core line instrument according to claim 8, characterized in that: The key data module includes a key data measured value unit, a key data theoretical value unit, and a key data error unit. The key data measured value unit is used to input the voltage and current signals of the virtual load into the meter through the metering loop, and display different key data measured values of the virtual load by the meter. The key data theoretical value unit is used to calculate the virtual load key data theoretical value according to the virtual load parameters. The key data error unit is used to calculate the error of the key data theoretical value and the measured value.
Citation Information
Patent Citations
Influence test system and method for dynamic load electric energy metering
CN113219395A