CN115598566A - Method and device for checking electric meter wiring, processor and electronic equipment - Google Patents

Method and device for checking electric meter wiring, processor and electronic equipment Download PDF

Info

Publication number
CN115598566A
CN115598566A CN202211595966.5A CN202211595966A CN115598566A CN 115598566 A CN115598566 A CN 115598566A CN 202211595966 A CN202211595966 A CN 202211595966A CN 115598566 A CN115598566 A CN 115598566A
Authority
CN
China
Prior art keywords
data set
target
power
value
phase
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211595966.5A
Other languages
Chinese (zh)
Other versions
CN115598566B (en
Inventor
马昂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Foxess Co ltd
Original Assignee
Foxess Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Foxess Co Ltd filed Critical Foxess Co Ltd
Priority to CN202211595966.5A priority Critical patent/CN115598566B/en
Publication of CN115598566A publication Critical patent/CN115598566A/en
Application granted granted Critical
Publication of CN115598566B publication Critical patent/CN115598566B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/50Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
    • G01R31/66Testing of connections, e.g. of plugs or non-disconnectable joints
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass
    • G01R35/04Testing or calibrating of apparatus covered by the other groups of this subclass of instruments for measuring time integral of power or current
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02SGENERATION OF ELECTRIC POWER BY CONVERSION OF INFRARED RADIATION, VISIBLE LIGHT OR ULTRAVIOLET LIGHT, e.g. USING PHOTOVOLTAIC [PV] MODULES
    • H02S50/00Monitoring or testing of PV systems, e.g. load balancing or fault identification
    • H02S50/10Testing of PV devices, e.g. of PV modules or single PV cells
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E10/00Energy generation through renewable energy sources
    • Y02E10/50Photovoltaic [PV] energy
    • Y02E10/56Power conversion systems, e.g. maximum power point trackers

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Inverter Devices (AREA)

Abstract

The application discloses a method and a device for checking ammeter wiring, a processor and electronic equipment, and relates to the technical field of power measurement, wherein the method comprises the following steps: determining whether the power consumption meets a second preset requirement or not through the L1 initial data set and the L2 initial data set, determining whether a voltage sampling line of the target ammeter is correctly connected or not according to the L1 initial data set and the L2 initial data set, and checking the connection of the current sampling line of the target ammeter according to the L1 initial data set, the L2 initial data set, the first L1 target data set and the first L2 target data set; and checking the wiring of the target electric meter according to the L1 initial data set, the L2 initial data set, the second L1 target data set and the second L2 target data set to obtain a checking result. Through the application, the problem that the wiring of the ammeter is checked in a manual mode in the related art, so that the efficiency is low is solved.

Description

Method and device for checking electric meter wiring, processor and electronic equipment
Technical Field
The application relates to the technical field of power measurement, in particular to a method and a device for checking electric meter wiring, a processor and electronic equipment.
Background
With the progress of photovoltaic energy storage technology, more and more family users around the world install the light storage system. Fig. 1 is a block diagram of a typical household photovoltaic power generation system. Two direct current input ports of the inverter are respectively connected with a photovoltaic and a battery, one alternating current grid-connected output port is connected with a household power distribution cabinet, the other alternating current off-grid output port is connected with an important load, and a non-important load is connected with the household power distribution cabinet. In order to realize the measurement and control of the household power supply system, the inverter usually installs the electric meter in the household power distribution cabinet.
When the photovoltaic power generation system is initially installed, a professional photovoltaic system installer can ensure correct wiring of an ammeter during installation. Fig. 2 is a block diagram of a connection wire of a two-phase inverter electric meter, which is usually a three-phase electric meter or a two-phase special electric meter, and fig. 2 illustrates a three-phase electric meter as an example. Ammeter voltage sampling V L1 、V L2 And V N The terminals are respectively connected with an L1 line, an L2 line and an N line of a household power grid, and two CTs for sampling the current of the ammeter pass through the L1 line and the L2 line in the forward direction. However, when the household power distribution cabinet is maintained in the later period, since the maintenance worker is not necessarily a professional, it is possible to connect the voltage connection or the current measurement direction corresponding to the electric meter in a reverse manner, wherein the connection in the current direction is easy to occur in a reverse manner, and once the connection in the reverse manner affects the functions of the zero power feed network, the power scheduling and the like of the photovoltaic power generation system.
Aiming at the problem of low efficiency caused by manual wiring inspection of the electric meter in the related art, an effective solution is not provided at present.
Disclosure of Invention
The application mainly aims to provide an ammeter wiring inspection method and device, a processor and electronic equipment, so as to solve the problem of low efficiency caused by manual inspection of ammeter wiring in the related art.
To achieve the above object, according to one aspect of the present application, there is provided a method of checking wiring of an electricity meter. The method for checking the wiring of the electric meter is applied to a photovoltaic power generation system, and the photovoltaic power generation system at least comprises the following steps: two-phase inverter, photovoltaic module cluster, system controller and switch board of registering one's residence, the target ammeter is connected in switch board of registering one's residence includes: under the condition that the working mode of a two-phase inverter is a first working mode and the power generation power of the two-phase inverter meets a first preset requirement, acquiring a first active power and a first voltage value fed back by an L1 phase of a target electric meter to obtain an L1 initial data set and acquiring a second active power and a second voltage value fed back by an L2 phase of the target electric meter to obtain an L2 initial data set, and determining whether the power consumption meets a second preset requirement through the L1 initial data set and the L2 initial data set, wherein the first working mode is that the amplitude of two-phase grid-connected currents of the two-phase inverter is the same and the phase of the two-phase grid-connected currents is opposite; under the condition that the power consumption meets a second preset requirement, whether a voltage sampling line of the target electric meter is connected correctly is determined according to the L1 initial data set and the L2 initial data set, and when the voltage sampling line is connected correctly, the power generation power of the two-phase inverter is adjusted according to the first active power and the second active power; acquiring active power and voltage values fed back by an L1 phase of the target ammeter to obtain a first L1 target data set and acquiring active power and voltage values fed back by an L2 phase of the target ammeter to obtain a first L2 target data set under the adjusted generating power, and checking the wiring of a current sampling line of the target ammeter according to the L1 initial data set, the L2 initial data set, the first L1 target data set and the first L2 target data set to determine whether the current sampling line is positioned on a zero line; if the current sampling line is not located on a zero line, acquiring a second L1 target data set and a second L2 target data set when the working mode of the two-phase inverter is a second working mode, and checking the connection of the target electric meter according to the L1 initial data set, the L2 initial data set, the second L1 target data set and the second L2 target data set to obtain a checking result, wherein the second working mode is that the amplitude and the phase of two-phase grid-connected currents of the two-phase inverter are different, and the checking result is one of the following: correct wiring, reverse wiring, wrong wiring, and failed verification.
Further, before collecting the first active power and the first voltage value fed back by the L1 phase of the target electric meter and the second active power and the second voltage value fed back by the L2 phase of the target electric meter, the method further includes: setting a working model of the two-phase inverter in the first working mode, and determining initial generating power of the two-phase inverter; reducing the generated power of the two-phase inverter to a first generated power, and judging whether the generated power of the two-phase inverter meets the first preset requirement or not under the condition of the first generated power; and if the generated power of the two-phase inverter does not meet the first preset requirement, reducing the generated power of the two-phase inverter to a second generated power until the generated power of the two-phase inverter meets the first preset requirement, and recording a corresponding first target generated power when the generated power of the two-phase inverter meets the first preset requirement.
Further, acquiring a first active power and a first voltage value fed back by the L1 phase of the target electric meter to obtain an L1 initial data set, and acquiring a second active power and a second voltage value fed back by the L2 phase of the target electric meter to obtain an L2 initial data set, so as to determine whether the electric power meets a second preset requirement through the L1 initial data set and the L2 initial data set, including: acquiring N times of first active power and first voltage values fed back by the L1 phase of the target electric meter at a first time interval to obtain an L1 initial data set; acquiring N times of second active power and second voltage values fed back by the L2 phase of the target electric meter at the first time interval to obtain the L2 initial data set; calculating the average value of the active power in the L1 initial data set to obtain a first average value, and calculating the average value of the active power in the L2 initial data set to obtain a second average value; determining the maximum value and the minimum value of the active power of the L1 initial data set to obtain a first maximum value and a first minimum value, and determining the maximum value and the minimum value of the active power of the L2 initial data set to obtain a second maximum value and a second minimum value; and judging whether the power consumption meets the second preset requirement or not according to the first average value, the second average value, the first maximum value, the second maximum value, the first minimum value and the second minimum value.
Further, in a case that the power consumption meets a second preset requirement, determining whether the voltage sampling line of the target electricity meter is correctly wired according to the L1 initial data set and the L2 initial data set includes: judging whether a first voltage value in the L1 initial data set and a second voltage value in the L2 initial data set are larger than a first preset value or not; and if the first voltage value and the second voltage value are both larger than the first preset value, determining that the voltage sampling line of the target ammeter is correctly wired.
Further, when the voltage sampling line is correctly wired, adjusting the generated power of the two-phase inverter according to the first active power and the second active power includes: calculating a difference value between the initial generating power and the first target generating power to obtain a generating power difference value, and calculating a difference value between the first maximum value and the first minimum value to obtain a first difference value; calculating the product of the first difference and a target preset coefficient to obtain a first target value; if the generated power difference is larger than the first target value, increasing the generated power of the two-phase inverter to the initial generated power, and obtaining the current generated power I of the two-phase inverter after determining that the generated power of the two-phase inverter meets a third preset requirement; calculating a difference value between the second maximum value and the second minimum value to obtain a second difference value; and calculating to obtain a second target value according to the first target value, the first difference and the second difference, and if the current generated power I is greater than or equal to the second target value, taking the current generated power I as the second target generated power.
Further, the method further comprises: if the current generated power is smaller than the second target value, the generated power of the two-phase inverter is reduced to a third target value, and after the generated power of the two-phase inverter is determined to meet a third preset requirement, the third target generated power of the two-phase inverter is obtained, wherein the third target value is obtained by calculating a first target generated power, the first difference value and the second difference value.
Further, acquiring the active power and the voltage value fed back by the L1 phase of the target electric meter to obtain a first L1 target data set and acquiring the active power and the voltage value fed back by the L2 phase of the target electric meter to obtain a first L2 target data set under the adjusted generated power includes: acquiring L1-phase feedback active power and L2-phase feedback active power of the target electric meter for N times at the first time interval under the second target power generation, obtaining N third active powers and N fourth active powers, and taking the N third active powers as a first data set and the N fourth active powers as a second data set; reducing the power generation power of the two-phase inverter to the first target power generation power, and acquiring active power fed back by the L1 phase and active power fed back by the L2 phase of the target electric meter for N times at the first time interval under the first target power generation power to obtain a third data set and a fourth data set; taking the first data set and the third data set as the first L1 target data set, and the second data set and the fourth data set as the first L2 target data set.
Further, acquiring the active power and the voltage value fed back by the L1 phase of the target electric meter to obtain a first L1 target data set and acquiring the active power and the voltage value fed back by the L2 phase of the target electric meter to obtain a first L2 target data set under the adjusted generated power includes: acquiring L1-phase feedback active power and L2-phase feedback active power of the target electric meter for N times at the first time interval under the third target power generation power to obtain N third active powers and N fourth active powers, and taking the N third active powers as a first data set and the N fourth active powers as a second data set; increasing the generated power of the two-phase inverter to the second target generated power, and acquiring active power fed back by the L1 phase and active power fed back by the L2 phase of the target electric meter for N times at the first time interval under the first target generated power to obtain a third data set and a fourth data set; taking the first data set and the third data set as the first L1 target data set, and the second data set and the fourth data set as the first L2 target data set.
Further, checking the wiring of the current sampling line of the target electric meter according to the L1 initial data set, the L2 initial data set, the first L1 target data set, and the first L2 target data set to determine whether the current sampling line is located on a zero line includes: calculating an average value of the active power in the first data set to obtain a third average value, and calculating an average value of the active power in the third data set to obtain a fourth average value; calculating an average value of the active power in the second data set to obtain a fifth average value, and calculating an average value of the active power in the fourth data set to obtain a sixth average value; calculating a difference value between the first average value and the third average value to obtain a third difference value, and calculating a difference value between the first average value and the fourth average value to obtain a fourth difference value; calculating a difference value between the second average value and the fifth average value to obtain a fifth difference value, and calculating a difference value between the second average value and the sixth average value to obtain a sixth difference value; if any one of the third difference, the fourth difference, the fifth difference and the sixth difference is smaller than a fourth target value, the current sampling line is not located on a zero line, wherein the fourth target value is calculated by the first target luminous power, the second target luminous power, the first difference and the second difference.
Further, if the current sampling line is not located on the zero line, acquiring a second L1 target data set and a second L2 target data set when the operating mode of the two-phase inverter is the second operating mode includes: if the current sampling line is not positioned on a zero line, setting the working mode of the two-phase inverter to be the second working mode; under the second working model, regulating the generated power of the two-phase inverter according to the first active power and the second active power; and under the adjusted generating power, acquiring the L1-phase feedback active power of the target electric meter to obtain a second L1 target data set and acquiring the L2-phase feedback active power of the target electric meter to obtain a second L2 target data set.
Further, in the second operating model, adjusting the generated power of the two-phase inverter according to the first active power and the second active power includes: calculating the second difference value to obtain a first numerical value; if the first value is larger than the first target value, the L1-phase generating power of the two-phase inverter is increased from a first generating power to a second generating power, and the L2-phase generating power of the two-phase inverter is maintained as the first generating power, wherein the first generating power is obtained by calculating the first target generating power, and the second generating power is obtained by calculating an initial generating power; after the generated power of the two-phase inverter is determined to meet the third preset requirement, acquiring the current generated power II of the two-phase inverter; and if the current generated power II is larger than or equal to a fifth target value, taking the current generated power II as fourth target generated power, wherein the fifth target value is obtained by calculating the first target generated power and the first target value.
Further, the method further comprises: if the current generated power II is smaller than the fifth target value, the generated power of the two-phase inverter is reduced to a sixth target value, and the fifth target generated power of the two-phase inverter is obtained after the generated power of the two-phase inverter is determined to meet the third preset requirement, wherein the sixth target value is obtained by calculating the first target generated power and the first difference value.
Further, the step of checking the connection of the target electric meter according to the L1 initial data set, the L2 initial data set, the second L1 target data set, and the second L2 target data set includes: calculating the difference value between the average value of the second L1 target data set and the average value of the L1 initial data set and the absolute value of the difference value to obtain a seventh difference value and a first absolute value; calculating the difference value between the average value of the second L2 target data set and the average value of the L2 initial data set and the absolute value of the difference value to obtain an eighth difference value and a second absolute value; and checking the connection of the target ammeter according to the seventh difference, the first absolute value, the eighth difference and the second absolute value to obtain the checking result.
Further, the step of checking the connection of the target electric meter according to the seventh difference, the first absolute value, the eighth difference and the second absolute value, and obtaining the checking result includes: if the first absolute value and the second absolute value meet a first preset condition, the detection result is that the wiring is in a wrong phase; if the seventh difference, the first absolute value, the eighth difference and the second absolute value meet a second preset condition, the checking result is that the wiring is reversed; if the seventh difference, the first absolute value, the eighth difference and the second absolute value meet a third preset condition, the checking result is that the wiring is correct; and if the seventh difference, the first absolute value, the eighth difference and the second absolute value continuously three times meet a fourth preset condition, the test result is a test failure.
In order to achieve the above object, according to another aspect of the present application, there is provided a device for checking the wiring of an electricity meter. The device includes: the first acquisition unit is used for acquiring a first active power and a first voltage value fed back by an L1 phase of the target electric meter to obtain an L1 initial data set and acquiring a second active power and a second voltage value fed back by an L2 phase of the target electric meter to obtain an L2 initial data set under the condition that the working mode of the two-phase inverter is a first working mode and the power generation power of the two-phase inverter meets a first preset requirement, and determining whether the power consumption power meets a second preset requirement through the L1 initial data set and the L2 initial data set, wherein the first working mode is that the amplitude of two-phase grid-connected currents of the two-phase inverter is the same and the phase of the two-phase grid-connected currents is opposite; a first determining unit, configured to determine whether a voltage sampling line of the target electric meter is correctly wired according to the L1 initial data set and the L2 initial data set when the power consumption meets a second preset requirement, and adjust the power generation power of the two-phase inverter according to the first active power and the second active power when the voltage sampling line is correctly wired; the second acquisition unit is used for acquiring the active power and the voltage value fed back by the L1 phase of the target ammeter to obtain a first L1 target data set and the active power and the voltage value fed back by the L2 phase of the target ammeter to obtain a first L2 target data set under the adjusted generating power, and checking the wiring of the current sampling line of the target ammeter according to the L1 initial data set, the L2 initial data set, the first L1 target data set and the first L2 target data set to determine whether the current sampling line is positioned on a zero line or not; the inspection unit is configured to, if the current sampling line is not located on a zero line, acquire a second L1 target data set and a second L2 target data set in a second working mode of the two-phase inverter, and inspect the connection line of the target electric meter according to the L1 initial data set, the L2 initial data set, the second L1 target data set, and the second L2 target data set to obtain an inspection result, where the second working mode is that amplitude and phase of two-phase grid-connected currents of the two-phase inverter are different, and the inspection result is one of the following: correct wiring, reverse wiring, wrong wiring, and failed verification.
Further, the apparatus further comprises: the setting unit is used for setting a working model of the two-phase inverter in the first working mode and determining initial generating power of the two-phase inverter before acquiring a first active power and a first voltage value fed back by an L1 phase of the target electric meter and a second active power and a second voltage value fed back by an L2 phase of the target electric meter; the first judging unit is used for reducing the generated power of the two-phase inverter to a first generated power and judging whether the generated power of the two-phase inverter meets the first preset requirement under the condition of the first generated power; and the processing unit is used for reducing the generated power of the two-phase inverter to second generated power if the generated power of the two-phase inverter does not meet the first preset requirement until the generated power of the two-phase inverter meets the first preset requirement, and recording a corresponding first target generated power when the generated power of the two-phase inverter meets the first preset requirement.
Further, the first acquisition unit includes: the first acquisition module is used for acquiring N times of first active power and first voltage values fed back by the L1 phase of the target electric meter at a first time interval to obtain the L1 initial data set; the second acquisition module is used for acquiring N times of second active power and second voltage values fed back by the L2 phase of the target electric meter at the first time interval to obtain the L2 initial data set; the first calculation module is used for calculating the average value of the active power in the L1 initial data set to obtain a first average value and calculating the average value of the active power in the L2 initial data set to obtain a second average value; the first determining module is used for determining the maximum value and the minimum value of the active power of the L1 initial data set to obtain a first maximum value and a first minimum value, and determining the maximum value and the minimum value of the active power of the L2 initial data set to obtain a second maximum value and a second minimum value; and the first judging module is used for judging whether the electric power meets the second preset requirement or not according to the first average value, the second average value, the first maximum value, the second maximum value, the first minimum value and the second minimum value.
Further, the first determination unit includes: the second judging module is used for judging whether the first voltage value in the L1 initial data set and the second voltage value in the L2 initial data set are larger than a first preset value or not; and the second determining module is used for determining that the wiring of the voltage sampling line of the target ammeter is correct if the first voltage value and the second voltage value are both greater than the first preset value.
Further, the first determination unit further includes: the second calculation module is used for calculating a difference value between the initial generating power and the first target generating power to obtain a generating power difference value, and calculating a difference value between the first maximum value and the first minimum value to obtain a first difference value; the third calculation module is used for calculating the product of the first difference and a target preset coefficient to obtain a first target numerical value; the increasing module is used for increasing the generated power of the two-phase inverter to the initial generated power if the generated power difference value is larger than the first target value, and acquiring the current generated power I of the two-phase inverter after determining that the generated power of the two-phase inverter meets a third preset requirement; the fourth calculation module is used for calculating a difference value between the second maximum value and the second minimum value to obtain a second difference value; and the fifth calculation module is used for calculating to obtain a second target value according to the first target value, the first difference value and the second difference value, and if the current generated power I is greater than or equal to the second target value, taking the current generated power I as the second target generated power.
Further, the apparatus further comprises: the first reducing unit is configured to reduce the generated power of the two-phase inverter to a third target value if the current generated power is smaller than the second target value, and obtain a third target generated power of the two-phase inverter after it is determined that the generated power of the two-phase inverter meets a third preset requirement, where the third target value is obtained by calculating a first target generated power, the first difference, and the second difference.
Further, the second acquisition unit includes: a third collecting module, configured to collect, at the second target generated power, the L1-phase feedback active power and the L2-phase feedback active power of the target electric meter N times at the first time interval to obtain N third active powers and N fourth active powers, and use the N third active powers as a first data set and the N fourth active powers as a second data set; the fourth acquisition module is used for reducing the power generation power of the two-phase inverter to the first target power generation power, and acquiring the active power fed back by the L1 phase and the active power fed back by the L2 phase of the target electric meter for N times at the first time interval under the first target power generation power to obtain a third data set and a fourth data set; a third determining module configured to use the first data set and the third data set as the first L1 target data set, and use the second data set and the fourth data set as the first L2 target data set.
Further, the second acquisition unit further includes: a fifth collecting module, configured to collect, at the third target generated power, the L1-phase feedback active power and the L2-phase feedback active power of the target electric meter N times at the first time interval to obtain N third active powers and N fourth active powers, and use the N third active powers as a first data set and the N fourth active powers as a second data set; a sixth collecting module, configured to raise the generated power of the two-phase inverter to the second target generated power, and collect, at the first target generated power, active power fed back by the L1 phase and active power fed back by the L2 phase of the target electric meter for N times at the first time interval, to obtain a third data set and a fourth data set; a fourth determining module to take the first data set and the third data set as the first L1 target data set and the second data set and the fourth data set as the first L2 target data set.
Further, the second acquisition unit includes: the sixth calculating module is used for calculating an average value of the active power in the first data set to obtain a third average value, and calculating an average value of the active power in the third data set to obtain a fourth average value; the seventh calculating module is used for calculating an average value of the active power in the second data set to obtain a fifth average value, and calculating an average value of the active power in the fourth data set to obtain a sixth average value; the eighth calculating module is configured to calculate a difference between the first average value and the third average value to obtain a third difference, and calculate a difference between the first average value and the fourth average value to obtain a fourth difference; a ninth calculating module, configured to calculate a difference between the second average value and the fifth average value to obtain a fifth difference, and calculate a difference between the second average value and the sixth average value to obtain a sixth difference; a third determining module, configured to determine that the current sampling line is not located on a zero line if any one of the third difference, the fourth difference, the fifth difference, and the sixth difference is smaller than a fourth target value, where the fourth target value is calculated from the first target luminous power, the second target luminous power, the first difference, and the second difference.
Further, the inspection unit includes: the setting module is used for setting the working mode of the two-phase inverter to be the second working mode if the current sampling line is not positioned on a zero line; the adjusting module is used for adjusting the generated power of the two-phase inverter according to the first active power and the second active power under the second working model; and the seventh acquisition module is used for acquiring the active power fed back by the L1 phase of the target electric meter to obtain the second L1 target data set and acquiring the active power fed back by the L2 phase of the target electric meter to obtain the second L2 target data set under the adjusted generating power.
Further, the adjustment module includes: the calculation submodule is used for calculating the second difference value to obtain a first numerical value; the boost sub-module is configured to boost the L1-phase generated power of the two-phase inverter from a first generated power to a second generated power if the first value is greater than the first target value, and maintain the L2-phase generated power of the two-phase inverter as the first generated power, where the first generated power is calculated from the first target generated power and the second generated power is calculated from an initial generated power; the obtaining submodule is used for obtaining the current generating power II of the two-phase inverter after the generating power of the two-phase inverter is determined to meet the third preset requirement; and the determining submodule is used for taking the current generated power two as fourth target generated power if the current generated power two is larger than or equal to a fifth target value, wherein the fifth target value is obtained by calculating the first target generated power and the first target value.
Further, the apparatus further comprises: and the second reducing unit is configured to reduce the generated power of the two-phase inverter to a sixth target value if the current generated power is less than the fifth target value, and obtain the fifth target generated power of the two-phase inverter after determining that the generated power of the two-phase inverter meets the third preset requirement, where the sixth target value is obtained by calculating the first target generated power and the first difference.
Further, the inspection unit includes: a tenth calculating module, configured to calculate a difference between the average value of the second L1 target data set and the average value of the L1 initial data set and an absolute value of the difference, so as to obtain a seventh difference and a first absolute value; an eleventh calculating module, configured to calculate a difference between the average value of the second L2 target data set and the average value of the L2 initial data set and an absolute value of the difference, so as to obtain an eighth difference and a second absolute value; and the checking module is used for checking the connection of the target ammeter according to the seventh difference value, the first absolute value, the eighth difference value and the second absolute value to obtain the checking result.
Further, the inspection module includes: the first determining submodule is used for determining that the test result is a wiring error phase if the first absolute value and the second absolute value meet a first preset condition; the second determining submodule is used for determining that the connection is reversed if the seventh difference value, the first absolute value, the eighth difference value and the second absolute value meet a second preset condition; a third determining submodule, configured to determine that the connection is correct if the seventh difference, the first absolute value, the eighth difference, and the second absolute value satisfy a third preset condition; and the fourth determining submodule is used for determining that the test result is test failure if the seventh difference value, the first absolute value, the eighth difference value and the second absolute value continuously meet a fourth preset condition for three times.
To achieve the above object, according to one aspect of the present application, there is provided a processor for executing a program, wherein the program is executed to perform the method for checking the wiring of an electric meter as described in any one of the above.
To achieve the above object, according to one aspect of the present application, there is provided an electronic device comprising one or more processors and a memory for storing the one or more processors to implement the method for checking the wiring of an electric meter as described in any one of the above.
Through the application, the following steps are adopted: under the condition that the working mode of the two-phase inverter is a first working mode and the power generation power of the two-phase inverter meets a first preset requirement, acquiring a first active power and a first voltage value fed back by an L1 phase of a target electric meter to obtain an L1 initial data set and acquiring a second active power and a second voltage value fed back by an L2 phase of the target electric meter to obtain an L2 initial data set, and determining whether the power utilization power meets a second preset requirement through the L1 initial data set and the L2 initial data set, wherein the first working mode is that the amplitude of two-phase grid-connected currents of the two-phase inverter is the same and the phase of the two-phase grid-connected currents is opposite; under the condition that the power consumption meets a second preset requirement, whether the voltage sampling line of the target ammeter is correctly connected or not is determined according to the L1 initial data set and the L2 initial data set, and when the voltage sampling line is correctly connected, the power generation power of the two-phase inverter is adjusted according to the first active power and the second active power; under the adjusted generating power, acquiring active power and voltage values fed back by an L1 phase of a target ammeter to obtain a first L1 target data set and acquiring active power and voltage values fed back by an L2 phase of the target ammeter to obtain a first L2 target data set, and checking the wiring of a current sampling line of the target ammeter according to the L1 initial data set, the L2 initial data set, the first L1 target data set and the first L2 target data set to determine whether the current sampling line is positioned on a zero line; if the current sampling line is not located on the zero line, acquiring a second L1 target data set and a second L2 target data set when the working mode of the two-phase inverter is a second working mode, and checking the wiring of the target electric meter according to the L1 initial data set, the L2 initial data set, the second L1 target data set and the second L2 target data set to obtain a checking result, wherein the second working mode is that the amplitude and the phase of two-phase grid-connected current of the two-phase inverter are different, and the checking result is one of the following: the wiring is correct, the wiring is reverse, the wiring is wrong mutually and the inspection fails, and the problem that the wiring of the ammeter is inspected in a manual mode in the related art to cause low efficiency is solved. The method comprises the steps that whether a voltage sampling line of a target ammeter is connected correctly or not is judged through an L1 initial data set and an L2 initial data set which are collected in a first working mode, the connection of the current sampling line of the target ammeter is checked according to the L1 initial data set, the L2 initial data set, a first L1 target data set and a first L2 target data set to determine whether the current sampling line is located on a zero line or not, and the connection of the target ammeter is checked according to the L1 initial data set, the L2 initial data set, a second L1 target data set and a second L2 target data set in a second working mode of a two-phase inverter, so that the automatic checking of the connection of the target ammeter is realized, and the effect of improving the efficiency is achieved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application. In the drawings:
FIG. 1 is a schematic diagram of a photovoltaic power generation system in the prior art;
FIG. 2 is a schematic diagram of the correct wiring of the electric meter for a two-phase inverter;
FIG. 3 is a schematic diagram of a three-phase electric meter for connection to a two-phase power grid;
FIG. 4 is a flow chart of a method for verifying the wiring of an electricity meter according to an embodiment of the present application;
FIG. 5 is a flow chart of an alternative method of verifying meter wiring provided in accordance with an embodiment of the present application;
FIG. 6 is a schematic diagram of a verification device for the wiring of an electricity meter provided in accordance with an embodiment of the present application;
fig. 7 is a schematic diagram of an electronic device provided according to an embodiment of the application.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances in order to facilitate the description of the embodiments of the application herein. Moreover, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
The electric meter generally detects information such as a voltage effective value, a current effective value, active power, electricity taking quantity and the like of the power grid and feeds back the information to the inverter through communication. Most of the electric meters are designed based on correct wiring installation, so that a few pieces of information fed back by the electric meters are unsigned values, and only the size is not positive or negative. Fig. 3 is a diagram illustrating a potential relationship between a three-phase electric meter and a two-phase power grid. The agreed correct connection mode is as follows: ammeter voltage sampling V L1 、V L2 And V N The terminals are respectively connected with an L1 line, an L2 line and an N line of a household power grid, and the two current sampling CTs are positioned on the L1 line and the L2 line and pass through the L1 line and the L2 line in the forward direction.
Misconnection relationships can be divided into three categories: the direction of the current sampling CT of the electric meter is misconnected (the voltage is correct), the direction of the voltage sampling terminal of the electric meter is misconnected (the current is correct), and the direction of the current sampling CT of the electric meter and the voltage sampling terminal are misconnected.
Example of CT direction misconnection (correct voltage) for current sampling of electric meter:
two current sampling CTs are positioned on an L1 line and an L2 line and pass through in a reverse direction, the sampled currents reversely lead the calculated active power to be a negative value with the active power in an appointed connection mode, and the power taking amount is the negative value;
two current sampling CTs, one of which is located on the L1 line and passes through the positive direction, and the other L2 line passes through the negative direction, obviously, the sampling current of the L2 line reversely leads the calculated active power to be the negative value of the active power in the appointed connection mode, and the electricity taking quantity is the negative value at the same time;
two current sampling CTs are crossed and positioned on an L1 line and an L2 line, namely the sampled currents are crossed results no matter in positive and negative directions, so that the calculated active power is incorrect and the power taking quantity is incorrect;
two current sampling CTs, one is located in the forward direction of the L1 line or the L2 line, and the other is located in the N line, obviously, the current sampling located in the N line obtains the total current, and no matter the current sampling is in the forward direction or the reverse direction, the active power obtained by corresponding phase calculation of the CT is incorrect and the power taking amount is incorrect.
Examples of misconnection (correct current) of voltage sampling terminals of electric meters:
ammeter voltage sampling V L1 、V L2 And V N The terminals are respectively connected with an L2 line, an L1 line and an N line of an in-home power grid, namely voltage sampling is crossed, so that the calculated active power and the electricity-taking and electricity-quantity are incorrect;
ammeter voltage sampling V L2 、V L3 And V N The terminals are respectively connected with an L2 line, an L1 line and an N line of an in-home power grid, and the voltage is not sampled by a V L1 terminal, so that the calculated active power and the electricity-taking electric quantity are zero;
the current sampling CT direction and the voltage sampling terminal of the electric meter are misconnected as examples:
two current sampling CTs are positioned on an L1 line and an L2 line and pass through in a reverse direction, and the voltage sampling V of the ammeter L1 、V L2 And V N The terminals are respectively connected with an L2 line, an L1 line and an N line of an in-house power grid, sampled voltages are crossed, and currents are reversed, so that the calculated active power and the calculated electricity taking amount are incorrect;
two current sampling CTs are positioned on an L1 line and an L2 line and pass through in a reverse direction, and the voltage sampling V of the ammeter L2 、V L3 And V N The terminals are respectively connected with an L2 line, an L1 line and an N line of an in-home power grid, the voltage of the sampled L1 phase is 0, the phase current of the L2 phase is reversed, and the active power and the power taking quantity obtained by calculating the two phases are incorrect.
From the above three types of misconnection example analysis, since the three-phase electric meter has only one N line, the misconnection is usually avoided, and L1 and L2 are not easy to misconnect, but if the three-phase electric meter is connected into L2 and L3, the corresponding phase active power of the electric meter is inevitably wrong, and the electric meter cannot be used. Compare in voltage wiring, electric current CT reverses, the string line more easily, if just reverse, and the active power who samples just gets the electric quantity and just gets the negation with the specified positive direction, and the inverter can use this information negation just correctly, so can automatic correction. Therefore, the correction can be performed based on the reverse direction of the current CT, and other misconnections need to be reported to the external communication host for rewiring.
Most of the information fed back by the electric meter is unsigned value, so that the sign of the information cannot be used for checking, but the inverter can be used for actively generating power change to enable the current or active power value measured by the electric meter to change, and the change direction is used for checking and judging whether the wiring is correct or not. Based on the technical background, the method for detecting the wiring of the electric meter is provided, and the positive direction of the active power of the electric meter is set to be the direction of taking electricity from a power grid by a household load, as shown in fig. 3.
The invention is described below by referring to preferred implementation steps, and fig. 4 is a flowchart of a method for checking the wiring of an electricity meter according to an embodiment of the present application, and as shown in fig. 4, the method includes the following steps:
step S401, under the condition that the working mode of the two-phase inverter is a first working mode and the power generation power of the two-phase inverter meets a first preset requirement, acquiring a first active power and a first voltage value fed back by an L1 phase of a target electric meter to obtain an L1 initial data set and acquiring a second active power and a second voltage value fed back by an L2 phase of the target electric meter to obtain an L2 initial data set, and determining whether the power consumption meets a second preset requirement through the L1 initial data set and the L2 initial data set, wherein the first working mode is that the amplitude of two-phase grid-connected current of the two-phase inverter is the same and the phase of the two-phase grid-connected current is opposite.
Specifically, the method for checking the wiring of the electric meter provided by the application is applied to a photovoltaic power generation system, and the photovoltaic power generation system at least comprises the following steps: the photovoltaic power generation system comprises a two-phase inverter, a photovoltaic module string, a three-phase electric meter (namely the target electric meter), a system controller and a household power distribution cabinet, wherein the specific connection relation of all the parts of the photovoltaic power generation system is as follows:
the direct current input of the two-phase inverter is connected with the photovoltaic module string, and the alternating current output of the two-phase inverter is connected with the L1-N-L2 two-phase power grid through the household power distribution cabinet; the two-phase inverter has at least a first operating mode and a second operating mode: the first working mode is that the inverter works according to a single phase, and the output two-phase grid-connected current has the same amplitude and opposite phases; the second working mode is that the inverter works independently according to two phases, the amplitude values of the output two-phase grid-connected current can be the same or different, and the phases can be opposite or not; the three-phase electric meter is connected to the household power distribution cabinet and tests the voltage, current, active power, power consumption and the like of the two-phase power grid; the system controller is responsible for receiving an ammeter connection mode test instruction of the external communication host to test the ammeter connection mode, feeding back a test result to the external communication host, and correcting the ammeter connection mode according to a test confirmation instruction of the external communication host; the external communication host implementation mode comprises a mobile phone app, a near-end embedded web, a far-end web and the like.
When the wiring of the target electric meter is checked, firstly, the working mode of the two-phase inverter is the first working mode, and under the first working mode, the generated power of the two-phase inverter is determined to meet a first preset requirement, wherein the first preset requirement refers to whether the generated power of the two-phase inverter can continuously and stably output Tth0 time, and the purpose of the step is to prepare for subsequently performing inverter power increase and decrease to verify the influence on the measured power of the electric meter. The time Tth0 for continuous stable output may be 30s, 1min, etc., and this time interval needs to be 2 times or more greater than the sampling time interval of the electric meter.
Under the condition that the working mode of the two-phase inverter is the first working mode and the power generation power of the two-phase inverter meets the first preset requirement, acquiring the first active power and the first voltage value fed back by the L1 phase of the target electric meter to obtain an L1 initial data set, acquiring the second active power and the second voltage value fed back by the L2 phase of the target electric meter to obtain an L2 initial data set, judging the power consumption by utilizing the first active power in the L1 initial data set and the second active power in the L2 initial data set, and judging whether the power consumption meets the second preset requirement. Recording maximum active power values PgmaxL1 and PgmaxL2 and minimum active power values PgminL1 and PgminL2 in the two-phase initial data set, wherein the average values of all active power values are Pgavel1 and Pgavel2 respectively. If PmaxLi-PminLi < = PaveLi x m, where i =1,2, it is indicated that the power usage satisfies the second preset requirement.
It should be noted that the determination of the electric power may be performed by current values fed to the L1 phase and the L2 phase of the target electric meter.
And S402, under the condition that the power consumption meets a second preset requirement, determining whether the voltage sampling line of the target ammeter is correctly connected according to the L1 initial data set and the L2 initial data set, and when the voltage sampling line is correctly connected, adjusting the power generation power of the two-phase inverter according to the first active power and the second active power.
Specifically, under the condition that the power consumption meets the second preset requirement, whether the wiring of the voltage sampling line (CT) of the target electric meter is wrong is judged according to the first voltage value in the L1 initial data set and the second voltage value in the L2 initial data set, if the first voltage value and the second voltage value are both larger than Vth0, the fact that the voltage sampling line is not in wrong phase is indicated, namely, the voltage test end V is connected with the voltage test end V L1 And V L2 The voltage test end V is connected to the power grid L3 And is not connected to the power grid.
It should be noted that, when the target electric meter is a three-phase electric meter, it is necessary to determine whether the voltage sampling line is connected correctly, and if the target electric meter is a two-phase electric meter, it is not necessary to perform the determination, and the connection of the current sampling line of the target electric meter is directly checked through the L1 initial data set, the L2 initial data set, the first L1 target data set, and the first L2 target data set, so as to determine whether the current sampling line is located on the zero line.
After the voltage sampling line is determined to be connected correctly, the generated power of the two-phase inverters is adjusted again according to the first active power in the L1 initial data set and the second active power in the L2 initial data set, in order to ensure that the photovoltaic power generation system can generate more electric energy, the generated power of the inverters is preferentially restored to the maximum direction, and if the improved generated power cannot reach the set power resolution, the inverter is adjusted to the direction of reducing the power.
Step S403, under the adjusted power generation power, acquiring the active power and the voltage value fed back by the L1 phase of the target electric meter to obtain a first L1 target data set and acquiring the active power and the voltage value fed back by the L2 phase of the target electric meter to obtain a first L2 target data set, and checking the wiring of the current sampling line of the target electric meter according to the L1 initial data set, the L2 initial data set, the first L1 target data set, and the first L2 target data set to determine whether the current sampling line is located on the zero line.
Specifically, under the adjusted generating power, active power and voltage values fed back by the L1 phase of the target electric meter are collected again to obtain a first L1 target data set; and acquiring the L2 phase feedback active power and voltage value of the target electric meter to obtain a first L2 target data set. And then, checking the wiring of the current sampling line of the target ammeter according to the L1 initial data set, the L2 initial data set, the first L1 target data set and the first L2 target data set to determine whether the current sampling line is positioned on a zero line.
Step S404, if the current sampling line is not located on the zero line, a second L1 target data set and a second L2 target data set are obtained under the condition that the working mode of the two-phase inverter is a second working mode, the wiring of the target ammeter is checked according to the L1 initial data set, the L2 initial data set, the second L1 target data set and the second L2 target data set, and a checking result is obtained, wherein the second working mode is that the amplitude and the phase of two-phase grid-connected current of the two-phase inverter are different, and the checking result is one of the following: correct wiring, reverse wiring, wrong wiring, and failed verification.
Specifically, when the current sampling line is determined not to be located on the zero line through the L1 initial data set, the L2 initial data set, the first L1 target data set and the first L2 target data set, the working mode of the two-phase inverter is set to be the second working mode, the generated power of the two-phase inverter is adjusted again in the second working mode, and the active power fed back by the L1 phase and the active power fed back by the L2 phase of the target electric meter are acquired again at the adjusted generated power to obtain the second L1 target data set and the second L2 target data set.
And finally, checking the wiring of the target electric meter according to the L1 initial data set, the L2 initial data set, the second L1 target data set and the second L2 target data set to obtain a checking result.
To sum up, whether the voltage sampling line of the target electric meter is correctly connected is judged through the L1 initial data set and the L2 initial data set collected in the first working mode, the connection of the current sampling line of the target electric meter is checked according to the L1 initial data set, the L2 initial data set, the first L1 target data set and the first L2 target data set so as to determine whether the current sampling line is located on a zero line, and the connection of the target electric meter is checked according to the L1 initial data set, the L2 initial data set, the second L1 target data set and the second L2 target data set when the working mode of the two-phase inverter is the second working mode, so that the automatic check of the connection of the target electric meter is realized, and the efficiency of the detection of the connection of the electric meter is improved.
In the first operating mode, it is crucial to determine how the generated power of the two-phase inverter meets the first preset requirement, and therefore before collecting the first active power and the first voltage value fed back by the L1 phase of the target electric meter and the second active power and the second voltage value fed back by the L2 phase of the target electric meter, the method further includes: setting a working model of the two-phase inverter in a first working mode, and determining initial generating power of the two-phase inverter; reducing the power generation power of the two-phase inverter to a first power generation power, and judging whether the power generation power of the two-phase inverter meets a first preset requirement or not under the condition of the first power generation power; and if the generated power of the two-phase inverter does not meet the first preset requirement, reducing the generated power of the two-phase inverter to second generated power until the generated power of the two-phase inverter meets the first preset requirement, and recording corresponding first target generated power when the generated power of the two-phase inverter meets the first preset requirement.
Specifically, the two-phase inverter is controlled to work in the first working mode, namely the two-phase inverter runs according to a single phase, the amplitude of the two-phase grid-connected current is the same, and the phases are opposite. Recording the current generated power as Pinv1 (i.e. the initial generated power mentioned above), then reducing the generated power to k1 × Pinv1 (i.e. the first generated power mentioned above), and observing whether the generated power can continuously and stably output Tth0 time (i.e. whether the first preset requirement is met or not mentioned above), if Tth0 is not met, continuing to reduce the output power to k2 × Pinv1 and continuing to observe until the finally reduced generated power ki × Pinv1 (i =1,2,3 \8230;) can reach the continuously and stably output Tth0 time (i.e. the first preset requirement is met by the generated power of the two-phase inverter mentioned above, and recording the corresponding first target generated power when the generated power of the two-phase inverter meets the first preset requirement).
The purpose of this step is to prepare for subsequent inverter power ramping to verify the effect on the power measured by the meter. Since the generated power has random fluctuation, the power needs to be reduced to a certain power scaling factor and continuously and stably output to ensure that the subsequent inspection is feasible.
The time Tth0 for continuous stable output may be 30s, 1min, or the like, and this time interval needs to be 2 times or more greater than the sampling time interval of the electric meter.
For the power scaling factor ki (i =1,2,3 \ 8230;), 98%,95%,90%,85%, etc. can be used, and can be selected according to the rated power, the basic principle is that a large rated power small factor difference, a small rated power large factor difference, for example, a 5kW system can be set according to a 10% difference, and a 10kW system can be set according to a 5% difference, in order to ensure that enough difference can be realized on the electric meter for comparison when the inverter power is adjusted later.
How to determine whether the power consumption meets the second preset requirement is crucial, in the method for inspecting the wiring of the electric meter provided in the embodiment of the present application, acquiring a first active power and a first voltage value fed back by an L1 phase of the target electric meter to obtain an L1 initial data set and acquiring a second active power and a second voltage value fed back by an L2 phase of the target electric meter to obtain an L2 initial data set, and determining whether the power consumption meets the second preset requirement through the L1 initial data set and the L2 initial data set includes: acquiring a first active power and a first voltage value fed back by an L1 phase of a target electric meter for N times at a first time interval to obtain an L1 initial data set; acquiring second active power and a second voltage value fed back by the L2 phase of the target electric meter for N times at a first time interval to obtain an L2 initial data set; calculating the average value of the active power in the L1 initial data set to obtain a first average value and calculating the average value of the active power in the L2 initial data set to obtain a second average value; determining the maximum value and the minimum value of the active power of the L1 initial data set to obtain a first maximum value and a first minimum value, and determining the maximum value and the minimum value of the active power of the L2 initial data set to obtain a second maximum value and a second minimum value; and judging whether the power consumption meets a second preset requirement or not according to the first average value, the second average value, the first maximum value, the second maximum value, the first minimum value and the second minimum value.
Specifically, the first active power and the first voltage value fed back by the L1 phase are acquired N times at a time interval of the first time Tth1 (i.e., the first time interval), so as to obtain an L1 initial data set. And acquiring the first active power and the first voltage value fed back by the L2 phase for N times by taking the first time Tth1 (namely the first time interval) as a time interval to obtain an L2 initial data set.
And then judging whether the power consumption meets a second preset requirement or not according to the first active power in the L1 initial data set and the second active power in the L2 initial data set. The maximum active power values in the L1 initial data set and the L2 initial data set are calculated as PgmaxL1 (i.e. the first maximum value mentioned above) and PgmaxL2 (i.e. the second maximum value mentioned above), the minimum active power value is calculated as PgminL1 (i.e. the first minimum value mentioned above) and PgminL2 (i.e. the second minimum value mentioned above), and the average value of all active powers is calculated as PgaveL1 (i.e. the first average value mentioned above) and PgaveL2 (i.e. the second average value mentioned above). If PmaxLi-PminLi < = PaveLi × m, where i =1,2, then the second predetermined requirement is met by the power usage, which can also be said to be stable.
Tth1 may take 5s, 10s, 20s, 30s, 1min, etc. N may be 5, 10, etc. The coefficient m can be 1%, 2%, 5% and the like, and the coefficient value is determined according to the principle that the larger the average value of the active power of the electric meter is, the smaller the coefficient is, the larger the average value is, the larger the coefficient is, for example, the average value of 5 feedback values of the active power of the electric meter is 3kW, the coefficient m can be 5%, that is, the difference is 150W; the average value of 5 feedback values of the active power of the electric meter is 8kw, the coefficient m can be 2%, namely the difference is 160W, and by the method, the household electricity consumption of the user can be basically stabilized at a small fluctuation value, so that a stable electricity consumption environment is provided for power verification.
In the method for checking the wiring of the electric meter provided by the embodiment of the application, the following steps are adopted to determine whether the voltage sampling line of the target electric meter is correctly wired or not: judging whether a first voltage value in the L1 initial data set and a second voltage value in the L2 initial data set are larger than a first preset value or not; and if the first voltage value and the second voltage value are both larger than a first preset value, determining that the voltage sampling line of the target ammeter is correctly wired.
Specifically, reading the corresponding first voltage value and the second voltage value in the L1 initial data set and the L2 initial data set, and if the first voltage value and the second voltage value are both greater than Vth0, it indicates that there is no phase error, i.e. the voltage test terminal V L1 And V L2 The voltage test end V is connected to the power grid L3 The power grid is not connected (namely the voltage sampling line of the target electric meter is correctly wired); vth0 may be 0V, 5V or 10V.
It should be noted that, if the wiring of the voltage sampling line of the target electric meter is wrong, the correction is required manually.
After the voltage sampling line is correctly wired, the power generation power of the two-phase inverter is adjusted according to the first active power and the second active power, and the adjusting comprises the following steps: calculating a difference value between the initial generating power and the first target generating power to obtain a generating power difference value, and calculating a difference value between the first maximum value and the first minimum value to obtain a first difference value; calculating the product of the first difference value and a target preset coefficient to obtain a first target value; if the power generation power difference value is larger than the first target value, increasing the power generation power of the two-phase inverter to the initial power generation power, and obtaining the current power generation power I of the two-phase inverter after determining that the power generation power of the two-phase inverter meets a third preset requirement; calculating a difference value between the second maximum value and the second minimum value to obtain a second difference value; and calculating to obtain a second target value according to the first target value, the first difference and the second difference, and taking the current generated power I as the second target generated power if the current generated power I is greater than or equal to the second target value.
And if the current generated power is smaller than the second target value, reducing the generated power of the two-phase inverter to a third target value, and obtaining the third target generated power of the two-phase inverter after determining that the generated power of the two-phase inverter meets a third preset requirement, wherein the third target value is obtained by calculating the first target generated power, the first difference and the second difference.
Specifically, if Pinv1-ki × Pinv1> (pgmax l1-pgmin l 1) × n, where the coefficient n may be 1, 1.5, 2, etc., the system controller preferentially controls the inverter to boost the generated power ki × Pinv1 to Pinv1, and then detects the generated power of the two-phase inverter and records it as Pinv2 (i.e., the current generated power one) after the generated power of the two-phase inverter is stabilized (i.e., meets the third preset requirement);
note that, the third preset requirement may be whether or not the generated power can be continuously and stably output Tth0 for a time period, and when the generated power can be continuously and stably output Tth0, that is, the generated power of the two-phase inverter is stable.
Note that Pinv1-ki × Pinv1 represents the power generation power difference (PgmaxL 1-pgmnl 1) × n represents the first target value.
If Pinv2> = ki x Pinv1+ (PgmaxL 1-pgmnl 1) × n + (PgmaxL 2-pgmil 2) × n, it indicates that the two-phase inverter boost power is effective, and Pinv2 is taken as the second target generated power. Otherwise, it indicates that the two-phase inverter boost power is not effective.
Note that ki × Pinv1+ (PgmaxL 1-pgmnl 1) × (PgmaxL 2-pgmnl 2) × n is the second target value.
If Pinv2< ki x Pinv1+ (PgmaxL 1-pgmnl 1) × (PgmaxL 2-pgmnl 2) × n, it indicates that the two-phase inverter cannot reach the set power resolution by boosting the power, and thus the above operation is invalid.
The generated power is reduced to ki × Pinv1- (PgmaxL 1-PgminL 1) × n- (PgmaxL 2-PgminL 2) × n (i.e., the third target value), and then the generated power of the two-phase inverter is detected after the generated power of the two-phase inverter is stabilized and recorded as Pinv3 (i.e., the third target generated power).
It should be noted that, if Pinv1-ki + Pinv1< (PgmaxL 1-PgminL 1) > n, the two-phase power generation power is determined again, and whether the first preset requirement is met is determined.
In the method for inspecting electric meter wiring provided in the embodiment of the present application, acquiring an L1-phase feedback active power and voltage value of a target electric meter to obtain a first L1 target data set and acquiring an L2-phase feedback active power and voltage value of the target electric meter to obtain a first L2 target data set under the adjusted generated power includes: acquiring active power fed back by the L1 phase and active power fed back by the L2 phase of the target electric meter for N times at a first time interval under second target generating power to obtain N third active powers and N fourth active powers, and taking the N third active powers as a first data set and the N fourth active powers as a second data set; reducing the power generation power of the two-phase inverter to a first target power generation power, and acquiring active power fed back by an L1 phase and active power fed back by an L2 phase of a target electric meter for N times at a first time interval under the first target power generation power to obtain a third data set and a fourth data set; the first data set and the third data set are taken as a first L1 target data set, and the second data set and the fourth data set are taken as a first L2 target data set.
Specifically, under Pinv2, active power fed back by the L1 phase and active power fed back by the L2 phase of the target electric meter are collected for N times at a first time interval, N third active powers and N fourth active powers are obtained, and the N third active powers are used as a first data set and the N fourth active powers are used as a second data set.
In order to prevent the problem that intermittent load power-up, such as a refrigerator air conditioner, affects the judgment during the inspection, it is necessary to reduce the generated power of the two-phase inverter in the reverse direction, that is, to reduce the generated power of the two-phase inverter from Pinv2 to Pinv1. And then, acquiring the L1 feedback active power and the L2 phase feedback active power of the target electric meter for N times at the first time interval from Pinv1 again to obtain a third data set and a fourth data set. Finally, the first data set and the third data set are taken as a first L1 target data set, and the second data set and the fourth data set are taken as a first L2 target data set.
Under the condition that the two-phase inverter cannot achieve the set power resolution ratio by adopting a power boosting mode, under the adjusted generating power, acquiring the active power and the voltage value fed back by the L1 phase of the target electric meter to obtain a first L1 target data set and acquiring the active power and the voltage value fed back by the L2 phase of the target electric meter to obtain a first L2 target data set comprise: acquiring active power fed back by the L1 phase and active power fed back by the L2 phase of the target electric meter for N times at a first time interval under third target generating power to obtain N third active powers and N fourth active powers, and taking the N third active powers as a first data set and the N fourth active powers as a second data set; increasing the power generation power of the two-phase inverter to a second target power generation power, and acquiring active power fed back by the L1 phase and active power fed back by the L2 phase of the target electric meter for N times at a first time interval under the first target power generation power to obtain a third data set and a fourth data set; the first data set and the third data set are taken as a first L1 target data set, and the second data set and the fourth data set are taken as a first L2 target data set.
Specifically, under Pinv3, active power fed back by the L1 phase and active power fed back by the L2 phase of the target electric meter are collected for N times at a first time interval, N third active powers and N fourth active powers are obtained, and the N third active powers are used as a first data set and the N fourth active powers are used as a second data set.
In order to prevent the problem that intermittent load power taking similar to a refrigerator air conditioner and the like affects judgment during inspection, the generated power of the two-phase inverter needs to be increased reversely, namely the generated power of the two-phase inverter is increased from Pinv3 to Pinv2, active power fed back by the L1 and active power fed back by the L2 of the target electric meter are collected for N times at first time intervals, and a third data set and a fourth data set are obtained.
Finally, the first data set and the third data set are taken as a first L1 target data set, and the second data set and the fourth data set are taken as a first L2 target data set.
In the method for inspecting the wiring of the electric meter provided by the embodiment of the application, inspecting the wiring of the current sampling line of the target electric meter according to the L1 initial data set, the L2 initial data set, the first L1 target data set and the first L2 target data set to determine whether the current sampling line is located on the zero line comprises: calculating the average value of the active power in the first data set to obtain a third average value, and calculating the average value of the active power in the third data set to obtain a fourth average value; calculating the average value of the active power in the second data set to obtain a fifth average value, and calculating the average value of the active power in the fourth data set to obtain a sixth average value; calculating a difference value between the first average value and the third average value to obtain a third difference value, and calculating a difference value between the first average value and the fourth average value to obtain a fourth difference value; calculating a difference value between the second average value and the fifth average value to obtain a fifth difference value, and calculating a difference value between the second average value and the sixth average value to obtain a sixth difference value; and if any one of the third difference, the fourth difference, the fifth difference and the sixth difference is smaller than a fourth target value, the current sampling line is not positioned on the zero line, wherein the fourth target value is obtained by calculating the first target luminous power, the second target luminous power, the first difference and the second difference.
Specifically, the L1-phase first L1 target data set and the L1 initial data set, the L2-phase first L2 target data set and the L2 initial data set are compared, and a test result is obtained according to the comparison result:
calculating the average value of the active power in the first data set to obtain a third average value, and calculating the average value of the active power in the third data set to obtain a fourth average value; and calculating the difference between the first average value and the third average value to obtain a third difference value, and calculating the difference between the first average value and the fourth average value to obtain a fourth difference value.
If any of the third difference and the fourth difference is less than c [ Pinv2-ki ] Pinv1- (PgmaxL 1-PgminL 1) × N- (PgmaxL 2-PgminL 2) × N ] (i.e., the fourth target value described above), it indicates that L1 is not located on line N with respect to the current sampling line (CT). The coefficient c may be 0.01,0.05 \8230, etc.
Calculating the average value of the active power in the second data set to obtain a fifth average value, and calculating the average value of the active power in the fourth data set to obtain a sixth average value. And calculating a difference value between the second average value and the fifth average value to obtain a fifth difference value, and calculating a difference value between the second average value and the sixth average value to obtain a sixth difference value.
If any one of the fifth difference and the sixth difference is smaller than the fourth target value (c [ [ Pinv2-ki × ] Pinv1- (pgmax L1-pgmin L1) × N- (pgmax L2-pgmin L2) × N ]), it indicates that the current sampling line CT corresponding to L2 is not located at the N line. The coefficient c may be 0.01,0.05 \8230. In other cases, it is indicated that there is a CT corresponding to the N line, and if the current sampling line CT is erroneously connected to the N line, manual processing is required.
Through the steps, whether the current sampling line is connected to the N line in error can be accurately judged, and the judgment accuracy is improved.
If the current sampling line is not located on the zero line, acquiring a second L1 target data set and a second L2 target data set when the working mode of the two-phase inverter is the second working mode includes: if the current sampling line is not positioned on the zero line, setting the working mode of the two-phase inverter to be a second working mode; under a second working model, regulating the power generation power of the two-phase inverter according to the first active power and the second active power; and under the adjusted generating power, acquiring the L1-phase feedback active power of the target electric meter to obtain a second L1 target data set and acquiring the L2-phase feedback active power of the target electric meter to obtain a second L2 target data set.
Under the second working model, according to the first active power and the second active power, the adjusting the generated power of the two-phase inverter comprises the following steps: calculating the second difference value to obtain a first numerical value; if the first value is larger than the first target value, the L1-phase generating power of the two-phase inverter is increased from the first generating power to a second generating power, and the L2-phase generating power of the two-phase inverter is maintained as the first generating power, wherein the first generating power is obtained by calculating the first target generating power, and the second generating power is obtained by calculating the initial generating power; after the generated power of the two-phase inverter is determined to meet a third preset requirement, acquiring the current generated power II of the two-phase inverter; and if the current generated power II is larger than or equal to a fifth target value, taking the current generated power II as fourth target generated power, wherein the fifth target value is obtained by calculating the first target generated power and the first target value.
And if the current generated power two is smaller than a fifth target value, reducing the generated power of the two-phase inverter to a sixth target value, and obtaining the fifth target generated power of the two-phase inverter after determining that the generated power of the two-phase inverter meets a third preset requirement, wherein the sixth target value is obtained by calculating the first target generated power and the first difference value.
Specifically, the following detailed description is given by taking the L1 phase second working mode connection mode as an example, and the L2 phase test embodiment is the same and is not repeated:
if (Pinv 1-ki x Pinv 1)/2 (i.e., the first value mentioned above) > (pgmax L1-pgmin L1) × N (i.e., the first target value mentioned above), wherein the coefficient N may be 1, 1.5, 2, etc., the generated power of the L1-N phases of the two-phase inverter is controlled to be increased from ki x Pinv1/2 (i.e., the first generated power mentioned above) to Pinv1/2 (i.e., the second generated power mentioned above), and then the two-phase inverter generated power is detected and recorded as Pinv2L1 (i.e., the current generated power two mentioned above) after the two-phase inverter power is stabilized (i.e., meets the third predetermined requirement); note that, at this time, the L2-N phase power generation is still ki × Pinv1/2.
If Pinv2L1> = ki x Pinv1/2+ (PgmaxL 1-PgminL 1) × N (namely the fifth target value), the two-phase inverter boost power is effective, the Pinv2L1 is used as fourth target power generation power, active power fed back by the target electric meter for N times is recorded at the time interval of first time Tth1 under the fourth target power generation power, and the collected active power is used as an L1-phase 1-1 data set; otherwise, indicating that the boosting power of the inverter is invalid;
if Pinv2L1< ki x Pinv1/2+ (PgmaxL 1-PgminL 1) × n, it indicates that the two-phase inverter cannot achieve the set power resolution by means of boosting power, and thus the above operation is ineffective. And resetting the L1-phase generated power as ki x Pinv1/2- (PgmaxL 1-PgminL 1) N (namely the sixth target value), detecting the generated power of the two-phase inverter after the power of the two-phase inverter is stabilized, recording the generated power as Pinv3L1 (namely the fifth target generated power), recording the active power fed back by the target electric meter for N times at the time interval of first time Tth1 under the fifth target generated power, and taking the collected active power as the L1-phase 1-1 test data set.
In order to prevent the influence judgment caused by intermittent load power taking similar to a refrigerator and an air conditioner and the like during the inspection and ensure the validity of the inspection, the operations are required to be repeated reversely: the power increasing operation is adopted in the previous step, and the reverse operation is the power decreasing operation, so that the 1 st-2 nd inspection data set of the L1 phase is obtained; the previous step of power-down operation is reversed to power-up operation, so as to obtain the L1 phase 1-2 inspection data set. The L1 phase 1-1 data set and the L1 phase 1-2 test data set are a second L1 target data set.
It should be noted that the method for adjusting the generated power of the L2 phase is the same as the method of the L1 phase, and the method for acquiring the second L2 target data set is the same as the method of the second L1 target data set, which is not described herein again.
Therefore, in the method for checking the wiring of the electric meter provided by the embodiment of the present application, the wiring of the target electric meter is checked according to the L1 initial data set, the L2 initial data set, the second L1 target data set, and the second L2 target data set, and the checking result includes: calculating the difference value of the average value of the second L1 target data set and the average value of the L1 initial data set and the absolute value of the difference value to obtain a seventh difference value and a first absolute value; calculating the difference value of the average value of the second L2 target data set and the average value of the L2 initial data set and the absolute value of the difference value to obtain an eighth difference value and a second absolute value; and checking the wiring of the target ammeter according to the seventh difference, the first absolute value, the eighth difference and the second absolute value to obtain a checking result.
If the first absolute value and the second absolute value meet the first preset condition, the detection result is that the wiring is in a wrong phase; if the seventh difference, the first absolute value, the eighth difference and the second absolute value meet a second preset condition, the checking result is that the wiring is reversed; if the seventh difference, the first absolute value, the eighth difference and the second absolute value meet a third preset condition, the result is checked to be correct; and if the seventh difference, the first absolute value, the eighth difference and the second absolute value continuously three times meet the fourth preset condition, the test result is that the test fails.
Specifically, the L1 phase is taken as an example to explain:
comparing the L1 phase 1 st-1 test data set with the L1 initial data set, the L1 phase 1 st-2 test data set with the L1 initial data set, and obtaining a test result according to the comparison result:
(1) If the first absolute value meets the first preset condition, the step of checking that the wiring is in a wrong phase comprises the following steps:
if the absolute value of the difference between the active power average value of the L1 phase 1-1 and the active power average value of the L1 phase initial data set minus the active power average value of the L1 phase 1-2 test data set is less than c x [ Pinv2L1-ki x Pinv1/2- (PgmaxL 1-PgminL 1) n ], the CT of the L1 phase of the electric meter is positioned in the L2 phase, the CT connection is required to be reconnected, otherwise, the next judgment is carried out. (if the first absolute value and the second absolute value satisfy the first predetermined condition, the test result is a wiring error phase).
(2) If the seventh difference value and the first absolute value meet a third preset condition, the checking result is that the wiring is correct and comprises:
and if the difference between the average value of the active power of the L1 phase 1-1 test data set and the average value of the active power of the L1 initial data set is less than 0, and the absolute value of the difference is more than or equal to o [ Pinv2L1-ki ] Pinv1/2- (PgmaxL 1-PgminL 1) × n ], indicating that the wiring of the target electricity meter is correct. The factor o may be 0.99,0.98 \8230, where losses in the lines between the inverter and the meter are mainly taken into account.
If the difference between the average value of the active power of the L1 phase 1-2 test data sets minus the average value of the active power of the L1 phase initial data sets is larger than 0, and the absolute value of the difference is larger than or equal to o x [ Pinv2L1-ki x Pinv1/2- (PgmaxL 1-PgminL 1) n ], the wiring of the electric meter is correct; (if the seventh difference, the first absolute value, the eighth difference, and the second absolute value satisfy the third predetermined condition, the result is correct).
(3) If the seventh difference value and the first absolute value meet the second preset condition, the checking result is that the wiring is reversed and comprises:
if the difference between the average value of the active power of the L1 phase 1-1 test data set and the average value of the active power of the L1 initial data set is more than or equal to 0, and the absolute value of the difference is more than or equal to o × [ Pinv2L1-ki × [ Pinv1/2- (PgmaxL 1-PgminL 1) × n ], the wiring error of the electric meter is indicated, and the voltage or current wiring is reversed.
If the difference between the active power average value of the L1 phase 1-2 inspection data set and the active power average value of the L1 phase initial data set is less than or equal to 0, and the absolute value of the difference is more than or equal to o x [ Pinv2L1-ki x Pinv1/2- (PgmaxL 1-PgminL 1) n ], the electric meter is wrongly connected with a wire, and voltage or current is reversely connected. (if the seventh difference, the first absolute value, the eighth difference and the second absolute value satisfy the second predetermined condition, the connection direction is reverse).
(4) If the seventh difference value and the first absolute value continuously satisfy the fourth preset condition for three times, the checking result is that the checking fails, and the checking comprises:
if the difference between the average of the active power of the L1 phase 1-1 test data set minus the average of the active power of the L1 phase initial data set is <0, but the absolute value of the difference is < o x p i n v2L1-ki x i n v1/2- (pgmax L1-pgmin L1)/, this group of data is likely to be affected by the home load and is invalid data;
if the difference between the average value of the active power of the L1 phase 1-1 th inspection data set and the average value of the active power of the L1 initial data set is more than or equal to 0, but the absolute value of the difference is < o [ [ Pinv2L1-ki ] Pinv1/2- (PgmaxL 1-PgminL 1) ] n ], the group data is possibly influenced by the family load and is invalid data;
if the difference between the average value of the active power of the L1 phase 1-2 test data set minus the average value of the active power of the L1 phase initial data set is more than or equal to 0, but the absolute value of the difference is < o x [ Pinv2L1-ki x Pinv1/2- (PgmaxL 1-PgminL 1) n ], the group data is indicated to be influenced by the family load and is invalid data;
if the difference between the average value of the active power of the L1 phase 1-2 th inspection data set and the average value of the active power of the L1 phase initial data set is less than 0, but the absolute value of the difference is less than o [ Pinv2L1-ki ] Pinv1/2- (PgmaxL 1-PgminL 1) × n ], then the group data is possibly influenced by the family load and is invalid data;
if the L1 phase is checked to be invalid data and the checking times do not exceed 3 times, the checking process is executed again; and if the L1 phase is checked to be invalid data, and the checking times exceed 3 times, the failure of the checking of the L1 phase wiring mode of the electric meter is fed back.
It should be noted that the L2 phase is checked in the same way as the L1 phase, and is not described herein again.
In an alternative embodiment, the test result can be processed in the following ways:
the detection result (that the voltage test end is connected in a wrong way, the CT is positioned on the N line, the CT is connected in a wrong phase, the wiring is correct, the wiring is reverse or the verification fails) can be uploaded to an external communication host through a system controller in the photovoltaic power generation system;
for correct wiring, the system controller controls the photovoltaic power generation system to exit the second working mode and enter the normal power generation state of the first working mode after correct feedback, and the setting of an ammeter is not changed; for the reverse wiring, the system controller uses the corresponding active power and the corresponding power taking amount as a negative value, and restores the photovoltaic power generation system to enter a normal power generation state of a first working mode; and reporting the failure of the detection to an external communication host, and then commanding the photovoltaic power generation system to stop by the system controller.
It should be noted that, for the cases that the voltage test terminal is misconnected, there is a CT located on the N line, and the CT is misconnected, manual processing is required.
In an alternative implementation, the flow chart shown in fig. 5 may be used to implement the wiring check of the target electric meter, which mainly includes the following contents: starting an ammeter connection mode for inspection, confirming the stability of the generated power, namely judging whether the generated power meets a first preset requirement; confirming the stability of the power utilization power, namely judging whether the power utilization power meets a second preset requirement or not; and confirming whether the voltage sampling line of the electric meter is misconnected or not, confirming the correctness of the current wiring of the electric meter under the condition that the voltage sampling line of the electric meter is not misconnected, obtaining a detection result, and finally processing the detection result of the wiring of the electric meter.
According to the method for checking the wiring of the electric meter, under the condition that the working mode of the two-phase inverter is the first working mode and the power generation power of the two-phase inverter meets the first preset requirement, the first active power and the first voltage value fed back by the L1 phase of the target electric meter are collected to obtain an L1 initial data set and the second active power and the second voltage value fed back by the L2 phase of the target electric meter are collected to obtain an L2 initial data set, and whether the power consumption meets the second preset requirement or not is determined through the L1 initial data set and the L2 initial data set, wherein the first working mode is that the amplitude of two-phase grid-connected currents of the two-phase inverter is the same and the phase of the two-phase grid-connected currents is opposite; under the condition that the power consumption meets a second preset requirement, whether a voltage sampling line of the target ammeter is connected correctly or not is determined according to the L1 initial data set and the L2 initial data set, and when the voltage sampling line is connected correctly, the power generation power of the two-phase inverter is adjusted according to the first active power and the second active power; acquiring active power and voltage values fed back by an L1 phase of a target ammeter to obtain a first L1 target data set and acquiring active power and voltage values fed back by an L2 phase of the target ammeter to obtain a first L2 target data set under the adjusted generating power, and checking the wiring of a current sampling line of the target ammeter according to the L1 initial data set, the L2 initial data set, the first L1 target data set and the first L2 target data set to determine whether the current sampling line is positioned on a zero line; if the current sampling line is not located on the zero line, acquiring a second L1 target data set and a second L2 target data set when the working mode of the two-phase inverter is a second working mode, and checking the wiring of the target electric meter according to the L1 initial data set, the L2 initial data set, the second L1 target data set and the second L2 target data set to obtain a checking result, wherein the second working mode is that the amplitude and the phase of two-phase grid-connected current of the two-phase inverter are different, and the checking result is one of the following: the wiring is correct, the wiring is reverse, the wiring is wrong mutually and the inspection fails, and the problem that the wiring of the ammeter is inspected in a manual mode in the related art to cause low efficiency is solved. The method comprises the steps that whether a voltage sampling line of a target ammeter is connected correctly or not is judged through an L1 initial data set and an L2 initial data set which are collected in a first working mode, the connection of the current sampling line of the target ammeter is checked according to the L1 initial data set, the L2 initial data set, a first L1 target data set and a first L2 target data set to determine whether the current sampling line is located on a zero line or not, and the connection of the target ammeter is checked according to the L1 initial data set, the L2 initial data set, a second L1 target data set and a second L2 target data set in a second working mode of a two-phase inverter, so that the automatic checking of the connection of the target ammeter is realized, and the effect of improving the efficiency is achieved.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
Example 2
The embodiment of the application also provides a device for checking the wiring of the electric meter, and it should be noted that the device for checking the wiring of the electric meter of the embodiment of the application can be used for executing the method for checking the wiring of the electric meter provided by the embodiment of the application. The following describes an inspection device for electric meter wiring provided in an embodiment of the present application.
FIG. 6 is a schematic diagram of an apparatus for verifying meter wiring according to an embodiment of the present application. As shown in fig. 6, the apparatus includes: a first acquisition unit 601, a first determination unit 602, a second acquisition unit 603 and a verification unit 604.
The first acquisition unit 601 is configured to, when the working mode of the two-phase inverter is a first working mode and the generated power of the two-phase inverter meets a first preset requirement, acquire a first active power and a first voltage value fed back by an L1 phase of a target electricity meter to obtain an L1 initial data set and acquire a second active power and a second voltage value fed back by an L2 phase of the target electricity meter to obtain an L2 initial data set, and determine whether the power consumption meets a second preset requirement through the L1 initial data set and the L2 initial data set, where the first working mode is that the amplitudes of two-phase grid-connected currents of the two-phase inverter are the same and the phases of the two-phase grid-connected currents are opposite;
a first determining unit 602, configured to determine whether a voltage sampling line of the target electric meter is correctly wired according to the L1 initial data set and the L2 initial data set when the power consumption meets a second preset requirement, and adjust the power generation power of the two-phase inverter according to the first active power and the second active power when the voltage sampling line is correctly wired;
the second acquisition unit 603 is configured to acquire the active power and the voltage value fed back by the L1 phase of the target electric meter to obtain a first L1 target data set and the active power and the voltage value fed back by the L2 phase of the target electric meter to obtain a first L2 target data set under the adjusted power generation power, and inspect the wiring of the current sampling line of the target electric meter according to the L1 initial data set, the L2 initial data set, the first L1 target data set, and the first L2 target data set to determine whether the current sampling line is located on the zero line;
the inspection unit 604 is configured to, if the current sampling line is not located on the zero line, obtain a second L1 target data set and a second L2 target data set when the working mode of the two-phase inverter is a second working mode, and inspect the connection of the target electric meter according to the L1 initial data set, the L2 initial data set, the second L1 target data set, and the second L2 target data set to obtain an inspection result, where the second working mode is that the amplitudes and phases of the two-phase grid-connected currents of the two-phase inverter are different, and the inspection result is one of the following: correct wiring, reverse wiring, wrong wiring, and failed verification.
According to the device for detecting the wiring of the electric meter, under the condition that the working mode of the two-phase inverter is the first working mode and the power generation power of the two-phase inverter meets the first preset requirement, the first acquisition unit 601 acquires the first active power and the first voltage value fed back by the L1 phase of the target electric meter to obtain the L1 initial data set and acquires the second active power and the second voltage value fed back by the L2 phase of the target electric meter to obtain the L2 initial data set, and whether the power utilization power meets the second preset requirement is determined through the L1 initial data set and the L2 initial data set, wherein the first working mode is that the amplitude of two-phase grid-connected currents of the two-phase inverter is the same and the phase of the two-phase grid-connected currents is opposite; the first determining unit 602 determines whether the voltage sampling line of the target electric meter is correctly wired according to the L1 initial data set and the L2 initial data set when the power consumption meets a second preset requirement, and adjusts the power generation power of the two-phase inverter according to the first active power and the second active power when the voltage sampling line is correctly wired; the second acquisition unit 603 acquires active power and voltage values fed back by the L1 phase of the target electric meter to obtain a first L1 target data set and acquires active power and voltage values fed back by the L2 phase of the target electric meter to obtain a first L2 target data set under the adjusted generating power, and inspects the wiring of the current sampling line of the target electric meter according to the L1 initial data set, the L2 initial data set, the first L1 target data set and the first L2 target data set to determine whether the current sampling line is located on a zero line; the inspection unit 604 is configured to, if the current sampling line is not located on the zero line, obtain a second L1 target data set and a second L2 target data set in a second working mode of the two-phase inverter, and inspect the connection of the target electric meter according to the L1 initial data set, the L2 initial data set, the second L1 target data set, and the second L2 target data set, so as to obtain an inspection result, where the second working mode is that the amplitude and the phase of the two-phase grid-connected current of the two-phase inverter are different, and the inspection result is one of the following: the wiring is correct, the wiring is reverse, the wiring is wrong mutually and the inspection fails, and the problem that the wiring of the ammeter is inspected in a manual mode in the related art to cause low efficiency is solved. The method comprises the steps that whether a voltage sampling line of a target ammeter is connected correctly or not is judged through an L1 initial data set and an L2 initial data set which are collected in a first working mode, the connection of the current sampling line of the target ammeter is checked according to the L1 initial data set, the L2 initial data set, a first L1 target data set and a first L2 target data set to determine whether the current sampling line is located on a zero line or not, and the connection of the target ammeter is checked according to the L1 initial data set, the L2 initial data set, a second L1 target data set and a second L2 target data set in a second working mode of a two-phase inverter, so that the automatic checking of the connection of the target ammeter is realized, and the effect of improving the efficiency is achieved.
Optionally, in the device for checking the connection of the electricity meter provided in the embodiment of the present application, the device further includes: the setting unit is used for setting a working model of the two-phase inverter in a first working mode before acquiring a first active power and a first voltage value fed back by the L1 phase of the target electric meter and a second active power and a second voltage value fed back by the L2 phase of the target electric meter, and determining the initial generating power of the two-phase inverter; the first judging unit is used for reducing the generating power of the two-phase inverter to a first generating power and judging whether the generating power of the two-phase inverter meets a first preset requirement or not under the condition of the first generating power; and the processing unit is used for reducing the generated power of the two-phase inverter to second generated power if the generated power of the two-phase inverter does not meet the first preset requirement until the generated power of the two-phase inverter meets the first preset requirement, and recording corresponding first target generated power when the generated power of the two-phase inverter meets the first preset requirement.
Optionally, in the device for checking the wiring of an electric meter provided in the embodiment of the present application, the first collecting unit includes: the first acquisition module is used for acquiring the first active power and the first voltage value fed back by the L1 phase of the target electric meter for N times at a first time interval to obtain an L1 initial data set; the second acquisition module is used for acquiring the second active power and the second voltage value fed back by the L2 phase of the target electric meter for N times at a first time interval to obtain an L2 initial data set; the first calculation module is used for calculating the average value of the active power in the L1 initial data set to obtain a first average value and calculating the average value of the active power in the L2 initial data set to obtain a second average value; the first determining module is used for determining the maximum value and the minimum value of the active power of the L1 initial data set to obtain a first maximum value and a first minimum value, and determining the maximum value and the minimum value of the active power of the L2 initial data set to obtain a second maximum value and a second minimum value; and the first judgment module is used for judging whether the power consumption meets a second preset requirement or not according to the first average value, the second average value, the first maximum value, the second maximum value, the first minimum value and the second minimum value.
Optionally, in the device for checking electric meter wiring provided in the embodiment of the present application, the first determining unit includes: the second judging module is used for judging whether the first voltage value in the L1 initial data set and the second voltage value in the L2 initial data set are larger than a first preset value or not; and the second determining module is used for determining that the wiring of the voltage sampling line of the target ammeter is correct if the first voltage value and the second voltage value are both greater than the first preset value.
Optionally, in the device for checking the connection of the electricity meter provided in the embodiment of the present application, the first determining unit further includes: the second calculation module is used for calculating a difference value between the initial generating power and the first target generating power to obtain a generating power difference value, and calculating a difference value between the first maximum value and the first minimum value to obtain a first difference value; the third calculation module is used for calculating the product of the first difference value and a target preset coefficient to obtain a first target numerical value; the boosting module is used for boosting the generated power of the two-phase inverter to the initial generated power if the generated power difference is larger than the first target value, and acquiring the current generated power I of the two-phase inverter after the generated power of the two-phase inverter meets a third preset requirement; the fourth calculation module is used for calculating a difference value between the second maximum value and the second minimum value to obtain a second difference value; and the fifth calculation module is used for calculating to obtain a second target value according to the first target value, the first difference value and the second difference value, and if the current generated power I is larger than or equal to the second target value, taking the current generated power I as the second target generated power.
Optionally, in the device for checking the connection of the electricity meter provided in the embodiment of the present application, the device further includes: the first reducing unit is used for reducing the generated power of the two-phase inverter to a third target value if the current generated power is smaller than the second target value, and obtaining the third target generated power of the two-phase inverter after the generated power of the two-phase inverter is determined to meet a third preset requirement, wherein the third target value is obtained by calculating the first target generated power, the first difference value and the second difference value.
Optionally, in the device for checking the wiring of an electric meter provided in the embodiment of the present application, the second collecting unit includes: the third acquisition module is used for acquiring active power fed back by the L1 phase and active power fed back by the L2 phase of the target electric meter for N times at a first time interval under the second target generating power to obtain N third active powers and N fourth active powers, and taking the N third active powers as a first data set and the N fourth active powers as a second data set; the fourth acquisition module is used for reducing the power generation power of the two-phase inverter to a first target power generation power, and acquiring active power fed back by the L1 phase and active power fed back by the L2 phase of the target electric meter for N times at a first time interval under the first target power generation power to obtain a third data set and a fourth data set; a third determining module, configured to take the first data set and the third data set as a first L1 target data set, and take the second data set and the fourth data set as a first L2 target data set.
Optionally, in the device for checking electric meter wiring provided in the embodiment of the present application, the second acquisition unit further includes: the fifth acquisition module is used for acquiring active power fed back by the L1 and active power fed back by the L2 of the target electric meter for N times at a first time interval under the third target generating power to obtain N third active powers and N fourth active powers, and taking the N third active powers as a first data set and the N fourth active powers as a second data set; the sixth acquisition module is used for increasing the power generation power of the two-phase inverter to a second target power generation power, and acquiring active power fed back by the L1 phase and active power fed back by the L2 phase of the target electric meter for N times at a first time interval under the first target power generation power to obtain a third data set and a fourth data set; a fourth determining module, configured to take the first data set and the third data set as a first L1 target data set, and take the second data set and the fourth data set as a first L2 target data set.
Optionally, in the device for checking the wiring of an electric meter provided in the embodiment of the present application, the second collecting unit includes: the sixth calculating module is used for calculating the average value of the active power in the first data set to obtain a third average value, and calculating the average value of the active power in the third data set to obtain a fourth average value; the seventh calculating module is used for calculating the average value of the active power in the second data set to obtain a fifth average value, and calculating the average value of the active power in the fourth data set to obtain a sixth average value; the eighth calculating module is used for calculating a difference value between the first average value and the third average value to obtain a third difference value, and calculating a difference value between the first average value and the fourth average value to obtain a fourth difference value; the ninth calculation module is used for calculating the difference value between the second average value and the fifth average value to obtain a fifth difference value, and calculating the difference value between the second average value and the sixth average value to obtain a sixth difference value; and the third judgment module is used for judging that the current sampling line is not positioned on the zero line if any one of the third difference value, the fourth difference value, the fifth difference value and the sixth difference value is smaller than a fourth target value, wherein the fourth target value is obtained by calculating the first target luminous power, the second target luminous power, the first difference value and the second difference value.
Optionally, in the device for checking the wiring of an electric meter provided in the embodiment of the present application, the checking unit includes: the setting module is used for setting the working mode of the two-phase inverter to be a second working mode if the current sampling line is not positioned on the zero line; the adjusting module is used for adjusting the generating power of the two-phase inverter according to the first active power and the second active power under the second working model; and the seventh acquisition module is used for acquiring the L1-phase feedback active power of the target electric meter to obtain a second L1 target data set and acquiring the L2-phase feedback active power of the target electric meter to obtain a second L2 target data set under the adjusted generating power.
Optionally, in the device for checking the wiring of an electric meter provided in the embodiment of the present application, the adjusting module includes: the calculation submodule is used for calculating the second difference value to obtain a first numerical value; the boost submodule is used for boosting the L1-phase generating power of the two-phase inverter from first generating power to second generating power and maintaining the L2-phase generating power of the two-phase inverter as the first generating power if the first value is larger than a first target value, wherein the first generating power is obtained by calculating the first target generating power, and the second generating power is obtained by calculating the initial generating power; the obtaining submodule is used for obtaining the current generating power II of the two-phase inverter after the generating power of the two-phase inverter is determined to meet a third preset requirement; and the determining submodule is used for taking the current second generated power as a fourth target generated power if the current second generated power is larger than or equal to a fifth target value, wherein the fifth target value is obtained by calculating the first target generated power and the first target value.
Optionally, in the device for checking the connection of the electricity meter provided in the embodiment of the present application, the device further includes: and the second reducing unit is used for reducing the generated power of the two-phase inverter to a sixth target value if the current generated power is less than the fifth target value, and acquiring the fifth target generated power of the two-phase inverter after determining that the generated power of the two-phase inverter meets a third preset requirement, wherein the sixth target value is obtained by calculating the first target generated power and the first difference value.
Optionally, in the device for checking the wiring of the electric meter provided in the embodiment of the present application, the checking unit includes: a tenth calculating module, configured to calculate a difference between the average value of the second L1 target data set and the average value of the L1 initial data set and an absolute value of the difference, so as to obtain a seventh difference and a first absolute value; an eleventh calculating module, configured to calculate a difference between the average value of the second L2 target data set and the average value of the L2 initial data set and an absolute value of the difference, so as to obtain an eighth difference and a second absolute value; and the inspection module is used for inspecting the wiring of the target ammeter according to the seventh difference value, the first absolute value, the eighth difference value and the second absolute value to obtain an inspection result.
Optionally, in the device for checking the wiring of an electric meter provided in the embodiment of the present application, the checking module includes: the first determining submodule is used for determining that the detection result is a wiring error phase if the first absolute value and the second absolute value meet a first preset condition; the second determining submodule is used for determining that the connection is reversed if the seventh difference value, the first absolute value, the eighth difference value and the second absolute value meet a second preset condition; the third determining submodule is used for checking that the connection is correct if the seventh difference value, the first absolute value, the eighth difference value and the second absolute value meet a third preset condition; and the fourth determining submodule is used for determining that the test result is test failure if the seventh difference value, the first absolute value, the eighth difference value and the second absolute value continuously meet a fourth preset condition for three times.
The device for checking the wiring of the electric meter comprises a processor and a memory, wherein the first acquisition unit 601, the first determination unit 602, the second acquisition unit 603, the checking unit 604 and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more, and the checking of the wiring of the electric meter is realized by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
Example 3
The embodiment of the invention provides a processor, which is used for running a program, wherein the method for checking the wiring of an electric meter is executed when the program runs.
As shown in fig. 7, an embodiment of the present invention provides an electronic device, where the device includes a processor, a memory, and a program stored in the memory and executable on the processor, and the processor executes the program to implement the following steps: under the condition that the working mode of a two-phase inverter is a first working mode and the power generation power of the two-phase inverter meets a first preset requirement, acquiring a first active power and a first voltage value fed back by an L1 phase of a target electric meter to obtain an L1 initial data set and acquiring a second active power and a second voltage value fed back by an L2 phase of the target electric meter to obtain an L2 initial data set, and determining whether the power consumption meets a second preset requirement through the L1 initial data set and the L2 initial data set, wherein the first working mode is that the amplitude of two-phase grid-connected currents of the two-phase inverter is the same and the phase of the two-phase grid-connected currents is opposite; under the condition that the power consumption meets a second preset requirement, whether a voltage sampling line of the target electric meter is connected correctly is determined according to the L1 initial data set and the L2 initial data set, and when the voltage sampling line is connected correctly, the power generation power of the two-phase inverter is adjusted according to the first active power and the second active power; acquiring active power and voltage values fed back by an L1 phase of the target ammeter to obtain a first L1 target data set and acquiring active power and voltage values fed back by an L2 phase of the target ammeter to obtain a first L2 target data set under the adjusted generating power, and inspecting the wiring of a current sampling line of the target ammeter according to the L1 initial data set, the L2 initial data set, the first L1 target data set and the first L2 target data set to determine whether the current sampling line is positioned on a zero line; if the current sampling line is not located on a zero line, acquiring a second L1 target data set and a second L2 target data set when the working mode of the two-phase inverter is a second working mode, and checking the connection of the target electric meter according to the L1 initial data set, the L2 initial data set, the second L1 target data set and the second L2 target data set to obtain a checking result, wherein the second working mode is that the amplitude and the phase of two-phase grid-connected currents of the two-phase inverter are different, and the checking result is one of the following: correct wiring, reverse wiring, wrong wiring, and failed verification.
Optionally, before collecting the first active power and the first voltage value fed back by the L1 phase of the target electric meter and the second active power and the second voltage value fed back by the L2 phase of the target electric meter, the method further includes: setting a working model of the two-phase inverter in the first working mode, and determining initial generating power of the two-phase inverter; reducing the generated power of the two-phase inverter to a first generated power, and judging whether the generated power of the two-phase inverter meets the first preset requirement or not under the condition of the first generated power; and if the generated power of the two-phase inverter does not meet the first preset requirement, reducing the generated power of the two-phase inverter to a second generated power until the generated power of the two-phase inverter meets the first preset requirement, and recording a corresponding first target generated power when the generated power of the two-phase inverter meets the first preset requirement.
Optionally, acquiring a first active power and a first voltage value fed back by the L1 phase of the target electric meter to obtain an L1 initial data set and acquiring a second active power and a second voltage value fed back by the L2 phase of the target electric meter to obtain an L2 initial data set, and determining whether the power consumption meets a second preset requirement through the L1 initial data set and the L2 initial data set includes: acquiring N times of a first active power and a first voltage value fed back by the L1 phase of the target ammeter at a first time interval to obtain an L1 initial data set; acquiring N times of second active power and second voltage values fed back by the L2 phase of the target ammeter at the first time interval to obtain an L2 initial data set; calculating the average value of the active power in the L1 initial data set to obtain a first average value, and calculating the average value of the active power in the L2 initial data set to obtain a second average value; determining the maximum value and the minimum value of the active power of the L1 initial data set to obtain a first maximum value and a first minimum value, and determining the maximum value and the minimum value of the active power of the L2 initial data set to obtain a second maximum value and a second minimum value; and judging whether the power consumption meets the second preset requirement or not according to the first average value, the second average value, the first maximum value, the second maximum value, the first minimum value and the second minimum value.
Optionally, in a case that the power consumption meets a second preset requirement, determining whether the voltage sampling line of the target electricity meter is correctly wired according to the L1 initial data set and the L2 initial data set includes: judging whether a first voltage value in the L1 initial data set and a second voltage value in the L2 initial data set are larger than a first preset value or not; and if the first voltage value and the second voltage value are both larger than the first preset value, determining that the voltage sampling line of the target ammeter is correctly wired.
Optionally, when the voltage sampling line is correctly wired, adjusting the generated power of the two-phase inverter according to the first active power and the second active power includes: calculating a difference value between the initial generating power and the first target generating power to obtain a generating power difference value, and calculating a difference value between the first maximum value and the first minimum value to obtain a first difference value; calculating the product of the first difference and a target preset coefficient to obtain a first target value; if the generated power difference is larger than the first target value, increasing the generated power of the two-phase inverter to the initial generated power, and obtaining the current generated power I of the two-phase inverter after determining that the generated power of the two-phase inverter meets a third preset requirement; calculating a difference value between the second maximum value and the second minimum value to obtain a second difference value; and calculating to obtain a second target value according to the first target value, the first difference and the second difference, and if the first current generated power is greater than or equal to the second target value, taking the first current generated power as the second target generated power.
Optionally, the method further comprises: if the current generated power is smaller than the second target value, the generated power of the two-phase inverter is reduced to a third target value, and after the generated power of the two-phase inverter is determined to meet a third preset requirement, the third target generated power of the two-phase inverter is obtained, wherein the third target value is obtained by calculating a first target generated power, the first difference and the second difference.
Optionally, under the adjusted power generation power, acquiring the active power and the voltage value fed back by the L1 phase of the target electric meter to obtain a first L1 target data set and acquiring the active power and the voltage value fed back by the L2 phase of the target electric meter to obtain a first L2 target data set include: acquiring L1-phase feedback active power and L2-phase feedback active power of the target electric meter for N times at the first time interval under the second target power generation power to obtain N third active powers and N fourth active powers, and taking the N third active powers as a first data set and the N fourth active powers as a second data set; reducing the power generation power of the two-phase inverter to the first target power generation power, and acquiring active power fed back by the L1 phase and active power fed back by the L2 phase of the target electric meter for N times at the first time interval under the first target power generation power to obtain a third data set and a fourth data set; taking the first data set and the third data set as the first L1 target data set, and the second data set and the fourth data set as the first L2 target data set.
Optionally, under the adjusted power generation power, acquiring the active power and the voltage value fed back by the L1 phase of the target electric meter to obtain a first L1 target data set and acquiring the active power and the voltage value fed back by the L2 phase of the target electric meter to obtain a first L2 target data set include: acquiring L1-phase feedback active power and L2-phase feedback active power of the target electric meter for N times at the first time interval under the third target generating power to obtain N third active powers and N fourth active powers, and taking the N third active powers as a first data set and the N fourth active powers as a second data set; increasing the generated power of the two-phase inverter to the second target generated power, and acquiring active power fed back by the L1 phase and active power fed back by the L2 phase of the target electric meter for N times at the first time interval under the first target generated power to obtain a third data set and a fourth data set; taking the first data set and the third data set as the first L1 target data set, and the second data set and the fourth data set as the first L2 target data set.
Optionally, checking the connection of the current sampling line of the target electric meter according to the L1 initial data set, the L2 initial data set, the first L1 target data set, and the first L2 target data set to determine whether the current sampling line is located on a zero line includes: calculating the average value of the active power in the first data set to obtain a third average value, and calculating the average value of the active power in the third data set to obtain a fourth average value; calculating the average value of the active power in the second data set to obtain a fifth average value, and calculating the average value of the active power in the fourth data set to obtain a sixth average value; calculating a difference value between the first average value and the third average value to obtain a third difference value, and calculating a difference value between the first average value and the fourth average value to obtain a fourth difference value; calculating a difference value between the second average value and the fifth average value to obtain a fifth difference value, and calculating a difference value between the second average value and the sixth average value to obtain a sixth difference value; and if any one of the third difference, the fourth difference, the fifth difference and the sixth difference is smaller than a fourth target value, the current sampling line is not located on a zero line, wherein the fourth target value is obtained by calculating the first target luminous power, the second target luminous power, the first difference and the second difference.
Optionally, if the current sampling line is not located on the zero line, acquiring a second L1 target data set and a second L2 target data set when the operating mode of the two-phase inverter is the second operating mode includes: if the current sampling line is not positioned on a zero line, setting the working mode of the two-phase inverter to be the second working mode; under the second working model, regulating the generated power of the two-phase inverter according to the first active power and the second active power; and under the adjusted generating power, acquiring the active power fed back by the L1 phase of the target electric meter to obtain the second L1 target data set and acquiring the active power fed back by the L2 phase of the target electric meter to obtain the second L2 target data set.
Optionally, under the second operation model, adjusting the generated power of the two-phase inverter according to the first active power and the second active power includes: calculating the second difference to obtain a first value; if the first value is larger than the first target value, the L1-phase generating power of the two-phase inverter is increased from a first generating power to a second generating power, and the L2-phase generating power of the two-phase inverter is maintained as the first generating power, wherein the first generating power is calculated from the first target generating power, and the second generating power is calculated from an initial generating power; after the generated power of the two-phase inverter is determined to meet the third preset requirement, the current generated power II of the two-phase inverter is obtained; and if the current generated power II is larger than or equal to a fifth target value, taking the current generated power II as fourth target generated power, wherein the fifth target value is obtained by calculating the first target generated power and the first target value.
Optionally, the method further comprises: if the current generated power is smaller than the fifth target value, the generated power of the two-phase inverter is reduced to a sixth target value, and after the generated power of the two-phase inverter is determined to meet the third preset requirement, the fifth target generated power of the two-phase inverter is obtained, wherein the sixth target value is obtained by calculating the first target generated power and the first difference value.
Optionally, the checking the connection of the target electricity meter according to the L1 initial data set, the L2 initial data set, the second L1 target data set, and the second L2 target data set, and obtaining a check result includes: calculating a difference value between the average value of the second L1 target data set and the average value of the L1 initial data set and an absolute value of the difference value to obtain a seventh difference value and a first absolute value; calculating the difference value between the average value of the second L2 target data set and the average value of the L2 initial data set and the absolute value of the difference value to obtain an eighth difference value and a second absolute value; and checking the connection of the target ammeter according to the seventh difference, the first absolute value, the eighth difference and the second absolute value to obtain the checking result.
Optionally, the checking the connection of the target electricity meter according to the seventh difference, the first absolute value, the eighth difference, and the second absolute value, and obtaining the checking result includes: if the first absolute value and the second absolute value meet a first preset condition, the test result is that the wiring is in a wrong phase; if the seventh difference, the first absolute value, the eighth difference and the second absolute value meet a second preset condition, the checking result is that the wiring is reversed; if the seventh difference, the first absolute value, the eighth difference and the second absolute value meet a third preset condition, the checking result is that the wiring is correct; and if the seventh difference, the first absolute value, the eighth difference and the second absolute value continuously three times meet a fourth preset condition, the test result is a test failure.
The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application also provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: under the condition that the working mode of a two-phase inverter is a first working mode and the power generation power of the two-phase inverter meets a first preset requirement, acquiring a first active power and a first voltage value fed back by an L1 phase of a target electric meter to obtain an L1 initial data set and acquiring a second active power and a second voltage value fed back by an L2 phase of the target electric meter to obtain an L2 initial data set, and determining whether the power consumption meets a second preset requirement through the L1 initial data set and the L2 initial data set, wherein the first working mode is that the amplitude of two-phase grid-connected currents of the two-phase inverter is the same and the phase of the two-phase grid-connected currents is opposite; under the condition that the power consumption meets a second preset requirement, whether a voltage sampling line of the target electric meter is connected correctly is determined according to the L1 initial data set and the L2 initial data set, and when the voltage sampling line is connected correctly, the power generation power of the two-phase inverter is adjusted according to the first active power and the second active power; acquiring active power and voltage values fed back by an L1 phase of the target ammeter to obtain a first L1 target data set and acquiring active power and voltage values fed back by an L2 phase of the target ammeter to obtain a first L2 target data set under the adjusted generating power, and inspecting the wiring of a current sampling line of the target ammeter according to the L1 initial data set, the L2 initial data set, the first L1 target data set and the first L2 target data set to determine whether the current sampling line is positioned on a zero line; if the current sampling line is not located on a zero line, acquiring a second L1 target data set and a second L2 target data set under the condition that the working mode of the two-phase inverter is a second working mode, and checking the wiring of the target ammeter according to the L1 initial data set, the L2 initial data set, the second L1 target data set and the second L2 target data set to obtain a checking result, wherein the second working mode is that the amplitude and the phase of two-phase grid-connected current of the two-phase inverter are different, and the checking result is one of the following: correct wiring, reverse wiring, wrong wiring, and failed verification.
Optionally, before collecting the first active power and the first voltage value fed back by the L1 phase of the target electric meter and the second active power and the second voltage value fed back by the L2 phase of the target electric meter, the method further includes: setting a working model of the two-phase inverter in the first working mode, and determining initial generating power of the two-phase inverter; reducing the generated power of the two-phase inverter to a first generated power, and judging whether the generated power of the two-phase inverter meets the first preset requirement or not under the condition of the first generated power; and if the generated power of the two-phase inverter does not meet the first preset requirement, reducing the generated power of the two-phase inverter to a second generated power until the generated power of the two-phase inverter meets the first preset requirement, and recording a corresponding first target generated power when the generated power of the two-phase inverter meets the first preset requirement.
Optionally, acquiring a first active power and a first voltage value fed back by the L1 phase of the target electric meter to obtain an L1 initial data set and acquiring a second active power and a second voltage value fed back by the L2 phase of the target electric meter to obtain an L2 initial data set, and determining whether the power consumption meets a second preset requirement through the L1 initial data set and the L2 initial data set includes: acquiring N times of first active power and first voltage values fed back by the L1 phase of the target electric meter at a first time interval to obtain an L1 initial data set; acquiring N times of second active power and second voltage values fed back by the L2 phase of the target electric meter at the first time interval to obtain the L2 initial data set; calculating the average value of the active power in the L1 initial data set to obtain a first average value and calculating the average value of the active power in the L2 initial data set to obtain a second average value; determining the maximum value and the minimum value of the active power of the L1 initial data set to obtain a first maximum value and a first minimum value, and determining the maximum value and the minimum value of the active power of the L2 initial data set to obtain a second maximum value and a second minimum value; and judging whether the power consumption meets the second preset requirement or not according to the first average value, the second average value, the first maximum value, the second maximum value, the first minimum value and the second minimum value.
Optionally, in a case that the power consumption meets a second preset requirement, determining whether the voltage sampling line of the target electric meter is correctly wired according to the L1 initial data set and the L2 initial data set includes: judging whether a first voltage value in the L1 initial data set and a second voltage value in the L2 initial data set are larger than a first preset value or not; and if the first voltage value and the second voltage value are both larger than the first preset value, determining that the voltage sampling line of the target ammeter is correctly wired.
Optionally, when the voltage sampling line is correctly wired, adjusting the generated power of the two-phase inverter according to the first active power and the second active power includes: calculating a difference value between the initial generating power and the first target generating power to obtain a generating power difference value, and calculating a difference value between the first maximum value and the first minimum value to obtain a first difference value; calculating the product of the first difference and a target preset coefficient to obtain a first target value; if the generated power difference is larger than the first target value, increasing the generated power of the two-phase inverter to the initial generated power, and obtaining the current generated power I of the two-phase inverter after determining that the generated power of the two-phase inverter meets a third preset requirement; calculating a difference value between the second maximum value and the second minimum value to obtain a second difference value; and calculating to obtain a second target value according to the first target value, the first difference and the second difference, and if the first current generated power is greater than or equal to the second target value, taking the first current generated power as the second target generated power.
Optionally, the method further comprises: if the current generated power is smaller than the second target value, the generated power of the two-phase inverter is reduced to a third target value, and after the generated power of the two-phase inverter is determined to meet a third preset requirement, the third target generated power of the two-phase inverter is obtained, wherein the third target value is obtained by calculating a first target generated power, the first difference and the second difference.
Optionally, under the adjusted generated power, acquiring an active power and a voltage value fed back by the L1 phase of the target electric meter to obtain a first L1 target data set and acquiring an active power and a voltage value fed back by the L2 phase of the target electric meter to obtain a first L2 target data set includes: acquiring L1-phase feedback active power and L2-phase feedback active power of the target electric meter for N times at the first time interval under the second target power generation, obtaining N third active powers and N fourth active powers, and taking the N third active powers as a first data set and the N fourth active powers as a second data set; reducing the power generation power of the two-phase inverter to the first target power generation power, and acquiring active power fed back by the L1 phase and active power fed back by the L2 phase of the target electric meter for N times at the first time interval under the first target power generation power to obtain a third data set and a fourth data set; taking the first data set and the third data set as the first L1 target data set, and the second data set and the fourth data set as the first L2 target data set.
Optionally, under the adjusted generated power, acquiring an active power and a voltage value fed back by the L1 phase of the target electric meter to obtain a first L1 target data set and acquiring an active power and a voltage value fed back by the L2 phase of the target electric meter to obtain a first L2 target data set includes: acquiring L1-phase feedback active power and L2-phase feedback active power of the target electric meter for N times at the first time interval under the third target power generation power to obtain N third active powers and N fourth active powers, and taking the N third active powers as a first data set and the N fourth active powers as a second data set; increasing the generated power of the two-phase inverter to the second target generated power, and acquiring the L1-phase feedback active power and the L2-phase feedback active power of the target electric meter for N times at the first time interval under the first target generated power to obtain a third data set and a fourth data set; taking the first data set and the third data set as the first L1 target data set, and the second data set and the fourth data set as the first L2 target data set.
Optionally, checking the connection of the current sampling line of the target electric meter according to the L1 initial data set, the L2 initial data set, the first L1 target data set, and the first L2 target data set to determine whether the current sampling line is located on a zero line includes: calculating an average value of the active power in the first data set to obtain a third average value, and calculating an average value of the active power in the third data set to obtain a fourth average value; calculating an average value of the active power in the second data set to obtain a fifth average value, and calculating an average value of the active power in the fourth data set to obtain a sixth average value; calculating a difference value between the first average value and the third average value to obtain a third difference value, and calculating a difference value between the first average value and the fourth average value to obtain a fourth difference value; calculating a difference value between the second average value and the fifth average value to obtain a fifth difference value, and calculating a difference value between the second average value and the sixth average value to obtain a sixth difference value; and if any one of the third difference, the fourth difference, the fifth difference and the sixth difference is smaller than a fourth target value, the current sampling line is not located on a zero line, wherein the fourth target value is obtained by calculating the first target luminous power, the second target luminous power, the first difference and the second difference.
Optionally, if the current sampling line is not located on the zero line, acquiring a second L1 target data set and a second L2 target data set when the operating mode of the two-phase inverter is the second operating mode includes: if the current sampling line is not positioned on a zero line, setting the working mode of the two-phase inverter to be the second working mode; under the second working model, regulating the generated power of the two-phase inverter according to the first active power and the second active power; and under the adjusted generating power, acquiring the active power fed back by the L1 phase of the target electric meter to obtain the second L1 target data set and acquiring the active power fed back by the L2 phase of the target electric meter to obtain the second L2 target data set.
Optionally, under the second operation model, adjusting the generated power of the two-phase inverter according to the first active power and the second active power includes: calculating the second difference to obtain a first value; if the first value is larger than the first target value, the L1-phase generating power of the two-phase inverter is increased from a first generating power to a second generating power, and the L2-phase generating power of the two-phase inverter is maintained as the first generating power, wherein the first generating power is calculated from the first target generating power, and the second generating power is calculated from an initial generating power; after the generated power of the two-phase inverter is determined to meet the third preset requirement, acquiring the current generated power II of the two-phase inverter; and if the current generated power II is larger than or equal to a fifth target value, taking the current generated power II as fourth target generated power, wherein the fifth target value is obtained by calculating the first target generated power and the first target value.
Optionally, the method further comprises: if the current generated power is smaller than the fifth target value, the generated power of the two-phase inverter is reduced to a sixth target value, and after the generated power of the two-phase inverter is determined to meet the third preset requirement, the fifth target generated power of the two-phase inverter is obtained, wherein the sixth target value is obtained by calculating the first target generated power and the first difference value.
Optionally, the checking the connection of the target electric meter according to the L1 initial data set, the L2 initial data set, the second L1 target data set, and the second L2 target data set, and obtaining a checking result includes: calculating a difference value between the average value of the second L1 target data set and the average value of the L1 initial data set and an absolute value of the difference value to obtain a seventh difference value and a first absolute value; calculating a difference value between the average value of the second L2 target data set and the average value of the L2 initial data set and an absolute value of the difference value to obtain an eighth difference value and a second absolute value; and checking the connection of the target ammeter according to the seventh difference, the first absolute value, the eighth difference and the second absolute value to obtain the checking result.
Optionally, the checking the connection of the target electricity meter according to the seventh difference, the first absolute value, the eighth difference, and the second absolute value, and obtaining the checking result includes: if the first absolute value and the second absolute value meet a first preset condition, the test result is that the wiring is in a wrong phase; if the seventh difference, the first absolute value, the eighth difference and the second absolute value meet a second preset condition, the checking result is that the wiring is reversed; if the seventh difference, the first absolute value, the eighth difference and the second absolute value meet a third preset condition, the checking result is that the wiring is correct; and if the seventh difference, the first absolute value, the eighth difference and the second absolute value continuously three times meet a fourth preset condition, the test result is test failure.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art to which the present application pertains. Any modification, equivalent replacement, improvement or the like made within the spirit and principle of the present application shall be included in the scope of the claims of the present application.

