CN116755024A - Method and device for testing electric energy meter communication interface and readable storage medium - Google Patents

Method and device for testing electric energy meter communication interface and readable storage medium Download PDF

Info

Publication number
CN116755024A
CN116755024A CN202310532393.XA CN202310532393A CN116755024A CN 116755024 A CN116755024 A CN 116755024A CN 202310532393 A CN202310532393 A CN 202310532393A CN 116755024 A CN116755024 A CN 116755024A
Authority
CN
China
Prior art keywords
electric energy
energy meter
place signal
pulse
word
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310532393.XA
Other languages
Chinese (zh)
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.)
Shenzhen Clou Electronics Co Ltd
Original Assignee
Shenzhen Clou Electronics 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 Shenzhen Clou Electronics Co Ltd filed Critical Shenzhen Clou Electronics Co Ltd
Priority to CN202310532393.XA priority Critical patent/CN116755024A/en
Publication of CN116755024A publication Critical patent/CN116755024A/en
Pending legal-status Critical Current

Links

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
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R1/00Details of instruments or arrangements of the types included in groups G01R5/00 - G01R13/00 and G01R31/00
    • G01R1/28Provision in measuring instruments for reference values, e.g. standard voltage, standard waveform

Abstract

The application discloses a testing method, testing equipment and readable storage medium of an electric energy meter communication interface, relating to the technical field of electric power systems, wherein the method comprises the following steps: responding to a reset signal from an electric energy meter, and sending an in-place signal test instruction to the electric energy meter so that the electric energy meter sends an in-place signal state word according to the in-place signal test instruction; sequentially sending different pulse output instructions to the electric energy meter so that the electric energy meter sequentially outputs different pulse signals according to the pulse output instructions; sequentially analyzing a plurality of pulse signals to obtain a pulse type corresponding to each pulse signal; acquiring an event output level of the electric energy meter in a non-active reporting state; and obtaining a test result according to the in-place signal state word, the pulse type and the event output level. The application can test the signals generated by the pins of the communication interface and improve the integrity of the pin function test.

Description

