Epipolar line system and method based on phase-locked loop and modeling technology

Through the core wire system based on phase-locked loop and modeling technology, a wiring error model for the metering device is established, which solves the problem of difficulty in checking the metering loop before the user receives power in the existing technology, and achieves the effect of simplifying wiring inspection and improving wiring accuracy.

CN119916263APending Publication Date: 2025-05-02HENGDIAN TECH CO LTD

Patent Information

Application Number
CN202510406073.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-02
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

It is difficult for the existing technology to easily check the metering circuit before the user receives power, simplify the metering circuit wiring inspection workflow, and ensure the wiring accuracy.

Method used

A core wire system based on phase-locked loop and modeling technology is adopted to provide test data through a three-phase standard voltage/current source, parameter data of different wiring types is collected, wiring error models of metering devices are established, data comparison is used for data comparison, and specific wiring errors are judged.

Benefits of technology

It realizes the direct measurement of the accuracy of the metering circuit without untiing the metering connection, simplifies on-site work, improves safety and accuracy, and reduces working intensity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119916263A_ABST
    Figure CN119916263A_ABST
Patent Text Reader

Abstract

The invention discloses a nuclear wire system and method based on a phase-locked loop and a modeling technology, and relates to the technical field of measurement data analysis, the system comprises a three-phase standard voltage / current source, a data test module, a measurement embedded module, a microprocessor and a display module; the output end of the three-phase standard voltage / current source is connected to the input end of the data test module; the output end of the data test module is connected to the input end of the microprocessor; the output end of the metering embedded module is connected to the input end of the microprocessor; and the output end of the microprocessor is connected to the input end of the display module. According to the invention, the standard voltage / current of the simulation system is pre-added to the metering loop, and the information of the metering watt-hour meter is read, so that whether the wiring of the primary and secondary loops of the whole metering loop, including the watt-hour meter, is accurate or not can be checked. The accuracy of the metering loop can be directly measured without unfastening metering wiring.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of metrological data analysis, and in particular to a core line system and method based on a phase-locked loop and modeling technology. Background Art

[0002] The electric energy metering device is a device that provides basic data for electric energy transactions. It generally includes multiple devices such as electric energy meters, secondary circuits, and electric energy metering cabinets. It is an important part of the daily production and operation activities of power supply companies. The accuracy of electricity records is closely related to the economic interests of power supply companies and users. Therefore, once the metering wiring is wrong, it will cause errors in electricity consumption, bring significant economic losses and usage risks, and also lead to problems such as increased line loss rate.

[0003] At present, the inspection method for newly installed electric energy metering devices generally requires disassembling the wiring for inspection and judging by the meter reading after receiving power. Because some users have no load when receiving power, it is difficult to find wiring errors in time when receiving power. Therefore, how to conveniently check the metering circuit before the user receives power, simplify the metering circuit wiring inspection workflow, and ensure the wiring accuracy is a problem that needs to be solved urgently. Summary of the invention

[0004] The object of the present invention is to provide a core line system and method based on a phase-locked loop and modeling technology to solve the problems raised in the prior art.

[0005] To achieve the above object, the present invention provides the following technical solution: an epipolar method based on a phase-locked loop and modeling technology, the method comprising the following steps: S1. Use a three-phase standard voltage / current source to provide a three-phase voltage and current signal group, and use a phase-locked loop technology to achieve a fixed phase shift between the voltage and current signals to form test data; S2, collecting different wiring type errors under test data and parameter data under each wiring type error, and establishing a wiring error model for the metering device; S3, using a microprocessor to store data obtained by modeling and simulating the wiring error model of the metering device, and at the same time comparing the data read from the electric energy metering device with the data in the model library to determine the specific wiring error; S4. Set a display device to display specific wiring error data on the display device for the administrator to view.

[0006] According to the above technical solution, the different wiring type errors under the test data include: voltage reverse phase sequence, reverse wiring and current reverse wiring, reverse phase sequence; the parameter data includes the electricity meter voltage, current, power, reactive power, power factor, and phase angle.