Claims (17)

1. An electric meter wiring inspection method is applied to a photovoltaic power generation system, and the photovoltaic power generation system at least comprises the following steps: two-phase inverter, photovoltaic module cluster, system controller and switch board of registering one's residence, the target ammeter is connected in switch board of registering one's residence includes:
under the condition that the working mode of a two-phase inverter is a first working mode and the power generation power of the two-phase inverter meets a first preset requirement, acquiring a first active power and a first voltage value fed back by an L1 phase of a target electric meter to obtain an L1 initial data set and acquiring a second active power and a second voltage value fed back by an L2 phase of the target electric meter to obtain an L2 initial data set, and determining whether the power consumption meets a second preset requirement through the L1 initial data set and the L2 initial data set, wherein the first working mode is that the amplitude of two-phase grid-connected currents of the two-phase inverter is the same and the phase of the two-phase grid-connected currents is opposite;
under the condition that the power consumption meets a second preset requirement, whether a voltage sampling line of the target ammeter is correctly connected or not is determined according to the L1 initial data set and the L2 initial data set, and when the voltage sampling line is correctly connected, the power generation power of the two-phase inverter is adjusted according to the first active power and the second active power;
acquiring active power and voltage values fed back by an L1 phase of the target ammeter to obtain a first L1 target data set and acquiring active power and voltage values fed back by an L2 phase of the target ammeter to obtain a first L2 target data set under the adjusted generating power, and checking the wiring of a current sampling line of the target ammeter according to the L1 initial data set, the L2 initial data set, the first L1 target data set and the first L2 target data set to determine whether the current sampling line is positioned on a zero line;
if the current sampling line is not located on a zero line, acquiring a second L1 target data set and a second L2 target data set when the working mode of the two-phase inverter is a second working mode, and checking the connection of the target electric meter according to the L1 initial data set, the L2 initial data set, the second L1 target data set and the second L2 target data set to obtain a checking result, wherein the second working mode is that the amplitude and the phase of two-phase grid-connected currents of the two-phase inverter are different, and the checking result is one of the following: correct wiring, reverse wiring, wrong wiring, and failed verification.
2. The method of claim 1, wherein prior to collecting the first active power and first voltage value fed back by the L1 phase of the target meter and the second active power and second voltage value fed back by the L2 phase of the target meter, the method further comprises:
setting a working model of the two-phase inverter in the first working mode, and determining initial generating power of the two-phase inverter;
reducing the generating power of the two-phase inverter to a first generating power, and under the condition of the first generating power, judging whether the generating power of the two-phase inverter meets the first preset requirement or not;
and if the generated power of the two-phase inverter does not meet the first preset requirement, reducing the generated power of the two-phase inverter to a second generated power until the generated power of the two-phase inverter meets the first preset requirement, and recording a corresponding first target generated power when the generated power of the two-phase inverter meets the first preset requirement.
3. The method for checking the wiring of the electric meters of claim 2, wherein the step of collecting the first active power and the first voltage value fed back by the L1 phase of the target electric meter to obtain an L1 initial data set and collecting the second active power and the second voltage value fed back by the L2 phase of the target electric meter to obtain an L2 initial data set, so as to determine whether the electric power meets the second preset requirement through the L1 initial data set and the L2 initial data set comprises the steps of:
acquiring N times of first active power and first voltage values fed back by the L1 phase of the target electric meter at a first time interval to obtain an L1 initial data set;
acquiring N times of second active power and second voltage values fed back by the L2 phase of the target electric meter at the first time interval to obtain the L2 initial data set;
calculating the average value of the active power in the L1 initial data set to obtain a first average value and calculating the average value of the active power in the L2 initial data set to obtain a second average value;
determining the maximum value and the minimum value of the active power of the L1 initial data set to obtain a first maximum value and a first minimum value, and determining the maximum value and the minimum value of the active power of the L2 initial data set to obtain a second maximum value and a second minimum value;
and judging whether the power consumption meets the second preset requirement or not according to the first average value, the second average value, the first maximum value, the second maximum value, the first minimum value and the second minimum value.
4. The method for checking the wiring of the electricity meter according to claim 1, wherein in case that the electricity power meets a second preset requirement, determining whether the voltage sampling line of the target electricity meter is correctly wired according to the L1 initial data set and the L2 initial data set comprises:
judging whether a first voltage value in the L1 initial data set and a second voltage value in the L2 initial data set are larger than a first preset value or not;
and if the first voltage value and the second voltage value are both larger than the first preset value, determining that the voltage sampling line of the target ammeter is correctly wired.
5. The method of claim 3, wherein adjusting the generated power of the two-phase inverter based on the first active power and the second active power when the voltage sampling line is properly wired comprises:
calculating a difference value between the initial generating power and the first target generating power to obtain a generating power difference value, and calculating a difference value between the first maximum value and the first minimum value to obtain a first difference value;
calculating the product of the first difference and a target preset coefficient to obtain a first target value;
if the generated power difference is larger than the first target value, increasing the generated power of the two-phase inverter to the initial generated power, and obtaining the current generated power I of the two-phase inverter after determining that the generated power of the two-phase inverter meets a third preset requirement;
calculating a difference value between the second maximum value and the second minimum value to obtain a second difference value;
and calculating to obtain a second target value according to the first target value, the first difference and the second difference, and if the current generated power I is greater than or equal to the second target value, taking the current generated power I as the second target generated power.
6. The method of claim 5, further comprising:
if the current generated power is smaller than the second target value, the generated power of the two-phase inverter is reduced to a third target value, and after the generated power of the two-phase inverter is determined to meet a third preset requirement, the third target generated power of the two-phase inverter is obtained, wherein the third target value is obtained by calculating a first target generated power, the first difference and the second difference.
7. The method of claim 5, wherein collecting the L1 phase feedback active power and voltage values of the target meter at the adjusted generated power to obtain a first L1 target data set and collecting the L2 phase feedback active power and voltage values of the target meter to obtain a first L2 target data set comprises:
acquiring L1-phase feedback active power and L2-phase feedback active power of the target electric meter for N times at the first time interval under the second target power generation power to obtain N third active powers and N fourth active powers, and taking the N third active powers as a first data set and the N fourth active powers as a second data set;
reducing the power generation power of the two-phase inverter to the first target power generation power, and acquiring active power fed back by the L1 phase and active power fed back by the L2 phase of the target electric meter for N times at the first time interval under the first target power generation power to obtain a third data set and a fourth data set;
taking the first data set and the third data set as the first L1 target data set, and the second data set and the fourth data set as the first L2 target data set.
8. The method of claim 6, wherein collecting the L1 phase feedback active power and voltage values of the target meter at the adjusted generated power to obtain a first L1 target data set and collecting the L2 phase feedback active power and voltage values of the target meter to obtain a first L2 target data set comprises:
acquiring L1-phase feedback active power and L2-phase feedback active power of the target electric meter for N times at the first time interval under the third target power generation power to obtain N third active powers and N fourth active powers, and taking the N third active powers as a first data set and the N fourth active powers as a second data set;
increasing the generated power of the two-phase inverter to the second target generated power, and acquiring the L1-phase feedback active power and the L2-phase feedback active power of the target electric meter for N times at the first time interval under the first target generated power to obtain a third data set and a fourth data set;
taking the first data set and the third data set as the first L1 target data set, and the second data set and the fourth data set as the first L2 target data set.
9. The method of claim 7, wherein inspecting the wiring of the current sample line of the target meter based on the L1 initial data set, the L2 initial data set, the first L1 target data set, and the first L2 target data set to determine whether the current sample line is located on a neutral line comprises:
calculating the average value of the active power in the first data set to obtain a third average value, and calculating the average value of the active power in the third data set to obtain a fourth average value;
calculating the average value of the active power in the second data set to obtain a fifth average value, and calculating the average value of the active power in the fourth data set to obtain a sixth average value;
calculating a difference value between the first average value and the third average value to obtain a third difference value, and calculating a difference value between the first average value and the fourth average value to obtain a fourth difference value;
calculating a difference value between the second average value and the fifth average value to obtain a fifth difference value, and calculating a difference value between the second average value and the sixth average value to obtain a sixth difference value;
and if any one of the third difference, the fourth difference, the fifth difference and the sixth difference is smaller than a fourth target value, the current sampling line is not located on a zero line, wherein the fourth target value is obtained by calculating the first target luminous power, the second target luminous power, the first difference and the second difference.
10. The method of claim 5, wherein if the current sampling line is not located on the neutral line, acquiring a second L1 target data set and a second L2 target data set when the operating mode of the two-phase inverter is the second operating mode comprises:
if the current sampling line is not positioned on a zero line, setting the working mode of the two-phase inverter to be the second working mode;
under the second working model, regulating the generated power of the two-phase inverter according to the first active power and the second active power;
and under the adjusted generating power, acquiring the active power fed back by the L1 phase of the target electric meter to obtain the second L1 target data set and acquiring the active power fed back by the L2 phase of the target electric meter to obtain the second L2 target data set.
11. The method of claim 10, wherein the step of adjusting the generated power of the two-phase inverter based on the first active power and the second active power in the second operational mode comprises:
calculating the second difference value to obtain a first numerical value;
if the first value is larger than the first target value, the L1-phase generating power of the two-phase inverter is increased from a first generating power to a second generating power, and the L2-phase generating power of the two-phase inverter is maintained as the first generating power, wherein the first generating power is obtained by calculating the first target generating power, and the second generating power is obtained by calculating an initial generating power;
after the generated power of the two-phase inverter is determined to meet the third preset requirement, the current generated power II of the two-phase inverter is obtained;
and if the current generated power II is larger than or equal to a fifth target value, taking the current generated power II as fourth target generated power, wherein the fifth target value is obtained by calculating the first target generated power and the first target value.
12. The method of claim 11, further comprising:
if the current generated power II is smaller than the fifth target value, the generated power of the two-phase inverter is reduced to a sixth target value, and the fifth target generated power of the two-phase inverter is obtained after the generated power of the two-phase inverter is determined to meet the third preset requirement, wherein the sixth target value is obtained by calculating the first target generated power and the first difference value.
13. The method of claim 11, wherein the step of inspecting the wiring of the target electric meter according to the L1 initial data set, the L2 initial data set, the second L1 target data set and the second L2 target data set comprises:
calculating a difference value between the average value of the second L1 target data set and the average value of the L1 initial data set and an absolute value of the difference value to obtain a seventh difference value and a first absolute value;
calculating a difference value between the average value of the second L2 target data set and the average value of the L2 initial data set and an absolute value of the difference value to obtain an eighth difference value and a second absolute value;
and checking the connection of the target ammeter according to the seventh difference, the first absolute value, the eighth difference and the second absolute value to obtain the checking result.
14. The method of claim 13, wherein the step of verifying the connection of the target meter according to the seventh difference, the first absolute value, the eighth difference and the second absolute value comprises:
if the first absolute value and the second absolute value meet a first preset condition, the test result is that the wiring is in a wrong phase;
if the seventh difference, the first absolute value, the eighth difference and the second absolute value meet a second preset condition, the checking result is that the wiring is reversed;
if the seventh difference, the first absolute value, the eighth difference and the second absolute value meet a third preset condition, the checking result is that the wiring is correct;
and if the seventh difference, the first absolute value, the eighth difference and the second absolute value continuously three times meet a fourth preset condition, the test result is a test failure.
15. An electricity meter wiring verification device, comprising:
the system comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for acquiring a first active power and a first voltage value fed back by an L1 phase of a target electric meter to obtain an L1 initial data set and acquiring a second active power and a second voltage value fed back by an L2 phase of the target electric meter to obtain an L2 initial data set under the condition that the working mode of a two-phase inverter is a first working mode and the generated power of the two-phase inverter meets a first preset requirement, and determining whether the used power meets a second preset requirement through the L1 initial data set and the L2 initial data set, wherein the first working mode is that the amplitude of two-phase grid-connected currents of the two-phase inverter is the same and the phase of the two-phase grid-connected currents is opposite;
a first determining unit, configured to determine whether a voltage sampling line of the target electric meter is correctly wired according to the L1 initial data set and the L2 initial data set when the power consumption meets a second preset requirement, and adjust the power generation power of the two-phase inverter according to the first active power and the second active power when the voltage sampling line is correctly wired;
the second acquisition unit is used for acquiring the active power and the voltage value fed back by the L1 phase of the target electric meter to obtain a first L1 target data set and the active power and the voltage value fed back by the L2 phase of the target electric meter to obtain a first L2 target data set under the adjusted generating power, and inspecting the wiring of the current sampling line of the target electric meter according to the L1 initial data set, the L2 initial data set, the first L1 target data set and the first L2 target data set to determine whether the current sampling line is positioned on a zero line;
the inspection unit is configured to, if the current sampling line is not located on a zero line, acquire a second L1 target data set and a second L2 target data set in a second working mode of the two-phase inverter, and inspect the connection line of the target electric meter according to the L1 initial data set, the L2 initial data set, the second L1 target data set, and the second L2 target data set to obtain an inspection result, where the second working mode is that amplitude and phase of two-phase grid-connected currents of the two-phase inverter are different, and the inspection result is one of the following: correct wiring, reverse wiring, wrong wiring, and failed verification.
16. A processor for running a program, wherein the program is run to perform the method of checking the wiring of an electricity meter of any one of claims 1 to 14.
17. An electronic device comprising one or more processors and memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of verifying the wiring of an electric meter of any of claims 1-14.
CN202211595966.5A 2022-12-13 2022-12-13 Ammeter wiring inspection method and device, processor and electronic equipment Active CN115598566B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211595966.5A CN115598566B (en) 2022-12-13 2022-12-13 Ammeter wiring inspection method and device, processor and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211595966.5A CN115598566B (en) 2022-12-13 2022-12-13 Ammeter wiring inspection method and device, processor and electronic equipment

