CN112986896B - Electric energy meter test system, method and device based on graphical programming - Google Patents

Electric energy meter test system, method and device based on graphical programming Download PDF

Info

Publication number
CN112986896B
CN112986896B CN202110177890.3A CN202110177890A CN112986896B CN 112986896 B CN112986896 B CN 112986896B CN 202110177890 A CN202110177890 A CN 202110177890A CN 112986896 B CN112986896 B CN 112986896B
Authority
CN
China
Prior art keywords
electric energy
energy meter
test
tested
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110177890.3A
Other languages
Chinese (zh)
Other versions
CN112986896A (en
Inventor
周尚礼
张乐平
谢文旺
张鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Southern Power Grid Digital Grid Research Institute Co Ltd
Original Assignee
Southern Power Grid Digital Grid Research Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Southern Power Grid Digital Grid Research Institute Co Ltd filed Critical Southern Power Grid Digital Grid Research Institute Co Ltd
Priority to CN202110177890.3A priority Critical patent/CN112986896B/en
Publication of CN112986896A publication Critical patent/CN112986896A/en
Application granted granted Critical
Publication of CN112986896B publication Critical patent/CN112986896B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass
    • G01R35/04Testing or calibrating of apparatus covered by the other groups of this subclass of instruments for measuring time integral of power or current
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)

Abstract

The application relates to a graphical programming-based electric energy meter test system, a method, a device, computer equipment and a storage medium. The system comprises: the device comprises electric energy meter test equipment, electric energy meter verification equipment and a tested electric energy meter arranged on the electric energy meter verification equipment; the electric energy meter verification device and the electric energy meter to be tested are connected with the electric energy meter test device; the electric energy meter test equipment is used for responding to the graphical test instruction aiming at the electric energy meter to be tested and converting the graphical test instruction into a target test instruction matched with the communication protocol of the electric energy meter verification equipment; the electric energy meter verification equipment is used for receiving the target test instruction and configuring the electric power test environment of the electric energy meter to be tested according to the target test instruction; the electric energy meter testing equipment is also used for collecting the test result data output by the tested electric energy meter in the electric power testing environment. By adopting the method, the test efficiency of the electric energy meter can be improved.

Description