[0007] According to the above technical solution, establishing a wiring error model of a metering device includes: Acquire several groups of test data, wherein the several groups of test data should include each type of wiring error, and assign data with the same type of wiring error to the same group; The system sets several generated data, takes any generated data to perform similarity analysis on each group of wiring type errors, sets a similarity threshold, if the generated data performs similarity analysis on each data of each group of wiring type errors, and the average value of the solution is higher than the similarity threshold of this group, it is determined that the generated data belongs to this group of wiring type errors, and the system checks the actual wiring type error of the generated data. If the actual wiring type error is equivalent to the determined wiring type error, the generated data passes; if the actual wiring type error is different from the determined wiring type error, the generated data is marked for test model adjustment.

[0008] According to the above technical solution, the test model adjustment specifically includes: Set the data distribution of the marker generation data to , the data distribution in the wiring type error data group corresponding to the generated data is recorded as , where c represents the parameter data of the test model before adjustment, that is, the generated network; Due to the wrong judgment, the parameter c of the test model is adjusted, including: Take a number of feature points in the generated data, record them as m, and calculate the likelihood data of the m feature points based on the parameter data before the test model is adjusted:

[0009] According to the likelihood data, the maximum likelihood function estimate is calculated as:

[0010] KL stands for relative entropy, which is used to measure the similarity between two probability distributions. When the KL relative entropy is the smallest, the parameters of the corresponding test model are used as the new test model parameters. Based on the new test model parameters, adjust the adversarial network when the test model parameters are c; The adversarial network when the test model parameter is set to c is ; Then the objective function of the adversarial model is:

[0011] in, represents the objective function of the adversarial model under the premise that the test model parameter is c; since it is necessary to determine whether the generated data belongs to the corresponding wiring type error data group, and The gap between When the maximum value is taken, and The difference between them is the lowest, the discrimination effect is the best, and the calculation The maximum value of , and the final test model optimization is obtained:

[0012] in, Represents the new model after the test model is adjusted. represent The maximum value of .

[0013] A core line system based on a phase-locked loop and modeling technology, the system comprising a three-phase standard voltage / current source, a data test module, a metering embedded module, a microprocessor and a display module; The three-phase standard voltage / current source is used to provide a three-phase voltage and current signal group for data testing and analysis; the data testing module is used to collect different wiring type errors under test data and parameter data under each wiring type error, and establish a wiring error model for the metering device; the metering embedded module is used to collect electric meter data in real time and feed it back to the microprocessor; the microprocessor is used to store data obtained by modeling and simulating the wiring error model of the metering device, and at the same time compare the data read from the electric energy metering device with the data in the model library to determine the specific wiring error; the display module is used to connect to the display device and display the specific wiring error data on the display device for the administrator to view; The output end of the three-phase standard voltage / current source is connected to the input end of the data test module; the output end of the data test module is connected to the input end of the microprocessor; the output end of the metering embedded module is connected to the input end of the microprocessor; the output end of the microprocessor is connected to the input end of the display module.

[0014] According to the above technical solution, the three-phase standard voltage / current source also includes: The phase-locked loop technology is used to generate a three-phase voltage and current signal group, and there must be a fixed phase shift between the voltage and current signals to simulate the actual system parameters.

[0015] According to the above technical solution, the data testing module includes a data acquisition unit and a data testing unit; The data acquisition unit is used to collect different wiring type errors under test data and parameter data under each wiring type error; the data testing unit establishes a wiring error model of the metering device based on the different wiring type errors under test data and parameter data under each wiring type error; The output end of the data acquisition unit is connected to the input end of the data testing unit.

[0016] According to the above technical solution, the microprocessor includes a storage end and a reading end; The storage end is used to store data obtained by modeling and simulating the wiring error model of the metering device; the reading end is used to obtain information read by the watt-hour meter, and compare the information read by the watt-hour meter with the standard source data in the storage end to determine the specific wiring error.

