CN115598566B - Ammeter wiring inspection method and device, processor and electronic equipment - Google Patents

Ammeter wiring inspection method and device, processor and electronic equipment Download PDF

Info

Publication number
CN115598566B
CN115598566B CN202211595966.5A CN202211595966A CN115598566B CN 115598566 B CN115598566 B CN 115598566B CN 202211595966 A CN202211595966 A CN 202211595966A CN 115598566 B CN115598566 B CN 115598566B
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.)
Active
Application number
CN202211595966.5A
Other languages
Chinese (zh)
Other versions
CN115598566A (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 an inspection method and device for ammeter wiring, a processor and electronic equipment, and relates to the technical field of electric 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 wired according to the L1 initial data set and the L2 initial data set, 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; 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. Through this application, solved in the correlation technique through artificial mode to the wiring of ammeter examine, lead to the lower problem of efficiency.

Description

Ammeter wiring inspection method and device, processor and electronic equipment
Technical Field
The application relates to the technical field of electric power measurement, in particular to an electric meter wiring inspection method and device, a processor and electronic equipment.
Background
As photovoltaic energy storage technology advances, more and more home users worldwide install photovoltaic storage systems. 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 the photovoltaic and the battery, one alternating current grid-connected output port is connected with the household power distribution cabinet, the other alternating current off-grid output port is connected with the important load, and the non-important load is connected with the household power distribution cabinet. In order to realize measurement and control of a home power supply system, an inverter generally installs an ammeter in a home-entering power distribution cabinet.
When the photovoltaic power generation system is initially installed, a professional photovoltaic system installer can ensure that the ammeter is correctly wired when in installation. Fig. 2 is a block diagram of connection of two-phase inverter electric meters, in which three-phase electric meters or two-phase dedicated electric meters are generally used, and fig. 2 is an example of three-phase electric meters. 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 the household power grid, and two CT positive directions of ammeter current sampling penetrate through the L1 line and the L2 line. However, when the household power distribution cabinet is maintained in the later period, as maintenance workers are not required to be professionals, the voltage wiring or the current measurement direction corresponding to the ammeter is likely to be reversely connected, and particularly the reverse connection in the current direction is easy to occur, and once the reverse connection affects the functions of zero power feed network, power scheduling and the like of the photovoltaic power generation system.
Aiming at the problem that the efficiency is lower due to the fact that the wiring of the ammeter is checked manually in the related art, no effective solution is proposed at present.
Disclosure of Invention
The main object of the present application is to provide a method and apparatus for inspecting a wiring of an electric meter, a processor and an electronic device, so as to solve the problem that in the related art, the wiring of the electric meter is inspected manually, resulting in lower efficiency.
To achieve the above object, according to one aspect of the present application, there is provided a method of inspecting an ammeter wiring. The method for checking the ammeter wiring is applied to a photovoltaic power generation system, and the photovoltaic power generation system at least comprises: two-phase dc-to-ac converter, photovoltaic module cluster, system control ware and switch board of registering one's residence, the target ammeter is connected in the switch board of registering one's residence includes: under the condition that 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, acquiring a first active power and a first voltage value fed back by an L1 phase of the target ammeter 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 ammeter to obtain an L2 initial data set, so as to determine whether the electric power meets a second preset requirement or not 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; under the condition that the power consumption meets a second preset requirement, determining whether a voltage sampling line of the target ammeter is correctly wired according to the L1 initial data set and the L2 initial data set, and adjusting the generated 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; acquiring active power and voltage values fed back by an L1 phase of the target ammeter under the regulated generated power 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 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 at 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 under the condition that the working mode of the two-phase inverter is a second working mode, and checking 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 amplitude and 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, misphase 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 power generation of the two-phase inverter; reducing the power generated by the two-phase inverter to a first power, and judging whether the power generated by the two-phase inverter meets the first preset requirement under the condition of the first power; if the generated power of the two-phase inverter does not meet the first preset requirement, the generated power of the two-phase inverter is reduced to the second generated power until the generated power of the two-phase inverter meets the first preset requirement, and the corresponding first target generated power when the generated power of the two-phase inverter meets the first preset requirement is recorded.
Further, 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, and 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, so as to determine whether the power consumption meets a second preset requirement through the L1 initial data set and the L2 initial data set includes: collecting the first active power and the first voltage value fed back by the L1 phase of the target ammeter for N times at a first time interval to obtain the L1 initial data set; collecting the second active power and the second voltage value fed back by the L2 phase of the target ammeter for N times 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 in 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 in 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 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, under the condition that the power consumption meets a second preset requirement, determining whether the voltage sampling line of the target ammeter 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.
Further, when the voltage sampling line is wired correctly, 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 power generation power and the first target power generation power to obtain a power generation 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 generated power difference value is larger than the first target value, the generated power of the two-phase inverter is increased to the initial generated power, and after the generated power of the two-phase inverter is determined to meet a third preset requirement, the current generated power I of the two-phase inverter is obtained; calculating a difference value between the second maximum value and the second minimum value to obtain a second difference value; and calculating a second target value according to the first target value, the first difference value and the second difference value, and taking the current power generation power as the second target power generation power if the current power generation power is greater than or equal to the second target value.
Further, the method further comprises: and if the current power is smaller than the second target value, reducing the power of the two-phase inverter to a third target value, and acquiring the third target power of the two-phase inverter after determining that the power of the two-phase inverter meets the third preset requirement, wherein the third target value is calculated by the first target power, the first difference value and the second difference value.
Further, under the regulated generated power, 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 acquiring 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 includes: collecting N times of active power fed back by the L1 phase and the active power fed back by the L2 phase of the target ammeter at the first time interval under the second target generated 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 collecting the active power fed back by the L1 phase and the active power fed back by the L2 phase of the target ammeter 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; the first data set and the third data set are used as the first L1 target data set, and the second data set and the fourth data set are used as the first L2 target data set.
Further, under the regulated generated power, 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 acquiring 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 includes: collecting N times of active power fed back by the L1 phase and the L2 phase of the target ammeter at the first time interval under the third target generated 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; raising the power generation power of the two-phase inverter to the second target power generation power, and collecting the active power fed back by the L1 phase and the active power fed back by the L2 phase of the target ammeter 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; the first data set and the third data set are used as the first L1 target data set, and the second data set and the fourth data set are used as the first L2 target data set.
Further, verifying 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 located at 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 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; calculating the difference between the second average value and the fifth average value to obtain a fifth difference value, and calculating the difference between the second average value and the sixth average value to obtain a sixth difference value; and 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, the current sampling line is not located on the zero line, wherein the fourth target value is calculated by the first target luminous power, the second target luminous power, the first difference value and the second difference value.
Further, if the current sampling line is not located on the zero line, when the working mode of the two-phase inverter is the second working mode, obtaining the second L1 target data set and the second L2 target data set includes: if the current sampling line is not located on the 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 regulated generated power, acquiring the active power fed back by the L1 phase of the target ammeter to obtain the second L1 target data set, and acquiring the active power fed back by the L2 phase of the target ammeter to obtain the second L2 target data set.
Further, 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 value to obtain a first numerical value; if the first value is greater than the first target value, the power generation of the L1 phase of the two-phase inverter is increased from a first power generation to a second power generation, and the power generation of the L2 phase of the two-phase inverter is maintained to be the first power generation, wherein the first power generation is calculated from the first target power generation, and the second power generation is calculated from an initial power generation; after determining that the generated power of the two-phase inverter meets the third preset requirement, acquiring the current generated power II of the two-phase inverter; and if the current power generation power II is larger than or equal to a fifth target value, taking the current power generation power II as fourth target power generation power, wherein the fifth target value is calculated by the first target power generation power and the first target value.
Further, the method further comprises: and if the current power generation power II is smaller than the fifth target value, reducing the power generation power of the two-phase inverter to a sixth target value, and acquiring the fifth target power generation power of the two-phase inverter after determining that the power generation power of the two-phase inverter meets the third preset requirement, wherein the sixth target value is calculated by the first target power generation power and the first difference value.
Further, 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, and obtaining a checking result 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 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 the checking result.
Further, checking 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, and obtaining the checking result includes: if the first absolute value and the second absolute value meet a first preset condition, the checking result is miswiring phase; if the seventh difference value, the first absolute value, the eighth difference value and the second absolute value meet a second preset condition, the checking result is reverse wiring; if the seventh difference value, the first absolute value, the eighth difference value and the second absolute value meet a third preset condition, the test result is that the wiring is correct; and if the seventh difference value, the first absolute value, the eighth difference value and the second absolute value continuously meet a fourth preset condition three times, 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 an inspection apparatus for an ammeter wiring. The device comprises: 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 ammeter 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 ammeter 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 generated power of the two-phase inverter meets a first preset requirement, so as to determine whether the power consumption meets a second preset requirement or not 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; the first determining unit is used for determining whether a voltage sampling line of the target ammeter is correctly wired according to the L1 initial data set and the L2 initial data set under the condition that the power consumption meets a second preset requirement, and adjusting the generated 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 an active power and a voltage value fed back by an L1 phase of the target ammeter under the regulated generated power to obtain a first L1 target data set and acquiring an active power and a voltage value fed back by an L2 phase of the target ammeter to obtain a first L2 target data set, and checking 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 at a zero line; the testing unit is configured to obtain a second L1 target data set and a second L2 target data set when the current sampling line is not located on the zero line and the working mode of the two-phase inverter is a second working mode, and test 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 test result, where 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 test result is one of the following: correct wiring, reverse wiring, misphase wiring and failed verification.
Further, the apparatus further comprises: the setting unit is used for setting the working model of the two-phase inverter in the first working mode before collecting a first active power and a first voltage value fed back by the L1 phase of the target ammeter and a second active power and a second voltage value fed back by the L2 phase of the target ammeter, and determining the initial power generation power of the two-phase inverter; a first judging unit configured to reduce the generated power of the two-phase inverter to a first generated power, and judge whether the generated power of the two-phase inverter meets the first preset requirement in the case of the first generated power; and the processing unit is used for reducing the power generation power of the two-phase inverter to the second power generation power if the power generation power of the two-phase inverter does not meet the first preset requirement until the power generation power of the two-phase inverter meets the first preset requirement, and recording the corresponding first target power generation power when the power generation 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 the first active power and the first voltage value fed back by the L1 phase of the target ammeter for N times at a first time interval to obtain the L1 initial data set; the second acquisition module is used for acquiring a second active power and a second voltage value fed back by the L2 phase of the target ammeter for N times 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; the first judging module is used for judging whether the power consumption meets the second preset requirement 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 voltage sampling line of the target ammeter is correctly connected if the first voltage value and the second voltage value are both larger than the first preset value.
Further, the first determining unit further includes: the second calculation module is used for calculating the difference value between the initial power generation and the first target power generation to obtain a power generation difference value, and calculating the 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 value; the rising module is used for rising 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; a fourth calculation module, configured to calculate a difference between the second maximum value and the second minimum value, to obtain a second difference; and the fifth calculation module is used for calculating a second target value according to the first target value, the first difference value and the second difference value, and taking the current generated power as the second target generated power if the current generated power is larger than or equal to the second target value.
Further, the apparatus further comprises: and the first reduction 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 acquiring the third target generated power of the two-phase inverter after determining that the generated power of the two-phase inverter meets the third preset requirement, wherein the third target value is calculated by the first target generated power, the first difference value and the second difference value.
Further, the second acquisition unit includes: the third acquisition module is used for acquiring N times of active power fed back by the L1 phase and the L2 phase of the target ammeter at the first time interval under the second target generated 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 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 ammeter 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; and a third determining module, configured to take the first data set and the third data set as the first L1 target data set, and take the second data set and the fourth data set as the first L2 target data set.
Further, the second acquisition unit further includes: the fifth acquisition module is configured to acquire N times of active power fed back by an L1 phase and active power fed back by an L2 phase of the target electric meter at the first time interval under the third target generated power, 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 sixth acquisition module is used for increasing the power generation power of the two-phase inverter to the second 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 ammeter 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; and a fourth determining module, configured to take the first data set and the third data set as the first L1 target data set, and take the second data set and the fourth data set as the first L2 target data set.
Further, the second acquisition unit includes: a sixth calculation module, configured to calculate an average value of active power in the first data set to obtain a third average value, and calculate an average value of active power in the third data set to obtain a fourth average value; a seventh calculation module, configured to calculate an average value of active power in the second data set to obtain a fifth average value, and calculate an average value of active power in the fourth data set to obtain a sixth average value; an eighth calculation module, configured to calculate a difference between the first average value and the third average value to obtain a third difference value, and calculate a difference between the first average value and the fourth average value to obtain a fourth difference value; a ninth calculation module, configured to calculate a difference between the second average value and the fifth average value to obtain a fifth difference value, and calculate a difference between the second average value and the sixth average value to obtain a sixth difference value; and a third judging module, configured to, 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, where the fourth target value is calculated by the first target light emitting power, the second target light emitting power, the first difference value, and the second difference value, and the current sampling line is not located on the zero line.
Further, the inspection unit includes: the setting module is used for setting the working mode of the two-phase inverter to the second working mode if the current sampling line is not positioned on the 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 ammeter to obtain the second L1 target data set and acquiring the active power fed back by the L2 phase of the target ammeter to obtain the second L2 target data set under the regulated generated power.
Further, the adjustment module includes: the calculating sub-module is used for calculating the second difference value to obtain a first numerical value; a lifting sub-module, configured to lift 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, the L2 phase generated power of the two-phase inverter is maintained to be the first generated power, wherein the first generated power is calculated by the first target generated power, and the second generated power is calculated by initial generated power; the acquisition submodule is used for acquiring the current second power generation power of the two-phase inverter after determining that the power generation power of the two-phase inverter meets the third preset requirement; and the determining submodule is used for taking the current power generation power II as fourth target power generation power if the current power generation power II is larger than or equal to a fifth target value, wherein the fifth target value is calculated by the first target power generation power and the first target value.
Further, the apparatus further comprises: and the second reduction unit is used for reducing the generated power of the two-phase inverter to a sixth target value if the current generated power II is smaller 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 the third preset requirement, wherein the sixth target value is calculated by the first target generated power and the first difference value.
Further, the inspection unit includes: a tenth calculation module, configured to calculate 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; an eleventh calculation module, configured to calculate 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 the checking module is used for checking 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 the checking result.
Further, the inspection module includes: the first determining submodule is used for determining that the test result is a miswiring 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 wiring 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 determining that the wiring 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 failed if the seventh difference value, the first absolute value, the eighth difference value and the second absolute value continuously meet a fourth preset condition three times.
To achieve the above object, according to one aspect of the present application, there is provided a processor for running a program, wherein the program runs to perform the method for checking an ammeter wiring 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 including one or more processors and a memory for storing a verification method for one or more processors to implement the electricity meter wiring of 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 generated power of the two-phase inverter meets a first preset requirement, collecting first active power and a first voltage value fed back by an L1 phase of a target ammeter to obtain an L1 initial data set and collecting second active power and a second voltage value fed back by an L2 phase of the target ammeter to obtain an L2 initial data set, so as to determine whether the power consumption meets a second preset requirement or not 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 two-phase grid-connected current is opposite; under the condition that the power consumption meets a second preset requirement, determining whether a voltage sampling line of the target ammeter is correctly wired according to an L1 initial data set and an L2 initial data set, and adjusting 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; under the regulated power generation power, collecting active power and voltage values fed back by an L1 phase of a target ammeter to obtain a first L1 target data set and collecting 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 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 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: the problems of lower efficiency caused by checking the wiring of the ammeter in a manual mode in the related technology are solved. Judging whether the wiring of the voltage sampling line of the target ammeter is correct or not through the L1 initial data set and the L2 initial data set which are collected in the first working mode, 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, 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 in the second working mode of the two-phase inverter, so that the effect of improving the efficiency is achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application, illustrate and explain the application and are not to be construed as limiting the application. In the drawings:
FIG. 1 is a schematic diagram of a prior art photovoltaic power generation system;
FIG. 2 is a schematic diagram of the correct wiring of an electric meter for a two-phase inverter;
FIG. 3 is a schematic diagram of a three-phase electric meter connected to a two-phase electric network;
FIG. 4 is a flow chart of a method of verifying ammeter wiring provided in accordance with an embodiment of the present application;
FIG. 5 is a flow chart of an alternative method of verifying ammeter wiring provided in accordance with an embodiment of the present application;
FIG. 6 is a schematic diagram of an inspection device for an ammeter wiring 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 present application.
Detailed Description
It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be combined with each other. The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate in order to describe the embodiments of the present application described herein. Furthermore, 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 ammeter usually detects information such as a power grid voltage effective value, a current effective value, active power, electricity taking quantity and the like, and feeds the information back to the inverter through communication. Most of the electric meters are designed based on correct wiring installation, so that several pieces of information fed back by the electric meters are unsigned values, and only the sizes of the electric meters are not positive or negative. Fig. 3 shows a potential relationship diagram of a three-phase electric meter connected to a two-phase electric network. 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 the household power grid, and the two current sampling CT are positioned on the L1 line and the L2 line and pass through in the forward direction.
Misconnection relationships can be divided into three categories: the direction of the current sampling CT of the ammeter is connected in a staggered manner (the voltage is correct), the voltage sampling terminal of the ammeter is connected in a staggered manner (the current is correct), and the direction of the current sampling CT of the ammeter and the voltage sampling terminal are connected in a staggered manner.
Ammeter current sampling CT direction misconnection (voltage correct) example:
the two current sampling CTs are positioned on the L1 line and the L2 line and pass through in the reverse direction, namely the sampled currents are reversed, so that the calculated active power takes a negative value with the active power in a contracted connection mode, and the power taking quantity takes a negative value;
two current sampling CT, one is located in the L1 line and passes through in the forward direction, the other L2 line passes through in the reverse direction-obviously, the L2 line sampling current is reversed to cause the calculated active power to take a negative value with the active power in a contracted connection mode, and the power taking amount is the negative value;
the two current sampling CT's are crossed and positioned on the L1 line and the L2 line, and the sampled currents are crossed results, so that the calculated active power is incorrect and the power consumption is incorrect;
two current sampling CT's, one is located L1 line or L2 line forward, and another is located N line-obviously the current sampling that is located N line obtains total current, and no matter forward and backward, necessarily lead to CT to correspond the active power incorrect, get the electric quantity incorrect of phase calculation.
Examples of the misconnection (correct current) of the voltage sampling terminals of the electricity meter:
ammeter voltage sampling V L1 、V L2 And V N Terminals are respectively connected with L2 line, L1 line and N line of the household power grid-voltage sampling intersection, which inevitably leads to incorrect calculated active power and electricity-taking quantity;
ammeter voltage sampling V L2 、V L3 And V N Terminals are respectively connected with the L2 line, the L1 line and the N line of the household power grid, namely V L terminals are not sampled with voltage, so that the calculated active power and the electricity-taking quantity are zero;
the current sampling CT direction and the voltage sampling terminal of the ammeter are misconnected with each other for example:
two current samples CT are positioned on the L1 line and the L2 line and pass through reversely, and the ammeter voltage samples V L1 、V L2 And V N Terminals are respectively connected with an L2 line, an L1 line and an N line of a household power grid, namely sampled voltages are crossed, and currents are reversed, so that the calculated active power and the calculated power consumption are incorrect;
two current samples CT are positioned on the L1 line and the L2 line and pass through reversely, and the ammeter voltage samples V L2 、V L3 And V N Terminals are respectively connected with L2 line, L1 line and N line of the household power grid, wherein the sampled L1 phase voltage is 0, and the L2 phase current is reversed, which inevitably results in the active power calculated by the two phasesBoth power and power draw are incorrect.
As can be seen from the above three kinds of error connection example analysis, as the three-phase ammeter has only one N line, the three-phase ammeter is usually not error-connected, and L1 and L2 are not easy to be error-connected, but if the three-phase ammeter is connected into L2 and L3, the corresponding phase active power error of the ammeter is inevitably caused, and the three-phase ammeter cannot be used. Compared with voltage wiring, the current CT is easier to reverse and string, if the current CT is only reverse, the sampled active power and the sampled power are only reverse in the same prescribed positive direction, and the inverter can correctly reverse and use the information, so that the current CT can be automatically corrected. Therefore, the correction can be performed based on the current CT reverse direction, and other misconnections are needed to report to an external communication host for rewiring.
Because most of ammeter feedback information is an unsigned value and cannot be checked by using the sign of the unsigned value, but the inverter can be used for actively generating power change to change the current or active power value measured by the ammeter, and the change direction is used for making a check and judgment basis for whether wiring is correct or not. Based on the technical background, an inspection method for the wiring of the ammeter is provided, and the positive direction of the active power of the ammeter is set to be the direction in which the household load takes electricity from the power grid, as shown in fig. 3.
The invention will be described with reference to preferred embodiments, and FIG. 4 is a flowchart of a method for inspecting an electricity meter wiring, as shown in FIG. 4, according to an embodiment of the present application, the method comprising the steps of:
in step S401, under the condition that the working mode of the two-phase inverter is the first working mode and the generated power of the two-phase inverter meets the first preset requirement, collecting the first active power and the first voltage value fed back by the L1 phase of the target ammeter 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 ammeter to obtain an L2 initial data set, so as to determine whether the power consumption meets the 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 the 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 inspecting the ammeter wiring provided by the application is applied to a photovoltaic power generation system, and the photovoltaic power generation system at least comprises: the system comprises a two-phase inverter, a photovoltaic module string, a three-phase ammeter (namely the target ammeter), a system controller and a household power distribution cabinet, wherein the specific connection relations of all parts of a photovoltaic power generation system are as follows:
the direct current input of the two-phase inverter is connected with the photovoltaic module string, and the alternating current output is connected to 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 amplitude of the output two-phase grid-connected current is the same and the phase is opposite; the second working mode is that the inverter works independently according to two phases, the amplitude values of the output two-phase grid-connected currents can be the same or different, and the phases can be opposite or not opposite; the three-phase ammeter is connected to the household power distribution cabinet and is used for testing 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 checking instruction of the external communication host to check the ammeter connection mode, feeding back a checking result to the external communication host, and then executing correction of the ammeter connection mode according to the checking confirmation instruction of the external communication host; external communication host implementations include cell phone apps, near-end embedded web, far-end web, etc.
When the wiring of the target ammeter is checked, the working mode of the two-phase inverter is first working mode, and in 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 or not, and the purpose of this step is to prepare for the follow-up inverter power lifting to verify the influence on the ammeter measured power. For the time Tth0 for continuous stable output, 30s, 1min, etc. can be selected, and the time interval is required to be 2 times or more than the sampling time interval of the ammeter.
Under the condition that 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, collecting a first active power and a first voltage value fed back by an L1 phase of a target ammeter to obtain an L1 initial data set, collecting a second active power and a second voltage value fed back by an L2 phase of the target ammeter to obtain an L2 initial data set, and judging the power by utilizing the first active power in the L1 initial data set and the second active power in the L2 initial data set to judge whether the power meets a second preset requirement. And recording that the maximum active power values in the two-phase initial data set are PgmaxL1 and PgmaxL2, the minimum active power values are PgminL1 and PgminL2, and the average values of all active power are Pgavel1 and Pgavel2 respectively. If PmaxLi-PminLi < = pavellix m, where i=1, 2, it is stated that the electric power satisfies the second preset requirement.
The power consumption may be determined by the current values of the L1 phase and L2 phase of the target ammeter fed back.
Step S402, determining whether a voltage sampling line of the target ammeter is correctly wired according to the L1 initial data set and the L2 initial data set under the condition that the power consumption meets a second preset requirement, and adjusting the generated 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.
Specifically, when it is determined that the power consumption meets the second preset requirement, determining whether the connection of the voltage sampling line (CT) of the target ammeter is wrong according to the first voltage value in the L1 initial data set and the second voltage value in the L2 initial data set, if both the first voltage value and the second voltage value are greater than Vth0, indicating that the voltage sampling line has no wrong phase, i.e., the voltage test terminal V L1 And V L2 Access to the power grid, voltage test terminal V L3 No access to the grid is made.
It should be noted that, when the target ammeter is a three-phase ammeter, it needs to determine whether the above-mentioned voltage sampling line is correctly wired, if the target ammeter adopts a two-phase ammeter, it does not need to make the above-mentioned determination, and directly checks the wiring of the current sampling line of the target ammeter 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 at the zero line.
After the fact that the voltage sampling line is directly connected is determined, the generated power of the two-phase inverter 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 inverter is recovered in the maximum direction preferentially, and if the lifted generated power cannot reach the set power resolution, the power is adjusted in the power reduction direction.
Step S403, under the adjusted generated power, collecting 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, collecting 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, 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 to determine whether the current sampling line is located at the zero line.
Specifically, under the regulated generated power, collecting active power and voltage values fed back by the L1 phase of the target ammeter again to obtain a first L1 target data set; and collecting 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. 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 the zero line.
Step S404, 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 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 the 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, misphase wiring and failed verification.
Specifically, when it is determined that the current sampling line is not located at 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, setting the operation mode of the two-phase inverter to a second operation mode, adjusting the power generated by the two-phase inverter again in the second operation mode, and collecting the active power fed back by the L1 phase and the active power fed back by the L2 phase of the target ammeter again at the adjusted power generated to obtain a second L1 target data set and a second L2 target data set.
And finally, 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.
In summary, whether the wiring of the voltage sampling line of the target ammeter is correct is judged through the L1 initial data set and the L2 initial data set collected in the first working mode, the wiring of the current sampling line of the target ammeter 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 that whether the current sampling line is located at the zero line is determined, and in the second working mode of the two-phase inverter, 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, so that the automatic checking of the wiring of the target ammeter is realized, and the efficiency of the wiring checking of the ammeter is improved.
In the first operation mode, how to determine that the generated power of the two-phase inverter meets the first preset requirement is crucial, so 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 power generation of the two-phase inverter; reducing the power generation power of the two-phase inverter to first power generation, and judging whether the power generation power of the two-phase inverter meets a first preset requirement under the condition of the first power generation power; if the power generation power of the two-phase inverter does not meet the first preset requirement, the power generation power of the two-phase inverter is reduced to the second power generation power until the power generation power of the two-phase inverter meets the first preset requirement, and the corresponding first target power generation power when the power generation power of the two-phase inverter meets the first preset requirement is recorded.
Specifically, the two-phase inverter is controlled to work in a first working mode, namely the two-phase inverter operates according to a single phase, and the two-phase grid-connected currents have the same amplitude and opposite phases. Recording the current generated power as Pinv1 (i.e., the initial generated power), then reducing the generated power to k1 x Pinv1 (i.e., the first generated power), observing whether the generated power can continuously and stably output Tth0 (i.e., whether the first preset requirement is met) or not, if Tth0 is not met, continuing to reduce the output power to k2 x Pinv1 and continuing to observe until the finally reduced generated power ki x Pinv1 (i=1, 2, 3 …) can reach the continuously and stably output Tth0 (i.e., until the generated power of the two-phase inverter meets the first preset requirement, 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 provide for the subsequent inverter power ramp up and down to verify the power impact on the meter measurements. Since the generated power has random fluctuation, it is necessary to reduce the power to a certain power scaling factor and continue to stabilize the output to ensure that the subsequent inspection is possible.
For the time Tth0 for continuous stable output, 30s, 1min, etc. can be selected, and the time interval is required to be 2 times or more than the sampling time interval of the ammeter.
For the power scaling factor ki (i=1, 2,3 …), 98%,95%,90%,85% etc. can be taken, and can be selected according to the rated power, the basic principle is that the rated power is large and the rated power is small, the rated power is small and the factor is large, for example, a 5kW system can be set according to the factor difference of 10% and a 10kW system can be set according to the factor difference of 5% in order to ensure that enough difference can be realized on the ammeter for comparison when the power of the inverter is regulated later.
How to determine whether the electric power meets the second preset requirement is crucial, in the method for checking the electric meter wiring provided in the embodiment of the present application, 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 includes: collecting first active power and a first voltage value fed back by an L1 phase of an N-time target ammeter at a first time interval to obtain an L1 initial data set; collecting second active power and second voltage values fed back by the L2 phase of the N times of target ammeter 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 in 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 in the L2 initial data set to obtain a second maximum value and a second minimum value; and judging whether the power meets a second preset requirement 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 collected N times at the first time Tth1 (i.e., the first time interval) as a time interval, so as to obtain an L1 initial data set. And collecting the first active power and the first voltage value fed back by the L2 phase for N times at a time interval 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 through 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 described above) and PgmaxL2 (i.e., the second maximum value described above), the minimum active power values are calculated as PgminL1 (i.e., the first minimum value described above) and PgminL2 (i.e., the second minimum value described above), and all active power averages are calculated as PgaveL1 (i.e., the first average value described above) and PgaveL2 (i.e., the second average value described above). If PmaxLi-PminLi < = pavelli m, where i=1, 2, the power usage is said to be stable by satisfying the second preset requirement.
Tth1 may be 5s, 10s, 20s, 30s, 1min, etc. N may be 5, 10, etc. The coefficient m can take 1%, 2%, 5% and the like, and the coefficient takes the principle that the coefficient is smaller as the average value of the active power of the ammeter is larger, and the coefficient is larger as the average value is smaller, for example, the average value of 5 feedback values of the active power of the ammeter is 3kW, and the coefficient m can take 5%, namely the difference is 150W; the average value of 5 feedback values of the active power of the ammeter is 8kw, the coefficient m can be 2%, namely the difference is 160W, so that the household electricity consumption of the user can be ensured to be basically stabilized at a smaller fluctuation value, and 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, determining whether the wiring of the voltage sampling line of the target electric meter is correct or not includes: 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; if the first voltage value and the second voltage value are both larger than the first preset value, the fact that the voltage sampling line of the target ammeter is correctly connected is determined.
Specifically, the corresponding first voltage value and second voltage value in the L1 initial data set and the L2 initial data set are read, and if both the first voltage value and the second voltage value are greater than Vth0, no phase error is indicated, namely, the voltage test terminal V L1 And V L2 Access to the power grid, voltage test terminal V L3 The power grid is not connected (namely, the voltage sampling line of the target ammeter is correctly connected); vth0 may be 0V, 5V, or 10V.
If the voltage sampling line of the target ammeter is wrongly wired, the correction needs to be performed manually.
After determining that 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 power generation power and the first target power generation power to obtain a power generation power difference value, and calculating a difference value between a first maximum value and a 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 generated power difference value is larger than the first target value, the generated power of the two-phase inverter is increased to the initial generated power, and after the generated power of the two-phase inverter is determined to meet the third preset requirement, the current generated power I of the two-phase inverter is obtained; calculating a difference value between the second maximum value and the second minimum value to obtain a second difference value; and calculating a second target value according to the first target value, the first difference value and the second difference value, and taking the current generated power as the second target generated power if the current generated power is larger 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 acquiring 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 calculated by the first target generated power, the first difference value and the second difference value.
Specifically, if Pinv1-ki (PgmaxL 1-PgminL 1) ×n, where the coefficient n may be 1, 1.5, 2, etc., the system controller preferentially controls the inverter to boost from the generated power ki×pinv1 to pinv1, and then detects the generated power of the two-phase inverter and marks Pinv2 (i.e., the current generated power one described above) after the generated power of the two-phase inverter stabilizes (i.e., satisfies the third preset requirement);
it should be noted that, the third preset requirement may be whether the generated power can be continuously and stably output Tth0 for a time, and when the generated power can be continuously and stably output Tth0, that is, the generated power of the two-phase inverter is stable.
The generated power difference is Pinv1-ki, and the first target value is (PgmaxL 1-PgminL 1) n.
If Pinv2> =ki×pinv1+ (PgmaxL 1-PgminL 1) ×n+ (PgmaxL 2-PgminL 2) ×n, it indicates that the two-phase inverter is efficient in boosting power, and Pinv2 is taken as the second target generated power. Otherwise, the two-phase inverter boost power is indicated to be invalid.
The second target value is ki+ (PgmaxL 1-PgminL 1) + (PgmaxL 2-PgminL 2) n.
If pinv2< ki+ (PgmaxL 1-PgminL 1) + (PgmaxL 2-PgminL 2) ×n, it indicates that the two-phase inverter cannot achieve the set power resolution by boosting power, so the operation is not effective.
The generated power is reduced to ki×pinv1- (PgmaxL 1-PgminL 1) ×n- (PgmaxL 2-PgminL 2) ×n (i.e., the third target value described above), and then the generated power of the two-phase inverter is detected after the generated power of the two-phase inverter is stabilized and is denoted as Pinv3 (i.e., the third target generated power described above).
It should be noted that if Pinv1-ki is Pinv1< (PgmaxL 1-PgminL 1) n, the two-phase generated power is again determined, and whether the first preset requirement is satisfied is determined.
In the method for inspecting an ammeter wiring provided in the embodiment of the present application, under the adjusted generated power, 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 acquiring 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 includes: collecting the active power fed back by the L1 phase and the active power fed back by the L2 phase of the N times of target ammeter at a first time interval under the second target generated power to obtain N third active powers and N fourth active powers, wherein 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; reducing the power generation power of the two-phase inverter to a first target power generation power, and collecting the active power fed back by the L1 phase and the active power fed back by the L2 phase of the N times of target ammeter 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, collecting active power fed back by the L1 phase and active power fed back by the L2 phase of the N target electric meters at a first time interval, 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.
In order to prevent the problem that the judgment is affected by intermittent load power taking similar to a refrigerator air conditioner during the inspection, the power generation power of the two-phase inverter needs to be reversely reduced, namely, the power generation power of the two-phase inverter is reduced from Pinv2 to Pinv1. And collecting the active power fed back by the L1 phase and the active power fed back by the L2 phase of the N times of target ammeter again at a first time interval until Pinv1 to obtain a third data set and a fourth data set. Finally, the first data set and the third data set are used as a first L1 target data set, and the second data set and the fourth data set are used as a first L2 target data set.
Under the condition that the two-phase inverter cannot reach the set power resolution by adopting a power lifting mode, 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 acquiring 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 regulated generated power comprises the following steps: collecting active power fed back by the L1 phase and active power fed back by the L2 phase of the N times of target ammeter at a first time interval under the third target generated power to obtain N third active powers and N fourth active powers, wherein 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; raising the power generation power of the two-phase inverter to a second target power generation power, and collecting the active power fed back by the L1 phase and the active power fed back by the L2 phase of the N times of target ammeter 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, collecting active power fed back by the L1 phase and active power fed back by the L2 phase of the N target electric meters at a first time interval, 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.
In order to prevent the problem that intermittent load power taking similar to a refrigerator air conditioner and the like affects judgment during the inspection, the power generation power of the two-phase inverter needs to be reversely increased, namely, the power generation power of the two-phase inverter is increased from Pinv3 to Pinv2, active power fed back by the L1 phase and active power fed back by the L2 phase of the N target electric meters are collected at a first time interval, and a third data set and a fourth data set are obtained.
Finally, the first data set and the third data set are used as a first L1 target data set, and the second data set and the fourth data set are used as a first L2 target data set.
In the method for checking the connection of the electric meter provided by the embodiment of the application, 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 at the zero line includes: calculating an average value of active power in the first data set to obtain a third average value, and calculating an average value of 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 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; calculating the difference between the second average value and the fifth average value to obtain a fifth difference value, and calculating the difference 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 the fourth target value, the current sampling line is not located on the 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.
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 an average value of active power in the first data set to obtain a third average value, and calculating an average value of 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 either one 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), then it is indicated that the L1 corresponding current sampling line (CT) is not located on the N line. The coefficient c may be 0.01,0.05, …, etc.
Calculating an average of the active power in the second data set to obtain a fifth average, and calculating an average of the active power in the fourth data set to obtain a sixth average. And calculating the difference between the second average value and the fifth average value to obtain a fifth difference value, and calculating the difference between the second average value and the sixth average value to obtain a sixth difference value.
If either one of the fifth difference and the sixth difference is smaller than the fourth target value (c [ Pinv2-ki ] Pinv1- (PgmaxL 1-PgminL 1) N- (PgmaxL 2-PgminL 2) N ]), it indicates that the current sampling line CT corresponding to L2 is not located on the N line. The coefficient c may be 0.01,0.05, …. In other cases, it is indicated that the corresponding phase has a CT on the N line, and if the current sampling line CT is erroneously connected to the N line, it needs to be manually processed.
Through the steps, whether the current sampling line is connected to the N line by mistake can be accurately judged, and the judgment accuracy is improved.
If the current sampling line is not located on the zero line, obtaining the second L1 target data set and the second L2 target data set when the operation mode of the two-phase inverter is the second operation mode includes: if the current sampling line is not positioned on the zero line, setting the working mode of the two-phase inverter as a second working mode; under a 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 regulated generated power, acquiring the active power fed back by the L1 phase of the target ammeter to obtain a second L1 target data set, and acquiring the active power fed back by the L2 phase of the target ammeter to obtain a second L2 target data set.
Under a second working model, adjusting the generated power of the two-phase inverter according to the first active power and the second active power comprises: calculating the second difference value to obtain a first numerical value; if the first value is larger than the first target value, the power generation power of the L1 phase of the two-phase inverter is increased from the first power generation power to the second power generation power, and the power generation power of the L2 phase of the two-phase inverter is maintained to be the first power generation power, wherein the first power generation power is calculated by the first target power generation power, and the second power generation power is calculated by the initial power generation power; after determining that the generated power of the two-phase inverter meets a third preset requirement, acquiring the current generated power II of the two-phase inverter; and if the current power generation power II is greater than or equal to a fifth target value, taking the current power generation power II as fourth target power generation power, wherein the fifth target value is calculated by the first target power generation power and the first target value.
And if the current power generation power II is smaller than the fifth target value, reducing the power generation power of the two-phase inverter to a sixth target value, and acquiring the fifth target power generation power of the two-phase inverter after determining that the power generation power of the two-phase inverter meets a third preset requirement, wherein the sixth target value is calculated by the first target power generation power and the first difference value.
Specifically, the test implementation of the second operation mode connection of the L1 phase is given as an example, and the detailed description is omitted here for the same test implementation of the L2 phase:
if (Pinv 1-ki) Pinv 1)/2 (i.e., the first value) > (PgmaxL 1-PgminL 1) (i.e., the first target value), where the coefficient N may take 1, 1.5, 2, etc., then controlling the power generated by the L1-N phase of the two-phase inverter to increase from ki Pinv1/2 (i.e., the first power) to Pinv1/2 (i.e., the second power), then detecting the power generated by the two-phase inverter after the power of the two-phase inverter stabilizes (i.e., meets the third preset requirement) and recording as Pinv2L1 (i.e., the current power generated as second power); in this case, the L2-N phase power is still ki×pinv1/2.
If Pinv2L1> =ki×pinv1/2+ (PgmaxL 1-PgminL 1) ×n (i.e. the fifth target value mentioned above), it indicates that the two-phase inverter boost power is effective, taking Pinv2L1 as the fourth target generated power, recording the active power fed back by the N times of target electric meters at the fourth target generated power with the first time Tth1 as the time interval, and taking the collected active power as the L1-phase 1-1 data set; otherwise, indicating that the inverter boost power is invalid;
If Pinv2L1< ki × Pinv1/2+ (PgmaxL 1-PgminL 1) × n, this indicates that the two-phase inverter cannot achieve the set power resolution by boosting power, and therefore the operation is not efficient. And resetting the L1-phase generated power to be ki-Pinv 1/2- (PgmaxL 1-PgminiL 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 and recording as Pinv3L1 (namely the fifth target generated power), recording the active power fed back by the N times of target ammeter at the time interval of the first time Tth1 under the fifth target generated power, and taking the collected active power as an L1-phase 1-1 test data set.
In order to prevent the influence judgment of intermittent load power taking similar to a refrigerator air conditioner and the like during the test and ensure the validity of the test, the above operation needs to be repeated in a reverse way: the former step adopts power increasing operation, and the reverse direction is power reducing operation, so that an L1 phase 1-2 test data set is obtained; the previous step of power-down operation is reversed to power-up operation, thereby obtaining the L1 phase 1 st-2 nd checking data set. The L1 phase 1-1 data set and the L1 phase 1-2 test data set are the second L1 target data set.
It should be noted that, the method for adjusting the L2 phase generated power is the same as the method for L1 phase, and the method for obtaining the second L2 target data set is the same as the method for obtaining the second L1 target data set, which is not described herein.
How to test the wiring of the target ammeter to obtain the test result is crucial, therefore, in the method for testing the wiring of the ammeter provided by the embodiment of the application, the wiring of the target ammeter is tested 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 test result comprises: calculating the difference value and the absolute value of the difference value between the average value of the second L1 target data set and the average value of the L1 initial data set to obtain a seventh difference value and a first absolute value; calculating the difference value and the absolute value of the difference value between the average value of the second L2 target data set and the average value of the L2 initial data set to obtain an eighth difference value and a second absolute value; and checking 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 a checking result.
If the first absolute value and the second absolute value meet the first preset condition, the checking result is miswiring; if the seventh difference value, the first absolute value, the eighth difference value and the second absolute value meet a second preset condition, the checking result is reverse wiring; if the seventh difference value, the first absolute value, the eighth difference value and the second absolute value meet a third preset condition, the test result is that the wiring is correct; if the seventh difference value, the first absolute value, the eighth difference value and the second absolute value continuously meet the fourth preset condition three times, the test result is a test failure.
Specifically, the description will be given by taking the L1 phase as an example:
comparing the L1 phase 1-1 test data set with the L1 initial data set, the L1 phase 1-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 checking result is that the miswiring phase comprises:
if the absolute value of the difference between the active power average value of the 1 st-1 and 1 st-2 nd inspection data sets and the active power average value of the L1 initial data set is smaller than c [ Pinv2L1-ki ] Pinv1/2- (PgmaxL 1-PgminL 1) ×n ], it indicates that the CT of the L1 phase of the ammeter is located in the L2 phase, and the CT connection needs to be reconnected, otherwise, the next judgment is performed. (corresponding to the above-mentioned if the first absolute value and the second absolute value meet the first preset condition, the test result is miswiring).
(2) If the seventh difference value and the first absolute value meet the third preset condition, the checking result shows that the wiring is correct, and the method comprises the following steps:
if the difference between the active power average value of the L1 phase 1-1 test data set and the active power average value of the L1 initial data set is less than 0, and the absolute value of the difference is equal to or more than o [ Pinv2L1-ki ] Pinv1/2- (PgmaxL 1-PgminiL 1) n ], the wiring of the target ammeter is correct. Coefficient o is preferably 0.99,0.98 …, where the losses on the line from the inverter to the meter are mainly considered.
If the difference between the active power average value of the L1 phase 1-2 test data set and the active power average value of the L1 phase initial data set is more than 0, and the absolute value of the difference is more than or equal to o [ Pinv2L1-ki ] Pinv1/2- (PgmaxL 1-PgminiL 1) n ], indicating that the ammeter is correctly wired; (if the seventh difference, the first absolute value, the eighth difference and the second absolute value meet the third preset condition, the test result is that the wiring 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 the method comprises the following steps:
if the difference between the active power average value of the L1 phase 1-1 test data set and the active power average value 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-PgminiL 1) n ], the electric meter wiring is wrong, and voltage or current wiring is reversed.
If the difference between the average value of the active power of the 1 st-2 nd test dataset of the L1 phase minus the average value of the active power of the initial dataset of the L1 phase is less 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-PgminiL 1) n ], the electric meter is wrongly connected, and has a reverse voltage or current connection, namely the electric meter is in a positive direction because the electric meter is taken from the power grid by the rule, the inverter reduces the output power, the electric power is inevitably increased, and the actual data is reduced, so the electric meter connection is reversed. (if the seventh difference, the first absolute value, the eighth difference and the second absolute value meet the second preset condition, the test result is reverse wiring).
(4) If the seventh difference value and the first absolute value continuously meet the fourth preset condition three times, the checking result is that the checking fails, and the checking comprises:
if the difference between the active power average value of the L1-1 test dataset minus the active power average value of the L1 initial dataset is <0, but the absolute value of the difference is < o [ Pinv2L1-ki Pinv1/2- (PgmaxL 1-PgminL 1) ×n ], then this set of data is likely to be affected by household load and is invalid;
if the difference between the active power average value of the L1 phase 1-1 test data set minus the active power average value of the L1 initial data set is greater than or equal to 0, but the absolute value of the difference is < o [ Pinv2L1-ki ] Pinv1/2- (PgmaxL 1-PgminiL 1) n ], indicating that the group of data is likely to be affected by household load and is invalid data;
if the difference between the active power average value of the L1 phase 1-2 test data set minus the active power average value of the L1 phase initial data set is greater than or equal to 0, but the absolute value of the difference is < o [ Pinv2L1-ki ] Pinv1/2- (PgmaxL 1-PgminiL 1) n ], indicating that the group of data is likely to be affected by household load and is invalid data;
if the difference between the active power average value of the L1-2 test dataset minus the active power average value of the L1 initial dataset is <0, but the absolute value of the difference is < o [ Pinv2L1-ki Pinv1/2- (PgmaxL 1-PgminL 1) ×n ], then this set of data is likely to be affected by household load and is invalid;
If the L1 phase is verified as invalid data and the verification times do not exceed 3 times, re-executing the verification process; if the L1 phase is detected as invalid data and the detection times exceed 3 times, the feedback is that the detection of the L1 phase connection mode of the ammeter fails.
The inspection method of the L2 phase is the same as that of the L1 phase, and will not be described in detail here.
In an alternative embodiment, the test results may be processed in several ways:
the test result (voltage test end is misplaced, CT is positioned on an N line, CT is misplaced, wiring is correct, wiring is reverse or calibration test 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 the feedback is correct, and the ammeter setting is not changed; for reverse wiring, the system controller uses the corresponding active power and power consumption as a negative value, and restores the normal power generation state of the photovoltaic power generation system in the first working mode; and reporting an external communication host for the failure of the inspection, and then commanding the shutdown of the photovoltaic power generation system by the system controller.
It should be noted that, for the case of the voltage test mistermination, the existence of the CT on the N line, the miswiring of the CT, and the like, manual processing is required.
In an alternative implementation, the wiring verification of the target ammeter may be implemented using a flowchart as shown in fig. 5, and mainly includes the following matters: starting an ammeter connection mode test, and confirming the stability of the generated power, namely judging whether the generated power meets a first preset requirement; confirming the stability of the electric power, namely judging whether the electric power meets a second preset requirement; and confirming whether the ammeter voltage sampling line is connected in a wrong way or not, and under the condition that the ammeter voltage sampling line is not connected in a wrong way, confirming the correctness of the current wiring of the ammeter to obtain a checking result, and finally processing the checking result of the ammeter wiring.
According to the method for checking the ammeter wiring, under the condition that the working mode of the two-phase inverter is the first working mode and the generated 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 ammeter are collected to obtain the L1 initial data set, the second active power and the second voltage value fed back by the L2 phase of the target ammeter are collected to obtain the L2 initial data set, and whether the used 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 the 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; under the condition that the power consumption meets a second preset requirement, determining whether a voltage sampling line of the target ammeter is correctly wired according to an L1 initial data set and an L2 initial data set, and adjusting 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; under the regulated power generation power, collecting active power and voltage values fed back by an L1 phase of a target ammeter to obtain a first L1 target data set and collecting 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 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 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: the problems of lower efficiency caused by checking the wiring of the ammeter in a manual mode in the related technology are solved. Judging whether the wiring of the voltage sampling line of the target ammeter is correct or not through the L1 initial data set and the L2 initial data set which are collected in the first working mode, 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, 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 in the second working mode of the two-phase inverter, so that 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 other than that illustrated herein.
Example 2
The embodiment of the application also provides an inspection device for the ammeter wiring, and the inspection device for the ammeter wiring can be used for executing the inspection method for the ammeter wiring. The following describes an inspection device for an ammeter wiring provided in an embodiment of the present application.
Fig. 6 is a schematic diagram of an inspection device for an ammeter 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 collection unit 601 is configured to collect a first active power and a first voltage value fed back by an L1 phase of the target ammeter to obtain an L1 initial data set and collect a second active power and a second voltage value fed back by an L2 phase of the target ammeter to obtain an L2 initial data set 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, so as to 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 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;
The first determining unit 602 is configured to determine whether a voltage sampling line of the target ammeter is wired correctly 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 generated power of the two-phase inverter according to the first active power and the second active power when the voltage sampling line is wired correctly;
the second collecting unit 603 is configured to collect, under the adjusted generated power, 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 collect 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 test 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, so as to determine whether the current sampling line is located at the zero line;
the checking unit 604 is configured to obtain a second L1 target data set and a second L2 target data set when the current sampling line is not located on the zero line and the operation mode of the two-phase inverter is the second operation mode, and check 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, where the second operation mode is that the amplitude and the phase of the 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, misphase wiring and failed verification.
According to the electric meter wiring checking device provided by the embodiment of the application, under the condition that the working mode of the two-phase inverter is the first working mode and the generated 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 acquired to obtain the 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 acquired to obtain the L2 initial data set, so that whether the 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 the 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; the first determining unit 602 determines whether a voltage sampling line of the target ammeter is correctly wired according to the L1 initial data set and the L2 initial data set under the condition that the power consumption meets a second preset requirement, and adjusts the generated 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 the active power and the voltage value fed back by the L1 phase of the target ammeter under the regulated generated power to obtain a first L1 target data set and acquires 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, and checks 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; the checking unit 604 is configured to obtain a second L1 target data set and a second L2 target data set when the current sampling line is not located on the zero line and the operation mode of the two-phase inverter is the second operation mode, and check 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, where the second operation mode is that the amplitude and the phase of the two-phase grid-connected current of the two-phase inverter are different, and the checking result is one of the following: the problems of lower efficiency caused by checking the wiring of the ammeter in a manual mode in the related technology are solved. Judging whether the wiring of the voltage sampling line of the target ammeter is correct or not through the L1 initial data set and the L2 initial data set which are collected in the first working mode, 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, 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 in the second working mode of the two-phase inverter, so that the effect of improving the efficiency is achieved.
Optionally, in the inspection device for an ammeter wiring provided in the embodiment of the present application, the device further includes: the setting unit is used for setting the working model of the two-phase inverter in a first working mode before collecting the first active power and the first voltage value fed back by the L1 phase of the target ammeter and the second active power and the second voltage value fed back by the L2 phase of the target ammeter, and determining the initial power generation power of the two-phase inverter; the first judging unit is used for reducing the power generation power of the two-phase inverter to first power generation power and judging whether the power generation power of the two-phase inverter meets a first preset requirement under the condition of the first power generation power; and the processing unit is used for reducing the power generation power of the two-phase inverter to the second power generation power if the power generation power of the two-phase inverter does not meet the first preset requirement, and recording the corresponding first target power generation power when the power generation power of the two-phase inverter meets the first preset requirement.
Optionally, in the inspection device for an ammeter wiring provided in the embodiment of the present application, the first collecting unit includes: the first acquisition module is used for acquiring first active power and a first voltage value fed back by the L1 phase of the N times of target ammeter at a first time interval to obtain an L1 initial data set; the second acquisition module is used for acquiring second active power and second voltage value fed back by the L2 phase of the N times of target ammeter 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 in 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 in the L2 initial data set to obtain a second maximum value and a second minimum value; the first judging module is used for judging whether the power consumption meets a second preset requirement 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 inspection device for an ammeter 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 voltage sampling line of the target ammeter is correctly connected if the first voltage value and the second voltage value are both larger than the first preset value.
Optionally, in the test device for electric meter wiring provided in the embodiment of the present application, the first determining unit further includes: the second calculation module is used for calculating the difference value between the initial power generation and the first target power generation to obtain a power generation difference value, and calculating the 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 the target preset coefficient to obtain a first target value; the rising module is used for rising the generated power of the two-phase inverter to the initial generated power if the generated power difference value is larger than a 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 the difference between the second maximum value and the second minimum value to obtain a second difference; and the fifth calculation module is used for calculating a second target value according to the first target value, the first difference value and the second difference value, and taking the current power generation power as the second target power generation power if the current power generation power is greater than or equal to the second target value.
Optionally, in the inspection device for an ammeter wiring provided in the embodiment of the present application, the device further includes: the first reduction 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 acquiring 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 calculated by the first target generated power, the first difference value and the second difference value.
Optionally, in the inspection device for an ammeter wiring provided in the embodiment of the present application, the second collecting unit includes: the third acquisition module is used for acquiring the active power fed back by the L1 phase and the active power fed back by the L2 phase of the N times of target ammeter at a first time interval under the second target generated 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 the active power fed back by the L1 phase and the active power fed back by the L2 phase of the N times of target ammeter at a first time interval under the first target power generation power to obtain a third data set and a fourth data set; and the third determining module is used for taking the first data set and the third data set as a first L1 target data set and taking the second data set and the fourth data set as a first L2 target data set.
Optionally, in the inspection device for an ammeter wiring provided in the embodiment of the present application, the second collecting unit further includes: the fifth acquisition module is used for acquiring the active power fed back by the L1 phase and the active power fed back by the L2 phase of the N times of target ammeter at a first time interval under the third target generated 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 the second 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 N times of target ammeter at a first time interval under the first target power generation power to obtain a third data set and a fourth data set; and the fourth determining module is used for taking the first data set and the third data set as a first L1 target data set and taking the second data set and the fourth data set as a first L2 target data set.
Optionally, in the inspection device for an ammeter wiring provided in the embodiment of the present application, the second collecting unit includes: a sixth calculation module, configured to calculate an average value of active power in the first data set to obtain a third average value, and calculate an average value of active power in the third data set to obtain a fourth average value; a seventh calculation module, configured to calculate an average value of active power in the second data set to obtain a fifth average value, and calculate an average value of active power in the fourth data set to obtain a sixth average value; an eighth calculation module, configured to calculate a difference between the first average value and the third average value to obtain a third difference value, and calculate a difference between the first average value and the fourth average value to obtain a fourth difference value; a ninth calculation module, configured to calculate a difference between the second average value and the fifth average value to obtain a fifth difference value, and calculate a difference between the second average value and the sixth average value to obtain a sixth difference value; and the third judging module is used for judging that 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, the current sampling line is not positioned on the zero line, wherein the fourth target value is calculated by the first target luminous power, the second target luminous power, the first difference value and the second difference value.
Optionally, in the inspection device for an ammeter wiring provided in the embodiment of the present application, the inspection 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 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 ammeter to obtain a second L1 target data set and acquiring the active power fed back by the L2 phase of the target ammeter to obtain a second L2 target data set under the regulated generated power.
Optionally, in the inspection device for an ammeter wiring provided in the embodiment of the present application, the adjusting module includes: the calculating sub-module is used for calculating the second difference value to obtain a first numerical value; the lifting sub-module is used for lifting the power generation power of the L1 phase of the two-phase inverter from the first power generation power to the second power generation power if the first value is larger than the first target value, and maintaining the power generation power of the L2 phase of the two-phase inverter to be the first power generation power, wherein the first power generation power is calculated by the first target power generation power, and the second power generation power is calculated by the initial power generation power; the acquisition submodule is used for acquiring the current second power generation power of the two-phase inverter after determining that the power generation power of the two-phase inverter meets a third preset requirement; and the determining submodule is used for taking the current power generation power II as fourth target power generation power if the current power generation power II is larger than or equal to a fifth target value, wherein the fifth target value is calculated by the first target power generation power and the first target value.
Optionally, in the inspection device for an ammeter wiring provided in the embodiment of the present application, the device further includes: and the second reduction unit is used for reducing the generated power of the two-phase inverter to a sixth target value if the current generated power II is smaller 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 calculated by the first target generated power and the first difference value.
Optionally, in the inspection device for an ammeter wiring provided in the embodiment of the present application, the inspection unit includes: a tenth calculation module, configured to calculate 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; an eleventh calculation module, configured to calculate 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 the checking module is used for checking 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 a checking result.
Optionally, in the test device for electric meter wiring provided in the embodiment of the present application, the test module includes: the first determining submodule is used for checking that the result is miswiring phase if the first absolute value and the second absolute value meet a first preset condition; the second determining submodule is used for checking that the wiring 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 wiring 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 failed if the seventh difference value, the first absolute value, the eighth difference value and the second absolute value continuously meet the fourth preset condition three times.
The checking device for the ammeter wiring comprises a processor and a memory, wherein the first acquisition unit 601, the first determining unit 602, the second acquisition unit 603, the checking unit 604 and the like are all stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor includes a kernel, and the kernel fetches the corresponding program unit from the memory. The kernel can be provided with one or more, and the check on the ammeter wiring is realized by adjusting kernel parameters.
The memory may include volatile memory, random Access Memory (RAM), and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), among other forms in computer readable media, the memory including at least one memory chip.
Example 3
The embodiment of the invention provides a processor which is used for running a program, wherein the program runs to execute the method for checking the ammeter wiring.
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 when the processor executes the program, the following steps are implemented: under the condition that 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, acquiring a first active power and a first voltage value fed back by an L1 phase of the target ammeter 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 ammeter to obtain an L2 initial data set, so as to determine whether the electric power meets a second preset requirement or not 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; under the condition that the power consumption meets a second preset requirement, determining whether a voltage sampling line of the target ammeter is correctly wired according to the L1 initial data set and the L2 initial data set, and adjusting the generated 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; acquiring active power and voltage values fed back by an L1 phase of the target ammeter under the regulated generated power 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 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 at 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 under the condition that the working mode of the two-phase inverter is a second working mode, and checking 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 amplitude and 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, misphase 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 power generation of the two-phase inverter; reducing the power generated by the two-phase inverter to a first power, and judging whether the power generated by the two-phase inverter meets the first preset requirement under the condition of the first power; if the generated power of the two-phase inverter does not meet the first preset requirement, the generated power of the two-phase inverter is reduced to the second generated power until the generated power of the two-phase inverter meets the first preset requirement, and the corresponding first target generated power when the generated power of the two-phase inverter meets the first preset requirement is recorded.
Optionally, 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 power consumption meets a second preset requirement through the L1 initial data set and the L2 initial data set includes: collecting the first active power and the first voltage value fed back by the L1 phase of the target ammeter for N times at a first time interval to obtain the L1 initial data set; collecting the second active power and the second voltage value fed back by the L2 phase of the target ammeter for N times 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 in 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 in 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 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 case that the power consumption meets a second preset requirement, determining whether the voltage sampling line of the target ammeter 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 wired correctly, 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 power generation power and the first target power generation power to obtain a power generation 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 generated power difference value is larger than the first target value, the generated power of the two-phase inverter is increased to the initial generated power, and after the generated power of the two-phase inverter is determined to meet a third preset requirement, the current generated power I of the two-phase inverter is obtained; calculating a difference value between the second maximum value and the second minimum value to obtain a second difference value; and calculating a second target value according to the first target value, the first difference value and the second difference value, and taking the current power generation power as the second target power generation power if the current power generation power is greater than or equal to the second target value.
Optionally, the method further comprises: and if the current power is smaller than the second target value, reducing the power of the two-phase inverter to a third target value, and acquiring the third target power of the two-phase inverter after determining that the power of the two-phase inverter meets the third preset requirement, wherein the third target value is calculated by the first target power, the first difference value and the second difference value.
Optionally, under the adjusted generated power, 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 acquiring 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 includes: collecting N times of active power fed back by the L1 phase and the active power fed back by the L2 phase of the target ammeter at the first time interval under the second target generated 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 collecting the active power fed back by the L1 phase and the active power fed back by the L2 phase of the target ammeter 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; the first data set and the third data set are used as the first L1 target data set, and the second data set and the fourth data set are used as the first L2 target data set.
Optionally, under the adjusted generated power, 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 acquiring 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 includes: collecting N times of active power fed back by the L1 phase and the L2 phase of the target ammeter at the first time interval under the third target generated 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; raising the power generation power of the two-phase inverter to the second target power generation power, and collecting the active power fed back by the L1 phase and the active power fed back by the L2 phase of the target ammeter 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; the first data set and the third data set are used as the first L1 target data set, and the second data set and the fourth data set are used as the first L2 target data set.
Optionally, 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 located at 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 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; calculating the difference between the second average value and the fifth average value to obtain a fifth difference value, and calculating the difference between the second average value and the sixth average value to obtain a sixth difference value; and 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, the current sampling line is not located on the zero line, wherein the fourth target value is calculated by the first target luminous power, the second target luminous power, the first difference value and the second difference value.
Optionally, if the current sampling line is not located on the zero line, acquiring 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 includes: if the current sampling line is not located on the 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 regulated generated power, acquiring the active power fed back by the L1 phase of the target ammeter to obtain the second L1 target data set, and acquiring the active power fed back by the L2 phase of the target ammeter 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 value to obtain a first numerical value; if the first value is greater than the first target value, the power generation of the L1 phase of the two-phase inverter is increased from a first power generation to a second power generation, and the power generation of the L2 phase of the two-phase inverter is maintained to be the first power generation, wherein the first power generation is calculated from the first target power generation, and the second power generation is calculated from an initial power generation; after determining that the generated power of the two-phase inverter meets the third preset requirement, acquiring the current generated power II of the two-phase inverter; and if the current power generation power II is larger than or equal to a fifth target value, taking the current power generation power II as fourth target power generation power, wherein the fifth target value is calculated by the first target power generation power and the first target value.
Optionally, the method further comprises: and if the current power generation power II is smaller than the fifth target value, reducing the power generation power of the two-phase inverter to a sixth target value, and acquiring the fifth target power generation power of the two-phase inverter after determining that the power generation power of the two-phase inverter meets the third preset requirement, wherein the sixth target value is calculated by the first target power generation power and the first difference value.
Optionally, 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, and obtaining a checking result 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 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 the checking result.
Optionally, checking 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, and obtaining the checking result includes: if the first absolute value and the second absolute value meet a first preset condition, the checking result is miswiring phase; if the seventh difference value, the first absolute value, the eighth difference value and the second absolute value meet a second preset condition, the checking result is reverse wiring; if the seventh difference value, the first absolute value, the eighth difference value and the second absolute value meet a third preset condition, the test result is that the wiring is correct; and if the seventh difference value, the first absolute value, the eighth difference value and the second absolute value continuously meet a fourth preset condition three times, the test result is a test failure.
The device herein may be a server, PC, PAD, cell phone, etc.
The present application also provides a computer program product adapted to perform, when executed on a data processing device, a program initialized with the method steps of: under the condition that 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, acquiring a first active power and a first voltage value fed back by an L1 phase of the target ammeter 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 ammeter to obtain an L2 initial data set, so as to determine whether the electric power meets a second preset requirement or not 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; under the condition that the power consumption meets a second preset requirement, determining whether a voltage sampling line of the target ammeter is correctly wired according to the L1 initial data set and the L2 initial data set, and adjusting the generated 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; acquiring active power and voltage values fed back by an L1 phase of the target ammeter under the regulated generated power 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 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 at 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 under the condition that the working mode of the two-phase inverter is a second working mode, and checking 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 amplitude and 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, misphase 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 power generation of the two-phase inverter; reducing the power generated by the two-phase inverter to a first power, and judging whether the power generated by the two-phase inverter meets the first preset requirement under the condition of the first power; if the generated power of the two-phase inverter does not meet the first preset requirement, the generated power of the two-phase inverter is reduced to the second generated power until the generated power of the two-phase inverter meets the first preset requirement, and the corresponding first target generated power when the generated power of the two-phase inverter meets the first preset requirement is recorded.
Optionally, 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 power consumption meets a second preset requirement through the L1 initial data set and the L2 initial data set includes: collecting the first active power and the first voltage value fed back by the L1 phase of the target ammeter for N times at a first time interval to obtain the L1 initial data set; collecting the second active power and the second voltage value fed back by the L2 phase of the target ammeter for N times 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 in 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 in 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 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 case that the power consumption meets a second preset requirement, determining whether the voltage sampling line of the target ammeter 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 wired correctly, 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 power generation power and the first target power generation power to obtain a power generation 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 generated power difference value is larger than the first target value, the generated power of the two-phase inverter is increased to the initial generated power, and after the generated power of the two-phase inverter is determined to meet a third preset requirement, the current generated power I of the two-phase inverter is obtained; calculating a difference value between the second maximum value and the second minimum value to obtain a second difference value; and calculating a second target value according to the first target value, the first difference value and the second difference value, and taking the current power generation power as the second target power generation power if the current power generation power is greater than or equal to the second target value.
Optionally, the method further comprises: and if the current power is smaller than the second target value, reducing the power of the two-phase inverter to a third target value, and acquiring the third target power of the two-phase inverter after determining that the power of the two-phase inverter meets the third preset requirement, wherein the third target value is calculated by the first target power, the first difference value and the second difference value.
Optionally, under the adjusted generated power, 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 acquiring 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 includes: collecting N times of active power fed back by the L1 phase and the active power fed back by the L2 phase of the target ammeter at the first time interval under the second target generated 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 collecting the active power fed back by the L1 phase and the active power fed back by the L2 phase of the target ammeter 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; the first data set and the third data set are used as the first L1 target data set, and the second data set and the fourth data set are used as the first L2 target data set.
Optionally, under the adjusted generated power, 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 acquiring 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 includes: collecting N times of active power fed back by the L1 phase and the L2 phase of the target ammeter at the first time interval under the third target generated 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; raising the power generation power of the two-phase inverter to the second target power generation power, and collecting the active power fed back by the L1 phase and the active power fed back by the L2 phase of the target ammeter 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; the first data set and the third data set are used as the first L1 target data set, and the second data set and the fourth data set are used as the first L2 target data set.
Optionally, 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 located at 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 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; calculating the difference between the second average value and the fifth average value to obtain a fifth difference value, and calculating the difference between the second average value and the sixth average value to obtain a sixth difference value; and 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, the current sampling line is not located on the zero line, wherein the fourth target value is calculated by the first target luminous power, the second target luminous power, the first difference value and the second difference value.
Optionally, if the current sampling line is not located on the zero line, acquiring 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 includes: if the current sampling line is not located on the 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 regulated generated power, acquiring the active power fed back by the L1 phase of the target ammeter to obtain the second L1 target data set, and acquiring the active power fed back by the L2 phase of the target ammeter 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 value to obtain a first numerical value; if the first value is greater than the first target value, the power generation of the L1 phase of the two-phase inverter is increased from a first power generation to a second power generation, and the power generation of the L2 phase of the two-phase inverter is maintained to be the first power generation, wherein the first power generation is calculated from the first target power generation, and the second power generation is calculated from an initial power generation; after determining that the generated power of the two-phase inverter meets the third preset requirement, acquiring the current generated power II of the two-phase inverter; and if the current power generation power II is larger than or equal to a fifth target value, taking the current power generation power II as fourth target power generation power, wherein the fifth target value is calculated by the first target power generation power and the first target value.
Optionally, the method further comprises: and if the current power generation power II is smaller than the fifth target value, reducing the power generation power of the two-phase inverter to a sixth target value, and acquiring the fifth target power generation power of the two-phase inverter after determining that the power generation power of the two-phase inverter meets the third preset requirement, wherein the sixth target value is calculated by the first target power generation power and the first difference value.
Optionally, 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, and obtaining a checking result 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 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 the checking result.
Optionally, checking 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, and obtaining the checking result includes: if the first absolute value and the second absolute value meet a first preset condition, the checking result is miswiring phase; if the seventh difference value, the first absolute value, the eighth difference value and the second absolute value meet a second preset condition, the checking result is reverse wiring; if the seventh difference value, the first absolute value, the eighth difference value and the second absolute value meet a third preset condition, the test result is that the wiring is correct; and if the seventh difference value, the first absolute value, the eighth difference value and the second absolute value continuously meet a fourth preset condition three times, the test result is a test failure.
It will be appreciated by those skilled in the art that 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 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 one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash RAM. 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 storage media for a computer 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 Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape 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. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
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 phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
It will be appreciated by those skilled in the art that 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 foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.