Publications (2)

Publication Number Publication Date
CN115598566A true CN115598566A (en) 2023-01-13
CN115598566B CN115598566B (en) 2023-05-09

Family

ID=84854026

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211595966.5A Active CN115598566B (en) 2022-12-13 2022-12-13 Ammeter wiring inspection method and device, processor and electronic equipment

Country Status (1)

Country Link
CN (1) CN115598566B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116027102A (en) * 2023-03-29 2023-04-28 深圳龙电华鑫控股集团股份有限公司 Power calculation method and device of electric power instrument and electric power instrument
CN117907925A (en) * 2024-03-20 2024-04-19 深圳古瑞瓦特新能源有限公司 Ammeter phase sequence self-adaption method and device, electronic equipment and storage medium

Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR984229A (en) * 1949-04-05 1951-07-03 Auxiliaire De Verification Et Electric meter control device
US6236197B1 (en) * 1998-05-15 2001-05-22 Abb Power T&D Company Inc. Apparatus and method for detecting tampering in a multiphase meter
CN104714146A (en) * 2015-03-13 2015-06-17 长沙敏特电力技术有限公司 Electricity meter cross-room wiring detection device and detection method thereof
EP2950111A1 (en) * 2014-04-24 2015-12-02 Sagemcom Energy & Telecom Sas Method for detecting the absence of connection of a polyphase electricity meter to neutral
CN205067649U (en) * 2015-10-23 2016-03-02 国家电网公司 Zero live wire calibration equipment in resident's ammeter
CN205427091U (en) * 2015-12-25 2016-08-03 深圳长城开发科技股份有限公司 Ammeter and live wire detection circuitry
WO2016171347A1 (en) * 2015-04-22 2016-10-27 한국전력공사 Device for detecting improper wiring of watt-hour meter and method therefor
CN108627796A (en) * 2018-07-27 2018-10-09 国家电网有限公司 A kind of detection method of electric energy meter, detection device and terminal
CN109164345A (en) * 2018-09-27 2019-01-08 深圳友讯达科技股份有限公司 Live line Zero line Wiring detection method, device and intelligent electric meter
CN109613386A (en) * 2019-01-04 2019-04-12 常熟开关制造有限公司(原常熟开关厂) The detection method and device of three phase mains inlet wire zero curve misconnection, automatic change-over
CN110412401A (en) * 2019-09-04 2019-11-05 安费诺汽车连接***(常州)有限公司 A kind of ground connection of AC charging equipment and misphase detection circuit
US20200011910A1 (en) * 2017-02-20 2020-01-09 Sagemcom Energy & Telecom Sas Method for verifying the wiring of a meter
JP2020051951A (en) * 2018-09-27 2020-04-02 大崎電気工業株式会社 Single-phase three-wire electronic watt-hour meter
CN111983521A (en) * 2020-06-05 2020-11-24 安徽南瑞中天电力电子有限公司 Electric energy meter with functions of automatic identification of wrong wiring and correct metering and method thereof
CN112462318A (en) * 2019-09-06 2021-03-09 阳光电源股份有限公司 Ammeter wiring detection method, distributed power generation system and power generation source
CN113447885A (en) * 2021-08-30 2021-09-28 广东电网有限责任公司湛江供电局 Electric energy meter wrong wiring rapid detection circuit and device
CN113687292A (en) * 2020-05-18 2021-11-23 宁夏隆基宁光仪表股份有限公司 System and method for detecting electric energy meter wrong wiring in big data and cloud environment
US20220011381A1 (en) * 2020-07-07 2022-01-13 Honeywell International Inc. Loss of neutral voltage connection detection
CN217467134U (en) * 2022-05-23 2022-09-20 宁波三星智能电气有限公司 Zero live wire reverse connection detection device and electric energy meter
CN115291143A (en) * 2022-06-20 2022-11-04 国网浙江省电力有限公司湖州供电公司 Intelligent ammeter wiring detection system and self-diagnosis method

Patent Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR984229A (en) * 1949-04-05 1951-07-03 Auxiliaire De Verification Et Electric meter control device
US6236197B1 (en) * 1998-05-15 2001-05-22 Abb Power T&D Company Inc. Apparatus and method for detecting tampering in a multiphase meter
EP2950111A1 (en) * 2014-04-24 2015-12-02 Sagemcom Energy & Telecom Sas Method for detecting the absence of connection of a polyphase electricity meter to neutral
CN104714146A (en) * 2015-03-13 2015-06-17 长沙敏特电力技术有限公司 Electricity meter cross-room wiring detection device and detection method thereof
WO2016171347A1 (en) * 2015-04-22 2016-10-27 한국전력공사 Device for detecting improper wiring of watt-hour meter and method therefor
CN205067649U (en) * 2015-10-23 2016-03-02 国家电网公司 Zero live wire calibration equipment in resident's ammeter
CN205427091U (en) * 2015-12-25 2016-08-03 深圳长城开发科技股份有限公司 Ammeter and live wire detection circuitry
US20200011910A1 (en) * 2017-02-20 2020-01-09 Sagemcom Energy & Telecom Sas Method for verifying the wiring of a meter
CN108627796A (en) * 2018-07-27 2018-10-09 国家电网有限公司 A kind of detection method of electric energy meter, detection device and terminal
JP2020051951A (en) * 2018-09-27 2020-04-02 大崎電気工業株式会社 Single-phase three-wire electronic watt-hour meter
CN109164345A (en) * 2018-09-27 2019-01-08 深圳友讯达科技股份有限公司 Live line Zero line Wiring detection method, device and intelligent electric meter
CN109613386A (en) * 2019-01-04 2019-04-12 常熟开关制造有限公司(原常熟开关厂) The detection method and device of three phase mains inlet wire zero curve misconnection, automatic change-over
CN110412401A (en) * 2019-09-04 2019-11-05 安费诺汽车连接***(常州)有限公司 A kind of ground connection of AC charging equipment and misphase detection circuit
CN112462318A (en) * 2019-09-06 2021-03-09 阳光电源股份有限公司 Ammeter wiring detection method, distributed power generation system and power generation source
CN113687292A (en) * 2020-05-18 2021-11-23 宁夏隆基宁光仪表股份有限公司 System and method for detecting electric energy meter wrong wiring in big data and cloud environment
CN111983521A (en) * 2020-06-05 2020-11-24 安徽南瑞中天电力电子有限公司 Electric energy meter with functions of automatic identification of wrong wiring and correct metering and method thereof
US20220011381A1 (en) * 2020-07-07 2022-01-13 Honeywell International Inc. Loss of neutral voltage connection detection
CN113447885A (en) * 2021-08-30 2021-09-28 广东电网有限责任公司湛江供电局 Electric energy meter wrong wiring rapid detection circuit and device
CN217467134U (en) * 2022-05-23 2022-09-20 宁波三星智能电气有限公司 Zero live wire reverse connection detection device and electric energy meter
CN115291143A (en) * 2022-06-20 2022-11-04 国网浙江省电力有限公司湖州供电公司 Intelligent ammeter wiring detection system and self-diagnosis method

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
KRISHNASWAMY,H.O.: "measurement of Electric power:kWh theory and how to check if meter is correctly connected" *
XIAO GUI-QIAO 等: "wrong connection quick exclusion method of three-phase meter and three-phase kilowatt-hour meter" *
刘克胜: "电能表的错误接线检查方式分析" *
周晓波;: "电能表错误接线检查方法及预防措施分析" *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116027102A (en) * 2023-03-29 2023-04-28 深圳龙电华鑫控股集团股份有限公司 Power calculation method and device of electric power instrument and electric power instrument
CN117907925A (en) * 2024-03-20 2024-04-19 深圳古瑞瓦特新能源有限公司 Ammeter phase sequence self-adaption method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN115598566B (en) 2023-05-09

Similar Documents

Publication Publication Date Title
CN115598566B (en) Ammeter wiring inspection method and device, processor and electronic equipment
CN110888101B (en) Method and device for diagnosing abnormity of electric energy meter
WO2020191663A1 (en) Method and apparatus for detecting electricity consumption behavior, electronic device and storage medium
CN109298379B (en) Data monitoring-based intelligent electric meter field error abnormity identification method
CN110930034B (en) Electric power spot market settlement metering data verification method, device and medium
US20160131688A1 (en) Determining an orientation of a metering device in an energy generation system
CN110210738B (en) Power supply reliability analysis method and system
CN110146743A (en) A kind of area&#39;s phase recognition methods
CN101846708B (en) Method for detecting power-failure counting function of distribution transformer terminals in batch
US10969414B2 (en) Monitoring electric systems for wiring faults
KR102269887B1 (en) Power meter reading device and reading method thereof
CN102236046B (en) Method for detecting voltage monitoring function of electricity utilization management terminals in batches
CN110058189B (en) Electric energy meter misconnection judgment method based on phase angle analysis
JP5999406B2 (en) Detection device, inspection device, inspection method, and program
CN103105525B (en) Precision compensation method of current clamp, detection method and detection system using current clamp
CN113241736A (en) Method and system for line protection adaptability analysis of new energy sending
CN112330195A (en) Method and device suitable for power data quality evaluation and rule verification
CN115616474A (en) Single-phase electric meter wiring inspection method and device, processor and electronic equipment
CN110399301A (en) A kind of code test method, device, equipment and readable storage medium storing program for executing
JP5850234B2 (en) Detection device, inspection device, inspection method, and program
CN104793167A (en) Automatic tracking and analyzing method and automatic tracking and analyzing system for metering automation terminal
CN108152782B (en) Method for testing correction coefficient of high-supply high-count electric energy meter
CN115514023A (en) Calculation and check method for AGC (automatic gain control) regulation capacity of photovoltaic power station
CN111781553B (en) System and method for verifying voltage divider
CN115112948A (en) Multi-branch electric quantity calibration method and device, intelligent terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 325024 No. 939, Jinhai Third Road, Konggang new area, Longwan District, Wenzhou City, Zhejiang Province

Patentee after: Foxess Co.,Ltd.

Address before: 325025 No. 939, Jinhai 3rd Road, Airport New Area, Longwan District, Wenzhou City, Zhejiang Province

Patentee before: Maitian Energy Co.,Ltd.