[0017] According to the above technical solution, the display module includes: an electric meter address, device source data, electric meter data and a status monitoring unit; the electric meter address is used to directly write the address; the device source data includes A phase voltage, B phase voltage, C phase voltage, total power, A phase power, B phase power, C phase power, A phase current, B phase current and C phase current; the electric meter data includes A phase voltage, B phase voltage, C phase voltage, total power, A phase power, B phase power, C phase power, A phase current, B phase current and C phase current; the status monitoring unit includes communication status and wiring error data display.

[0018] Compared with the prior art, the beneficial effects of the present invention are as follows: the present invention uses the voltage / current of the analog system with the standard pre-added in the metering circuit, and by reading the information of the metering watt-hour meter, it can check whether the wiring of the primary and secondary circuits of the entire metering circuit, including the watt-hour meter, is accurate. The metering circuit accuracy can be directly measured without untying the metering wiring, avoiding the complex on-site environment and the cramped space in the high-voltage cabinet, simplifying the on-site work, improving safety, and reducing the intensity of work. At the same time, a metering device wiring error model is established through a large amount of test data and theoretical analysis, and the parameter data changes of the watt-hour meter voltage, current, power, reactive power, power factor, and phase angle under various wiring errors such as voltage reverse phase sequence, reverse wiring and current reverse wiring, reverse phase sequence are simulated, and these data are compared with the actual electric energy metering device data to determine the specific wiring error. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 A circuit diagram of a core line method based on a phase-locked loop and modeling technology of the present invention; Figure 2 The present invention is a schematic diagram of a display module of a core line system based on a phase-locked loop and modeling technology. DETAILED DESCRIPTION

[0020] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0021] Embodiment: The present invention provides an epipolar method based on a phase-locked loop and modeling technology, the method comprising the following steps: S1. Use a three-phase standard voltage / current source to provide a three-phase voltage and current signal group, and use a phase-locked loop technology to achieve a fixed phase shift between the voltage and current signals to form test data; S2, collecting different wiring type errors under test data and parameter data under each wiring type error, and establishing a wiring error model for the metering device; S3, using a microprocessor to store data obtained by modeling and simulating the wiring error model of the metering device, and at the same time comparing the data read from the electric energy metering device with the data in the model library to determine the specific wiring error; S4. Set a display device to display specific wiring error data on the display device for the administrator to view.

[0022] The different wiring type errors under the test data include: voltage reverse phase sequence, reverse wiring and current reverse wiring, reverse phase sequence; the parameter data includes the voltage, current, power, reactive power, power factor and phase angle of the watt-hour meter.

[0023] In the first embodiment, the core line system has a built-in three-phase 50Hz standard source, an output voltage of AC200V, and a current of 0.5A. The output voltage of the standard source is connected to the 10kV bus, and the output current of the standard source is connected to the secondary of the metering CT. The auxiliary power supply of the watt-hour meter is connected to the watt-hour meter. The signal of the standard source is added to the watt-hour meter through the metering circuit, and the microprocessor reads the watt-hour meter information through the watt-hour meter RS485 interface.

[0024] The microprocessor compares the information read by the watt-hour meter with the standard source. If it matches the standard source, the wiring is correct. If it does not match, the method of the present application is called for analysis and processing to determine the type of wiring error. According to different errors, corresponding graphic and text reminders are displayed on the screen, so that users can quickly identify the specific type of wrong connection.

[0025] Phase-locked loop technology is used to generate a 50Hz three-phase voltage and current signal group, and there must be a fixed phase shift between the voltage and current signals to simulate the actual system parameters. The signal frequency generated by the phase-locked loop technology is very stable. However, the signal group is a TTL signal with an amplitude not exceeding 5V, and needs to be further amplified to the required amplitude. However, because it is a portable device, the battery capacity and volume cannot be too large, and the signal amplifier is required to be small in size and high in efficiency, so a linear amplification method cannot be used. The present invention adopts a three-phase pulse width modulation (PWM) method, which is very efficient. The signal output by pulse width modulation (PWM) is a waveform with different pulse widths, which needs to be low-pass filtered to finally obtain a pure 50Hz voltage and current. The reference voltage and current are set, and the negative feedback technology is used to automatically adjust the output voltage and current amplitude (that is, the three-phase sinusoidal wave PWM signal generator chip collects the voltage and current signals and then automatically adjusts them) to ensure the stability of the output voltage / current amplitude, as shown in the following figure. Figure 1 shown.