Electric energy meter test system, method and device based on graphical programming
Technical Field
The present disclosure relates to the field of power technology, and in particular, to a system, a method, an apparatus, a computer device, and a storage medium for testing an electric energy meter based on graphical programming.
Background
In recent years, as the functions of the electric energy meter are stronger and larger, the operation reliability and stability of the intelligent electric energy meter are very important for industrial products, so that each function needs to be subjected to strict test. The communication protocols of the intelligent electric energy meter are 3 ten thousand or more, and the functions are related, so that the electric energy meter needs to be tested in a crossing way, the complexity of the electric energy meter is high, and the test period is long.
Therefore, the related art has the problem of low testing efficiency of the electric energy meter.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a graphical programming-based electric energy meter test system, method, apparatus, computer device and storage medium that can improve the efficiency of electric energy meter testing.
An electrical energy meter test system based on graphical programming, comprising: the device comprises electric energy meter test equipment, electric energy meter verification equipment and a tested electric energy meter arranged on the electric energy meter verification equipment; the electric energy meter verification device and the electric energy meter to be tested are connected with the electric energy meter test device;
the electric energy meter test equipment is used for responding to the graphical test instruction aiming at the electric energy meter to be tested and converting the graphical test instruction into a target test instruction matched with the communication protocol of the electric energy meter verification equipment; the graphical test instruction is an instruction generated by graphical programming aiming at a test task of the electric energy meter to be tested;
the electric energy meter verification equipment is used for receiving the target test instruction and configuring the electric power test environment of the electric energy meter to be tested according to the target test instruction;
the electric energy meter testing equipment is also used for collecting the test result data output by the tested electric energy meter in the electric power testing environment.
In one embodiment, the electric energy meter verification device is further configured to determine a test voltage, a test current and a test power factor for the electric energy meter under test according to the target test instruction;
the electric energy meter verification device is further used for outputting the test voltage, the test current and the test power factor to the electric energy meter to be tested.
In one embodiment, the electric energy meter verification device and the electric energy meter to be tested are both in communication connection with the electric energy meter test device through a communication interface; the communication interface comprises at least one of an RS232 serial port, an RS485 serial port, bluetooth and Ethernet.
In one embodiment, the electric energy meter test device is further configured to respond to a graphical calibration instruction for the electric energy meter under test, and convert the graphical calibration instruction into a target calibration instruction matched with a communication protocol of the electric energy meter calibration device; the graphical calibration instruction is an instruction generated by graphical programming aiming at a calibration task of the electric energy meter to be tested;
the electric energy meter verification equipment is used for receiving the target calibration instruction and calibrating the electric energy meter to be tested according to the target calibration instruction.
In one embodiment, the graphical calibration instructions include at least one of a power meter date calibration instruction, a power meter time calibration instruction.
An electric energy meter testing method based on graphical programming, the method comprising:
responding to a graphical test instruction aiming at a tested electric energy meter, and converting the graphical test instruction into a target test instruction matched with a communication protocol of an electric energy meter verification device; the graphical test instruction is an instruction generated by graphical programming aiming at a test task of the electric energy meter to be tested;
sending the target test instruction to the electric energy meter verification device; the electric energy meter verification device is used for configuring the electric power test environment of the electric energy meter to be tested according to the target test instruction after receiving the target test instruction;
and collecting test data output by the tested electric energy meter in the electric power test environment.
In one embodiment, the collecting test data output by the electric energy meter under test in the power test environment includes:
collecting active power data output by the electric energy meter to be tested in the electric power test environment, and obtaining actual output power data of the electric energy meter verification device;
and generating an electric energy meter test result aiming at the test task according to the difference between the active power data and the actual output power data, and taking the electric energy meter test result as the test data.
An electrical energy meter testing device based on graphical programming, the device comprising:
the response module is used for responding to the graphical test instruction aiming at the electric energy meter to be tested and converting the graphical test instruction into a target test instruction matched with the communication protocol of the electric energy meter verification device; the graphical test instruction is an instruction generated by graphical programming aiming at a test task of the electric energy meter to be tested;
the sending module is used for sending the target test instruction to the electric energy meter checking device; the electric energy meter verification device is used for configuring the electric power test environment of the electric energy meter to be tested according to the target test instruction after receiving the target test instruction;
and the acquisition module is used for acquiring the test data output by the tested electric energy meter in the electric power test environment.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the method described above when the processor executes the computer program.
A computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method described above.
The electric energy meter test system based on the graphical programming comprises electric energy meter test equipment, electric energy meter verification equipment and a tested electric energy meter arranged on the electric energy meter verification equipment; the electric energy meter checking equipment and the electric energy meter to be tested are connected with the electric energy meter testing equipment; responding to the graphical test instruction aiming at the electric energy meter to be tested through the electric energy meter test equipment, and converting the graphical test instruction into a target test instruction matched with a communication protocol of the electric energy meter verification equipment; the graphical test instruction is an instruction generated by graphical programming aiming at a test task of the electric energy meter to be tested; then, receiving a target test instruction through electric energy meter verification equipment, and configuring the electric power test environment of the electric energy meter to be tested according to the target test instruction; finally, collecting test result data output by the tested electric energy meter in the electric power test environment through electric energy meter test equipment; therefore, a user only needs to input a graphical test instruction which is easy to edit and understand to the electric energy meter test equipment, the electric energy meter test equipment converts the graphical test instruction into a target test instruction matched with a communication protocol of the electric energy meter verification equipment, so that the electric energy meter verification equipment configures a corresponding electric power test environment for the electric energy meter to be tested based on the target test instruction, test data output by the electric energy meter to be tested in the electric power test environment are collected through the electric power test environment, the complexity of the electric energy meter test process is reduced, the test period of the electric energy meter is shortened, and the test efficiency of the electric energy meter is improved.
Drawings
FIG. 1 is a block diagram of a graphical programming-based power meter test system in one embodiment;
FIG. 2 is a schematic diagram of a system architecture of a power meter testing system according to one embodiment;
FIG. 3 is a schematic flow chart of a method for testing an electric energy meter based on graphical programming in one embodiment;
FIG. 4 is a schematic flow chart of a method for testing an electric energy meter based on graphical programming in another embodiment;
FIG. 5 is a block diagram of a graphical programming-based power meter testing device in one embodiment;
fig. 6 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
In the description of the present application, it should be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or an implicit indication of the number of technical features being indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present application, the meaning of "plurality" is at least two, such as two, three, etc., unless explicitly defined otherwise.
In the description of the present application, it will be understood that when an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. In contrast, when an element is referred to as being "directly connected" to another element, there are no intervening elements present.
For ease of understanding by those skilled in the art, FIG. 1 provides a block diagram of a graphical programming-based power meter testing system; the electric energy meter test system based on the graphical programming comprises: the electric energy meter test equipment 110, the electric energy meter verification equipment 130 and the electric energy meter 120 to be tested which is installed on the electric energy meter verification equipment; the electric energy meter checking equipment and the electric energy meter to be tested are connected with the electric energy meter testing equipment. In practical application, the electric energy meter to be tested is electrically connected with the electric energy meter checking equipment.
The electric energy meter test equipment is used for responding to the graphical test instruction aiming at the electric energy meter to be tested and converting the graphical test instruction into a target test instruction matched with the communication protocol of the electric energy meter verification equipment. In practical application, the electric energy meter test equipment can also be named as an electric energy meter test device.
The graphical test instruction is an instruction generated by graphical programming aiming at a test task of the electric energy meter to be tested.
In the specific implementation, when a user needs to test the electric energy meter to be tested, the user can input a graphical test instruction aiming at the electric energy meter to be tested through the electric energy meter test equipment. Specifically, the user may input a graphical test instruction for the electric energy meter under test through graphical programming software installed on the electric energy meter test equipment, for example, scratch software. In practical application, the control interface for editing, running and stopping the graphical program can be completed through the Scratch software.
After the electric energy meter test equipment receives the graphical test instruction, the electric energy meter test equipment responds to the graphical test instruction aiming at the electric energy meter to be tested and converts the graphical test instruction into a target test instruction matched with a communication protocol of the electric energy meter verification equipment. Specifically, the electric energy meter test equipment can convert the graphical test instruction based on the Scratch communication protocol received by the electric energy meter test equipment into a target test instruction matched with the communication protocol of the electric energy meter verification equipment and the electric energy meter to be tested through protocol conversion service software installed on the electric energy meter test equipment. In practical application, the graphical programming software and the protocol conversion service software adopt HTTP Get requests to realize mutual communication. Wherein the graphical programming software acts as a web server. The graphical programming software sends the data of the graphical test instruction to the protocol conversion service software, so that the protocol conversion service software receives and converts the graphical test instruction into a target test instruction matched with the communication protocol of the electric energy meter verification equipment and the electric energy meter to be tested.
For ease of understanding by those skilled in the art, FIG. 2 provides a schematic diagram of the system architecture of a power meter testing system.
After the electric energy meter test equipment determines the target test instruction, the electric energy meter test equipment can send the target test instruction to the electric energy meter verification equipment through the communication interface. In practical application, the electric energy meter test equipment can send the target test instruction to the electric energy meter verification equipment through at least one communication interface among an RS232 serial port, an RS485 serial port, bluetooth and Ethernet.
The electric energy meter verification equipment is used for receiving the target test instruction and configuring the electric power test environment of the electric energy meter to be tested according to the target test instruction. In practical application, the electric energy meter checking device can be named as an electric energy meter checking device.
In the specific implementation, after receiving a target test instruction sent by the electric energy meter test equipment, the electric energy meter test equipment configures an electric power test environment corresponding to the target test instruction for the electric energy meter to be tested based on the target test instruction, so that the electric energy meter to be tested runs in the electric power test environment.
The electric energy meter testing equipment is also used for collecting the test result data output by the tested electric energy meter in the electric power testing environment.
In the specific implementation, the electric energy meter test equipment also collects test result data output by the tested electric energy meter in the electric power test environment. Specifically, the electric energy meter test equipment can also collect test result data output by the tested electric energy meter in the electric power test environment through at least one communication interface among an RS232 serial port, an RS485 serial port, bluetooth and Ethernet. In practical applications, the power test environment may also be named as a power supply environment.
The electric energy meter test system based on the graphical programming comprises electric energy meter test equipment, electric energy meter verification equipment and a tested electric energy meter arranged on the electric energy meter verification equipment; the electric energy meter checking equipment and the electric energy meter to be tested are connected with the electric energy meter testing equipment; responding to the graphical test instruction aiming at the electric energy meter to be tested through the electric energy meter test equipment, and converting the graphical test instruction into a target test instruction matched with a communication protocol of the electric energy meter verification equipment; the graphical test instruction is an instruction generated by graphical programming aiming at a test task of the electric energy meter to be tested; then, receiving a target test instruction through electric energy meter verification equipment, and configuring the electric power test environment of the electric energy meter to be tested according to the target test instruction; finally, collecting test result data output by the tested electric energy meter in the electric power test environment through electric energy meter test equipment; therefore, a user only needs to input a graphical test instruction which is easy to edit and understand to the electric energy meter test equipment, the electric energy meter test equipment converts the graphical test instruction into a target test instruction matched with a communication protocol of the electric energy meter verification equipment, so that the electric energy meter verification equipment configures a corresponding electric power test environment for the electric energy meter to be tested based on the target test instruction, test data output by the electric energy meter to be tested in the electric power test environment are collected through the electric power test environment, the complexity of the electric energy meter test process is reduced, the test period of the electric energy meter is shortened, and the test efficiency of the electric energy meter is improved.
In another embodiment, the electric energy meter verification device is further configured to determine a test voltage, a test current and a test power factor for the electric energy meter under test according to the target test instruction; the electric energy meter checking equipment is also used for outputting the test voltage, the test current and the test power factor to the electric energy meter to be tested.
In a specific implementation, in a process of configuring a power test environment corresponding to the target test instruction for the electric energy meter to be tested, the electric energy meter verification device specifically includes: the electric energy meter checking equipment can determine the test voltage, the test current and the test power factor applied to the electric energy meter to be tested according to the target test instruction. And then, the electric energy meter verification equipment outputs test voltage, test current and test power factor to the tested electric energy meter, so that the tested electric energy meter is configured with a power test environment corresponding to the target test instruction, and the tested electric energy meter operates in the power test environment.
According to the technical scheme of the embodiment, the electric energy meter verification equipment determines the test voltage, the test current and the test power factor applied to the electric energy meter to be tested according to the target test instruction, and outputs the test voltage, the test current and the test power factor to the electric energy meter to be tested, so that the electric energy meter to be tested is configured with the electric power test environment corresponding to the target test instruction, and the electric energy meter to be tested operates in the electric power test environment conforming to the test task.
In another embodiment, the electric energy meter test device is further configured to respond to a graphical calibration instruction for the electric energy meter under test, and convert the graphical calibration instruction into a target calibration instruction matched with a communication protocol of the electric energy meter calibration device; the graphical calibration instruction is an instruction generated by graphical programming aiming at a calibration task of the electric energy meter to be tested; and the electric energy meter verification equipment is used for receiving the target calibration instruction and calibrating the electric energy meter to be tested according to the target calibration instruction.
The graphical calibration instruction is an instruction generated by graphically programming a calibration task of the electric energy meter to be tested.
The graphical calibration instruction is an instruction generated by graphically programming a calibration task of the electric energy meter to be tested. In practical application, the graphic calibration instruction comprises at least one of an electric energy meter date calibration instruction and an electric energy meter time calibration instruction.
In the specific implementation, when a user needs to calibrate the electric energy meter to be tested, the user can input a graphical calibration instruction aiming at the electric energy meter to be tested through the electric energy meter testing equipment. Specifically, a user may input a graphical calibration instruction for the electric energy meter under test through graphical programming software installed on the electric energy meter test equipment.
After the electric energy meter testing equipment receives the graphic calibration instruction, the electric energy meter testing equipment responds to the graphic calibration instruction aiming at the tested electric energy meter and converts the graphic calibration instruction into a target calibration instruction matched with a communication protocol of the electric energy meter checking equipment. Specifically, the electric energy meter test equipment can convert the graphical calibration instruction based on the Scratch communication protocol received by the electric energy meter test equipment into a target calibration instruction matched with the communication protocol of the electric energy meter verification equipment and the electric energy meter to be tested through protocol conversion service software installed on the electric energy meter test equipment.
After the electric energy meter test equipment determines the target calibration instruction, the electric energy meter test equipment can send the target calibration instruction to the electric energy meter verification equipment through the communication interface. In practical application, the electric energy meter test equipment can send the target calibration instruction to the electric energy meter verification equipment through at least one communication interface among an RS232 serial port, an RS485 serial port, bluetooth and Ethernet.
And after receiving the target calibration instruction, the electric energy meter calibration equipment calibrates the electric energy meter to be tested according to the target calibration instruction.
According to the technical scheme, the graphic calibration instruction for the electric energy meter to be tested is responded, and the graphic calibration instruction is converted into a target calibration instruction matched with a communication protocol of the electric energy meter verification equipment; the graphical calibration instruction is an instruction generated by graphical programming aiming at a calibration task of the electric energy meter to be tested; the electric energy meter calibration device receives the target calibration instruction and calibrates the electric energy meter to be measured according to the target calibration instruction, so that a user can calibrate the electric energy meter to be measured conveniently and rapidly.
In one embodiment, as shown in fig. 3, a method for testing an electric energy meter based on graphical programming is provided, and the method is applied to the electric energy meter testing device 110 in fig. 1 for illustration, and includes the following steps:
step S310, responding to the graphical test instruction of the tested electric energy meter, and converting the graphical test instruction into a target test instruction matched with a communication protocol of the electric energy meter verification device; the graphical test instruction is an instruction generated by graphical programming aiming at a test task of the electric energy meter to be tested.
Step S320, a target test instruction is sent to an electric energy meter checking device; the electric energy meter verification device is used for configuring the electric power test environment of the electric energy meter to be tested according to the target test instruction after receiving the target test instruction.
Step S330, collecting test data output by the tested electric energy meter in the power test environment.
It should be noted that, the specific limitation of the above steps may be referred to the specific limitation of a method for testing an electric energy meter based on graphical programming, which is not described herein.
According to the electric energy meter testing method based on the graphical programming, a user only needs to input the graphical testing instruction which is easy to edit and understand to the electric energy meter testing equipment, the electric energy meter testing equipment converts the graphical testing instruction into the target testing instruction matched with the communication protocol of the electric energy meter checking equipment, so that the electric energy meter checking equipment can configure a corresponding electric power testing environment for the electric energy meter to be tested based on the target testing instruction, further test data output by the electric energy meter to be tested in the electric power testing environment are collected through the electric power testing environment, complexity in the electric energy meter testing process is reduced, the testing period of the electric energy meter is shortened, and the testing efficiency of the electric energy meter is improved.
In another embodiment, collecting test data output by a tested electric energy meter in a power test environment includes: collecting active power data output by a tested electric energy meter in an electric power test environment, and obtaining actual output power data of an electric energy meter verification device; and generating an electric energy meter test result aiming at the test task according to the difference between the active power data and the actual output power data, and taking the electric energy meter test result as test data.
In a specific implementation, in the process of collecting test data output by the electric energy meter under test in the power test environment, the electric energy meter test equipment specifically comprises: the electric energy meter testing equipment acquires active power data output by the electric energy meter to be tested in the electric power testing environment, and acquires actual output power data of the electric energy meter checking device. Then, the electric energy meter test device generates an electric energy meter test result for the test task according to the deviation between the active power data and the actual output power data, for example, a txt file (a text file) is generated as test data.
According to the technical scheme, active power data output by the electric energy meter to be tested in an electric power test environment are collected, actual output power data of an electric energy meter checking device are obtained, and finally, an electric energy meter test result aiming at a test task is generated according to the difference between the active power data and the actual output power data and is used as test data; therefore, the user can know the actual performance of the electric energy meter to be tested based on the difference between the active power data and the actual output power data.
In another embodiment, as shown in fig. 4, a method for testing an electric energy meter based on graphical programming is provided, and the method is applied to the electric energy meter testing device 110 in fig. 1 for illustration, and includes the following steps:
step S410, responding to a graphical test instruction aiming at the electric energy meter to be tested, and converting the graphical test instruction into a target test instruction matched with a communication protocol of the electric energy meter verification device; the graphical test instruction is an instruction generated by graphically programming a test task of the electric energy meter to be tested.
Step S420, sending the target test instruction to the electric energy meter checking device; the electric energy meter verification device is used for configuring the electric power test environment of the electric energy meter to be tested according to the target test instruction after receiving the target test instruction.
Step S430, collecting active power data output by the tested electric energy meter in the electric power test environment, and obtaining actual output power data of the electric energy meter verification device.
Step S440, generating an electric energy meter test result for the test task according to the difference between the active power data and the actual output power data, as the test data.
It should be noted that, the specific limitation of the above steps may be referred to the specific limitation of a method for testing an electric energy meter based on graphical programming, which is not described herein.
It should be understood that, although the steps in the flowcharts of fig. 3 and 4 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least a portion of the steps in fig. 3 and 4 may include a plurality of steps or stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the execution of the steps or stages is not necessarily sequential, but may be performed in turn or alternately with at least a portion of the steps or stages in other steps or other steps.
In one embodiment, as shown in fig. 5, there is provided a graphic programming-based electric energy meter testing device, comprising:
the response module 510 is configured to respond to a graphical test instruction for a tested electric energy meter, and convert the graphical test instruction into a target test instruction matched with a communication protocol of an electric energy meter verification device; the graphical test instruction is an instruction generated by graphical programming aiming at a test task of the electric energy meter to be tested;
a sending module 520, configured to send the target test instruction to the electric energy meter verification device; the electric energy meter verification device is used for configuring the electric power test environment of the electric energy meter to be tested according to the target test instruction after receiving the target test instruction;
and the acquisition module 530 is used for acquiring test data output by the electric energy meter under test in the power test environment.
In one embodiment, the collection module 530 is specifically configured to collect active power data output by the tested electric energy meter in the power test environment, and obtain actual output power data of the electric energy meter calibration device; and generating an electric energy meter test result aiming at the test task according to the difference between the active power data and the actual output power data, and taking the electric energy meter test result as the test data.
For specific limitation of an electric energy meter testing device based on graphical programming, reference may be made to the limitation of an electric energy meter testing method based on graphical programming hereinabove, and the description thereof will not be repeated here. The modules in the electric energy meter testing device based on the graphical programming can be all or partially realized by software, hardware and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 6. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program, when executed by the processor, implements a method for testing an electric energy meter based on graphical programming. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 6 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided that includes a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of a graphical programming-based power meter testing method described above. The steps of the electric energy meter testing method based on the graphical programming may be the steps of the electric energy meter testing method based on the graphical programming in the above embodiments.
In one embodiment, a computer readable storage medium is provided, storing a computer program which, when executed by a processor, causes the processor to perform the steps of a method for testing a power meter based on graphical programming as described above. The steps of the electric energy meter testing method based on the graphical programming may be the steps of the electric energy meter testing method based on the graphical programming in the above embodiments.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples merely represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (9)