Method and device for testing electric energy meter communication interface and readable storage medium
Technical Field
The present application relates to the field of power systems, and in particular, to a method and apparatus for testing a communication interface of an electric energy meter, and a readable storage medium.
Background
In order to monitor the electric energy measurement condition of the intelligent electric energy meter, the intelligent electric energy meter is generally connected with a communication interface on the electric energy meter through a power grid total system in the prior art so as to remotely acquire the measurement result of the corresponding electric energy meter. In order to ensure that the power grid total system can smoothly communicate with the electric energy meter, the communication interface of the electric energy meter needs to be tested, but the existing communication interface of the electric energy meter can only detect whether each pin can normally communicate, but can not detect whether part of pins can generate specific signals, namely, the functions of part of pins can not be subjected to targeted test, and certain defects exist in the existing detection mode.
Disclosure of Invention
The present application aims to solve at least one of the technical problems existing in the prior art. Therefore, the application provides a testing method, testing equipment and readable storage medium for a communication interface of an electric energy meter, which can test signals generated by pins of the communication interface and improve the integrity of pin function testing.
In a first aspect, the present application provides a method for testing a communication interface of an electric energy meter, including:
responding to a reset signal from an electric energy meter, and sending an in-place signal test instruction to the electric energy meter so that the electric energy meter sends an in-place signal state word according to the in-place signal test instruction;
sequentially sending different pulse output instructions to the electric energy meter so that the electric energy meter sequentially outputs different pulse signals according to the pulse output instructions;
sequentially analyzing a plurality of pulse signals to obtain a pulse type corresponding to each pulse signal;
acquiring an event output level of the electric energy meter in a non-active reporting state;
and obtaining a test result according to the in-place signal state word, the pulse type and the event output level.
The method for testing the communication interface of the electric energy meter according to the embodiment of the first aspect of the application has at least the following beneficial effects: responding to a reset signal from the electric energy meter, and sending an in-place signal test instruction to the electric energy meter so that the electric energy meter sends an in-place signal state word according to the in-place signal test instruction, and the electric energy meter feeds back the in-place signal state word by identifying the level state of the in-place signal test instruction so as to judge whether an in-place signal pin is normal or not; sequentially sending different pulse output instructions to the electric energy meter so that the electric energy meter sequentially outputs different pulse signals according to the pulse output instructions, sequentially analyzing a plurality of pulse signals to obtain a pulse type corresponding to each pulse signal, and judging whether the functions of the multifunctional pulse output pins are normal or not through the pulse signals and the corresponding pulse types; the method and the device can test signals generated by the pins of the communication interface and improve the integrity of the pin function test.
According to some embodiments of the first aspect of the present application, before the step of sending the in-place signal test instruction to the electric energy meter in response to the reset signal from the electric energy meter, so that the electric energy meter sends the in-place signal status word according to the in-place signal test instruction, the method further includes: applying a first voltage value, a first current value, and a first power factor to the electric energy meter; the first voltage value is equal to the rated voltage of the electric energy meter, the first current value is equal to twice the rated current of the electric energy meter, and the first power factor is 0.5L.
According to some embodiments of the first aspect of the application, the test result comprises a number of word bits; the different word bits are used for representing test results of an in-place signal pin, a multifunctional pulse output pin and an event state pin respectively; and obtaining a test result according to the in-place signal state word, the pulse type and the event output level, wherein the test result comprises the following steps: changing the state of the word bit corresponding to the test result according to the in-place signal state word, the pulse type and the event output level; when communication connection is established with the electric energy meter, the zeroth word bit of the test result is changed to be 1.
According to some embodiments of the first aspect of the present application, the sending, in response to a reset signal from a power meter, a signal-in-place test instruction to the power meter, so that the power meter sends a signal-in-place status word according to the signal-in-place test instruction, includes: receiving a first level of a reset pin in the electric energy meter communication interface; and when the level state of the first level is a preset first level type, and the level state of the first level is kept not smaller than a preset first time, sending an in-place signal test instruction to the electric energy meter, so that the electric energy meter sends an in-place signal state word according to the in-place signal test instruction.
According to some embodiments of the first aspect of the present application, the sending the in-place signal test instruction to the electric energy meter, so that the electric energy meter sends the in-place signal status word according to the in-place signal test instruction, includes: transmitting the high-level in-place signal test instruction to the electric energy meter, and acquiring the in-place signal state word generated by the electric energy meter according to the high-level in-place signal test instruction after a second time interval; transmitting the low-level in-place signal test instruction to the electric energy meter, and acquiring the in-place signal state word generated by the electric energy meter according to the low-level in-place signal test instruction after the second time interval; the changing the state of the word bit corresponding to the test result includes: and when the in-place signal test instruction is matched with the in-place signal state word, rewriting the first word bit of the test result to be 1.
According to some embodiments of the first aspect of the application, the pulse output instruction comprises: a second pulse output command, an active pulse output command and a reactive pulse output command.
According to some embodiments of the first aspect of the present application, the changing the state of the word bit corresponding to the test result includes: when the second pulse output instruction is sent to the electric energy meter and the pulse type corresponding to the received pulse signal is second pulse, the second word bit of the test result is rewritten to be 1; when the active pulse output instruction is sent to the electric energy meter, and the pulse type corresponding to the received pulse signal is active pulse, rewriting the third word bit of the test result to be 1; and when the reactive pulse output instruction is sent to the electric energy meter and the pulse type corresponding to the received pulse signal is reactive pulse, rewriting a fourth word bit of the test result into 1.
According to some embodiments of the first aspect of the present application, the changing the state of the word bit corresponding to the test result includes: and when the event output level of the electric energy meter in the non-active reporting state is in a preset second level state, rewriting the fifth word bit of the test result into 1.
In a second aspect, the present application also provides a test apparatus comprising: at least one memory; at least one processor; at least one program; the program is stored in the memory, and the processor executes at least one of the programs to implement the method for testing a communication interface of a power meter according to any one of the embodiments of the first aspect.
In a third aspect, the present application also provides a computer readable storage medium storing a computer executable signal for performing a method for testing a communication interface of an electric energy meter according to any one of the embodiments of the first aspect.
Additional aspects and advantages of the application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application.
Drawings
Additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
FIG. 1 is a flow chart of a method for testing a communication interface of an electric energy meter according to an embodiment of the application;
FIG. 2 is a flowchart of a method for testing a communication interface of an electric energy meter according to another embodiment of the present application;
FIG. 3 is a flowchart of a method for testing a communication interface of an electric energy meter according to another embodiment of the present application;
FIG. 4 is a flowchart of a method for testing a communication interface of an electric energy meter according to another embodiment of the present application;
fig. 5 is a flowchart of a method for testing a communication interface of an electric energy meter according to another embodiment of the application.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the application.
In the description of the present application, it should be understood that references to orientation descriptions such as upper, lower, front, rear, left, right, etc. are based on the orientation or positional relationship shown in the drawings, are merely for convenience of description of the present application and to simplify the description, and do not indicate or imply that the apparatus or elements referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus should not be construed as limiting the present application.
In the description of the present application, the description of the first and second is only for the purpose of distinguishing technical features, and should not be construed as indicating or implying relative importance or implying the number of technical features indicated or the precedence of the technical features indicated.
In the description of the present application, unless explicitly defined otherwise, terms such as arrangement, installation, connection, etc. should be construed broadly and the specific meaning of the terms in the present application can be reasonably determined by a person skilled in the art in combination with the specific contents of the technical scheme.
In order to monitor the electric energy measurement condition of the intelligent electric energy meter, the intelligent electric energy meter is generally connected with a communication interface on the electric energy meter through a power grid total system in the prior art so as to remotely acquire the measurement result of the corresponding electric energy meter. In order to ensure that the power grid total system can smoothly communicate with the electric energy meter, the communication interface of the electric energy meter needs to be tested, but the existing communication interface of the electric energy meter can only detect whether each pin can normally communicate, but can not detect whether part of pins can generate specific signals, namely, the functions of part of pins can not be subjected to targeted test, and certain defects exist in the existing detection mode.
Generally, the communication interface of the electric energy meter comprises 12 pins, and the number and the corresponding signal category, signal name, signal direction and function of each pin are shown in the following table:
for example, for the 6 th pin, the 11 th pin and the 12 th pin, in the conventional test method, only the pin can be detected to be unable to normally communicate, and the function of the pin cannot be specifically tested. Based on the above, the application provides a method and a device for testing a communication interface of an electric energy meter, and a readable storage medium, so as to solve the above technical problems.
In a first aspect, referring to fig. 1, the present application provides a method for testing a communication interface of an electric energy meter, which is applied to a testing device of the communication interface of the electric energy meter, and the testing method includes, but is not limited to, the following steps:
step S110: responding to a reset signal from the electric energy meter, and sending an in-place signal test instruction to the electric energy meter so that the electric energy meter sends an in-place signal state word according to the in-place signal test instruction;
step S120: sequentially sending different pulse output instructions to the electric energy meter so that the electric energy meter sequentially outputs different pulse signals according to the pulse output instructions;
step S130: sequentially analyzing a plurality of pulse signals to obtain a pulse type corresponding to each pulse signal;
step S140: acquiring an event output level of the electric energy meter in a non-active reporting state;
step S150: and obtaining a test result according to the in-place signal state word, the pulse type and the event output level.
Responding to a reset signal from the electric energy meter, and sending an in-place signal test instruction to the electric energy meter so that the electric energy meter sends an in-place signal state word according to the in-place signal test instruction, and the electric energy meter feeds back the in-place signal state word by identifying the level state of the in-place signal test instruction so as to judge whether an in-place signal pin is normal or not; sequentially sending different pulse output instructions to the electric energy meter so that the electric energy meter sequentially outputs different pulse signals according to the pulse output instructions, sequentially analyzing a plurality of pulse signals to obtain a pulse type corresponding to each pulse signal, and judging whether the functions of the multifunctional pulse output pins are normal or not through the pulse signals and the corresponding pulse types; the method and the device can test signals generated by the pins of the communication interface and improve the integrity of the pin function test.
It will be appreciated that the following steps are included, but not limited to, before step S110:
applying a first voltage value, a first current value, and a first power factor to the electric energy meter; the first voltage value is equal to the rated voltage of the electric energy meter, the first current value is equal to twice the rated current of the electric energy meter, and the first power factor is 0.5L.
The applied first current is twice the rated current of the electric energy meter, so that the pulse transmission frequency can be improved, and the first power factor is set to be 0.5L so that the electric energy meter can output active pulses and reactive pulses to the outside.
Referring to fig. 2, it can be understood that the test result includes a number of word bits, wherein different word bits are used to characterize the test results of the in-place signal pin (No. 12 pin com_rq), the multifunctional pulse output pin (No. 6 pin MULTI), and the event status pin (No. 11 pin event), respectively; wherein, step S150 may include, but is not limited to, the following steps:
step S210: changing the state of a word bit corresponding to the test result according to the in-place signal state word, the pulse type and the event output level;
step S220: and establishing communication connection with the electric energy meter, and changing the zero-th word bit of the test result to be 1.
In the embodiment of the application, the test result comprises 6 word bits, the zeroth word bit0 is used for indicating whether the communication with the electric energy meter is normal, the first word bit1 is used for indicating whether the function of an in-place signal pin is normal, the second to fourth word bits bit2, bit3 and bit4 are used for indicating whether the function of a multifunctional pulse output pin is normal, and the fifth word bit5 is used for indicating whether the function of an event state pin is normal. The application does not limit the number of the word bits corresponding to the test result.
Referring to fig. 3, it can be appreciated that in step S120, the following steps may be included, but are not limited to:
step S310: receiving a first level of a reset pin in a communication interface of the electric energy meter;
step S320: when the level state of the first level is a preset first level type, and the level state of the first level is kept not smaller than a preset first time, an in-place signal test instruction is sent to the electric energy meter, so that the electric energy meter sends an in-place signal state word according to the in-place signal test instruction.
In the embodiment of the application, after the test equipment is in butt joint with the electric energy meter, the first level of the reset pin/RST of the electric energy meter is received, the level state of the first level is judged to be a preset first level type, the level state of the first level is kept to be not smaller than the preset first time to indicate that the butt joint is successful, specifically the first level type is low level, the level state of the first level is kept at the low level for 100ms to indicate that the test equipment is in butt joint with the electric energy meter successfully, and an in-place signal test instruction is sent to the electric energy meter to test the function of the in-place signal pin.
Referring to fig. 4, it can be understood that, in the step of transmitting the in-place signal status word by the electric energy meter according to the in-place signal test instruction in step S320, the following steps may be included, but are not limited to:
step S410: transmitting a high-level in-place signal test instruction to the electric energy meter, and acquiring an in-place signal state word generated by the electric energy meter according to the high-level in-place signal test instruction after a second time interval;
step S420: transmitting a low-level in-place signal test instruction to the electric energy meter, and acquiring an in-place signal state word generated by the electric energy meter according to the low-level in-place signal test instruction after a second time interval;
correspondingly, the step of changing the state of the word bit corresponding to the test result in step S210 may include, but is not limited to, the following steps:
step S430: when the in-place signal test instruction is matched with the in-place signal state word, the first word bit of the test result is rewritten to 1.
The method comprises the steps of sending a high-level in-place signal test instruction and a low-level in-place signal test instruction to the electric energy meter, judging whether the electric energy meter can accurately identify a level signal input by an in-place signal pin COM_RQ according to an in-place signal state word in the electric energy year range, when the in-place signal test instruction is matched with the in-place signal state word, rewriting a first word bit of a test result into 1, namely an operator can judge whether the in-place signal pin COM_RQ is normal by checking the state of the first word bit of the test result, when the first word bit is 0, the in-place signal pin COM_RQ is abnormal in function, and when the first word bit is 1, the in-place signal pin COM_RQ is normal in function.
It is understood that the pulse output command includes a second pulse output command, an active pulse output command, and a reactive pulse output command.
Referring to fig. 5, it can be understood that the step of changing the state of the word bit corresponding to the test result in step S210 may further include, but is not limited to, the following steps:
step S510: when a second pulse output instruction is sent to the electric energy meter and the pulse type corresponding to the received pulse signal is second pulse, the second word bit of the test result is rewritten to 1;
step S520: when an active pulse output instruction is sent to the electric energy meter, and the pulse type corresponding to the received pulse signal is an active pulse, a third word bit of the test result is rewritten to be 1;
step S530: and when a reactive pulse output instruction is sent to the electric energy meter, and the pulse type corresponding to the received pulse signal is reactive pulse, the fourth word bit of the test result is rewritten to 1.
In steps S510 to S530, the second to fourth word bits of the test result respectively represent output functions of different pulse types of the multifunctional pulse output pin MULTI, a pulse output instruction of which pulse type needs to be output is sent to the electric energy meter through the test device to determine whether the electric energy meter can output a pulse signal of the pulse type, the second word bit represents whether the output function of the multifunctional pulse output pin for a second pulse is normal, the third word bit represents whether the output function of the multifunctional pulse output pin for an active pulse is normal, the fourth word bit represents whether the output function of the multifunctional pulse output pin for a reactive pulse is normal, when the word bit is 1, the output function of the multifunctional pulse output pin for the reactive pulse is normal, and when the word bit is 0, the output function of the multifunctional pulse output pin for the second pulse is abnormal.
It is understood that the step of changing the state of the word bit corresponding to the test result in step S210 may further include, but is not limited to, the following steps:
and when the event output level of the electric energy meter in the non-active reporting state is in a preset second level state, the fifth word bit of the test result is rewritten to be 1.
In the embodiment of the application, the second level state is a low level, that is, when the event output level in the non-active report state is a low level, the function of the event state pin is normal, that is, the fifth word bit of the test result is used for indicating whether the function of the event state pin is normal.
It should be noted that, if the related operator checks that the detection result of the electric energy meter is 0x3F when detecting the electric energy meter, the pin representing the electric energy meter functions normally.
In a second aspect, the present application also provides a test apparatus comprising: at least one memory, at least one processor, and at least one program stored in the memory, the processor executing one or more programs to implement the method of testing a power meter communication interface described above.
The application respectively tests the apparatus and sends the signal test instruction to the electric energy meter in order to make the electric energy meter send the signal status word in order according to the signal test instruction in order, the electric energy meter is through discern the level state of the signal test instruction in order to feed back to the signal status word in order to judge whether the signal pin in order is normal or not; sequentially sending different pulse output instructions to the electric energy meter so that the electric energy meter sequentially outputs different pulse signals according to the pulse output instructions, sequentially analyzing a plurality of pulse signals to obtain a pulse type corresponding to each pulse signal, and judging whether the functions of the multifunctional pulse output pins are normal or not through the pulse signals and the corresponding pulse types; the method and the device can test signals generated by the pins of the communication interface and improve the integrity of the pin function test.
The memory, as a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer-executable programs, and signals, such as program instructions/signals corresponding to the processing modules in embodiments of the present application. The processor executes various functional applications and data processing by running non-transitory software programs, instructions and signals stored in the memory, namely, the method for testing the electric energy meter communication interface according to the method embodiment is realized.
The memory may include a memory program area and a memory data area, wherein the memory program area may store an operating system, at least one application program required for a function; the storage data area can store relevant data of the electric energy meter communication interface testing method and the like. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory remotely located relative to the processor, the remote memory being connectable to the processing module through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more signals are stored in the memory and when executed by the one or more processors, perform the method of testing the communications interface of the electric energy meter of any of the method embodiments described above. For example, the above-described method steps S110 to S150 in fig. 1, the method steps S210 to S220 in fig. 2, the method steps S310 to S320 in fig. 3, the method steps S410 to S430 in fig. 4, the method steps S510 to S530 in fig. 5 are performed.
In a third aspect, an embodiment of the present application provides a computer readable storage medium, where computer executable instructions are stored, where the computer executable instructions are executed by one or more processors, and where the one or more processors are configured to perform a method for testing a communication interface of an electric energy meter in the foregoing method embodiment. For example, the above-described method steps S110 to S150 in fig. 1, the method steps S210 to S220 in fig. 2, the method steps S310 to S320 in fig. 3, the method steps S410 to S430 in fig. 4, the method steps S510 to S530 in fig. 5 are performed.
The apparatus embodiments described above are merely illustrative, wherein elements illustrated as separate elements may or may not be physically separate, and elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
From the description of the embodiments above, those skilled in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable signals, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable signals, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and may include any information delivery media.
In the description of the present specification, reference to the terms "one embodiment," "some embodiments," "illustrative embodiments," "examples," "particularly" or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The embodiments of the present application have been described in detail with reference to the accompanying drawings, but the present application is not limited to the above embodiments, and various changes can be made within the knowledge of one of ordinary skill in the art without departing from the spirit of the present application. The embodiments of the present application have been described in detail with reference to the accompanying drawings, but the present application is not limited to the above embodiments, and various changes can be made within the knowledge of one of ordinary skill in the art without departing from the spirit of the present application.