[0026] The microprocessor compares the information read by the meter with the standard source. It is relatively easy to find errors, but it is difficult to determine the specific errors. In this application, the three-phase standard voltage and current signals generated by the device are added to the qualified transformers and meters, simulating various possible wiring errors, obtaining relevant test data, and obtaining the error model of this application based on a large number of tests. Specifically, it includes: In this embodiment, various types of errors are taken as examples of voltage reverse phase sequence, reverse wiring and current reverse wiring, reverse phase sequence, and various types of characteristic data are taken as examples of data of voltage, current, power, reactive power, power factor, and phase angle of the watt-hour meter under various wiring errors, and several groups of test data are obtained. The several groups of test data should include each type of wiring error, and the data of the same type of wiring error are allocated to the same group; The system sets several generated data, takes any generated data to perform similarity analysis on each group of wiring type errors, sets a similarity threshold, if the generated data performs similarity analysis on each data of each group of wiring type errors, and the average value of the solution is higher than the similarity threshold of this group, it is determined that the generated data belongs to this group of wiring type errors, and the system checks the actual wiring type error of the generated data. If the actual wiring type error is equivalent to the determined wiring type error, the generated data passes; if the actual wiring type error is different from the determined wiring type error, the generated data is marked for test model adjustment.

[0027] The test model adjustment specifically includes: Set the data distribution of the marker generation data to , the data distribution in the wiring type error data group corresponding to the generated data is recorded as , where c represents the parameter data of the test model before adjustment, that is, the generated network; Due to the wrong judgment, the parameter c of the test model is adjusted, including: Take a number of feature points in the generated data, record them as m, and calculate the likelihood data of the m feature points based on the parameter data before the test model is adjusted:

[0028] According to the likelihood data, the maximum likelihood function estimate is calculated as:

[0029] KL stands for relative entropy, which is used to measure the similarity between two probability distributions. When the KL relative entropy is the smallest, the parameters of the corresponding test model are used as the new test model parameters. Based on the new test model parameters, adjust the adversarial network when the test model parameters are c; The adversarial network when the test model parameter is set to c is ; Then the objective function of the adversarial model is:

[0030] in, represents the objective function of the adversarial model under the premise that the test model parameter is c; since it is necessary to determine whether the generated data belongs to the corresponding wiring type error data group, and The gap between When the maximum value is taken, and The difference between them is the lowest, the discrimination effect is the best, and the calculation The maximum value of , and the final test model optimization is obtained:

[0031] in, The calculation of the maximum value includes:

[0032] in, Represents the new model after the test model is adjusted. represent The new model N adjusted by the test model is taken as output and the collection and judgment are continued.

[0033] The data obtained by modeling and simulation (i.e. the results of real-time judgment under the latest model N) are stored in the microprocessor, and the data read from the electric energy metering device is compared with the data in the model library to determine the specific wiring errors. A data acquisition module is also provided inside the device to collect the data of the meter and the internal metering terminal through RS485 wired communication. After the data collection is completed, data processing and comparative analysis are carried out, and finally the test results are displayed on the touch screen in the form of graphics and text.

[0034] In the second embodiment, a core line system based on a phase-locked loop and modeling technology is also included, the system comprising a three-phase standard voltage / current source, a data test module, a metering embedded module, a microprocessor and a display module; The three-phase standard voltage / current source is used to provide a three-phase voltage and current signal group for data testing and analysis; the data testing module is used to collect different wiring type errors under test data and parameter data under each wiring type error, and establish a wiring error model for the metering device; the metering embedded module is used to collect electric meter data in real time and feed it back to the microprocessor; the microprocessor is used to store data obtained by modeling and simulating the wiring error model of the metering device, and at the same time compare the data read from the electric energy metering device with the data in the model library to determine the specific wiring error; the display module is used to connect to the display device and display the specific wiring error data on the display device for the administrator to view; The output end of the three-phase standard voltage / current source is connected to the input end of the data test module; the output end of the data test module is connected to the input end of the microprocessor; the output end of the metering embedded module is connected to the input end of the microprocessor; the output end of the microprocessor is connected to the input end of the display module.

