Ammeter wiring detection method and device, electronic equipment and storage medium
Through the change of the state of the inverter and the meter, three-phase meter wiring errors are automatically detected and corrected, which solves the monitoring data errors caused by meter wiring errors and abnormal system operation problems, and realizes simple and efficient meter wiring detection.
Patent Information
- Application Number
- CN202411829491.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-12
- Publication Date
- 2025-04-11
AI Technical Summary
When installing a three-phase meter, it is easy to have phase sequence errors and internal current sensors are connected in reverse directions, resulting in real-time monitoring data errors in the system and affecting the normal operation of the photovoltaic inverter system.
Through the change of the inverter itself and the change of the state of the meter, it is determined whether there is an error in the wiring of the meter. A meter wiring detection method and device is adopted, including obtaining the phase recognition command sent by the upper computer, performing voltage sampling tests, power tests and positive and negative detection of the current sensor, and automatically judge and correct wiring errors.
The meter wiring inspection process is simplified, the detection complexity and time is reduced, the detection efficiency is improved, the dependence on professional tools is reduced, and the maintenance cost is reduced.
Smart Images

Figure CN119805348A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric meter connection, and in particular to an electric meter connection detection method, device, electronic equipment and storage medium. Background Art
[0002] At present, in order to understand the household electricity consumption, it is necessary to connect an electric meter to the household photovoltaic energy storage grid-connected system. On the one hand, the power generation and consumption of the energy storage system can be adjusted according to the electricity consumption feedback from the electric meter to improve the utilization rate of photovoltaic energy; on the other hand, in the photovoltaic energy storage grid-connected system, the electric meter helps to realize the anti-backflow function.
[0003] For the sake of convenience, this application first describes the connection relationship between the inverter, the electric meter, and the power grid. Figure 4 As shown, it shows a schematic diagram of the connection relationship between the inverter, the meter and the power grid when the meter is correctly installed.
[0004] The wiring is summarized as follows. The current wiring needs to meet three conditions:
[0005] 1. First of all, the cables between the inverter and the grid or distribution equipment can be connected in any phase sequence, and the N line cannot be connected incorrectly, that is, the line sequence between GRID_A, GRID_B, GRID_C and TRANS-A, TRANS_B, TRANS_C can be connected in any order.
[0006] 2. Secondly, the wiring sequence of the inverter and the meter voltage sampling cable cannot be wrong, that is, the wiring sequence between U_GRID_A, U_GRID_B, U_GRID_C and GRID_A, GRID_B, GRID_C in the figure cannot be wrong, and the meter and the inverter need to correspond one to one.
[0007] 3. The wiring sequence of the inverter and the meter current sensor sampling cable cannot be wrong, that is, I_GRID_A, I_GRID_B, and I_GRID_C in the figure need to be put on the A, B, and C phase cables. The wiring sequence cannot be wrong, and the phase sequence of the meter and the cable must correspond.
[0008] 4. Finally, the wire direction of the meter current sensor ring cannot be connected incorrectly, that is, the corresponding current sensor direction in the figure points to the inverter, that is, the inverter generates electricity in the negative direction and the purchase direction is the positive direction.
[0009] When installing an electric meter in a three-phase energy storage inverter or grid-connected inverter, it is easy to have the phase sequence connected incorrectly or the positive and negative ends of the internal current sensor connected in reverse. This not only causes errors in the real-time monitoring data of the system, such as the power values being opposite, but also may cause abnormal system operation such as the photovoltaic inverter system not being able to connect to the grid normally. In more serious cases, the electric meter may be damaged. Therefore, when installing a three-phase electric meter, it is necessary to check the connection of the electric meter. At present, the installation and detection of three-phase electric meters are mainly performed by professional technicians. After installing the three-phase electric meter, professional technicians need to use tools such as volt-ampere phase meters to perform necessary port inspections. This detection method is cumbersome, complicated to operate, and has low detection efficiency. Summary of the invention
[0010] To solve the problems existing in the prior art, one or more embodiments of this specification describe an electric meter connection detection method, device, electronic device and storage medium.
[0011] According to a first aspect, a method for detecting connection of an electric meter is provided, the method comprising:
[0012] S101, obtaining a phase identification command sent by a host computer;
[0013] S102, entering the first phase identification state, obtaining the voltage value of each phase transmitted by the electric meter, and performing a first test according to the voltage value of each phase. If the first test passes, S103 is executed, otherwise the detection is terminated after the feedback voltage sampling is abnormal;
[0014] S103, entering the second phase connection identification state, obtaining the power value of each phase transmitted by the electric meter, and performing a second test according to the power value of each phase. If the second test passes, S104 is executed, otherwise the detection is terminated after feedback that the electric meter connection is abnormal;
[0015] S104, performing a third test according to the power value of each phase transmitted by the electric meter. If the third test passes, the feedback electric meter wiring detection is completed. Otherwise, the detection is completed after the positive and negative poles of the feedback current sensor are connected in reverse.
[0016] Preferably, the first test comprises:
[0017] Setting a first threshold interval and a second threshold;
[0018] If the ratio of the voltage value of any phase to the voltage value of another phase is not within the first threshold range or the unbalance degree is less than the second threshold, the first test is passed.
[0019] Preferably, the two-phase identification state is any one of the states in which any one phase sends a specified active power to the grid or any one phase absorbs a specified active power to the grid or any one phase sends capacitive reactive power to the grid or any one phase absorbs inductive reactive power to the grid, and the other two phases maintain the previous state unchanged.
[0020] Preferably, the second test comprises:
[0021] A third threshold range is set, the power value fed back by each phase of the electric meter is obtained, and the absolute value of the power value difference of each phase of the electric meter is calculated;
[0022] If the absolute value of the difference between the power values of each phase of the multiple electric meters is within the third threshold range, the detection is terminated after feedback that the connection of the electric meters is abnormal.
[0023] Preferably, the phase to which the data collected from each connection port of the electric meter belongs is re-marked according to the actual connection condition between the electric meter and the inverter, the actual connection condition between the electric meter and the inverter being obtained by the second test.
[0024] Preferably, the performing a third test according to the power value of each phase transmitted by the electric meter includes:
[0025] Send or absorb the specified power to the meter, obtain the feedback value of the meter, and judge whether the current sensor is connected reversely based on the positive and negative of the feedback value.
[0026] Preferably, for a phase line in which the current sensor is connected in reverse direction, the current sensor reading of the electric meter corresponding to the phase line is processed as a negative value.
[0027] According to a second aspect, an electric meter connection detection device is provided, the device comprising:
[0028] Interaction module, used to obtain the phase identification command sent by the host computer;
[0029] The first test module is used to enter the first phase identification state, obtain the voltage value of each phase transmitted by the meter, and perform the first test according to the voltage value of each phase. If the first test passes, the second test module is executed, otherwise the detection is terminated after the feedback voltage sampling is abnormal;
[0030] The second test module is used to enter the second phase connection identification state, obtain the power value of each phase transmitted by the electric meter, and perform the second test according to the power value of each phase. If the second test passes, the third test module is executed, otherwise the detection is terminated after feedback that the electric meter wiring is abnormal;
[0031] The third test module is used to perform a third test according to the power value of each phase transmitted by the electric meter. If the third test is passed, the feedback meter wiring detection is completed, otherwise the detection is completed after the positive and negative poles of the feedback current sensor are connected in reverse.
[0032] According to a third aspect, there is provided an electronic device, comprising a processor and a memory;
[0033] The processor is connected to the memory;
[0034] The memory is used to store executable program code;
[0035] The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the steps of the method provided in the first aspect or any possible implementation manner of the first aspect.
[0036] According to a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and the computer-readable storage medium stores instructions, which, when the instructions are executed on a computer or a processor, cause the computer or the processor to execute the method provided in the first aspect or any possible implementation of the first aspect.
[0037] The beneficial effects of the present invention are:
[0038] 1. The method and device provided in the embodiments of this specification determine whether there is an error in the meter wiring through the change of the inverter state and the meter state, thereby reducing the use of tools such as volt-ampere phase meters, simplifying the meter wiring detection process, and simplifying the meter wiring detection operation, thereby improving the meter wiring detection efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0040] Figure 1 It is a flowchart of a method for detecting the connection of an electric meter in the specific implementation of this specification;
[0041] Figure 2 It is a structural schematic diagram of an electric meter wiring detection device in the specific implementation of this specification;
[0042] Figure 3 It is a structural schematic diagram of an electronic device in the specific implementation of this specification;
[0043] Figure 4 This is the correct wiring diagram for the electric meter. DETAILED DESCRIPTION
[0044] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0045] In the following introduction, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. The following introduction provides multiple embodiments of the present application, and different embodiments can be replaced or combined, so the present application can also be considered to include all possible combinations of the same and / or different embodiments recorded. Therefore, if one embodiment includes features A, B, and C, and another embodiment includes features B and D, then the present application should also be considered to include embodiments containing one or more of all other possible combinations of A, B, C, and D, although the embodiment may not be clearly recorded in the following text.
[0046] The following description provides examples and does not limit the scope, applicability or examples set forth in the claims. Changes may be made to the functions and arrangements of the elements described without departing from the scope of the present application. Various processes or components may be appropriately omitted, substituted or added to each example. For example, the described method may be performed in an order different from the order described, and various steps may be added, omitted or combined. In addition, features described in some examples may be combined in other examples.
[0047] See also Figure 1 , Figure 1 1 is a flow chart of the meter connection detection method provided in the embodiment of the present application. In the embodiment of the present application, the execution subject of the method may be an inverter.
[0048] S101, obtaining a phase identification command sent by a host computer;
[0049] S102, entering the first phase identification state, obtaining the voltage value of each phase transmitted by the electric meter, and performing a first test according to the voltage value of each phase. If the first test passes, S103 is executed, otherwise the detection is terminated after the feedback voltage sampling is abnormal;
[0050] S103, entering the second phase connection identification state, obtaining the power value of each phase transmitted by the electric meter, and performing a second test according to the power value of each phase. If the second test passes, S104 is executed, otherwise the detection is terminated after feedback that the electric meter connection is abnormal;
[0051] S104, performing a third test according to the power value of each phase transmitted by the electric meter. If the third test passes, the feedback electric meter wiring detection is completed. Otherwise, the detection is completed after the positive and negative poles of the feedback current sensor are connected in reverse.
[0052] In the embodiment of this specification, the host computer (such as a PC host computer or a mobile phone APP or a cloud platform) first sends a phase connection identification command to the inverter. After the inverter receives the phase connection identification command from the host computer, it enters the first phase connection identification state. The electric meter transmits the three-phase voltage value to the inverter through the 485 communication bus, which is recorded as U A , U B , U C After receiving the voltage value, the inverter performs the first test, which is a voltage sampling test. If the first test passes, S103 is executed. Otherwise, the detection ends after the feedback voltage sampling is abnormal. The inverter enters the second phase connection identification state. The meter transmits the power value of each phase to the inverter. The power value of each phase is recorded as P A , P B , P C , after receiving the power value of each phase of the meter, the inverter performs a second test. The second test is a current sensor wiring test. If the second test passes, S104 is executed. Otherwise, the detection ends after the feedback current sensor wiring is abnormal. The inverter performs a third test according to the power value transmitted by the aforementioned meter. The third test is a positive and negative detection of the current sensor. If the third test passes, the feedback meter wiring detection ends. Otherwise, the detection ends after the feedback current sensor positive and negative poles are reversed. If no feedback of any wiring error is received, it means that the meter wiring is correct. In this application, the change of the inverter state itself and the change of the meter state are used to determine whether there is an error in the meter wiring, which reduces the use of tools such as volt-ampere phase meters, and the meter wiring detection process is simple, the meter wiring detection operation is simple, and the meter wiring detection efficiency is improved.
[0053] In one possible implementation, the first phase connection identification state is any one of the states in which the inverter stops sending power to the grid, absorbs power, maintains the current working state, or stops the grid-side power change and operates in a stable power output state.
[0054] In one possible implementation, the first test is: setting the first threshold interval and the second threshold, the inverter receives the voltage value of each phase of the meter (U A , U B , U C ), if the calculated voltage value of any phase is in the first threshold interval with the voltage value of another phase or the imbalance is greater than the second threshold, the detection is terminated after judging and feeding back that the voltage sampling is abnormal; otherwise, the voltage sampling is judged to be normal and the first test passes.
[0055] It should be noted that the degree of imbalance is expressed by the mean square root percentage of the negative sequence fundamental wave or zero sequence fundamental wave component of the voltage and current to the positive sequence fundamental wave component.
[0056] As an example, the first threshold interval is set to 1.65-1.75, and the second threshold is set to 2%. If U A It's U B If the calculated imbalance is 1.7 times of 4%, the voltage sampling is abnormal.
[0057] In one possible implementation, the second phase connection identification state is any one of the states in which any one phase sends a specified active power to the grid or any one phase absorbs a specified active power to the grid or any one phase sends capacitive reactive power to the grid or any one phase absorbs inductive reactive power to the grid, and the other two phases maintain the previous state unchanged.
[0058] In one possible implementation mode, it can be known from the above that the second phase connection identification state is to change the power of any one phase, while the power of the other two phases remains unchanged. Assuming that phase A sends a specified active power to the power grid The power of phase B and phase C remains unchanged. The second test is: set the third threshold range, and the inverter receives the power value of each phase of the meter (P A , P B , P C ), traverse P A , P B , P C , calculate P A , P B , P C and The absolute value of the difference, if only P A and If the absolute value of the difference between A The port of is connected to the A phase of the inverter, and then S104 is executed. If the absolute values of the multiple differences are all within the third threshold range, it means that the wiring of the current sensor is abnormal. Then the detection of the other two phases is repeated.
[0059] In one possible implementation, it can be seen from the above that the actual wiring situation between the meter and the inverter may have any two or three phases connected in reverse. In the subsequent processing, the inverter re-marks the phase to which the data collected by each port of the meter belongs according to the actual wiring sequence. In this way, it is only necessary to adjust the value of each phase within the software to convert the transmitted phase value into the phase value of the actual wiring situation. There is no need to arrange workers to rework, which greatly reduces the maintenance cost of the inverter. For example, the inverter receives the power value P to be transmitted by the meter in the order of phase A, phase B, and phase C. A , P B , P C After the second test, the meter transmission P A The port is connected to the inverter phase B, and the meter transmits P B The port is connected to the inverter's C phase, and the meter transmits PC The port of the inverter is connected to the A phase of the inverter. In the subsequent processing, the inverter will A According to the B phase power processing, P B According to the C phase power processing, P C Process according to the A phase power.
[0060] In one possible implementation, the above steps can determine the actual connection conditions of each connection of the meter and each phase of the inverter. At this time, it is also necessary to perform positive and negative detection of the current sensor. The third test is the positive and negative detection of the current sensor. Assuming that inverter phase A outputs or absorbs the specified power, obtain the feedback value of the meter. When inverter phase A is outputting the specified power, if the meter feedback value is a negative value, it means that the current sensor is not connected reversely. If the meter feedback value is a positive value, it means that the current sensor is connected reversely; when inverter phase A is absorbing the specified power, if the meter feedback value is a negative value, it means that the current sensor is connected reversely. If the meter feedback value is a positive value, it means that the current sensor is not connected reversely. Then repeat the detection of the other two phases.
[0061] Furthermore, if the current sensor is connected in reverse, the inverter will take a negative value when processing the reading of the current sensor. It is only necessary to set the power reading of the corresponding phase to a negative value in the software and save the state. When the phase is subsequently switched, the original value is taken as a negative value. There is no need to readjust the installation direction of the current sensor in the meter, and there is no need to arrange workers to rework, which greatly reduces the maintenance cost of the inverter.
[0062] The following will be combined with the attached Figure 2 , the meter wiring detection device provided in the embodiment of the present application is introduced in detail. It should be noted that the attached Figure 2 The electric meter wiring detection device shown is used to implement the present application Figure 1 For the convenience of explanation, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the present application. Figure 1 The embodiment shown.
[0063] See also Figure 2 , Figure 2 Schematic diagram of the structure provided by the embodiment of the present application. Figure 2 As shown, the device comprises:
[0064] Interaction module 201, used to obtain the phase identification command sent by the host computer;
[0065] The first test module 202 is used to enter the first phase identification state, obtain the voltage value of each phase transmitted by the electric meter, and perform a first test according to the voltage value of each phase. If the first test passes, the second test module is executed, otherwise the detection is terminated after the feedback voltage sampling is abnormal;
[0066] The second test module 203 is used to enter the second phase connection identification state, obtain the power value of each phase transmitted by the electric meter, and perform the second test according to the power value of each phase. If the second test passes, the third test module is executed, otherwise the test is terminated after feedback that the electric meter connection is abnormal;
[0067] The third test module 204 is used to perform a third test according to the power value of each phase transmitted by the electric meter. If the third test passes, the feedback meter wiring detection is completed, otherwise the detection is completed after the positive and negative poles of the feedback current sensor are connected in reverse.
[0068] In one possible implementation, the first test module 202 is specifically used for:
[0069] Setting a first threshold interval and a second threshold;
[0070] If the ratio of the voltage value of any phase to the voltage value of another phase is not within the first threshold range or the unbalance degree is less than the second threshold, the first test is passed.
[0071] In one possible implementation mode, the second test module 203 is specifically used to: the two-phase identification state is any one of the states in which any one phase sends a specified active power to the grid or any one phase absorbs a specified active power to the grid or any one phase sends a capacitive reactive power to the grid or any one phase absorbs an inductive reactive power to the grid, and the other two phases keep the previous state unchanged
[0072] In one possible implementation, the second test module 203 is specifically used for:
[0073] A third threshold range is set, the power value fed back by each phase of the electric meter is obtained, and the absolute value of the power value difference of each phase of the electric meter is calculated;
[0074] If the absolute value of the difference between the power values of each phase of the multiple electric meters is within the third threshold range, the detection is terminated after feedback that the connection of the electric meters is abnormal.
[0075] In one embodiment, the second test module 203 is specifically used to re-mark the phase of the data collected from each connection port of the meter according to the actual connection status of the meter and the inverter, and the actual connection status of the meter and the inverter is obtained by the second test.
[0076] In one possible implementation, the third test module 204 is specifically used for:
[0077] Send or absorb the specified power to the electric meter, obtain the feedback value of the electric meter, and determine whether the current sensor is connected reversely based on the positive or negative feedback value.
[0078] In one possible implementation, the third test module 204 is specifically used for: for a phase line in which the current sensor is connected in reverse direction, processing the current sensor reading of the corresponding phase connection of the electric meter as a negative value.
[0079] Those skilled in the art can clearly understand that the technical solutions of the embodiments of the present application can be implemented with the help of software and / or hardware. The "unit" and "module" in this specification refer to software and / or hardware that can independently complete or cooperate with other components to complete specific functions, where the hardware can be, for example, a field programmable gate array (Field-Programmable Gate Array, FPGA), an integrated circuit (Integrated Circuit, IC), etc.
[0080] Each processing unit and / or module of the embodiments of the present application may be implemented by an analog circuit that implements the functions described in the embodiments of the present application, or may be implemented by software that executes the functions described in the embodiments of the present application.
[0081] See also Figure 3 , which shows a schematic diagram of the structure of an electronic device involved in an embodiment of the present application, the electronic device can be used to implement Figure 1 The method in the embodiment shown. Figure 3 As shown, the electronic device 300 may include: at least one central processor 301 , at least one network interface 304 , a user interface 303 , a memory 305 , and at least one communication bus 302 .
[0082] The communication bus 302 is used to realize the connection and communication between these components.
[0083] The user interface 303 may include a display screen (Display) and a camera (Camera). The optional user interface 303 may also include a standard wired interface and a wireless interface.
[0084] The network interface 304 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0085] Among them, the central processing unit 301 may include one or more processing cores. The central processing unit 301 uses various interfaces and lines to connect various parts of the entire electronic device 300, and executes various functions and processes data of the terminal 300 by running or executing instructions, programs, code sets or instruction sets stored in the memory 305, and calling data stored in the memory 305. Optionally, the central processing unit 301 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The central processing unit 301 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics central processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communication. It can be understood that the above-mentioned modem may not be integrated into the central processing unit 301, and it can be implemented separately through a chip.
[0086] Among them, the memory 305 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 305 includes a non-transitory computer-readable storage medium. The memory 305 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 305 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned method embodiments, etc.; the data storage area may store data involved in the above-mentioned method embodiments, etc. The memory 305 may optionally be at least one storage device located away from the aforementioned central processor 301. As Figure 3 As shown, the memory 305 as a computer storage medium may include an operating system, a network communication module, a user interface module, and program instructions.
[0087] exist Figure 3In the electronic device 300 shown, the user interface 303 is mainly used to provide an input interface for the user and obtain data input by the user; and the central processor 301 can be used to call the application stored in the memory 305 and specifically perform the following operations:
[0088] S101, obtaining a phase identification command sent by a host computer;
[0089] S102, entering the first phase identification state, obtaining the voltage value of each phase transmitted by the electric meter, and performing a first test according to the voltage value of each phase. If the first test passes, S103 is executed, otherwise the detection is terminated after the feedback voltage sampling is abnormal;
[0090] S103, entering the second phase connection identification state, obtaining the power value of each phase transmitted by the electric meter, and performing a second test according to the power value of each phase. If the second test passes, S104 is executed, otherwise the detection is terminated after feedback that the electric meter connection is abnormal;
[0091] S104, performing a third test according to the power value of each phase transmitted by the electric meter. If the third test passes, the feedback electric meter wiring detection is completed. Otherwise, the detection is completed after the positive and negative poles of the feedback current sensor are connected in reverse.
[0092] The present application also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD, a CD-ROM, a micro drive, and a magneto-optical disk, a ROM, a RAM, an EPROM, an EEPROM, a DRAM, a VRAM, a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.
[0093] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0094] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0095] In the several embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0096] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0097] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0098] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk and other media that can store program code.
[0099] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by entering a program to instruct the relevant hardware. The program may be stored in a computer-readable memory, and the memory may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0100] The above is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure cannot be limited thereto. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure here, those skilled in the art will easily think of the implementation scheme of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field not recorded in the present disclosure. The description and examples are regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.
Claims
1. A method for detecting the connection of an electric meter, characterized in that: The method comprises: S101, obtaining a phase identification command sent by a host computer; S102, entering the first phase identification state, obtaining the voltage value of each phase transmitted by the electric meter, and performing a first test according to the voltage value of each phase. If the first test passes, S103 is executed, otherwise the detection is terminated after the feedback voltage sampling is abnormal; S103, entering the second phase connection identification state, obtaining the power value of each phase transmitted by the electric meter, and performing a second test according to the power value of each phase. If the second test passes, S104 is executed, otherwise the detection is terminated after feedback that the electric meter connection is abnormal; S104, performing a third test according to the power value of each phase transmitted by the electric meter. If the third test passes, the feedback electric meter wiring detection is completed. Otherwise, the detection is completed after the positive and negative poles of the feedback current sensor are connected in reverse.
2. The method for detecting the connection of an electric meter according to claim 1, characterized in that: The first test includes: Setting a first threshold interval and a second threshold; If the ratio of the voltage value of any phase to the voltage value of another phase is not within the first threshold range or the unbalance degree is less than the second threshold, the first test is passed.
3. The method for detecting the connection of an electric meter according to claim 1, characterized in that: The two-phase identification state is any one of the states in which any one phase sends a specified active power to the grid or any one phase absorbs a specified active power to the grid or any one phase sends a capacitive reactive power to the grid or any one phase absorbs an inductive reactive power to the grid, and the other two phases maintain the previous state unchanged.
4. The method for detecting the connection of an electric meter according to claim 3, characterized in that: The second test includes: A third threshold range is set, the power value fed back by each phase of the electric meter is obtained, and the absolute value of the difference between the power values of each phase of the electric meter is calculated; if the absolute value of the difference between the power values of each phase of multiple electric meters is within the third threshold range, the detection is terminated after the feedback electric meter wiring is abnormal.
5. The method for detecting the connection of an electric meter according to claim 4, characterized in that: According to the actual connection condition between the electric meter and the inverter, the phase to which the data collected from each connection port of the electric meter belongs is re-marked, and the actual connection condition between the electric meter and the inverter is obtained by the second test.
6. The method for detecting the connection of an electric meter according to claim 1, characterized in that: The performing of the third test according to the power value of each phase transmitted by the electric meter comprises: Send or absorb the specified power to the electric meter, obtain the feedback value of the electric meter, and determine whether the current sensor is connected reversely based on the positive or negative feedback value.
7. The method for detecting the connection of an electric meter according to claim 6, characterized in that: For the phase line with the current sensor connected in the reverse direction, the current sensor reading of the corresponding phase connection of the electric meter is processed as a negative value.
8. An electric meter wiring detection device, characterized in that: The device comprises: Interaction module, used to obtain the phase identification command sent by the host computer; The first test module is used to enter the first phase identification state, obtain the voltage value of each phase transmitted by the meter, and perform the first test according to the voltage value of each phase. If the first test passes, the second test module is executed, otherwise the detection is terminated after the feedback voltage sampling is abnormal; The second test module is used to enter the second phase connection identification state, obtain the power value of each phase transmitted by the electric meter, and perform the second test according to the power value of each phase. If the second test passes, the third test module is executed, otherwise the detection is terminated after feedback that the electric meter wiring is abnormal; The third test module is used to perform a third test according to the power value of each phase transmitted by the electric meter. If the third test is passed, the feedback meter wiring detection is completed, otherwise the detection is completed after the positive and negative poles of the feedback current sensor are connected in reverse.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, wherein the computer-readable storage medium has instructions stored therein, and when the instructions are executed on a computer or a processor, the computer or the processor executes the steps of the method according to any one of claims 1 to 7.