1. An electrical energy meter test system based on graphical programming, comprising: the device comprises electric energy meter test equipment, electric energy meter verification equipment and a tested electric energy meter arranged on the electric energy meter verification equipment; the electric energy meter verification device and the electric energy meter to be tested are connected with the electric energy meter test device; the electric energy meter test equipment is provided with protocol conversion service software and graphical programming software;
the electric energy meter test equipment is used for receiving graphical programming aiming at a test task of the electric energy meter to be tested through the graphical programming software and generating a graphical test instruction aiming at the electric energy meter to be tested; responding to a graphical test instruction aiming at the electric energy meter to be tested, and converting the graphical test instruction into a target test instruction matched with a communication protocol of the electric energy meter verification equipment; the graphical test instruction is sent to the protocol conversion service software by the graphical programming software through an HTTP Get request; the graphical programming software is used as a web server; converting the graphical test instruction into the target test instruction through the protocol conversion service software;
the electric energy meter verification equipment is used for receiving the target test instruction and configuring the electric power test environment of the electric energy meter to be tested according to the target test instruction; according to the target test instruction, determining a test voltage, a test current and a test power factor applied to the electric energy meter to be tested; outputting the test voltage, the test current and the test power factor to the tested electric energy meter so as to configure a power test environment corresponding to the target test instruction for the tested electric energy meter, so that the tested electric energy meter operates in the power test environment;
the electric energy meter test equipment is also used for collecting test data output by the tested electric energy meter in the electric power test environment; the method specifically comprises the steps of collecting active power data output by the electric energy meter to be tested in the electric power test environment, and obtaining actual output power data of the electric energy meter verification equipment; and generating an electric energy meter test result aiming at the test task according to the difference between the active power data and the actual output power data, and taking the electric energy meter test result as the test data.
2. The system of claim 1, wherein the meter verification device is further configured to determine a test voltage, a test current, and a test power factor for the meter under test based on the target test instruction;
the electric energy meter verification device is further used for outputting the test voltage, the test current and the test power factor to the electric energy meter to be tested.
3. The system of claim 1, wherein the meter verification device and the meter under test are both communicatively coupled to the meter test device via a communication interface; the communication interface comprises at least one of an RS232 serial port, an RS485 serial port, bluetooth and Ethernet.
4. The system of claim 1, wherein the meter test device is further configured to respond to a graphical calibration command for the meter under test and to convert the graphical calibration command into a target calibration command that matches a communication protocol of the meter verification device; the graphical calibration instruction is an instruction generated by graphical programming aiming at a calibration task of the electric energy meter to be tested;
the electric energy meter verification equipment is used for receiving the target calibration instruction and calibrating the electric energy meter to be tested according to the target calibration instruction.
5. The system of claim 4, wherein the graphical calibration instructions comprise at least one of a power meter date calibration instruction, a power meter time calibration instruction.
6. An electric energy meter testing method based on graphical programming, which is characterized by comprising the following steps:
receiving graphical programming aiming at a test task of a tested electric energy meter through graphical programming software, and generating a graphical test instruction aiming at the tested electric energy meter; responding to a graphical test instruction aiming at the electric energy meter to be tested, and converting the graphical test instruction into a target test instruction matched with a communication protocol of an electric energy meter verification device; the graphical testing instruction is sent to the protocol conversion service software by the graphical programming software through an HTTP Get request; the protocol conversion service software is used for converting the graphical test instruction into the target test instruction; wherein the graphical programming software is used as a web server;
sending the target test instruction to the electric energy meter verification device; the electric energy meter verification device is used for configuring the electric power test environment of the electric energy meter to be tested according to the target test instruction after receiving the target test instruction; the electric energy meter verification device is used for determining test voltage, test current and test power factor applied to the electric energy meter to be tested according to the target test instruction; outputting the test voltage, the test current and the test power factor to the tested electric energy meter so as to configure a power test environment corresponding to the target test instruction for the tested electric energy meter, so that the tested electric energy meter operates in the power test environment;
collecting test data output by the tested electric energy meter in the electric power test environment; the method specifically comprises the steps of collecting active power data output by the electric energy meter to be tested in the electric power test environment, and obtaining actual output power data of the electric energy meter verification device; and generating an electric energy meter test result aiming at the test task according to the difference between the active power data and the actual output power data, and taking the electric energy meter test result as the test data.
7. An electrical energy meter testing device based on graphical programming, the device comprising:
the response module is used for receiving graphical programming aiming at a test task of the electric energy meter to be tested through graphical programming software and generating a graphical test instruction aiming at the electric energy meter to be tested; responding to a graphical test instruction aiming at the electric energy meter to be tested, and converting the graphical test instruction into a target test instruction matched with a communication protocol of an electric energy meter verification device; the graphical testing instruction is sent to the protocol conversion service software by the graphical programming software through an HTTP Get request; the protocol conversion service software is used for converting the graphical test instruction into the target test instruction; wherein the graphical programming software is used as a web server;
the sending module is used for sending the target test instruction to the electric energy meter checking device; the electric energy meter verification device is used for configuring the electric power test environment of the electric energy meter to be tested according to the target test instruction after receiving the target test instruction; the electric energy meter verification device is used for determining test voltage, test current and test power factor applied to the electric energy meter to be tested according to the target test instruction; outputting the test voltage, the test current and the test power factor to the tested electric energy meter so as to configure a power test environment corresponding to the target test instruction for the tested electric energy meter, so that the tested electric energy meter operates in the power test environment;
the acquisition module is used for acquiring test data output by the tested electric energy meter in the electric power test environment; the method specifically comprises the steps of collecting active power data output by the electric energy meter to be tested in the electric power test environment, and obtaining actual output power data of the electric energy meter verification device; and generating an electric energy meter test result aiming at the test task according to the difference between the active power data and the actual output power data, and taking the electric energy meter test result as the test data.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of claim 6 when executing the computer program.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of claim 6.
CN202110177890.3A 2021-02-09 2021-02-09 Electric energy meter test system, method and device based on graphical programming Active CN112986896B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110177890.3A CN112986896B (en) 2021-02-09 2021-02-09 Electric energy meter test system, method and device based on graphical programming

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110177890.3A CN112986896B (en) 2021-02-09 2021-02-09 Electric energy meter test system, method and device based on graphical programming