Claims (10)

1. The method for testing the communication interface of the electric energy meter is characterized by comprising the following steps of:
responding to a reset signal from an electric energy meter, and sending an in-place signal test instruction to the electric energy meter so that the electric energy meter sends an in-place signal state word according to the in-place signal test instruction;
sequentially sending different pulse output instructions to the electric energy meter so that the electric energy meter sequentially outputs different pulse signals according to the pulse output instructions;
sequentially analyzing a plurality of pulse signals to obtain a pulse type corresponding to each pulse signal;
acquiring an event output level of the electric energy meter in a non-active reporting state;
and obtaining a test result according to the in-place signal state word, the pulse type and the event output level.
2. The method for testing a communication interface of an electric energy meter according to claim 1, further comprising, before the step of transmitting an in-place signal test instruction to the electric energy meter in response to a reset signal from the electric energy meter to cause the electric energy meter to transmit an in-place signal status word according to the in-place signal test instruction:
applying a first voltage value, a first current value, and a first power factor to the electric energy meter; the first voltage value is equal to the rated voltage of the electric energy meter, the first current value is equal to twice the rated current of the electric energy meter, and the first power factor is 0.5L.
3. The method for testing a communication interface of an electric energy meter according to claim 1, wherein the test result comprises a plurality of word bits; the different word bits are used for representing test results of an in-place signal pin, a multifunctional pulse output pin and an event state pin respectively;
and obtaining a test result according to the in-place signal state word, the pulse type and the event output level, wherein the test result comprises the following steps:
changing the state of the word bit corresponding to the test result according to the in-place signal state word, the pulse type and the event output level;
when communication connection is established with the electric energy meter, the zeroth word bit of the test result is changed to be 1.
4. The method for testing a communication interface of an electric energy meter according to claim 3, wherein the sending, in response to a reset signal from the electric energy meter, an in-place signal test command to the electric energy meter so that the electric energy meter sends an in-place signal status word according to the in-place signal test command includes:
receiving a first level of a reset pin in the electric energy meter communication interface;
and when the level state of the first level is a preset first level type, and the level state of the first level is kept not smaller than a preset first time, sending an in-place signal test instruction to the electric energy meter, so that the electric energy meter sends an in-place signal state word according to the in-place signal test instruction.
5. The method for testing a communication interface of an electric energy meter according to claim 4, wherein the sending the in-place signal testing command to the electric energy meter to enable the electric energy meter to send the in-place signal status word according to the in-place signal testing command comprises:
transmitting the high-level in-place signal test instruction to the electric energy meter, and acquiring the in-place signal state word generated by the electric energy meter according to the high-level in-place signal test instruction after a second time interval;
transmitting the low-level in-place signal test instruction to the electric energy meter, and acquiring the in-place signal state word generated by the electric energy meter according to the low-level in-place signal test instruction after the second time interval;
the changing the state of the word bit corresponding to the test result includes:
and when the in-place signal test instruction is matched with the in-place signal state word, rewriting the first word bit of the test result to be 1.
6. The method for testing a communication interface of an electric energy meter according to claim 3, wherein the pulse output command comprises: a second pulse output command, an active pulse output command and a reactive pulse output command.
7. The method for testing a communication interface of an electric energy meter according to claim 6, wherein said changing the state of the word bit corresponding to the test result comprises:
when the second pulse output instruction is sent to the electric energy meter and the pulse type corresponding to the received pulse signal is second pulse, the second word bit of the test result is rewritten to be 1;
when the active pulse output instruction is sent to the electric energy meter, and the pulse type corresponding to the received pulse signal is active pulse, rewriting the third word bit of the test result to be 1;
and when the reactive pulse output instruction is sent to the electric energy meter and the pulse type corresponding to the received pulse signal is reactive pulse, rewriting a fourth word bit of the test result into 1.
8. The method for testing a communication interface of an electric energy meter according to claim 3, wherein said changing the state of the word bit corresponding to the test result comprises:
and when the event output level of the electric energy meter in the non-active reporting state is in a preset second level state, rewriting the fifth word bit of the test result into 1.
9. A test apparatus, comprising:
at least one memory;
at least one processor;
at least one program;
the program is stored in the memory, and the processor executes at least one of the programs to implement the method of testing a power meter communication interface according to any one of claims 1 to 8.
10. A computer readable storage medium storing a computer executable signal for performing the method of testing the electrical energy meter communication interface of any one of claims 1 to 8.
CN202310532393.XA 2023-05-11 2023-05-11 Method and device for testing electric energy meter communication interface and readable storage medium Pending CN116755024A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310532393.XA CN116755024A (en) 2023-05-11 2023-05-11 Method and device for testing electric energy meter communication interface and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310532393.XA CN116755024A (en) 2023-05-11 2023-05-11 Method and device for testing electric energy meter communication interface and readable storage medium