Claims (12)

1. The method for inspecting the ammeter wiring is characterized in that the method for inspecting the ammeter wiring is applied to a photovoltaic power generation system, and the photovoltaic power generation system at least comprises: two-phase dc-to-ac converter, photovoltaic module cluster, system control ware and switch board of registering one's residence, the target ammeter is connected in the switch board of registering one's residence includes:
under the condition that 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, acquiring a first active power and a first voltage value fed back by an L1 phase of the target ammeter 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 ammeter to obtain an L2 initial data set, so as to determine whether the electric power meets a second preset requirement or not 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;
under the condition that the power consumption meets a second preset requirement, determining whether a voltage sampling line of the target ammeter is correctly wired according to the L1 initial data set and the L2 initial data set, and adjusting the generated 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;
Acquiring active power and voltage values fed back by an L1 phase of the target ammeter under the regulated generated power 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 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 at 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 under the condition that the working mode of the two-phase inverter is a second working mode, and checking 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 amplitude and 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, misphase wiring and failed inspection;
Wherein, before collecting the first active power and the first voltage value fed back by the L1 phase of the target ammeter and the second active power and the second voltage value fed back by the L2 phase of the target ammeter, the method further comprises:
setting the working mode of the two-phase inverter in the first working mode, and determining the initial power generation of the two-phase inverter; reducing the power generated by the two-phase inverter to a first power, and judging whether the power generated by the two-phase inverter meets the first preset requirement under the condition of the first power; 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 a first target generated power corresponding to the generated power of the two-phase inverter meeting the first preset requirement, wherein the first preset requirement is that the generated power of the two-phase inverter can stably output for a preset time;
acquiring the first active power and the first voltage value fed back by the L1 phase of the target ammeter to obtain an L1 initial data set, and acquiring the second active power and the second voltage value fed back by the L2 phase of the target ammeter to obtain an L2 initial data set, so as to determine whether the power consumption meets a second preset requirement through the L1 initial data set and the L2 initial data set comprises the following steps:
Collecting the first active power and the first voltage value fed back by the L1 phase of the target ammeter for N times at a first time interval to obtain the L1 initial data set; collecting the second active power and the second voltage value fed back by the L2 phase of the target ammeter for N times 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 in 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 in the L2 initial data set to obtain a second maximum value and a second minimum value; judging whether the electric power meets the second preset requirement 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, wherein the second preset requirement is that the difference between the first maximum value and the first minimum value is smaller than or equal to the product of the first average value and a coefficient m, and the difference between the second maximum value and the second minimum value is smaller than or equal to the product of the second average value and the coefficient m, and the coefficient m is 1% or 2% or 5%;
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 power generation power and the first target power generation power to obtain a power generation 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 generated power difference value is larger than the first target value, the generated power of the two-phase inverter is increased to the initial generated power, and after the generated power of the two-phase inverter is determined to meet a third preset requirement, the current generated power I of the two-phase inverter is obtained; calculating a difference value between the second maximum value and the second minimum value to obtain a second difference value; calculating a second target value according to the first target value, the first difference value and the second difference value, and taking the current power generation power as a second target power generation power if the current power generation power is greater than or equal to the second target value;
Under the regulated generated power, 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 acquiring 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 comprises the following steps:
collecting N times of active power fed back by the L1 phase and the active power fed back by the L2 phase of the target ammeter at the first time interval under the second target generated 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 collecting the active power fed back by the L1 phase and the active power fed back by the L2 phase of the target ammeter 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 taking the second data set and the fourth data set as the first L2 target data set;
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 located at a zero line comprises:
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 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; calculating the difference between the second average value and the fifth average value to obtain a fifth difference value, and calculating the difference between the second average value and the sixth average value to obtain a sixth difference value; and 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, the current sampling line is not located on the zero line, wherein the fourth target value is calculated by the first target power generation, the second target power generation, the first difference value and the second difference value.
2. The method for checking a connection of an electric meter according to claim 1, wherein, in the case where the electric power satisfies a second preset requirement, determining whether the voltage sampling line of the target electric meter is correctly connected 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.
3. The method for testing an electrical meter wiring according to claim 1, further comprising:
and if the current power is smaller than the second target value, reducing the power of the two-phase inverter to a third target value, and acquiring the third target power of the two-phase inverter after determining that the power of the two-phase inverter meets the third preset requirement, wherein the third target value is calculated by the first target power, the first difference value and the second difference value.
4. A method of testing a wiring of an electric meter according to claim 3, wherein collecting the L1 phase fed back active power and voltage value of the target electric meter to obtain a first L1 target data set and collecting the L2 phase fed back active power and voltage value of the target electric meter to obtain a first L2 target data set under the regulated generated power comprises:
collecting N times of active power fed back by the L1 phase and the L2 phase of the target ammeter at the first time interval under the third target generated 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;
raising the power generation power of the two-phase inverter to the second target power generation power, and collecting the active power fed back by the L1 phase and the active power fed back by the L2 phase of the target ammeter 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;
the first data set and the third data set are used as the first L1 target data set, and the second data set and the fourth data set are used as the first L2 target data set.
5. The method of claim 1, wherein if the current sampling line is not located on the zero line, obtaining the second L1 target data set and the second L2 target data set when the operation mode of the two-phase inverter is the second operation mode comprises:
if the current sampling line is not located on the zero line, setting the working mode of the two-phase inverter to be the second working mode;
in the second working mode, the generated power of the two-phase inverter is regulated according to the first active power and the second active power;
and under the regulated generated power, acquiring the active power fed back by the L1 phase of the target ammeter to obtain the second L1 target data set, and acquiring the active power fed back by the L2 phase of the target ammeter to obtain the second L2 target data set.
6. The method of claim 5, wherein in the second mode of operation, adjusting the generated power of the two-phase inverter based on the first active power and the second active power comprises:
calculating the second difference value to obtain a first numerical value;
If the first value is greater than the first target value, the power generation of the L1 phase of the two-phase inverter is increased from a first power generation to a second power generation, and the power generation of the L2 phase of the two-phase inverter is maintained to be the first power generation, wherein the first power generation is calculated from the first target power generation, and the second power generation is calculated from an initial power generation;
after determining that the generated power of the two-phase inverter meets the third preset requirement, acquiring the current generated power II of the two-phase inverter;
and if the current power generation power II is larger than or equal to a fifth target value, taking the current power generation power II as fourth target power generation power, wherein the fifth target value is calculated by the first target power generation power and the first target value.
7. The method of claim 6, further comprising:
and if the current power generation power II is smaller than the fifth target value, reducing the power generation power of the two-phase inverter to a sixth target value, and acquiring the fifth target power generation power of the two-phase inverter after determining that the power generation power of the two-phase inverter meets the third preset requirement, wherein the sixth target value is calculated by the first target power generation power and the first difference value.
8. The method of claim 6, wherein verifying the wiring of the target meter based on the L1 initial dataset, the L2 initial dataset, the second L1 target dataset, and the second L2 target dataset comprises:
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 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 the checking result.
9. The method of claim 8, wherein inspecting the wiring of the target meter based on the seventh difference, the first absolute value, the eighth difference, and the second absolute value, the inspecting comprising:
if the first absolute value and the second absolute value meet a first preset condition, the checking result is miswiring phase;
If the seventh difference value, the first absolute value, the eighth difference value and the second absolute value meet a second preset condition, the checking result is reverse wiring;
if the seventh difference value, the first absolute value, the eighth difference value and the second absolute value meet a third preset condition, the test result is that the wiring is correct;
and if the seventh difference value, the first absolute value, the eighth difference value and the second absolute value continuously meet a fourth preset condition three times, the test result is a test failure.
10. An inspection device for an electricity meter wiring, comprising:
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 ammeter 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 ammeter 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 generated power of the two-phase inverter meets a first preset requirement, so as to determine whether the power consumption meets a second preset requirement or not 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;
The first determining unit is used for determining whether a voltage sampling line of the target ammeter is correctly wired according to the L1 initial data set and the L2 initial data set under the condition that the power consumption meets a second preset requirement, and adjusting the generated 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 an active power and a voltage value fed back by an L1 phase of the target ammeter under the regulated generated power to obtain a first L1 target data set and acquiring an active power and a voltage value fed back by an L2 phase of the target ammeter to obtain a first L2 target data set, and checking 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 at a zero line;
the testing unit is configured to obtain a second L1 target data set and a second L2 target data set when the current sampling line is not located on the zero line and the working mode of the two-phase inverter is a second working mode, and test 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 test result, where 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 test result is one of the following: correct wiring, reverse wiring, misphase wiring and failed inspection;
Wherein the apparatus further comprises: the setting unit is used for setting the working mode of the two-phase inverter in the first working mode before collecting a first active power and a first voltage value fed back by the L1 phase of the target ammeter and a second active power and a second voltage value fed back by the L2 phase of the target ammeter, and determining the initial power generation power of the two-phase inverter; a first judging unit configured to reduce the generated power of the two-phase inverter to a first generated power, and judge whether the generated power of the two-phase inverter meets the first preset requirement in the case of the first generated power; the processing unit is used for reducing the power generation power of the two-phase inverter to second power generation power if the power generation power of the two-phase inverter does not meet the first preset requirement, recording first target power generation corresponding to the power generation power of the two-phase inverter meeting the first preset requirement until the power generation power of the two-phase inverter meets the first preset requirement, wherein the first preset requirement is that the power generation power of the two-phase inverter can stably output preset time;
The first acquisition 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 ammeter for N times at a first time interval to obtain the L1 initial data set; the second acquisition module is used for acquiring a second active power and a second voltage value fed back by the L2 phase of the target ammeter for N times 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; the first judging module is used for judging whether the electric power meets the second preset requirement 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, wherein the second preset requirement is that the difference value between the first maximum value and the first minimum value is smaller than or equal to the product of the first average value and a coefficient m, and the difference value between the second maximum value and the second minimum value is smaller than or equal to the product of the second average value and the coefficient m, and the coefficient m is 1% or 2% or 5%;
The first determination unit further includes: the second calculation module is used for calculating the difference value between the initial power generation and the first target power generation to obtain a power generation difference value, and calculating the 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 value; the rising module is used for rising 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; a fourth calculation module, configured to calculate a difference between the second maximum value and the second minimum value, to obtain a second difference; the fifth calculation module is configured to calculate 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 one is greater than or equal to the second target value, then use the current generated power one as a second target generated power;
The second acquisition unit includes: the third acquisition module is used for acquiring N times of active power fed back by the L1 phase and the L2 phase of the target ammeter at the first time interval under the second target generated 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 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 ammeter 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 take the first data set and the third data set as the first L1 target data set, and take the second data set and the fourth data set as the first L2 target data set;
the second acquisition unit includes: a sixth calculation module, configured to calculate an average value of active power in the first data set to obtain a third average value, and calculate an average value of active power in the third data set to obtain a fourth average value; a seventh calculation module, configured to calculate an average value of active power in the second data set to obtain a fifth average value, and calculate an average value of active power in the fourth data set to obtain a sixth average value; an eighth calculation module, configured to calculate a difference between the first average value and the third average value to obtain a third difference value, and calculate a difference between the first average value and the fourth average value to obtain a fourth difference value; a ninth calculation module, configured to calculate a difference between the second average value and the fifth average value to obtain a fifth difference value, and calculate a difference between the second average value and the sixth average value to obtain a sixth difference value; and the third judging module is used for judging that 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, the current sampling line is not positioned on the zero line, wherein the fourth target value is calculated by the first target power generation, the second target power generation, the first difference value and the second difference value.
11. A processor for running a program, wherein the program runs to perform the method of checking the wiring of an electric meter according to any one of claims 1 to 9.
12. An electronic device comprising one or more processors and a 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 an electrical meter wiring of any of claims 1-9.
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 CN115598566A (en) 2023-01-13
CN115598566B true 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)

Families Citing this family (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
CN117907925B (en) * 2024-03-20 2024-07-12 深圳古瑞瓦特新能源有限公司 Ammeter phase sequence self-adaption method and device, electronic equipment and storage medium

Citations (18)

* 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
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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3063185B1 (en) * 2017-02-20 2019-03-22 Sagemcom Energy & Telecom Sas METHOD FOR VERIFYING WIRING OF A COUNTER
US11585866B2 (en) * 2020-07-07 2023-02-21 Honeywell International Inc. Loss of neutral voltage connection detection

Patent Citations (18)

* 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
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
JP2020051951A (en) * 2018-09-27 2020-04-02 大崎電気工業株式会社 Single-phase three-wire electronic watt-hour 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
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.indian journal of power and river valley development.1973,第23卷全文. *
Xiao Gui-qiao 等.wrong connection quick exclusion method of three-phase meter and three-phase kilowatt-hour meter.High Voltage Apparatus.2011,第47卷(第12期),全文. *
刘克胜.电能表的错误接线检查方式分析.民营科技.2013,全文. *
周晓波 ; .电能表错误接线检查方法及预防措施分析.建材与装饰.2018,(第43期),全文. *

Also Published As

Publication number Publication date
CN115598566A (en) 2023-01-13

Similar Documents

Publication Publication Date Title
CN115598566B (en) Ammeter wiring inspection method and device, processor and electronic equipment
AU2016202891B2 (en) Automatic generation and analysis of solar cell IV curves
US8290745B2 (en) Systems and methods for identifying faulty sensors within a power generation system
AU763844B2 (en) Power converting apparatus, control method therefor, and solar power generation apparatus
US8744791B1 (en) Automatic generation and analysis of solar cell IV curves
US8787052B2 (en) Methods and systems for controlling a power conversion device
CN111082749B (en) Photovoltaic string running state identification method, device and storage medium
US20190383864A1 (en) Volt-var device monitor
US20160131688A1 (en) Determining an orientation of a metering device in an energy generation system
WO2020191663A1 (en) Method and apparatus for detecting electricity consumption behavior, electronic device and storage medium
CN103226373B (en) The method and apparatus relevant with the photovoltaic power generation apparatus of the photovoltaic module comprising series connection
US20170317503A1 (en) Power storage control apparatus, direct-current power system, and controlling method thereof
CN1928571B (en) AC voltage sampling method and system
CN101344565B (en) Current transformer detection method and system
CN106877815A (en) The detection method and device of a kind of photovoltaic group string connection
CN112364941B (en) New energy station frequency characteristic detection method, device and system
CN115112948B (en) Multi-branch electric quantity calibration method and device, intelligent terminal and storage medium
US20150123626A1 (en) Power control apparatus, power control method, and power control program
CN115514023A (en) Calculation and check method for AGC (automatic gain control) regulation capacity of photovoltaic power station
CN104793167A (en) Automatic tracking and analyzing method and automatic tracking and analyzing system for metering automation terminal
CN111781553B (en) System and method for verifying voltage divider
CN115616474A (en) Single-phase electric meter wiring inspection method and device, processor and electronic equipment
CN107451930B (en) Enterprise power load self-checking and adjusting system and method
CN114268141A (en) Energy storage system SOC correction and adjustment method and system
JP2018166370A (en) Power generation state determination device

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

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.

CP03 Change of name, title or address