Publications (2)

Publication Number Publication Date
CN112986896A CN112986896A (en) 2021-06-18
CN112986896B true CN112986896B (en) 2023-05-02

Family

ID=76392658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110177890.3A Active CN112986896B (en) 2021-02-09 2021-02-09 Electric energy meter test system, method and device based on graphical programming

Country Status (1)

Country Link
CN (1) CN112986896B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133187A (en) * 2014-05-26 2014-11-05 国家电网公司 System for detecting intelligent electric energy meter and method thereof
CN105223536A (en) * 2015-10-14 2016-01-06 国家电网公司 A kind of portable electric meter field calibration system
CN204964744U (en) * 2015-10-14 2016-01-13 国家电网公司 On --spot calibration system of portable electric energy meter
CN207424664U (en) * 2017-09-15 2018-05-29 郑州众智科技股份有限公司 A kind of testboard automatic checkout system based on LABVIEW

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101354417A (en) * 2008-09-19 2009-01-28 宁波三星电气股份有限公司 Circuit board test device of electrical energy meter based on virtual instrument technique
CN102608450B (en) * 2012-02-24 2014-07-02 江苏凌创电气自动化股份有限公司 Testing and verifying system appropriate for intelligent transformer substation and verifying method
CN104422834A (en) * 2013-09-08 2015-03-18 郑州朗鑫智能电子科技有限公司 Power grid safety supervision detection device based on intelligent electric meter
CN106526526B (en) * 2016-12-08 2019-06-07 国网四川省电力公司电力科学研究院 A kind of the digitized measurement opening machine system test device
CN107479019A (en) * 2017-07-10 2017-12-15 三峡大学 A kind of high-precision digital electric energy meter on-line testing system
CN109655781A (en) * 2019-01-21 2019-04-19 北京振中电子技术有限公司 Detection device of electric energy meter, system and power grid maintenance equipment
CN111444103B (en) * 2020-03-31 2024-04-26 腾讯音乐娱乐科技(深圳)有限公司 Web page automatic testing method and related equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133187A (en) * 2014-05-26 2014-11-05 国家电网公司 System for detecting intelligent electric energy meter and method thereof
CN105223536A (en) * 2015-10-14 2016-01-06 国家电网公司 A kind of portable electric meter field calibration system
CN204964744U (en) * 2015-10-14 2016-01-13 国家电网公司 On --spot calibration system of portable electric energy meter
CN207424664U (en) * 2017-09-15 2018-05-29 郑州众智科技股份有限公司 A kind of testboard automatic checkout system based on LABVIEW