Publications (1)

Publication Number Publication Date
CN116755024A true CN116755024A (en) 2023-09-15

Family

ID=87954141

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310532393.XA Pending CN116755024A (en) 2023-05-11 2023-05-11 Method and device for testing electric energy meter communication interface and readable storage medium

Country Status (1)

Country Link
CN (1) CN116755024A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117008043A (en) * 2023-09-27 2023-11-07 青岛鼎信通讯股份有限公司 Electric energy meter fault simulation detection system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117008043A (en) * 2023-09-27 2023-11-07 青岛鼎信通讯股份有限公司 Electric energy meter fault simulation detection system and method

Similar Documents

Publication Publication Date Title
CN116755024A (en) Method and device for testing electric energy meter communication interface and readable storage medium
CN113259183B (en) Network relay control method and device, electronic equipment and storage medium
CN104753614A (en) Method and device for detecting faults of electricity consumption information collecting system
CN113572658A (en) Vehicle control signal testing method and device, electronic equipment and storage medium
CN114325534A (en) Signal testing method, device, equipment and readable storage medium
CN110554940A (en) Serial port detection tool and method based on electric energy meter communication
CN113709650A (en) Microphone testing method, device and storage medium
CN101800672A (en) Equipment detection method and equipment
CN110739025A (en) storage equipment power failure test method, device and system
CN113538725B (en) Method for testing hardware products and related equipment
CN115580359A (en) Method and system for detecting passive intermodulation of base station
CN107238754B (en) Method and device for detecting electric quantity
CN109699041A (en) A kind of RRU channel failure diagnosis processing method and RRU device
CN107181504A (en) Power wire broadband carrier communication method of testing and device
CN108845932B (en) Unit testing method and device of network library, storage medium and terminal
CN112564825A (en) Method, device, equipment and system for detecting functions of Bluetooth equipment
CN108710573A (en) It is a kind of that test method, device, storage medium and terminal a little are buried based on daily record
CN115357458B (en) Method and device for testing TISDM display information
CN113009246A (en) PSE equipment detection device and PSE equipment detection method
CN114461477B (en) Method and device for realizing chip detection, computer storage medium and terminal
CN110572221A (en) automatic test system and test method for wireless network card signals
CN115190054B (en) Double-master-station batch communication protocol analysis method
CN114024882B (en) Router performance test method, device, system and storage medium
CN213750205U (en) Transmission rate testing device
CN112506692A (en) Method and device for processing log information

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