[0035] The three-phase standard voltage / current source also includes: The phase-locked loop technology is used to generate a three-phase voltage and current signal group, and there must be a fixed phase shift between the voltage and current signals to simulate the actual system parameters.

[0036] The data testing module includes a data acquisition unit and a data testing unit; The data acquisition unit is used to collect different wiring type errors under test data and parameter data under each wiring type error; the data testing unit establishes a wiring error model of the metering device based on the different wiring type errors under test data and parameter data under each wiring type error; The output end of the data acquisition unit is connected to the input end of the data testing unit.

[0037] The microprocessor includes a storage end and a reading end; The storage end is used to store data obtained by modeling and simulating the wiring error model of the metering device; the reading end is used to obtain information read by the watt-hour meter, and compare the information read by the watt-hour meter with the standard source data in the storage end to determine the specific wiring error.

[0038] like Figure 2 As shown, the display module includes: an electric meter address, device source data, electric meter data and a status monitoring unit; the electric meter address is used to directly write the address; the device source data includes A phase voltage, B phase voltage, C phase voltage, total power, A phase power, B phase power, C phase power, A phase current, B phase current and C phase current; the electric meter data includes A phase voltage, B phase voltage, C phase voltage, total power, A phase power, B phase power, C phase power, A phase current, B phase current and C phase current; the status monitoring unit includes communication status and wiring error data display.

[0039] It will be apparent to those skilled in the art that the 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 the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.

Claims

1. An epipolar method based on a phase-locked loop and modeling technology, characterized in that: The method comprises the following steps: S1. Use a three-phase standard voltage / current source to provide a three-phase voltage and current signal group, and use a phase-locked loop technology to achieve a fixed phase shift between the voltage and current signals to form test data; S2. Collect different wiring type errors under test data and parameter data under each wiring type error, and establish a wiring error model for the metering device; the wiring error model for the metering device is constructed based on test data and generated data, the test data is selected through experimental data in a historical big database, and the generated data is constructed based on similarity analysis with each group of wiring type errors; S3, using a microprocessor to store data obtained by modeling and simulating the wiring error model of the metering device, and at the same time comparing the data read from the electric energy metering device with the data in the model library to determine the specific wiring error; S4. Set a display device to display specific wiring error data on the display device for the administrator to view.

2. The epipolar line method based on a phase-locked loop and modeling technology according to claim 1, characterized in that: The different wiring type errors under the test data include: voltage reverse phase sequence, reverse wiring and current reverse wiring, reverse phase sequence; the parameter data includes the voltage, current, power, reactive power, power factor and phase angle of the watt-hour meter.

3. The epipolar line method based on phase-locked loop and modeling technology according to claim 1, characterized in that: The establishment of the metering device wiring error model comprises: Acquire several groups of test data, wherein the several groups of test data should include each type of wiring error, and assign data with the same type of wiring error to the same group; The system sets several generated data, takes any generated data to perform similarity analysis on each group of wiring type errors, sets a similarity threshold, if the generated data performs similarity analysis on each data of each group of wiring type errors, and the average value of the solution is higher than the similarity threshold of this group, it is determined that the generated data belongs to this group of wiring type errors, and the system checks the actual wiring type error of the generated data. If the actual wiring type error is equivalent to the determined wiring type error, the generated data passes; if the actual wiring type error is different from the determined wiring type error, the generated data is marked for test model adjustment.

4. The epipolar line method based on a phase-locked loop and modeling technology according to claim 3, characterized in that: The test model adjustment specifically includes: Set the data distribution of the marker generation data to , the data distribution in the wiring type error data group corresponding to the generated data is recorded as , where c represents the parameter data of the test model before adjustment, that is, the generated network; Due to the wrong judgment, the parameter c of the test model is adjusted, including: Take a number of feature points in the generated data, record them as m, and calculate the likelihood data of the m feature points based on the parameter data before the test model is adjusted: ; According to the likelihood data, the maximum likelihood function estimate is calculated as: ; KL stands for relative entropy, which is used to measure the similarity between two probability distributions. When the KL relative entropy is the smallest, the parameters of the corresponding test model are used as the new test model parameters. Based on the new test model parameters, adjust the adversarial network when the test model parameters are c; The adversarial network when the test model parameter is set to c is ; Then the objective function of the adversarial model is: ; in, represents the objective function of the adversarial model under the premise that the test model parameter is c; since it is necessary to determine whether the generated data belongs to the corresponding wiring type error data group, and The gap between When the maximum value is taken, and The difference between them is the lowest, the discrimination effect is the best, and the calculation The maximum value of , and the final test model optimization is obtained: ; in, Represents the new model after the test model is adjusted. represent The maximum value of .

5. A core line system based on a phase-locked loop and modeling technology, characterized in that: The system includes a three-phase standard voltage / current source, a data test module, a metering embedded module, a microprocessor and a display module; The three-phase standard voltage / current source is used to provide a three-phase voltage and current signal group for data testing and analysis; the data testing module is used to collect different wiring type errors under test data and parameter data under each wiring type error, and establish a wiring error model for the metering device; the metering embedded module is used to collect electric meter data in real time and feed it back to the microprocessor; the microprocessor is used to store data obtained by modeling and simulating the wiring error model of the metering device, and at the same time compare the data read from the electric energy metering device with the data in the model library to determine the specific wiring error; the display module is used to connect to the display device and display the specific wiring error data on the display device for the administrator to view; The output end of the three-phase standard voltage / current source is connected to the input end of the data test module; the output end of the data test module is connected to the input end of the microprocessor; the output end of the metering embedded module is connected to the input end of the microprocessor; the output end of the microprocessor is connected to the input end of the display module.

6. The epipolar line system based on phase-locked loop and modeling technology according to claim 5, characterized in that: The three-phase standard voltage / current source also includes: The phase-locked loop technology is used to generate a three-phase voltage and current signal group, and there must be a fixed phase shift between the voltage and current signals to simulate the actual system parameters.

7. The epipolar line system based on a phase-locked loop and modeling technology according to claim 5, characterized in that: The data testing module includes a data acquisition unit and a data testing unit; The data acquisition unit is used to collect different wiring type errors under test data and parameter data under each wiring type error; the data testing unit establishes a wiring error model of the metering device based on the different wiring type errors under test data and parameter data under each wiring type error; The output end of the data acquisition unit is connected to the input end of the data testing unit.

8. The epipolar line system based on phase-locked loop and modeling technology according to claim 5, characterized in that: The microprocessor includes a storage end and a reading end; The storage end is used to store data obtained by modeling and simulating the wiring error model of the metering device; the reading end is used to obtain information read by the watt-hour meter, and compare the information read by the watt-hour meter with the standard source data in the storage end to determine the specific wiring error.

9. The epipolar line system based on phase-locked loop and modeling technology according to claim 5, characterized in that: The display module includes: an watt-hour meter address, device source data, watt-hour meter data, and a status monitoring unit; The watt-hour meter address is used to directly write the address; the equipment source data includes phase A voltage, phase B voltage, phase C voltage, total power, phase A power, phase B power, phase C power, phase A current, phase B current and phase C current; the watt-hour meter data includes phase A voltage, phase B voltage, phase C voltage, total power, phase A power, phase B power, phase C power, phase A current, phase B current and phase C current; the status monitoring unit includes communication status and wiring error data display.

Citation Information

Patent Citations

  • Detection device of false wiring of three-phase electric energy meter and detection method

    CN106990384A

  • Method for eliminating parallel dilution effect of multiple inverters and island detecting method

    CN110361617A

  • Method and equipment for constructing intelligent question-answering system through question generation data set

    CN112100351A

  • System and method for detecting false wiring of electric energy meter in big data and cloud environment

    CN113687292A

  • Clinical test data management system and method based on big data

    CN115050435A

Cited By

  • Meter wiring abnormal data transmission system and method based on line checking instrument

    CN121069271A