Also Published As

Publication number Publication date
CN112986896A (en) 2021-06-18

Similar Documents

Publication Publication Date Title
CN111083225B (en) Data processing method and device in Internet of things platform and Internet of things platform
US8954016B2 (en) Method for enabling prompt diagnosis of a field device connected to a wireless adapter
CN109218048A (en) To the performance test methods and device of an industrial system being deployed on cloud
CN111556158A (en) Access method, access device, access equipment and storage medium of Internet of things platform
US11740997B2 (en) Method and apparatus for debugging a device
KR20180058189A (en) System, apparatus, method for monitoring industrial equipment and computer program
CN110913362B (en) Method and device for realizing wireless signal test through client and test equipment
CN111367812A (en) Test method, electronic device and readable storage medium
CN112367680A (en) External communication test method and device based on intelligent electric meter and computer equipment
CN110794189A (en) Data acquisition method and device and related equipment
CN112986896B (en) Electric energy meter test system, method and device based on graphical programming
CN117130312A (en) Remote calibration method and device of electronic controller unit and electronic equipment
CN116723094A (en) Device access method, device, computer device and storage medium
CN115408220A (en) CPU fault testing method, server and storage medium
CN111541589B (en) Method, device and equipment for testing expansion module interface of intelligent terminal
CN110632519A (en) Fuel cell fault diagnosis method and apparatus
Khokhlov et al. Data security and quality evaluation framework: Implementation empirical study on android devices
CN112306842B (en) Energy storage system testing method, device and system and terminal equipment
CN105446867A (en) Method and apparatus for generating test data
CN104236474A (en) Bridge deformation monitoring method and system based on laser measurement and 485 bus
CN107809330B (en) Equipment configuration method
KR20160147493A (en) Method of saving energy based on confidence interval and apparatus using the same
CN112286830A (en) Testing method and device of electrical measuring instrument, computer equipment and storage medium
JP2019140811A (en) Remote monitoring device, remote monitoring method, and program
CN113595763B (en) Fault-tolerant control method and device, fault-tolerant controller and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant