CN115616474A - Single-phase electric meter wiring inspection method and device, processor and electronic equipment - Google Patents
Single-phase electric meter wiring inspection method and device, processor and electronic equipment Download PDFInfo
- Publication number
- CN115616474A CN115616474A CN202211595599.9A CN202211595599A CN115616474A CN 115616474 A CN115616474 A CN 115616474A CN 202211595599 A CN202211595599 A CN 202211595599A CN 115616474 A CN115616474 A CN 115616474A
- Authority
- CN
- China
- Prior art keywords
- power
- value
- data set
- target
- electric meter
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 69
- 238000007689 inspection Methods 0.000 title claims abstract description 46
- 238000010248 power generation Methods 0.000 claims abstract description 123
- 238000012360 testing method Methods 0.000 claims description 27
- 238000001514 detection method Methods 0.000 claims description 22
- 238000012795 verification Methods 0.000 claims description 14
- 238000005259 measurement Methods 0.000 abstract description 4
- 238000005070 sampling Methods 0.000 description 28
- 238000012545 processing Methods 0.000 description 24
- 230000005611 electricity Effects 0.000 description 20
- 238000010586 diagram Methods 0.000 description 15
- 238000003860 storage Methods 0.000 description 12
- 238000004364 calculation method Methods 0.000 description 11
- 238000004590 computer program Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 8
- 230000008859 change Effects 0.000 description 7
- 238000009826 distribution Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 230000000694 effects Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 101100208381 Caenorhabditis elegans tth-1 gene Proteins 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000009434 installation Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000013112 stability test Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000004146 energy storage Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R35/00—Testing or calibrating of apparatus covered by the other groups of this subclass
- G01R35/04—Testing or calibrating of apparatus covered by the other groups of this subclass of instruments for measuring time integral of power or current
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/50—Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
- G01R31/66—Testing of connections, e.g. of plugs or non-disconnectable joints
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E10/00—Energy generation through renewable energy sources
- Y02E10/50—Photovoltaic [PV] energy
- Y02E10/56—Power conversion systems, e.g. maximum power point trackers
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Supply And Distribution Of Alternating Current (AREA)
Abstract
The application discloses a method and a device for checking wiring of a single-phase electric meter, a processor and electronic equipment, and relates to the technical field of power measurement, wherein the method comprises the following steps: under the condition that the generating power of the single-phase inverter meets a first preset requirement, acquiring first active power fed back by the single-phase electric meter for N times according to a first time interval to obtain an initial data set, and determining whether the power consumption power meets a second preset requirement or not through the initial data set; under the condition that the power consumption meets a second preset requirement, the power generation power of the single-phase inverter is adjusted according to the first active power, and the active power fed back by the single-phase electric meter for N times is collected according to a first time interval under the adjusted power generation power, so that a target data set is obtained; and checking the wiring of the single-phase electric meter according to the initial data set and the target data set to obtain a checking result. Through this application, solved among the correlation technique through artifical mode to the wiring of single-phase ammeter inspection, lead to the problem that efficiency is lower.
Description
Technical Field
The application relates to the technical field of power measurement, in particular to a method and a device for checking the wiring of a single-phase electric meter, a processor and electronic equipment.
Background
With the progress of photovoltaic energy storage technology, more and more family users around the world install light 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 a photovoltaic and a battery, one alternating current grid-connected output port is connected with a household power distribution cabinet, the other alternating current off-grid output port is connected with an important load, and a non-important load is connected with the household power distribution cabinet. In order to realize the measurement and control of the household power supply system, the inverter usually installs the electric meter in the household power distribution cabinet.
When the photovoltaic power generation system is initially installed, a professional photovoltaic system installer can ensure that the wiring of the electric meter is correct during installation. FIG. 2 is a connection line diagram of the single-phase inverter meter, the voltage sampling V of the meter L And V N The terminals are respectively connected with an L line and an N line of a household power grid, and the CT forward direction of the current sampling of the electric meter passes through the L line. However, when the household power distribution cabinet is maintained in the later period, since the maintenance worker is not necessarily a professional, it is possible to connect the voltage connection or the current measurement direction corresponding to the electric meter in a reverse manner, wherein the connection in the current direction is easy to occur in a reverse manner, and once the connection in the reverse manner affects the functions of the zero power feed network, the power scheduling and the like of the photovoltaic power generation system.
Aiming at the problem of low efficiency caused by manual wiring inspection of a single-phase electric meter in the related art, an effective solution is not provided at present.
Disclosure of Invention
The application mainly aims to provide a method and a device for checking the wiring of a single-phase electric meter, a processor and electronic equipment, so as to solve the problem of low efficiency caused by checking the wiring of the single-phase electric meter manually in the related art.
In order to achieve the above object, according to one aspect of the present application, there is provided a method of checking a connection of a single-phase electric meter. The method for checking the wiring of the single-phase electric meter is applied to a photovoltaic power generation system, and the photovoltaic power generation system at least comprises the following steps: single-phase inverter, photovoltaic module cluster, system controller and the switch board of registering one's residence, single-phase ammeter is connected in the switch board of registering one's residence, include: the method comprises the steps of adjusting the generated power of a single-phase inverter to judge whether the generated power of the single-phase inverter meets a first preset requirement, collecting first active power fed back by a single-phase electric meter for N times according to a first time interval under the condition that the generated power of the single-phase inverter meets the first preset requirement to obtain an initial data set, and determining whether the power consumption power meets a second preset requirement according to the initial data set; under the condition that the power consumption power meets a second preset requirement, the power generation power of the single-phase inverter is adjusted according to the first active power, and the active power fed back by the single-phase electric meter is collected for N times according to the first time interval under the adjusted power generation power, so that a target data set is obtained; and checking the wiring of the single-phase electric meter according to the initial data set and the target data set to obtain a checking result, wherein the checking result is one of the following: correct wiring, wrong wiring and failed verification.
Further, adjusting the generated power of the single-phase inverter to determine whether the generated power of the single-phase inverter meets a first preset requirement includes: determining initial generating power of the single-phase inverter; reducing the generating power of the single-phase inverter to a first generating power, and judging whether the generating power of the single-phase inverter meets the first preset requirement or not under the condition of the first generating power; if the generated power of the single-phase inverter does not meet the first preset requirement, the generated power of the single-phase inverter is reduced to second generated power until the generated power of the single-phase inverter meets the first preset requirement, and corresponding first target generated power when the generated power of the single-phase inverter meets the first preset requirement is recorded.
Further, determining whether the power usage satisfies a second predetermined requirement via the initial data set includes: calculating a first active power average value of first active power in the initial data set, and determining a maximum active power value in the initial data set and a minimum active power value in the initial data set; and judging whether the power consumption power meets the second preset requirement or not according to the first active power average value, the active power maximum value and the active power minimum value.
Further, the adjusting the generated power of the single-phase inverter according to the first active power includes: calculating a difference value between the initial generating power and the first target generating power to obtain a generating power difference value, and calculating a difference value between the maximum value of the active power and the minimum value of the active power to obtain an active power difference value; calculating the product of the active power difference value and a target preset coefficient to obtain a first target value; if the generated power difference is larger than the first target value, increasing the generated power of the single-phase inverter to the initial generated power, and obtaining the current generated power of the single-phase inverter after determining that the generated power of the single-phase inverter meets a third preset requirement; and calculating according to the first target value and the generated power difference value to obtain a second target value, and if the current generated power is greater than or equal to the second target value, taking the current generated power as the second target generated power.
Further, the method further comprises: if the current generating power is smaller than the second target value, the generating power of the single-phase inverter is reduced to a third target value, and after the generating power of the single-phase inverter is determined to meet a third preset requirement, the third target generating power of the single-phase inverter is obtained, wherein the third target value is obtained by calculating a first target generating power and a first target value.
Further, collecting active power fed back by the single-phase electric meter for N times at the first time interval under the adjusted generated power, and obtaining a target data set includes: acquiring active power fed back by the single-phase electric meter for N times at the first time interval under the second target generating power to obtain N second active powers, and taking the N second active powers as a first sub data set; reducing the generating power of the single-phase inverter to the first target generating power, and acquiring active power fed back by the single-phase electric meter for N times at the first time interval under the first target generating power to obtain a second sub data set; and merging the first sub data set and the second sub data set to obtain the target data set.
Further, under the adjusted generated power, collecting the active power fed back by the single-phase electric meter for N times at the first time interval, and obtaining a target data set includes: collecting active power fed back by the single-phase electric meter for N times at the first time interval under the third target generating power to obtain N fourth active powers, and taking the N fourth active powers as a first sub data set; increasing the generating power of the single-phase inverter to the second target generating power, and collecting active power fed back by the single-phase electric meter for N times at the first time interval under the second target generating power to obtain a second sub data set; and merging the first sub data set and the second sub data set to obtain the target data set.
Further, the connection of the single-phase electric meter is checked according to the initial data set and the target data set, and the checking result includes: calculating an average value of the active power in the first sub data set to obtain a second active power average value, and calculating an average value of the active power in the second sub data set to obtain a third active power average value; calculating the difference value of the second active power average value and the first active power average value and the absolute value of the difference value to obtain a first average difference value and a first absolute value; calculating a difference value between the third active power average value and the first active power average value and an absolute value of the difference value to obtain a second average difference value and a second absolute value; and determining a test result according to the first average difference value, the first absolute value, the second average difference value and the second absolute value.
Further, determining the test result according to the first average difference value, the first absolute value, the second average difference value, and the second absolute value includes: when the first average difference value, the first absolute value, the second average difference value and the second absolute value meet a first preset condition, the checking result is that the wiring is correct; when the first average difference value, the first absolute value, the second average difference value and the second absolute value meet a second preset condition, the detection result is a wiring error; and when the first average difference value, the first absolute value, the second average difference value and the second absolute value continuously meet any one of third preset conditions for three times, the test result is test failure.
Further, the first preset condition at least includes: the first average difference value and the second average difference value are both smaller than a first preset value, and the first absolute value and the second absolute value are both larger than or equal to a fourth target value, wherein the fourth target data value is obtained by calculating a second target power generation power and a second target value; the second preset condition at least comprises: the first average difference value and the second average difference value are both greater than or equal to the first preset value, and the first absolute value and the second absolute value are both greater than or equal to the fourth target value; the third preset condition at least comprises: the first average difference value and the second average difference value are both smaller than the first preset value, and the first absolute value and the second absolute value are both smaller than the fourth target value; the first average difference value and the second average difference value are both greater than or equal to the first preset value, and the first absolute value and the second absolute value are both smaller than the fourth target value.
Further, after the wiring of the single-phase electric meter is checked according to the initial data set and the target data set, and a checking result is obtained, the method further comprises the following steps: if the checking result is that the wiring is correct, the photovoltaic power generation system is restored to an initial power generation state; if the detection result is that the wiring is wrong, negative values of the active power output by the single-phase electric meter and the electric quantity output by the single-phase electric meter are processed, and the photovoltaic power generation system is restored to an initial power generation state; and if the inspection result is inspection failure, closing the photovoltaic power generation system.
In order to achieve the above object, according to another aspect of the present application, there is provided a device for checking a connection of a single-phase electric meter. The device includes: the judging unit is used for adjusting the generating power of the single-phase inverter to judge whether the generating power of the single-phase inverter meets a first preset requirement, acquiring first active power fed back by the single-phase electric meter for N times according to a first time interval under the condition that the generating power of the single-phase inverter meets the first preset requirement to obtain an initial data set, and determining whether the power consumption power meets a second preset requirement according to the initial data set; the adjusting unit is used for adjusting the generating power of the single-phase inverter according to the first active power under the condition that the power consumption power meets a second preset requirement, and acquiring active power fed back by the single-phase electric meter for N times according to the first time interval under the adjusted generating power to obtain a target data set; the inspection unit is used for inspecting the wiring of the single-phase electric meter according to the initial data set and the target data set to obtain an inspection result, wherein the inspection result is one of the following: correct wiring, wrong wiring and failed verification.
Further, the judging unit includes: the determining module is used for determining the initial generating power of the single-phase inverter; the first judging module is used for reducing the generating power of the single-phase inverter to a first generating power and judging whether the generating power of the single-phase inverter meets the first preset requirement or not under the condition of the first generating power; the first processing module is used for reducing the generating power of the single-phase inverter to second generating power until the generating power of the single-phase inverter meets the first preset requirement if the generating power of the single-phase inverter does not meet the first preset requirement, and recording a corresponding first target generating power when the generating power of the single-phase inverter meets the first preset requirement.
Further, the judging unit further includes: the first calculating module is used for calculating a first active power average value of first active power in the initial data set, and determining a maximum active power value in the initial data set and a minimum active power value in the initial data set; and the second judgment module is used for judging whether the power consumption meets the second preset requirement or not according to the first active power average value, the active power maximum value and the active power minimum value.
Further, the adjusting unit includes: the second calculation module is used for calculating a difference value between the initial generating power and the first target generating power to obtain a generating power difference value, and calculating a difference value between the maximum active power value and the minimum active power value to obtain an active power difference value; the third calculation module is used for calculating the product of the active power difference value and a target preset coefficient to obtain a first target value; the second processing module is used for increasing the generating power of the single-phase inverter to the initial generating power if the generating power difference is larger than the first target value, and acquiring the current generating power of the single-phase inverter after determining that the generating power of the single-phase inverter meets a third preset requirement; and the fourth calculation module is used for calculating according to the first target value and the power generation power difference value to obtain a second target value, and if the current power generation power is larger than or equal to the second target value, taking the current power generation power as the second target power generation power.
Further, the apparatus further comprises: the first processing unit is configured to reduce the generated power of the single-phase inverter to a third target value if the current generated power is smaller than the second target value, and obtain a third target generated power of the single-phase inverter after determining that the generated power of the single-phase inverter meets a third preset requirement, where the third target value is calculated from a first target generated power and a first target value.
Further, the adjusting unit further includes: the first acquisition module is used for acquiring active power fed back by the single-phase electric meter for N times at the first time interval under the second target generating power to obtain N second active powers, and taking the N second active powers as a first subdata set; the second acquisition module is used for reducing the generated power of the single-phase inverter to the first target generated power, and acquiring active power fed back by the single-phase electric meter for N times at the first time interval under the first target generated power to obtain a second sub data set; and the third processing module is used for merging the first sub data set and the second sub data set to obtain the target data set.
Further, the adjusting unit further includes: the third acquisition module is used for acquiring active power fed back by the single-phase electric meter for N times at the first time interval under the third target generating power to obtain N fourth active powers, and taking the N fourth active powers as a first sub data set; the fourth acquisition module is used for increasing the generated power of the single-phase inverter to the second target generated power, and acquiring active power fed back by the single-phase electric meter for N times at the first time interval under the second target generated power to obtain a second sub data set; and the fourth processing module is used for combining the first sub data set and the second sub data set to obtain the target data set.
Further, the inspection unit includes: a fifth calculating module, configured to calculate an average value of the active power in the first sub data set to obtain a second active power average value, and calculate an average value of the active power in the second sub data set to obtain a third active power average value; a sixth calculating module, configured to calculate a difference between the second active power average value and the first active power average value and an absolute value of the difference, so as to obtain a first average difference and a first absolute value; the seventh calculation module is configured to calculate a difference between the third active power average value and the first active power average value and an absolute value of the difference to obtain a second average difference and a second absolute value; and the determining module is used for determining a detection result according to the first average difference value, the first absolute value, the second average difference value and the second absolute value.
Further, determining the test result according to the first average difference value, the first absolute value, the second average difference value, and the second absolute value includes: a third judging module, configured to determine that the connection is correct if the first average difference, the first absolute value, the second average difference, and the second absolute value satisfy a first preset condition; a fourth judging module, configured to determine that the checking result is a wiring error when the first average difference, the first absolute value, the second average difference, and the second absolute value satisfy a second preset condition; and the fifth judging module is used for judging that the test result is test failure when the first average difference value, the first absolute value, the second average difference value and the second absolute value continuously meet any one of third preset conditions for three times.
Further, the first preset condition at least includes: the first average difference value and the second average difference value are both smaller than a first preset value, and the first absolute value and the second absolute value are both larger than or equal to a fourth target value, wherein the fourth target data value is obtained by calculating a second target power generation power and a second target value; the second preset condition at least comprises: the first average difference value and the second average difference value are both greater than or equal to the first preset value, and the first absolute value and the second absolute value are both greater than or equal to the fourth target value; the third preset condition at least comprises the following steps: the first average difference value and the second average difference value are both smaller than the first preset value, and the first absolute value and the second absolute value are both smaller than the fourth target value; the first average difference value and the second average difference value are both greater than or equal to the first preset value, and the first absolute value and the second absolute value are both smaller than the fourth target value.
Further, the apparatus further comprises: the second processing unit is used for checking the wiring of the single-phase electric meter according to the initial data set and the target data set to obtain a checking result, and if the checking result is that the wiring is correct, the photovoltaic power generation system is restored to an initial power generation state; the third processing unit is used for carrying out negative value processing on the active power output by the single-phase electric meter and the electricity taking quantity output by the single-phase electric meter and recovering the photovoltaic power generation system to an initial power generation state if the detection result is that the wiring is wrong; and the fourth processing unit is used for closing the photovoltaic power generation system if the inspection result is inspection failure.
In order to achieve the above object, according to one aspect of the present application, there is provided a processor for executing a program, wherein the program is executed to perform the method for checking the wiring of a single-phase electric meter according to 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 the one or more processors to implement the method for checking the wiring of a single-phase electric meter according to any one of the above aspects.
By the application, the following steps are adopted: the method comprises the steps of adjusting the generating power of a single-phase inverter to judge whether the generating power of the single-phase inverter meets a first preset requirement, collecting first active power fed back by a single-phase electric meter for N times according to a first time interval under the condition that the generating power of the single-phase inverter meets the first preset requirement to obtain an initial data set, and determining whether the power consumption power meets a second preset requirement through the initial data set; under the condition that the power consumption meets a second preset requirement, the power generation power of the single-phase inverter is adjusted according to the first active power, and the active power fed back by the single-phase electric meter for N times is collected according to a first time interval under the adjusted power generation power to obtain a target data set; and checking the wiring of the single-phase electric meter according to the initial data set and the target data set to obtain a checking result, wherein the checking result is one of the following: correct wiring, wiring mistake and check fail, solved among the related art through the artifical mode to the wiring of single-phase ammeter and verify, lead to the problem that efficiency is lower. Under the condition that the power generation power of the single-phase inverter meets a first preset requirement, judging whether the power consumption power meets a second preset requirement through first active power fed back by a single-phase electric meter, under the condition that the power consumption power meets the second preset requirement, adjusting the power generation power of the single-phase inverter according to the first active power, and under the adjusted power generation power, collecting the active power fed back by the single-phase electric meter again to obtain a target data set; and finally, the initial data set and the target data set are used for detecting the wiring of the single-phase electric meter to obtain a detection result, so that the automatic detection of the wiring of the single-phase electric meter is realized, and the effect of improving the efficiency is further achieved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application. In the drawings:
FIG. 1 is a schematic diagram of a photovoltaic power generation system in the prior art;
FIG. 2 is a schematic diagram of the proper wiring of the electric meter for a single phase inverter;
FIG. 3 is a schematic diagram of a single-phase power grid connected to a single-phase electric meter;
FIG. 4 is a flow chart of a method for verifying the wiring of a single-phase electric meter according to an embodiment of the present application;
FIG. 5 is a flow chart of an alternative method of verifying the wiring of a single-phase electric meter according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a device for checking the wiring of a single-phase electric meter according to an embodiment of the present application;
fig. 7 is a schematic diagram of an electronic device provided according to an embodiment of the application.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions of the present application better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. 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 electric meter generally detects information such as a voltage effective value, a current effective value, active power, electricity taking quantity and the like of the power grid and feeds back the information to the inverter through communication. Most of the electric meters are designed based on correct wiring installation, so that a few pieces of information fed back by the electric meters are unsigned values, and only the size is not positive or negative. Fig. 3 shows a potential relationship diagram of a single-phase electric meter power connection network, and results shown when the connection modes are different are as follows:
(1) Ammeter voltage sampling V L And V N The terminals are respectively connected with an L line and an N line of an in-house power grid, the current sampling CT is positioned on the forward direction of the L line and passes through the L line, which is an agreed correct connection mode, and all sampling data are correct;
(2) Ammeter voltage sampling V L And V N The terminal is respectively connected with an L line and an N line of an in-house power grid, a current sampling CT is positioned on the L line and passes in the reverse direction, the current sampling CT is in a wrong connection mode, the active power obtained through calculation is in a negative value with the active power in an appointed connection mode due to the reverse direction of the sampled current, and the power taking amount is in the negative value;
(3) Ammeter voltage sampling V L And V N The terminals are respectively connected with an L line and an N line of an in-house power grid, a current sampling CT is positioned on the positive direction of the N line and passes through the N line, the current sampling CT is in a wrong connection mode, the active power obtained through calculation is in a negative value with the active power in an appointed connection mode due to the reverse direction of the sampled current, and the power taking amount is in the negative value;
(4) Ammeter voltage sampling V L And V N The terminals are respectively connected with an L line and an N line of an in-house power grid, the current sampling CT is positioned on the N line and passes through the N line in a reverse direction, the current sampling CT is equivalent to an agreed correct connection mode, and all sampling data are correct;
(5) Ammeter voltage sampling V L And V N The terminals are respectively connected with an N line and an L line of an in-house power grid, and the current sampling CT is positioned on the L line and penetrates through the L line in the positive directionIn the wrong connection mode, the active power obtained by calculation is a negative value with the active power in the appointed connection mode due to the reversal of the sampled voltage, and the power taking amount is the negative value;
(6) Ammeter voltage sampling V L And V N The terminal is respectively connected with an N line and an L line of an in-house power grid, a current sampling CT is positioned on the L line and passes in a reverse direction, which is equivalent to an agreed correct connection mode, all sampling data are correct, and the sampled voltage and current are in a reverse direction, so that the calculated active power is the same as the active power of the agreed connection mode, the obtained power is the same, and the uploaded effective values of the voltage and the current are unsigned numerical values, so that the influence is avoided;
(7) Ammeter voltage sampling V L And V N The terminals are respectively connected with an N line and an L line of an in-home power grid, a current sampling CT is positioned on the N line and passes in the forward direction, which is equivalent to an agreed correct connection mode, all sampling data are correct, and the sampled voltage and current are in the reverse direction, so that the calculated active power is the same as the active power of the agreed connection mode, the obtained power is the same, and the uploaded effective values of the voltage and the current are unsigned numerical values, so that the influence is avoided;
(8) Ammeter voltage sampling V L And V N The terminal is respectively connected with an N line and an L line of an in-house power grid, a current sampling CT is positioned on the position where the N line passes in the reverse direction, the current sampling CT is in a wrong connection mode, the active power obtained through calculation is in a negative value with the active power in an appointed connection mode due to the reverse direction of the sampled voltage, and the power taking amount is in the negative value at the same time;
from the above analysis, in the connection modes (2), (3), (5) and (8) in the connection mode 8, all the connection modes are wrong connection modes, so that the detected active power and the detected power taking amount are opposite to those corresponding to the appointed mode, and the functions of power scheduling, zero power feed network and the like of the power generation system are influenced.
Obviously, most of the information fed back by the electric meter is unsigned value, so that the information cannot be checked by using the sign of the information, but the inverter can be used for actively generating power change to change the current or active power value measured by the electric meter, and the change direction is used for checking and judging whether the wiring is correct. And setting the positive direction of the active power of the electric meter to take electricity from the power grid for the household load.
The invention is described below by combining preferred implementation steps, and fig. 4 is a flowchart of a method for checking the connection of a single-phase electric meter according to an embodiment of the present application, as shown in fig. 4, the method includes the following steps:
step S401, the power generation power of the single-phase inverter is adjusted to judge whether the power generation power of the single-phase inverter meets a first preset requirement, under the condition that the power generation power of the single-phase inverter meets the first preset requirement, first active power fed back by the single-phase electric meter for N times is collected according to a first time interval to obtain an initial data set, and whether the power consumption power meets a second preset requirement is determined through the initial data set.
The photovoltaic power generation system includes at least: the system comprises a single-phase inverter, a photovoltaic module string, a single-phase electric meter, a system controller and a household power distribution cabinet, wherein the specific connection relation of all the components of the system is as follows: the direct current input of the single-phase inverter is connected with the photovoltaic module string, and the alternating current output of the single-phase inverter is connected to a single-phase power grid through a household power distribution cabinet; the electric meter is connected in the household power distribution cabinet and feeds back feedback information such as voltage, current, active power, power acquisition amount and the like to the single-phase inverter; the system controller is responsible for receiving an ammeter connection mode calibration instruction of the external communication host to calibrate the ammeter connection mode, feeding back a calibration result to the external communication host, and correcting the ammeter connection mode according to a calibration confirmation instruction of the external communication host; the external communication host implementation mode comprises a mobile phone app, a near-end embedded web, a far-end web and the like; the external communication host sends an ammeter connection mode calibration instruction to the system controller; and the system controller starts an ammeter connection mode checking process after receiving an ammeter connection mode checking instruction issued by an external communication host.
And determining whether the generated power of the single-phase inverter meets a first preset requirement, wherein the first preset requirement refers to whether the generated power of the single-phase inverter can continuously and stably output for the Tth0 time, and the purpose of the step is to prepare for the subsequent inverter power increase and decrease to verify the influence on the measured power of the electric meter. The time Tth0 for continuous stable output may be 30s, 1min, etc., and this time interval needs to be 2 times or more greater than the sampling time interval of the electric meter.
Under the condition that the generating power of the single-phase inverter meets a first preset requirement, recording first active power fed back by the single-phase electric meter for N times by taking a first time interval Tth1 as a time interval, obtaining an initial data set used for electric meter connection mode inspection, performing data comparison (current or active power can be selected for comparison), and recording the maximum active power value Pgmax, the minimum active power value Pgmin and the average value of all active power values Pgave in the initial data set. If Pmax-Pmin < = Pave × m, the power utilization stability test is passed (i.e., the second preset requirement is satisfied as described above). Tth1 may take 5s, 10s, 20s, 30s, 1min, etc. N may be 5, 10, etc. The coefficient m can be 1%, 2%, 5% and the like, and the coefficient value is determined according to the principle that the larger the average value of the active power of the electric meter is, the smaller the coefficient is, the larger the average value is, the larger the coefficient is, for example, the average value of 5 feedback values of the active power of the electric meter is 3kW, the coefficient m can be 5%, that is, the difference is 150W; the average value of 5 feedback values of the active power of the electric meter is 8kw, the coefficient m can be 2%, namely the difference is 160W, so that the household electricity consumption of the user is basically stabilized at a small fluctuation value, and a stable electricity consumption environment is provided for power verification.
And S402, under the condition that the power consumption meets a second preset requirement, adjusting the power generation power of the single-phase inverter according to the first active power, and under the adjusted power generation power, acquiring the active power fed back by the single-phase electric meter for N times according to a first time interval to obtain a target data set.
Step S403, checking the connection of the single-phase electric meter according to the initial data set and the target data set to obtain a check result, where the check result is one of the following: correct wiring, wrong wiring, and failed verification.
Specifically, under the condition that the power consumption meets a second preset requirement, namely the power consumption is stable, the generated power of the single-phase inverter is adjusted again according to the first active power, in order to ensure that the photovoltaic power generation system can generate more electric energy, the generated power of the inverter is preferentially restored to the maximum direction, and if the increased generated power cannot reach the set power resolution, the inverter is adjusted to the direction of reducing the power.
And collecting the active power fed back by the single-phase electric meter again under the adjusted generating power to obtain a target data set. And finally, checking the wiring of the single-phase electric meter according to the initial data set and the target data set to obtain a checking result.
In conclusion, the active power value measured by the single-phase electric meter is changed by using the change of the generated power of the single-phase inverter, and the change value and the change direction are used for making a basis for checking and judging whether the wiring is correct, so that the automatic judgment on whether the wiring of the single-phase electric meter is correct or not is realized, the judgment efficiency is improved, and the functions of power scheduling, zero-power feed network and the like of the photovoltaic power generation system are ensured.
How to adjust the generated power of the single-phase inverter to judge whether the generated power of the single-phase inverter meets a first preset requirement is crucial, and the method for checking the wiring of the single-phase electric meter provided by the embodiment of the application comprises the following steps: determining initial generating power of the single-phase inverter; reducing the generating power of the single-phase inverter to a first generating power, and judging whether the generating power of the single-phase inverter meets a first preset requirement or not under the condition of the first generating power; if the generated power of the single-phase inverter does not meet the first preset requirement, the generated power of the single-phase inverter is reduced to the second generated power until the generated power of the single-phase inverter meets the first preset requirement, and a corresponding first target generated power when the generated power of the single-phase inverter meets the first preset requirement is recorded.
Specifically, the current generated power of the single-phase inverter is confirmed to be Pinv1 (corresponding to the initial generated power), a command is issued to reduce the generated power of the single-phase inverter to k1 × Pinv1 (i.e., the first generated power) and observe whether the generated power can continuously and stably output Tth0 time (corresponding to whether the generated power meets the first preset requirement), if the generated power does not reach Tth0, the generated power is continuously reduced to k2 × P1 and observation is continued until the finally reduced generated power ki × Pinv1 (i =1,2,3 \8230;) can reach the continuously and stably output Tth0 time, and the corresponding first target generated power (ki × Pinv 1) when the generated power of the single-phase inverter meets the first preset requirement is recorded.
The purpose of this step is to prepare the meter for subsequent inverter power ramping to verify the effect on the measured power from the meter. Since the generated power of the photovoltaic power generation system has random fluctuation, the power of the photovoltaic power generation system needs to be reduced to a certain power proportionality coefficient and continuously and stably output to ensure that the follow-up verification is feasible.
The time of the continuous stable output Tth0 can be selected from 30s, 1min and the like, and the time interval needs to be more than 2 times of the sampling time interval of the ammeter;
for the power proportional coefficient ki (i =1,2,3 \ 8230;), 98%,95%,90%,85%, etc. can be taken, and can be selected according to the rated power of the power generation system, the basic principle is that the large rated power is small in coefficient difference, the small rated power is large in coefficient difference, for example, a 5kW system can carry out coefficient difference setting according to 10% difference, and a 10kW system can carry out coefficient difference setting according to 5% difference, and the purpose is to ensure that enough difference can be realized on the electric meter for subsequent comparison work when the power of the single-phase inverter is adjusted in the later period.
In the method for checking the wiring of the single-phase electric meter, whether the power consumption meets the second preset requirement is determined by the following steps: calculating a first active power average value of first active power in the initial data set, and determining an active power maximum value in the initial data set and an active power minimum value in the initial data set; and judging whether the power consumption meets a second preset requirement or not according to the first active power average value, the active power maximum value and the active power minimum value.
Specifically, the maximum active power value in the initial data set is calculated to be Pgmax (i.e., the maximum active power value described above), the minimum active power value is calculated to be Pgmin (minimum active power value), and the average value of all active powers is calculated to be Pgave (first average active power value). If Pmax-Pmin < = Pave × m, the power utilization stability test is passed (i.e., the second preset requirement is satisfied as described above). Tth1 may take 5s, 10s, 20s, 30s, 1min, etc. N can be 5 times, 10 times and the like. The coefficient m can be 1%, 2%, 5% and the like, and the coefficient value is determined according to the principle that the larger the average value of the active power of the electric meter is, the smaller the coefficient is, the larger the average value is, the larger the coefficient is, for example, the average value of 5 feedback values of the active power of the electric meter is 3kW, the coefficient m can be 5%, that is, the difference is 150W; the average value of 5 feedback values of the active power of the electric meter is 8kw, the coefficient m can take 2%, namely the difference is 160W-thus the household electricity consumption of the user is basically stabilized at a small fluctuation value, and a stable electricity consumption environment is provided for power verification.
It should be noted that, whether the power consumption meets the second preset requirement may also be determined by the current value fed back by the single-phase electric meter.
In the method for checking the wiring of the single-phase electric meter, the generated power of the single-phase inverter is adjusted by the following steps: calculating a difference value between the initial generating power and a first target generating power to obtain a generating power difference value, and calculating a difference value between the maximum value of the active power and the minimum value of the active power to obtain an active power difference value; calculating the product of the active power difference value and a target preset coefficient to obtain a first target value; if the power generation power difference is larger than the first target value, increasing the power generation power of the single-phase inverter to the initial power generation power, and obtaining the current power generation power of the single-phase inverter after the power generation power of the single-phase inverter meets a third preset requirement; and calculating according to the first target value and the power generation power difference value to obtain a second target value, and if the current power generation power is greater than or equal to the second target value, taking the current power generation power as the second target power generation power.
And if the current generating power is smaller than the second target value, reducing the generating power of the single-phase inverter to a third target value, and obtaining the third target generating power of the single-phase inverter after determining that the generating power of the single-phase inverter meets a third preset requirement, wherein the third target value is obtained by calculating the first target generating power and the first target value.
Specifically, in order to ensure that the photovoltaic power generation system can generate more electric energy, the correctness verification is carried out by preferentially recovering the generated power of the inverter to the maximum direction, and if the improved generated power cannot reach the set power resolution, the power is adjusted to the direction of reducing the power. The embodiments are explained in detail as follows:
if Pinv1-ki × Pinv1> (Pgmax-Pgmin) × n, wherein the coefficient n can be 1, 1.5, 2 and the like, the system controller preferentially controls the single-phase inverter to be increased from the generating power ki × Pinv1 to Pinv1, and then detects the generating power of the inverter and records the generating power as Pinv2 (namely the current generating power) after the power of the single-phase inverter is stable (namely, the third preset requirement is met);
it should be noted that the third preset requirement may be whether the generated power can be continuously and stably output Tth0, and when the generated power can be continuously and stably output Tth0, that is, the generated power of the single-phase inverter is stable.
Note that Pinv1-ki × Pinv1 represents the active power difference (Pgmax-Pgmin) × n represents the first target value.
If Pinv2> = ki x Pinv1+ (Pgmax-Pgmin) × n, it indicates that the boost power of the single-phase inverter is effective, otherwise, it indicates that the boost power of the inverter is ineffective; ki + Pinv1+ (Pgmax-Pgmin) × n are the second target values described above. And if the current generated power is larger than or equal to the second target value, taking the current generated power as the second target generated power (namely, pinv2 is the second target generated power).
If Pinv2< ki × (Pgmax-Pgmin) × n, it indicates that the inverter cannot achieve the set power resolution by means of boosting power, so the operation is invalid. The system controller resets the generated power command to ki × Pinv1- (Pgmax-Pgmin) × n (i.e., the third target value), and then detects the generated power of the inverter after the inverter power is stabilized and records the detected generated power as Pinv3 (i.e., the third target generated power);
in the method for checking the wiring of the single-phase electric meter, provided by the embodiment of the application, under the adjusted generating power, the active power fed back by the single-phase electric meter for N times is collected at a first time interval, and the obtaining of the target data set comprises the following steps: acquiring active power fed back by the single-phase electric meter for N times at a first time interval under a second target generating power to obtain N second active powers, and taking the N second active powers as a first sub data set; reducing the generating power of the single-phase inverter to a first target generating power, and acquiring active power fed back by the single-phase electric meter for N times at a first time interval under the first target generating power to obtain a second sub data set; and merging the first sub data set and the second sub data set to obtain a target data set.
Specifically, under Pinv2, active power fed back by the single-phase electric meter is collected for N times at a first time interval to obtain N second active powers, and the N second active powers are used as a first sub-data set
In order to prevent the problem that intermittent load power taking, such as a refrigerator air conditioner, affects the judgment during the inspection, the generated power of the single-phase inverter needs to be reversely reduced, namely the generated power of the single-phase inverter is reduced from Pinv2 to Pinv1. Then, acquiring active power fed back by the single-phase electric meter for N times at the first time interval from Pinv1 to obtain a second sub data set; and finally, combining the first sub data set and the second sub data set to obtain a target data set.
Under the condition that a single-phase inverter cannot achieve the set power resolution by adopting a power-boosting mode, in the method for testing the wiring of the single-phase electric meter, provided by the embodiment of the application, active power fed back by the single-phase electric meter is collected for N times at a first time interval under the adjusted generating power, and the target data set is obtained by: acquiring active power fed back by the single-phase electric meter for N times at a first time interval under a third target generating power to obtain N fourth active powers, and taking the N fourth active powers as a first subdata set; increasing the generated power of the single-phase inverter to a second target generated power, and acquiring active power fed back by the single-phase electric meter for N times at a first time interval under the second target generated power to obtain a second sub data set; and merging the first sub data set and the second sub data set to obtain a target data set.
Specifically, under Pinv3, active power fed back by the single-phase electric meter for N times is collected at a first time interval, N fourth active powers are obtained, and the N fourth active powers are used as a first sub-data set.
In order to prevent the problem that intermittent load power taking similar to a refrigerator air conditioner and the like affects judgment in the inspection period, the power generation power of the single-phase inverter needs to be reversely increased, namely the power generation power of the single-phase inverter is increased from Pinv3 to Pinv2, active power fed back by the single-phase electric meter for N times is collected at a first time interval, and a second sub data set is obtained; and merging the first sub data set and the second sub data set to obtain a target data set.
How to check the wiring of the single-phase electric meter according to the initial data set and the target data set is crucial to obtain a check result, and therefore, the method for checking the wiring of the single-phase electric meter provided by the embodiment of the application comprises the following steps: calculating the average value of the active power in the first sub data set to obtain a second active power average value, and calculating the average value of the active power in the second sub data set to obtain a third active power average value; calculating the difference value of the second active power average value and the first active power average value and the absolute value of the difference value to obtain a first average difference value and a first absolute value; calculating the difference value of the third active power average value and the first active power average value and the absolute value of the difference value to obtain a second average difference value and a second absolute value; and determining a test result according to the first average difference value, the first absolute value, the second average difference value and the second absolute value.
Determining the test result according to the first average difference, the first absolute value, the second average difference and the second absolute value comprises: when the first average difference value, the first absolute value, the second average difference value and the second absolute value meet a first preset condition, the result is checked to be correct; when the first average difference value, the first absolute value, the second average difference value and the second absolute value meet a second preset condition, the detection result is a wiring error; and when the first average difference value, the first absolute value, the second average difference value and the second absolute value continuously meet any one of third preset conditions for three times, the test result is test failure.
The first preset condition at least comprises the following steps: the first average difference and the second average difference are both smaller than a first preset value, and the first absolute value and the second absolute value are both larger than or equal to a fourth target value, wherein the fourth target data value is obtained by calculating a second target generated power and a second target value; the second preset condition at least comprises: the first average difference value and the second average difference value are both greater than or equal to a first preset value, and the first absolute value and the second absolute value are both greater than or equal to a fourth target value; the third preset condition at least comprises: the first average difference value and the second average difference value are both smaller than a first preset value, and the first absolute value and the second absolute value are both smaller than a fourth target value; the first average difference value and the second average difference value are both larger than or equal to a first preset value, and the first absolute value and the second absolute value are both smaller than a fourth target value.
i. If the difference between the active power average value of the first sub data set and the active power average value of the initial data set is less than 0, and the absolute value of the difference is more than or equal to o [ Pinv2-ki ] Pinv1- (Pgmax-Pgmin) × n ], the wiring of the electricity meter is correct, and the inverter increases the output power because the electricity is taken from the power grid to the positive direction of the electricity meter, so that the electricity taking power is reduced inevitably. The factor o may be 0.99,0.98 \8230, where losses in the lines between the inverter and the meter are mainly taken into account.
Note that 0 is the first preset value, and o [ [ Pinv2-ki × [ Pinv1- (Pgmax-Pgmin) × ] is the fourth target value.
if the difference between the average of the active power of the first sub data set minus the average of the active power of the initial data set is <0, but the absolute value of the difference is < o [ Pinv2-ki ] Pinv1- (Pgmax-Pgmin) × n ], then this group of data is potentially affected by the home load, and is invalid data;
if the difference between the active power average value of the first sub data set and the active power average value of the initial data set is not less than 0, and the absolute value of the difference is not less than o [ Pinv2-ki ] Pinv1- (Pgmax-Pgmin) × n ], the wiring error of the electric meter is indicated, and the voltage or current wiring is reversed, namely, the electricity taking power from the power grid is changed into the positive direction of the electric meter due to the fact that the inverter increases the output power, the electricity taking power is inevitably reduced, the actual data is increased, and therefore the wiring of the electric meter is reversed.
if the difference between the average value of the active power of the first sub data set and the average value of the active power of the initial data set is larger than or equal to 0, but the absolute value of the difference is < o x [ Pinv2-ki x Pinv1- (Pgmax-Pgmin) > n ], the data group is possibly influenced by the family load and is invalid data;
v. if the difference between the active power average value of the second sub data set and the active power average value of the initial data set is larger than 0, and the absolute value of the difference is larger than or equal to o [ Pinv2-ki ] Pinv1- (Pgmax-Pgmin) n ], indicating that the wiring of the electric meter is correct, namely the inverter reduces the output power because the electricity is taken from the power grid to the positive direction of the electric meter as specified in the foregoing, and the electricity taking power is increased inevitably;
if the difference between the average value of the active power of the second sub data set minus the average value of the active power of the initial data set is >0, but the absolute value of the difference is < o x [ Pinv2-ki x Pinv1- (Pgmax-Pgmin) × n ], then this group of data is possibly affected by the household load and is invalid data;
and vii, if the difference between the active power average value of the second sub data set and the active power average value of the initial data set is less than or equal to 0, and the absolute value of the difference is more than or equal to o x [ Pinv2-ki x Pinv1- (Pgmax-Pgmin) × n ], indicating that the wiring of the electric meter is wrong, and the voltage or current wiring is reversed-because the electricity taking from the power grid is the positive direction of the electric meter, the inverter reduces the output power, the electricity taking power is inevitably increased, and the actual data are reduced, so the wiring of the electric meter is reversed.
If the difference between the average value of the active power of the second sub data set minus the average value of the active power of the initial data set is less than or equal to 0, but the absolute value of the difference is < o x [ Pinv2-ki x Pinv1- (Pgmax-Pgmin) × n ], then it indicates that the group of data may be affected by the household load and is invalid data;
if the two comparison results (the first sub data set and the initial data set are compared, and the second sub inspection data set and the initial data set are compared) indicate that the wiring of the electric meter is correct, the inspection result indicates that the wiring is correct; if the two comparison results indicate that the wiring of the ammeter is wrong, the result is checked to be the wiring error; the others are invalid data.
If the calibration result is invalid and the number of times of inspection does not exceed 3 times, re-executing the steps; and if the calibration result is invalid and the checking times exceed 3 times, the checking of the wiring mode of the electric meter fails.
After the wiring of the single-phase electric meter is checked according to the initial data set and the target data set, and a checking result is obtained, the method further comprises the following steps: if the checking result is that the wiring is correct, the photovoltaic power generation system is restored to the initial power generation state; if the detection result is that the wiring is wrong, negative values are taken for the active power output by the single-phase electric meter and the electricity taking amount output by the single-phase electric meter, and the photovoltaic power generation system is restored to the initial power generation state; and if the inspection result is that the inspection fails, closing the photovoltaic power generation system.
In an alternative embodiment, the test result may be processed in the following ways:
the feedback result (correct wiring, wrong wiring or failed verification) can be uploaded to an external communication host through the system controller;
for correct wiring, the system controller recovers the normal power generation state of the photovoltaic power generation system after correct feedback, and the setting of an ammeter is not changed; for wiring errors, the system controller uses the corresponding active power and the corresponding power taking amount as a negative value, and recovers the normal power generation state of the photovoltaic power generation system; and reporting the external communication host computer for the calibration failure, and then commanding the photovoltaic power generation system to stop by the system controller.
In an alternative embodiment, the flow chart shown in fig. 5 may be used to implement the wiring check for the single-phase electric meter, which mainly includes the following steps: starting an ammeter connection mode for checking, confirming the stability of the generated power, namely judging whether the generated power meets a first preset requirement; confirming the stability of the power consumption power, namely judging whether the power consumption power meets a second preset requirement; and confirming the correctness of the current wiring of the electric meter to obtain a detection result, and finally processing the detection result of the electric meter wiring.
According to the method for checking the wiring of the single-phase electric meter, whether the generating power of the single-phase inverter meets a first preset requirement or not is judged by adjusting the generating power of the single-phase inverter, under the condition that the generating power of the single-phase inverter meets the first preset requirement, first active power fed back by the single-phase electric meter for N times is collected according to a first time interval to obtain an initial data set, and whether the power consumption meets a second preset requirement or not is determined through the initial data set; under the condition that the power consumption meets a second preset requirement, the power generation power of the single-phase inverter is adjusted according to the first active power, and the active power fed back by the single-phase electric meter for N times is collected according to a first time interval under the adjusted power generation power to obtain a target data set; and checking the wiring of the single-phase electric meter according to the initial data set and the target data set to obtain a checking result, wherein the checking result is one of the following: correct wiring, wiring mistake and check fail, solved among the related art through the artifical mode to the wiring of single-phase ammeter and verify, lead to the problem that efficiency is lower. Under the condition that the generating power of the single-phase inverter meets a first preset requirement, judging whether the power consumption power meets a second preset requirement through first active power fed back by a single-phase electric meter, under the condition that the power consumption power meets the second preset requirement, adjusting the generating power of the single-phase inverter according to the first active power, and under the adjusted generating power, acquiring the active power fed back by the single-phase electric meter again to obtain a target data set; and finally, the initial data set and the target data set are used for detecting the wiring of the single-phase electric meter to obtain a detection result, so that the automatic detection of the wiring of the single-phase electric meter is realized, and the effect of improving the efficiency is further achieved.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than here.
Example 2
The embodiment of the application further provides a device for checking the wiring of the single-phase electric meter, and it should be noted that the device for checking the wiring of the single-phase electric meter according to the embodiment of the application can be used for executing the method for checking the wiring of the single-phase electric meter according to the embodiment of the application. The following describes the inspection device for single-phase electric meter wiring provided by the embodiment of the application.
FIG. 6 is a schematic diagram of a device for verifying the wiring of a single-phase electric meter according to an embodiment of the present application. As shown in fig. 6, the apparatus includes: a judging unit 601, an adjusting unit 602 and a checking unit 603.
The judging unit 601 is configured to adjust the generated power of the single-phase inverter to judge whether the generated power of the single-phase inverter meets a first preset requirement, acquire first active power fed back by the single-phase electric meter for N times according to a first time interval under the condition that the generated power of the single-phase inverter meets the first preset requirement, obtain an initial data set, and determine whether the power consumption meets a second preset requirement through the initial data set;
the adjusting unit 602 is configured to adjust the power generation power of the single-phase inverter according to the first active power when the power consumption meets a second preset requirement, and acquire active power fed back by the single-phase electric meter for N times at a first time interval under the adjusted power generation power to obtain a target data set;
the inspection unit 603 is configured to inspect the connection of the single-phase electric meter according to the initial data set and the target data set, so as to obtain an inspection result, where the inspection result is one of the following: correct wiring, wrong wiring, and failed verification.
According to the inspection device for the wiring of the single-phase electric meter, the generated power of the single-phase inverter is adjusted through the judging unit 601 to judge whether the generated power of the single-phase inverter meets a first preset requirement, under the condition that the generated power of the single-phase inverter meets the first preset requirement, first active power fed back by the single-phase electric meter for N times is collected according to a first time interval to obtain an initial data set, and whether the power consumption meets a second preset requirement is determined through the initial data set; the adjusting unit 602 adjusts the power generation power of the single-phase inverter according to the first active power when the power consumption meets the second preset requirement, and acquires the active power fed back by the single-phase electric meter for N times at the adjusted power generation power according to the first time interval to obtain a target data set; the inspection unit 603 inspects the wiring of the single-phase electric meter according to the initial data set and the target data set to obtain an inspection result, wherein the inspection result is one of the following: correct wiring, wrong wiring and failed inspection, and the problem of low efficiency caused by manual wiring inspection of the single-phase electric meter in the related technology is solved. Under the condition that the power generation power of the single-phase inverter meets a first preset requirement, judging whether the power consumption power meets a second preset requirement through first active power fed back by a single-phase electric meter, under the condition that the power consumption power meets the second preset requirement, adjusting the power generation power of the single-phase inverter according to the first active power, and under the adjusted power generation power, collecting the active power fed back by the single-phase electric meter again to obtain a target data set; and finally, the initial data set and the target data set are used for detecting the wiring of the single-phase electric meter to obtain a detection result, so that the automatic detection of the wiring of the single-phase electric meter is realized, and the effect of improving the efficiency is further achieved.
Optionally, in the device for checking the connection of the single-phase electric meter provided in the embodiment of the present application, the determining unit 601 includes: the determining module is used for determining the initial generating power of the single-phase inverter; the single-phase inverter comprises a first judging module, a second judging module and a third judging module, wherein the first judging module is used for reducing the generating power of the single-phase inverter to a first generating power and judging whether the generating power of the single-phase inverter meets a first preset requirement under the condition of the first generating power; the first processing module is used for reducing the generating power of the single-phase inverter to the second generating power until the generating power of the single-phase inverter meets the first preset requirement and recording the corresponding first target generating power when the generating power of the single-phase inverter meets the first preset requirement if the generating power of the single-phase inverter does not meet the first preset requirement.
Optionally, in the inspection apparatus for single-phase electric meter connection provided in the embodiment of the present application, the determining unit 601 further includes: the first calculating module is used for calculating a first active power average value of first active power in the initial data set, and determining an active power maximum value in the initial data set and an active power minimum value in the initial data set; and the second judgment module is used for judging whether the power consumption meets a second preset requirement or not according to the first active power average value, the active power maximum value and the active power minimum value.
Optionally, in the device for checking the connection of a single-phase electric meter provided in the embodiment of the present application, the adjusting unit 602 includes: the second calculation module is used for calculating a difference value between the initial generating power and the first target generating power to obtain a generating power difference value, and calculating a difference value between the maximum value of the active power and the minimum value of the active power to obtain an active power difference value; the third calculation module is used for calculating the product of the active power difference value and a target preset coefficient to obtain a first target numerical value; the second processing module is used for increasing the generating power of the single-phase inverter to the initial generating power if the generating power difference value is larger than the first target value, and acquiring the current generating power of the single-phase inverter after determining that the generating power of the single-phase inverter meets a third preset requirement; and the fourth calculation module is used for calculating according to the first target value and the generated power difference value to obtain a second target value, and if the current generated power is greater than or equal to the second target value, taking the current generated power as the second target generated power.
Optionally, in the apparatus for checking the connection of a single-phase electric meter provided in the embodiment of the present application, the apparatus further includes: the first processing unit is used for reducing the generated power of the single-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 single-phase inverter after the generated power of the single-phase inverter meets a third preset requirement, wherein the third target value is obtained by calculating the first target generated power and the first target value.
Optionally, in the apparatus for checking the connection of a single-phase electric meter according to the embodiment of the present application, the adjusting unit 602 further includes: the first acquisition module is used for acquiring active power fed back by the single-phase electric meter for N times at a first time interval under a second target generating power to obtain N second active powers, and taking the N second active powers as a first subdata set; the second acquisition module is used for reducing the generated power of the single-phase inverter to a first target generated power, and acquiring active power fed back by the single-phase electric meter for N times at a first time interval under the first target generated power to obtain a second sub data set; and the third processing module is used for merging the first sub data set and the second sub data set to obtain a target data set.
Optionally, in the device for checking the connection of a single-phase electric meter provided in the embodiment of the present application, the adjusting unit 602 further includes: the third acquisition module is used for acquiring active power fed back by the single-phase electric meter for N times at a first time interval under a third target generating power to obtain N fourth active powers, and taking the N fourth active powers as a first subdata set; the fourth acquisition module is used for increasing the generated power of the single-phase inverter to a second target generated power, and acquiring active power fed back by the single-phase electric meter for N times at a first time interval under the second target generated power to obtain a second sub data set; and the fourth processing module is used for combining the first sub data set and the second sub data set to obtain a target data set.
Optionally, in the apparatus for inspecting a single-phase electric meter connection provided in an embodiment of the present application, the inspection unit 603 includes: the fifth calculating module is used for calculating the average value of the active power in the first sub data set to obtain a second active power average value, and calculating the average value of the active power in the second sub data set to obtain a third active power average value; the sixth calculating module is used for calculating the difference value of the second active power average value and the first active power average value and the absolute value of the difference value to obtain a first average difference value and a first absolute value; the seventh calculating module is used for calculating the difference value of the third active power average value and the first active power average value and the absolute value of the difference value to obtain a second average difference value and a second absolute value; and the determining module is used for determining the inspection result according to the first average difference value, the first absolute value, the second average difference value and the second absolute value.
Optionally, in the apparatus for inspecting the connection of the single-phase electric meter according to the embodiment of the present application, determining the inspection result according to the first average difference value, the first absolute value, the second average difference value, and the second absolute value includes: the third judgment module is used for checking that the wiring is correct when the first average difference value, the first absolute value, the second average difference value and the second absolute value meet a first preset condition; the fourth judgment module is used for checking that the result is a wiring error when the first average difference value, the first absolute value, the second average difference value and the second absolute value meet a second preset condition; and the fifth judging module is used for judging that the test result is test failure when the first average difference value, the first absolute value, the second average difference value and the second absolute value continuously meet any one of the third preset conditions for three times.
Optionally, in the apparatus for checking the connection of a single-phase electric meter provided in the embodiment of the present application, the first preset condition at least includes: the first average difference and the second average difference are both smaller than a first preset value, and the first absolute value and the second absolute value are both larger than or equal to a fourth target value, wherein the fourth target data value is obtained by calculating a second target generated power and a second target value; the second preset condition at least comprises: the first average difference value and the second average difference value are both larger than or equal to a first preset value, and the first absolute value and the second absolute value are both larger than or equal to a fourth target value; the third preset condition at least comprises: the first average difference value and the second average difference value are both smaller than a first preset value, and the first absolute value and the second absolute value are both smaller than a fourth target value; the first average difference value and the second average difference value are both larger than or equal to a first preset value, and the first absolute value and the second absolute value are both smaller than a fourth target value.
Optionally, in the apparatus for checking the connection of a single-phase electric meter provided in the embodiment of the present application, the apparatus further includes: the second processing unit is used for checking the wiring of the single-phase electric meter according to the initial data set and the target data set, and recovering the photovoltaic power generation system to an initial power generation state if the checking result is that the wiring is correct after the checking result is obtained; the third processing unit is used for performing negative value processing on the active power output by the single-phase electric meter and the electricity taking quantity output by the single-phase electric meter if the detection result is that the wiring is wrong, and restoring the photovoltaic power generation system to the initial power generation state; and the fourth processing unit is used for closing the photovoltaic power generation system if the inspection result is inspection failure.
The device for checking the wiring of the single-phase electric meter comprises a processor and a memory, wherein the judging unit 601, the adjusting unit 602, the checking unit 603 and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more than one, and the inspection of the single-phase electric meter is realized by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
The embodiment of the invention provides a processor, which is used for running a program, wherein a method for checking the wiring of a single-phase electric meter is executed during the running of the program.
Example 3
As shown in fig. 7, an embodiment of the present invention provides an electronic device, where the device includes a processor, a memory, and a program stored in the memory and executable on the processor, and the processor implements the following steps when executing the program: the method for checking the wiring of the single-phase electric meter is applied to a photovoltaic power generation system, and the photovoltaic power generation system at least comprises the following steps: single-phase inverter, photovoltaic module cluster, system controller and the switch board of registering one's residence, single-phase ammeter connects in the switch board of registering one's residence, includes: the method comprises the steps of adjusting the generating power of a single-phase inverter to judge whether the generating power of the single-phase inverter meets a first preset requirement, collecting first active power fed back by a single-phase electric meter for N times according to a first time interval under the condition that the generating power of the single-phase inverter meets the first preset requirement to obtain an initial data set, and determining whether the power consumption power meets a second preset requirement through the initial data set; under the condition that the power consumption meets a second preset requirement, the power generation power of the single-phase inverter is adjusted according to the first active power, and the active power fed back by the single-phase electric meter for N times is collected according to a first time interval under the adjusted power generation power to obtain a target data set; and checking the wiring of the single-phase electric meter according to the initial data set and the target data set to obtain a checking result, wherein the checking result is one of the following: correct wiring, wrong wiring and failed verification.
Optionally, adjusting the generated power of the single-phase inverter to determine whether the generated power of the single-phase inverter meets the first preset requirement includes: determining initial generating power of the single-phase inverter; reducing the generating power of the single-phase inverter to a first generating power, and judging whether the generating power of the single-phase inverter meets a first preset requirement or not under the condition of the first generating power; if the generated power of the single-phase inverter does not meet the first preset requirement, the generated power of the single-phase inverter is reduced to the second generated power until the generated power of the single-phase inverter meets the first preset requirement, and a corresponding first target generated power when the generated power of the single-phase inverter meets the first preset requirement is recorded.
Optionally, determining whether the power usage satisfies the second preset requirement by the initial data set comprises: calculating a first active power average value of first active power in the initial data set, and determining an active power maximum value in the initial data set and an active power minimum value in the initial data set; and judging whether the power consumption meets a second preset requirement or not according to the first active power average value, the active power maximum value and the active power minimum value.
Optionally, the adjusting the generated power of the single-phase inverter according to the first active power includes: calculating a difference value between the initial generating power and a first target generating power to obtain a generating power difference value, and calculating a difference value between the maximum value of the active power and the minimum value of the active power to obtain an active power difference value; calculating the product of the active power difference value and a target preset coefficient to obtain a first target value; if the power generation power difference is larger than the first target value, increasing the power generation power of the single-phase inverter to the initial power generation power, and obtaining the current power generation power of the single-phase inverter after the power generation power of the single-phase inverter meets a third preset requirement; and calculating according to the first target value and the generated power difference value to obtain a second target value, and if the current generated power is greater than or equal to the second target value, taking the current generated power as the second target generated power.
Optionally, the method further comprises: and if the current generating power is smaller than the second target value, reducing the generating power of the single-phase inverter to a third target value, and obtaining the third target generating power of the single-phase inverter after determining that the generating power of the single-phase inverter meets a third preset requirement, wherein the third target value is obtained by calculating the first target generating power and the first target value.
Optionally, under the adjusted generated power, acquiring active power fed back by the single-phase electric meter for N times at a first time interval, and obtaining the target data set includes: acquiring active power fed back by the single-phase electric meter for N times at a first time interval under a second target generating power to obtain N second active powers, and taking the N second active powers as a first sub data set; reducing the generating power of the single-phase inverter to a first target generating power, and collecting active power fed back by the single-phase electric meter for N times at a first time interval under the first target generating power to obtain a second sub data set; and merging the first sub data set and the second sub data set to obtain a target data set.
Optionally, under the adjusted generated power, acquiring active power fed back by the single-phase electric meter for N times at a first time interval, and obtaining the target data set includes: acquiring active power fed back by the single-phase electric meter for N times at a first time interval under a third target generating power to obtain N fourth active powers, and taking the N fourth active powers as a first subdata set; increasing the generating power of the single-phase inverter to a second target generating power, and collecting active power fed back by the single-phase electric meter for N times at a first time interval under the second target generating power to obtain a second sub data set; and merging the first sub data set and the second sub data set to obtain a target data set.
Optionally, the checking the connection of the single-phase electric meter according to the initial data set and the target data set, and obtaining a checking result includes: calculating the average value of the active power in the first sub data set to obtain a second active power average value, and calculating the average value of the active power in the second sub data set to obtain a third active power average value; calculating the difference value of the second active power average value and the first active power average value and the absolute value of the difference value to obtain a first average difference value and a first absolute value; calculating the difference value of the third active power average value and the first active power average value and the absolute value of the difference value to obtain a second average difference value and a second absolute value; and determining a detection result according to the first average difference value, the first absolute value, the second average difference value and the second absolute value.
Optionally, determining the test result according to the first average difference value, the first absolute value, the second average difference value, and the second absolute value includes: when the first average difference value, the first absolute value, the second average difference value and the second absolute value meet a first preset condition, the result is checked to be correct; when the first average difference value, the first absolute value, the second average difference value and the second absolute value meet a second preset condition, the detection result is a wiring error; and when the first average difference value, the first absolute value, the second average difference value and the second absolute value continuously meet any one of third preset conditions for three times, the test result is test failure.
Optionally, the first preset condition at least includes: the first average difference and the second average difference are both smaller than a first preset value, and the first absolute value and the second absolute value are both larger than or equal to a fourth target value, wherein the fourth target data value is obtained by calculating a second target generated power and a second target value; the second preset condition at least comprises the following steps: the first average difference value and the second average difference value are both greater than or equal to a first preset value, and the first absolute value and the second absolute value are both greater than or equal to a fourth target value; the third preset condition at least comprises: the first average difference value and the second average difference value are both smaller than a first preset value, and the first absolute value and the second absolute value are both smaller than a fourth target value; the first average difference value and the second average difference value are both larger than or equal to a first preset value, and the first absolute value and the second absolute value are both smaller than a fourth target value.
Optionally, after the wiring of the single-phase electric meter is checked according to the initial data set and the target data set, and a check result is obtained, the method further includes: if the checking result is that the wiring is correct, the photovoltaic power generation system is restored to the initial power generation state; if the detection result is that the wiring is wrong, taking negative values for the active power output by the single-phase electric meter and the electric quantity output by the single-phase electric meter, and restoring the photovoltaic power generation system to the initial power generation state; and if the inspection result is that the inspection fails, closing the photovoltaic power generation system.
The device herein may be a server, a PC, a PAD, a mobile phone, etc.
Example 4
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: the method for checking the wiring of the single-phase electric meter is applied to a photovoltaic power generation system, and the photovoltaic power generation system at least comprises the following steps: single-phase inverter, photovoltaic module cluster, system controller and the switch board of registering one's residence, single-phase ammeter connects in the switch board of registering one's residence, includes: the method comprises the steps that the power generation power of a single-phase inverter is adjusted to judge whether the power generation power of the single-phase inverter meets a first preset requirement or not, under the condition that the power generation power of the single-phase inverter meets the first preset requirement, first active power fed back by a single-phase electric meter for N times is collected according to a first time interval to obtain an initial data set, and whether the power consumption power meets a second preset requirement or not is determined through the initial data set; under the condition that the power consumption meets a second preset requirement, the power generation power of the single-phase inverter is adjusted according to the first active power, and the active power fed back by the single-phase electric meter for N times is collected according to a first time interval under the adjusted power generation power to obtain a target data set; and checking the wiring of the single-phase electric meter according to the initial data set and the target data set to obtain a checking result, wherein the checking result is one of the following: correct wiring, wrong wiring and failed verification.
Optionally, adjusting the generated power of the single-phase inverter to determine whether the generated power of the single-phase inverter meets the first preset requirement includes: determining initial generating power of the single-phase inverter; reducing the generating power of the single-phase inverter to a first generating power, and judging whether the generating power of the single-phase inverter meets a first preset requirement or not under the condition of the first generating power; and if the generated power of the single-phase inverter does not meet the first preset requirement, reducing the generated power of the single-phase inverter to the second generated power until the generated power of the single-phase inverter meets the first preset requirement, and recording a corresponding first target generated power when the generated power of the single-phase inverter meets the first preset requirement.
Optionally, determining whether the power usage satisfies the second preset requirement by the initial data set comprises: calculating a first active power average value of first active power in the initial data set, and determining an active power maximum value in the initial data set and an active power minimum value in the initial data set; and judging whether the power consumption meets a second preset requirement or not according to the first active power average value, the active power maximum value and the active power minimum value.
Optionally, the adjusting the generated power of the single-phase inverter according to the first active power includes: calculating a difference value between the initial generating power and the first target generating power to obtain a generating power difference value, and calculating a difference value between the maximum value of the active power and the minimum value of the active power to obtain an active power difference value; calculating the product of the active power difference value and a target preset coefficient to obtain a first target value; if the power generation power difference is larger than the first target value, increasing the power generation power of the single-phase inverter to the initial power generation power, and obtaining the current power generation power of the single-phase inverter after the power generation power of the single-phase inverter meets a third preset requirement; and calculating according to the first target value and the generated power difference value to obtain a second target value, and if the current generated power is greater than or equal to the second target value, taking the current generated power as the second target generated power.
Optionally, the method further comprises: and if the current generating power is smaller than the second target value, reducing the generating power of the single-phase inverter to a third target value, and obtaining the third target generating power of the single-phase inverter after determining that the generating power of the single-phase inverter meets a third preset requirement, wherein the third target value is obtained by calculating the first target generating power and the first target value.
Optionally, collecting active power fed back by the single-phase electric meter for N times at a first time interval under the adjusted generated power, and obtaining the target data set includes: acquiring active power fed back by the single-phase electric meter for N times at a first time interval under a second target generating power to obtain N second active powers, and taking the N second active powers as a first sub data set; reducing the generating power of the single-phase inverter to a first target generating power, and collecting active power fed back by the single-phase electric meter for N times at a first time interval under the first target generating power to obtain a second sub data set; and merging the first sub data set and the second sub data set to obtain a target data set.
Optionally, under the adjusted generated power, acquiring active power fed back by the single-phase electric meter for N times at a first time interval, and obtaining the target data set includes: acquiring active power fed back by the single-phase electric meter for N times at a first time interval under a third target generating power to obtain N fourth active powers, and taking the N fourth active powers as a first subdata set; increasing the generating power of the single-phase inverter to a second target generating power, and collecting active power fed back by the single-phase electric meter for N times at a first time interval under the second target generating power to obtain a second sub data set; and merging the first sub data set and the second sub data set to obtain a target data set.
Optionally, the checking the connection of the single-phase electric meter according to the initial data set and the target data set, and obtaining a checking result includes: calculating the average value of the active power in the first sub data set to obtain a second active power average value, and calculating the average value of the active power in the second sub data set to obtain a third active power average value; calculating the difference value of the second active power average value and the first active power average value and the absolute value of the difference value to obtain a first average difference value and a first absolute value; calculating the difference value of the third active power average value and the first active power average value and the absolute value of the difference value to obtain a second average difference value and a second absolute value; and determining a test result according to the first average difference value, the first absolute value, the second average difference value and the second absolute value.
Optionally, determining the test result according to the first average difference value, the first absolute value, the second average difference value, and the second absolute value includes: when the first average difference value, the first absolute value, the second average difference value and the second absolute value meet a first preset condition, the result is checked to be correct; when the first average difference value, the first absolute value, the second average difference value and the second absolute value meet a second preset condition, the detection result is a wiring error; and when the first average difference value, the first absolute value, the second average difference value and the second absolute value continuously meet any one of third preset conditions for three times, the test result is test failure.
Optionally, the first preset condition at least includes: the first average difference and the second average difference are both smaller than a first preset value, and the first absolute value and the second absolute value are both larger than or equal to a fourth target value, wherein the fourth target data value is obtained by calculating a second target generated power and a second target value; the second preset condition at least comprises: the first average difference value and the second average difference value are both greater than or equal to a first preset value, and the first absolute value and the second absolute value are both greater than or equal to a fourth target value; the third preset condition at least comprises: the first average difference value and the second average difference value are both smaller than a first preset value, and the first absolute value and the second absolute value are both smaller than a fourth target value; the first average difference value and the second average difference value are both larger than or equal to a first preset value, and the first absolute value and the second absolute value are both smaller than a fourth target value.
Optionally, after the wiring of the single-phase electric meter is checked according to the initial data set and the target data set, and a check result is obtained, the method further includes: if the wiring is correct according to the test result, the photovoltaic power generation system is restored to the initial power generation state; if the detection result is that the wiring is wrong, negative values are taken for the active power output by the single-phase electric meter and the electricity taking amount output by the single-phase electric meter, and the photovoltaic power generation system is restored to the initial power generation state; and if the inspection result is inspection failure, closing the photovoltaic power generation system.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement or the like made within the spirit and principle of the present application shall be included in the scope of the claims of the present application.
Claims (14)
1. A method for checking the wiring of a single-phase electric meter, characterized in that it is applied to a photovoltaic power generation system comprising at least: single-phase inverter, photovoltaic module cluster, system controller and the switch board of registering one's residence, single-phase ammeter is connected in the switch board of registering one's residence includes:
the method comprises the steps of adjusting the generated power of a single-phase inverter to judge whether the generated power of the single-phase inverter meets a first preset requirement, collecting first active power fed back by a single-phase electric meter for N times according to a first time interval under the condition that the generated power of the single-phase inverter meets the first preset requirement to obtain an initial data set, and determining whether the power consumption power meets a second preset requirement according to the initial data set;
under the condition that the power consumption meets a second preset requirement, the power generation power of the single-phase inverter is adjusted according to the first active power, and the active power fed back by the single-phase electric meter is collected for N times according to the first time interval under the adjusted power generation power, so that a target data set is obtained;
and checking the wiring of the single-phase electric meter according to the initial data set and the target data set to obtain a checking result, wherein the checking result is one of the following: correct wiring, wrong wiring and failed verification.
2. The method of claim 1, wherein adjusting the generated power of the single-phase inverter to determine whether the generated power of the single-phase inverter meets a first predetermined requirement comprises:
determining initial generating power of the single-phase inverter;
reducing the generating power of the single-phase inverter to a first generating power, and under the condition of the first generating power, judging whether the generating power of the single-phase inverter meets the first preset requirement or not;
if the generated power of the single-phase inverter does not meet the first preset requirement, reducing the generated power of the single-phase inverter to second generated power until the generated power of the single-phase inverter meets the first preset requirement, and recording a corresponding first target generated power when the generated power of the single-phase inverter meets the first preset requirement.
3. The method of claim 2, wherein determining from the initial data set whether the power usage satisfies a second predetermined requirement comprises:
calculating a first active power average value of first active power in the initial data set, and determining a maximum active power value in the initial data set and a minimum active power value in the initial data set;
and judging whether the power consumption power meets the second preset requirement or not according to the first active power average value, the active power maximum value and the active power minimum value.
4. The method of claim 3, wherein adjusting the generated power of the single-phase inverter based on the first active power comprises:
calculating a difference value between the initial generating power and the first target generating power to obtain a generating power difference value, and calculating a difference value between the maximum value of the active power and the minimum value of the active power to obtain an active power difference value;
calculating the product of the active power difference value and a target preset coefficient to obtain a first target value;
if the generated power difference is larger than the first target value, increasing the generated power of the single-phase inverter to the initial generated power, and obtaining the current generated power of the single-phase inverter after determining that the generated power of the single-phase inverter meets a third preset requirement;
and calculating according to the first target value and the power generation power difference value to obtain a second target value, and if the current power generation power is greater than or equal to the second target value, taking the current power generation power as the second target power generation power.
5. The method of claim 4, further comprising:
if the current generating power is smaller than the second target value, the generating power of the single-phase inverter is reduced to a third target value, and after the generating power of the single-phase inverter is determined to meet a third preset requirement, the third target generating power of the single-phase inverter is obtained, wherein the third target value is obtained by calculating a first target generating power and a first target value.
6. The method of claim 4, wherein collecting the active power fed back by the single-phase electric meter N times at the first time interval at the adjusted generated power to obtain the target data set comprises:
acquiring active power fed back by the single-phase electric meter for N times at the first time interval under the second target generating power to obtain N second active powers, and taking the N second active powers as a first sub data set;
reducing the generating power of the single-phase inverter to the first target generating power, and collecting active power fed back by the single-phase electric meter for N times at the first time interval under the first target generating power to obtain a second sub data set;
and merging the first sub data set and the second sub data set to obtain the target data set.
7. The method of claim 5, wherein collecting active power fed back by the single-phase electric meter N times at the first time interval under the adjusted generated power to obtain the target data set comprises:
collecting active power fed back by the single-phase electric meter for N times at the first time interval under the third target generating power to obtain N fourth active powers, and taking the N fourth active powers as a first sub data set;
increasing the generating power of the single-phase inverter to the second target generating power, and collecting active power fed back by the single-phase electric meter for N times at the first time interval under the second target generating power to obtain a second sub data set;
and merging the first sub data set and the second sub data set to obtain the target data set.
8. The method of claim 6, wherein verifying the wiring of the single-phase electric meter based on the initial data set and the target data set comprises:
calculating an average value of the active power in the first sub data set to obtain a second active power average value, and calculating an average value of the active power in the second sub data set to obtain a third active power average value;
calculating the difference value of the second active power average value and the first active power average value and the absolute value of the difference value to obtain a first average difference value and a first absolute value;
calculating a difference value between the third active power average value and the first active power average value and an absolute value of the difference value to obtain a second average difference value and a second absolute value;
and determining a test result according to the first average difference value, the first absolute value, the second average difference value and the second absolute value.
9. The method of claim 8, wherein determining the test result based on the first average difference, the first absolute value, the second average difference, and the second absolute value comprises:
when the first average difference value, the first absolute value, the second average difference value and the second absolute value meet a first preset condition, the checking result is that the wiring is correct;
when the first average difference value, the first absolute value, the second average difference value and the second absolute value meet a second preset condition, the detection result is a wiring error;
and when the first average difference value, the first absolute value, the second average difference value and the second absolute value continuously meet any one of third preset conditions for three times, the test result is test failure.
10. The method of claim 9 for verifying the wiring of a single-phase electric meter,
the first preset condition at least comprises:
the first average difference value and the second average difference value are both smaller than a first preset value, and the first absolute value and the second absolute value are both larger than or equal to a fourth target value, wherein the fourth target data value is obtained by calculating a second target power generation power and a second target value;
the second preset condition at least comprises:
the first average difference value and the second average difference value are both greater than or equal to the first preset value, and the first absolute value and the second absolute value are both greater than or equal to the fourth target value;
the third preset condition at least comprises:
the first average difference value and the second average difference value are both smaller than the first preset value, and the first absolute value and the second absolute value are both smaller than the fourth target value;
the first average difference value and the second average difference value are both greater than or equal to the first preset value, and the first absolute value and the second absolute value are both smaller than the fourth target value.
11. The method of claim 1, wherein after verifying the wiring of the single-phase electric meter based on the initial data set and the target data set to obtain a verification result, the method further comprises:
if the checking result is that the wiring is correct, the photovoltaic power generation system is restored to an initial power generation state;
if the detection result is that the wiring is wrong, negative values of the active power output by the single-phase electric meter and the electric quantity output by the single-phase electric meter are processed, and the photovoltaic power generation system is restored to an initial power generation state;
and if the inspection result is inspection failure, closing the photovoltaic power generation system.
12. A device for checking the wiring of a single-phase electric meter, comprising:
the judging unit is used for adjusting the generating power of the single-phase inverter to judge whether the generating power of the single-phase inverter meets a first preset requirement, acquiring first active power fed back by the single-phase electric meter for N times according to a first time interval under the condition that the generating power of the single-phase inverter meets the first preset requirement to obtain an initial data set, and determining whether the power consumption power meets a second preset requirement according to the initial data set;
the adjusting unit is used for adjusting the generating power of the single-phase inverter according to the first active power under the condition that the power consumption power meets a second preset requirement, and acquiring active power fed back by the single-phase electric meter for N times according to the first time interval under the adjusted generating power to obtain a target data set;
the inspection unit is used for inspecting the wiring of the single-phase electric meter according to the initial data set and the target data set to obtain an inspection result, wherein the inspection result is one of the following: correct wiring, wrong wiring and failed verification.
13. A processor, characterized in that it is configured to run a program, wherein the program is configured to perform the method of checking the wiring of a single-phase electric meter according to any one of claims 1 to 11 when running.
14. An electronic device comprising one or more processors and memory storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of verifying the wiring of a single-phase electric meter of any of claims 1 to 11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211595599.9A CN115616474A (en) | 2022-12-13 | 2022-12-13 | Single-phase electric meter wiring inspection method and device, processor and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211595599.9A CN115616474A (en) | 2022-12-13 | 2022-12-13 | Single-phase electric meter wiring inspection method and device, processor and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115616474A true CN115616474A (en) | 2023-01-17 |
Family
ID=84879846
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211595599.9A Pending CN115616474A (en) | 2022-12-13 | 2022-12-13 | Single-phase electric meter wiring inspection method and device, processor and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115616474A (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112462318A (en) * | 2019-09-06 | 2021-03-09 | 阳光电源股份有限公司 | Ammeter wiring detection method, distributed power generation system and power generation source |
-
2022
- 2022-12-13 CN CN202211595599.9A patent/CN115616474A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112462318A (en) * | 2019-09-06 | 2021-03-09 | 阳光电源股份有限公司 | Ammeter wiring detection method, distributed power generation system and power generation source |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN115598566B (en) | Ammeter wiring inspection method and device, processor and electronic equipment | |
US10396710B2 (en) | Monitoring and evaluating performance and aging of solar photovoltaic generation systems and power inverters | |
CN109298379B (en) | Data monitoring-based intelligent electric meter field error abnormity identification method | |
CN110888101B (en) | Method and device for diagnosing abnormity of electric energy meter | |
CN107346899B (en) | Photovoltaic power station system stability assessment method and system | |
WO2020191663A1 (en) | Method and apparatus for detecting electricity consumption behavior, electronic device and storage medium | |
US10298056B2 (en) | Power control system, power control method, and recording medium | |
CN110930034B (en) | Electric power spot market settlement metering data verification method, device and medium | |
US9733286B2 (en) | Method for identifying electric appliance and apparatus and system thereof | |
CN108847682B (en) | Photovoltaic power station grid-connected performance evaluation method and system based on operation data | |
US20160131688A1 (en) | Determining an orientation of a metering device in an energy generation system | |
CN110210738B (en) | Power supply reliability analysis method and system | |
CN112462318A (en) | Ammeter wiring detection method, distributed power generation system and power generation source | |
CN114047472A (en) | Metering error monitoring system of intelligent electric meter and monitoring method and device thereof | |
KR102269887B1 (en) | Power meter reading device and reading method thereof | |
KR102680348B1 (en) | Apparatus for detecting wrong of electronic watt-hour meter in advanced metering infrastructure system and method thereof | |
CN101923143B (en) | Estimating minimum voltage of fuel cells | |
CN101846708A (en) | Method for detecting power-failure counting function of distribution transformer terminals in batch | |
CN115616474A (en) | Single-phase electric meter wiring inspection method and device, processor and electronic equipment | |
CN113241736A (en) | Method and system for line protection adaptability analysis of new energy sending | |
CN115603351B (en) | Energy storage system processing method and device, processor and electronic equipment | |
CN115112948B (en) | Multi-branch electric quantity calibration method and device, intelligent terminal and storage medium | |
CN110399301A (en) | A kind of code test method, device, equipment and readable storage medium storing program for executing | |
CN111398675A (en) | Electric energy meter reading method, device and system | |
CN115514023A (en) | Calculation and check method for AGC (automatic gain control) regulation capacity of photovoltaic power station |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20230117 |