Electric pulse output interface driving capability evaluation method and device and electric energy meter

CN120595221BActive Publication Date: 2026-08-11WUHAN SAN FRAN ELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-16
Publication Date
2026-08-11

AI Technical Summary

Technical Problem

[0004]本发明提供一种电脉冲输出接口驱动能力评估方法、装置及电能表,用以解决现有技术的测试方式无法准确识别电设备脉冲输出接口的实际驱动能力,且缺乏科学的评判依据的缺陷

Benefits of technology

[0014]本发明还提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如上述任一种所述电脉冲输出接口驱动能力评估方法。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120595221B_ABST
    Figure CN120595221B_ABST
Patent Text Reader

Abstract

This invention provides a method, apparatus, and energy meter for evaluating the driving capability of an electrical pulse output interface. The method includes: inputting a sinusoidal signal into the circuit of the electrical device under test; when it is determined that the output voltage of the electrical pulse output interface is greater than the voltage drop specification value, acquiring the sinusoidal voltage of the sinusoidal signal in the circuit; calculating the driving current of the electrical pulse output interface of the electrical device under test based on the sinusoidal voltage, and using the driving current as an indicator of the driving capability of the electrical pulse output interface. This invention addresses the shortcomings of existing testing methods, which cannot accurately identify the actual driving capability of the electrical device's pulse output interface and lack scientific evaluation criteria.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of circuit testing, and particularly to a method and device for evaluating the driving ability of an electrical pulse output interface and an electric energy meter. Background Art

[0002] According to the technical specifications of the State Grid, when there is a pulse output at the electrical pulse output interface of electrical equipment such as an electric energy meter, the voltage drop at the pulse output interface when passing a 5 mA current shall not be higher than 0.8 V. The requirements in some regions are more stringent. When there is a pulse output at the electrical pulse output interface, the voltage drop at the pulse output interface when passing a 10 mA current shall not be higher than 0.8 V.

[0003] The electrical pulse output interface of electrical equipment generally consists of an opto-coupler output interface. Due to factors such as insufficient circuit design margin and discreteness of the current transfer ratio of the opto-coupler, the driving ability of the pulse output interface may not meet the requirements of the technical specifications. The conventional test method for evaluating the driving ability of the pulse output interface is as follows: Apply a driving current of 5 mA or 10 mA to the pulse output interface. When there is a pulse output, measure the voltage drop at the pulse output interface. If it is less than 0.8 V, it is judged as qualified; if it is greater than 0.8 V, it is judged as unqualified. However, this test method can only judge by measuring the voltage drop at the pulse output interface, and cannot accurately identify the actual driving ability of the device's pulse output interface, lacking a scientific evaluation basis. Summary of the Invention

[0004] The present invention provides a method and device for evaluating the driving ability of an electrical pulse output interface and an electric energy meter to solve the defect that the conventional test method cannot accurately identify the actual driving ability of the electrical pulse output interface of electrical equipment and lacks a scientific evaluation basis.

[0005] The present invention provides a method for evaluating the driving ability of an electrical pulse output interface, including: Input a sine wave signal into the circuit of the to-be-tested electrical equipment; When it is determined that the output voltage of the electrical pulse output interface is greater than the voltage drop specification value, collect the sine wave voltage of the sine wave signal in the circuit; Calculate the driving current of the electrical pulse output interface of the to-be-tested electrical equipment according to the sine wave voltage, and use the driving current as an index of the driving ability of the electrical pulse output interface.

[0006] In some embodiments, the period of the sine wave signal is less than the pulse output time of the electrical pulse output interface, the input amplitude of the sine wave signal is greater than the specified voltage of the electrical pulse output interface, and the specified voltage is calculated according to the specified driving current of the electrical pulse output interface and the resistance in the circuit.

[0007] In some embodiments, calculating the drive current of the device under test at the electrical pulse output interface based on the sinusoidal voltage includes: The difference between the sinusoidal voltage and the standard voltage drop value is determined as the driving voltage of the electrical pulse output interface of the device under test; The ratio of the driving voltage to the resistance in the circuit is determined as the driving current of the device under test at the pulse output interface.

[0008] In some embodiments, the method further includes: detecting the output voltage of the electrical pulse output interface of the device under test using a 0.8V voltage comparator; When the 0.8V voltage comparator changes from a low output level to a high output level, it determines that the output voltage of the electrical pulse output interface is greater than the voltage drop specification value, wherein the voltage drop specification value is 0.8V, the high level is output when the 0.8V voltage comparator detects that the output voltage of the electrical pulse output interface is greater than 0.8V, and the low level is output when the 0.8V voltage comparator detects that the output voltage of the electrical pulse output interface is not greater than 0.8V.

[0009] In some embodiments, the method further includes: When the 0.8V voltage comparator outputs a low level, the rising edge of the electrical pulse output interface is monitored in real time. When the 0.8V voltage comparator outputs a high level, it stops inputting a sine wave signal to the circuit of the device under test and triggers the analog-to-digital converter to acquire the sine wave voltage of the sine wave signal in the circuit.

[0010] The present invention also provides an electrical pulse output interface driving capability evaluation device, comprising: a sine wave generator, a microcontroller unit, a 0.8V voltage comparator, and an analog-to-digital converter; The sine wave generator is used to input a sine wave signal to the circuit of the electrical device under test; The microcontroller unit is used to trigger the analog-to-digital converter to acquire the sinusoidal voltage of the sinusoidal signal in the circuit when the 0.8V voltage comparator determines that the output voltage of the electrical pulse output interface is greater than the voltage drop specification value. The microcontroller unit is also used to calculate the drive current of the electrical pulse output interface of the device under test based on the sinusoidal voltage, and use the drive current as an indicator of the drive capability of the electrical pulse output interface.

[0011] The present invention also provides an electricity meter, wherein the electricity meter is equipped with the above-mentioned electric pulse output interface driving capability evaluation device, and the electric pulse output interface driving capability evaluation device is connected to the electric pulse output interface of the electricity meter through a circuit. The electrical pulse output interface driving capability evaluation device is used to evaluate the driving capability index of the electrical pulse output interface by using the energy meter as the device under test.

[0012] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the electrical pulse output interface driving capability evaluation method as described above.

[0013] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the electrical pulse output interface drive capability evaluation method as described above.

[0014] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the electrical pulse output interface driving capability evaluation method as described above.

[0015] The present invention provides a method, apparatus, and energy meter for evaluating the driving capability of an electrical pulse output interface. It uses a sinusoidal voltage instead of a DC voltage for driving, and utilizes the voltage fluctuation of the sinusoidal wave to generate a corresponding sinusoidal driving current. By monitoring the output voltage of the electrical pulse output interface and recording the sinusoidal voltage under the voltage drop specification value, the maximum driving current of the electrical pulse output interface is finally calculated as the driving capability evaluation index. This method is used to accurately and intuitively evaluate the driving capability of the electrical pulse output interface and has high testing efficiency. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced one by one below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0017] Figure 1 This is a flowchart illustrating the method for evaluating the driving capability of the electrical pulse output interface provided by the present invention.

[0018] Figure 2 This is a schematic diagram of the method for evaluating the driving capability of the electrical pulse output interface provided by the present invention.

[0019] Figure 3 This is the circuit schematic of the 0.8V voltage comparator provided by the present invention.

[0020] Figure 4 This is a circuit schematic diagram of the analog-to-digital converter provided by the present invention.

[0021] Figure 5This is a schematic diagram of the process for evaluating the driving capability of the electrical pulse output interface provided by the present invention.

[0022] Figure 6 This is a schematic diagram of the structure of the electrical pulse output interface driving capability evaluation device provided by the present invention.

[0023] Figure 7 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation

[0024] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0025] The following description, in conjunction with the accompanying drawings, describes the method, apparatus, and energy meter for evaluating the driving capability of the electrical pulse output interface of the present invention. Figure 1 This is a flowchart illustrating the method for evaluating the driving capability of an electrical pulse output interface provided by the present invention, as shown below. Figure 1 As shown, the method includes steps 101 to 103, which are described in detail below.

[0026] Step 101: Input a sine wave signal into the circuit of the device under test.

[0027] Here, as Figure 2 As shown, a sine wave generator is installed in the circuit containing the device under test (DUT). The sine wave generator continuously outputs a sine wave, generating a corresponding sine wave signal. The DUT can be a device with an electrical pulse output interface, such as an energy meter or a pulse meter.

[0028] Furthermore, the period of the sine wave signal is less than the pulse output time of the electrical pulse output interface. The pulse output time is 80ms here, while the period of the sine wave signal needs to be less than 80ms, for example, 20ms. Thus, the output frequency of the sine wave is 50Hz.

[0029] Furthermore, the input amplitude of the sine wave signal here must be greater than the specified voltage of the electrical pulse output interface to ensure that the amplitude of the sine wave can provide sufficient driving capability. The specified voltage is calculated based on the specified driving current of the electrical pulse output interface and the resistance in the circuit. In this embodiment of the invention, the specified driving current of the electrical pulse output interface is used to measure the driving capability of the electrical pulse output interface. The driving current is generally required to be greater than 10mA. If the resistance in the circuit (i.e. Figure 2 Since R2) is 100Ω, the amplitude V of the sine wave is: (1) Therefore, when the sine wave generator inputs a sine wave signal to the circuit of the device under test, it needs to ensure that the period of the input sine wave is 20ms and the amplitude of the sine wave is 10V. This ensures that the electrical pulse output interface has sufficient driving capability, which is convenient for driving capability evaluation.

[0030] Step 102: When it is determined that the output voltage of the electrical pulse output interface of the device under test is greater than the voltage drop specification value, the sinusoidal voltage of the sinusoidal signal in the circuit is collected.

[0031] like Figure 2 As shown, after the sine wave signal generated by the sine wave generator is input into the circuit, a sine wave voltage will be generated in the circuit. This will cause the electrical pulse output interface of the device under test to generate an output voltage. By measuring this output voltage, it can be determined whether the voltage drop specification value is met. The voltage drop specification value is the technical specification requirement that the electrical pulse output interface of the device under test must meet, which is 0.8V.

[0032] In some embodiments, the output voltage of the electrical pulse output interface of the device under test can be detected using a 0.8V voltage comparator. That is, the output voltage of the electrical pulse output interface is tested in real time using a 0.8V voltage comparator, with the test location as follows: Figure 2 Test point 2 is shown in the diagram. Then, the output voltage is monitored in real time to determine whether it is greater than 0.8V. The determination process is described in detail below.

[0033] First, when the 0.8V voltage comparator changes from a low output level to a high output level, it determines that the output voltage of the electrical pulse output interface is greater than the voltage drop specification value, where the voltage drop specification value is 0.8V. The high level is output when the 0.8V voltage comparator detects that the output voltage of the electrical pulse output interface is greater than 0.8V, and the low level is output when the 0.8V voltage comparator detects that the output voltage of the electrical pulse output interface is not greater than 0.8V.

[0034] The 0.8V voltage comparator is controlled by a microcontroller unit (MCU) in the connected circuit. The MCU can be a single-chip microcomputer, microcomputer, or other similar device. Figure 3 As shown, Figure 3 This demonstrates the working principle of a 0.8V voltage comparator. When a 5V voltage is supplied to the 0.8V voltage comparator, a 0.8V voltage is output after being divided by resistors R1, R2, R3 and capacitor C1 and then filtered. This output voltage is then supplied to the negative input terminal 2 of the 0.8V voltage comparator, and the output voltage of the electrical pulse output interface is... During input, the voltage is supplied to the positive input terminal 3 of the 0.8V voltage comparator through resistor R5 and diode D1. Diode D1 serves as circuit protection. The output voltage is determined by comparing the voltages at the positive and negative input terminals. Correspondingly, at output terminal 1, after voltage division by capacitor C2 and resistor R4, the output will be either high or low level.

[0035] The 0.8V voltage comparator described above can accurately determine whether the output voltage of the electrical pulse output interface is greater than 0.8V. When the 0.8V voltage comparator detects that the output voltage of the electrical pulse output interface is not greater than 0.8V, it outputs a low level. When the 0.8V voltage comparator outputs a low level, the microcontroller unit can determine that the output voltage of the electrical pulse output interface is not greater than the voltage drop specification value, and thus the 0.8V voltage comparator continues monitoring, waiting for the output voltage to reach 0.8V.

[0036] When the output voltage of the electrical pulse output interface is detected to be greater than 0.8V, the output level will change from low to high. When the 0.8V voltage comparator outputs a high level, the microcontroller can determine that the output voltage of the electrical pulse output interface is greater than the voltage drop specification value.

[0037] When the output voltage of the electrical pulse output interface is determined to be greater than the voltage drop specification value, the sinusoidal voltage of the sinusoidal signal in the circuit is collected. Here, for example... Figure 2 As shown, the circuit also includes an analog-to-digital converter (ADC), which is also controlled by a microcontroller unit. When the output voltage of the electrical pulse output interface is determined to be greater than the voltage drop specification value, the ADC is triggered to acquire the sinusoidal voltage of the sinusoidal signal in the circuit, denoted as . Collection location such as Figure 2 Test point 1 is shown in the figure.

[0038] like Figure 4 As shown, Figure 4 The circuit diagram of the analog-to-digital converter (ADC) is shown. The sinusoidal voltage is divided by resistors R6 and R7 and capacitor C3, and then enters the ADC of the microcontroller unit after passing through diode D2. In this way, the sinusoidal voltage is transmitted to the microcontroller unit. Diode D2 plays a circuit protection role.

[0039] In this embodiment of the invention, by outputting a high or low level through a 0.8V voltage comparator, it is possible to more intuitively and accurately monitor whether the output voltage of the electrical pulse output interface has reached the voltage drop specification value of 0.8V. When it is reached, the sinusoidal voltage of the sinusoidal signal in the circuit is collected by an analog-to-digital converter, which facilitates the subsequent calculation of the drive current while meeting the technical specifications, so as to evaluate the driving capability of the electrical pulse output interface.

[0040] In some embodiments, when the 0.8V voltage comparator outputs a low level, the rising edge of the electrical pulse output interface is monitored in real time. Here, since the sine wave signal is continuously input into the circuit, the output voltage of the electrical pulse output interface gradually increases. When the output voltage has not reached 0.8V, the 0.8V voltage comparator continuously outputs a low level, while simultaneously monitoring the rising edge of the electrical pulse output interface, i.e., determining whether the output voltage has reached 0.8V, and thus changing the output level from low to high.

[0041] Correspondingly, when the 0.8V voltage comparator outputs a high level, it stops inputting a sine wave signal to the circuit of the device under test and triggers the analog-to-digital converter to collect the sine wave voltage of the sine wave signal in the circuit.

[0042] Here, when the 0.8V voltage comparator outputs a high level, it indicates that the rising edge of the electrical pulse output interface has been detected, and the output voltage of the electrical pulse output interface has reached 0.8V. At this time, the sine wave generator can be triggered to stop inputting a sine wave signal to the circuit of the device under test, and the analog-to-digital converter can be triggered to collect the sine wave voltage of the sine wave signal in the circuit.

[0043] In this embodiment of the invention, the rising edge is monitored in real time by a 0.8V voltage comparator, which ensures that the output voltage of the electrical pulse output interface has reached 0.8V. This reduces measurement errors and ensures the accuracy of subsequent drive current calculations.

[0044] Step 103: Calculate the drive current of the electrical pulse output interface of the device under test based on the sinusoidal voltage, and use the drive current as the driving capability index of the electrical pulse output interface.

[0045] like Figure 2 As shown, after the output voltage and sine wave voltage of the electrical pulse output interface are collected at test point 1 and test point 2 respectively, the driving current of the electrical pulse output interface can be calculated by combining the resistance R2 between test point 1 and test point 2.

[0046] First, the difference between the sinusoidal voltage and the standard voltage drop value is determined as the driving voltage of the electrical pulse output interface of the device under test. Then, the ratio of the driving voltage to the resistance in the circuit is determined as the driving current of the device under test at the pulse output interface.

[0047] Here, the output voltage of the electrical pulse output interface is taken as the standard value of voltage drop, which is 0.8V, and then the sinusoidal voltage is calculated. The difference between the voltage and 0.8V is used as the driving voltage for the electrical pulse output interface of the device under test (DUT). The resistor in the circuit is R2. Therefore, the ratio of the driving voltage to R2 is determined as the driving current of the DUT at the pulse output interface. The driving current is the magnitude of the current output by the electrical pulse output interface of the DUT, denoted as [missing value]. It can be expressed as the following formula: (2) According to the above formula (2), when the sinusoidal voltage collected by the analog-to-digital converter... With a voltage of 2.3V and R2 of 100Ω, the calculated drive current is... It is 0.015A, or 15mA.

[0048] Here, the drive current is used as an indicator of the drive capability of the electrical pulse output interface to evaluate the drive capability of the electrical pulse output interface of the device under test. For example, the drive current calculated above is 15mA, which is greater than the 5mA required by the electrical pulse output interface of the device under test, and there is still a margin of 10mA. This indicates that the drive capability of the electrical pulse output interface of the device under test meets the technical specifications.

[0049] This invention, in its embodiments, calculates the driving capability evaluation index by monitoring the output voltage of the electrical pulse output interface and recording the sinusoidal voltage under the voltage drop specification value. This allows for accurate assessment of the driving capability of the device under test while meeting the voltage drop specification value, providing a more scientific basis for evaluation. This invention uses a sinusoidal voltage instead of DC voltage for driving, utilizing the voltage fluctuations of the sinusoidal wave to generate a corresponding sinusoidal driving current. By monitoring the output voltage of the electrical pulse output interface and recording the sinusoidal voltage under the voltage drop specification value, the maximum driving current of the electrical pulse output interface is finally calculated as the driving capability evaluation index. This provides an accurate and intuitive assessment of the driving capability of the electrical pulse output interface, resulting in high testing efficiency.

[0050] The following describes the electrical pulse output interface driving capability evaluation device provided by the present invention. The electrical pulse output interface driving capability evaluation device described below and the electrical pulse output interface driving capability evaluation method described above can be referred to in correspondence.

[0051] like Figure 5 As shown, the electrical pulse output interface drive capability evaluation device includes four modules, specifically: a sine wave generator 301, a microcontroller unit 302, a 0.8V voltage comparator 303, and an analog-to-digital converter 304. Each module is connected to the circuit of the electrical device under test, that is, the modules are connected to each other through the circuit.

[0052] Specifically, the sine wave generator 301 is used to input a sine wave signal to the circuit of the device under test; the microcontroller unit 302 is used to trigger the analog-to-digital converter 304 to collect the sine wave voltage in the circuit when the 0.8V voltage comparator 303 determines that the output voltage of the electrical pulse output interface is greater than the voltage drop specification value; the microcontroller unit 302 is also used to calculate the drive current of the electrical pulse output interface of the device under test based on the sine wave voltage, and use the drive current as the drive capability index of the electrical pulse output interface.

[0053] The following describes the evaluation process of the electrical pulse output interface drive capability from the perspective of the microcontroller unit 302. For example... Figure 6 As shown, initially, the microcontroller unit 302 is initialized. Then, after the sine wave generator 301 inputs a sine wave signal into the circuit, the rising edge of the 0.8V voltage comparator 303 is monitored. If it does, it indicates that the output voltage of the electrical pulse output interface has reached 0.8V, and the analog-to-digital converter 304 is controlled to acquire the sine wave voltage. If not, the rising edge of the 0.8V voltage comparator 303 is monitored again. After acquiring the sine wave voltage, it is determined whether the sine wave voltage is greater than 0.8V. If not, the rising edge of the 0.8V voltage comparator 303 is monitored again. If it is, the drive current of the electrical pulse output interface is calculated, and the magnitude of the output drive current is determined. This completes the evaluation process.

[0054] It should be noted that the beneficial effects of the electrical pulse output interface drive capability evaluation device here correspond to those of the electrical pulse output interface drive capability evaluation method mentioned above, so the beneficial effects of the electrical pulse output interface drive capability evaluation device will not be elaborated here.

[0055] The following describes an energy meter provided by an embodiment of the present invention, wherein the energy meter is equipped with... Figure 6 The illustrated electrical pulse output interface drive capability assessment device is connected to the electrical pulse output interface of the energy meter via a circuit. The electrical pulse output interface drive capability assessment device can be installed inside the energy meter.

[0056] The electrical pulse output interface drive capability assessment device is used to evaluate the drive capability index of the electrical pulse output interface by treating the electricity meter as the device under test. When it is necessary to evaluate the drive capability of the electricity meter's electrical pulse output interface, the device is activated directly by switching the circuit. The device will then automatically perform the drive capability assessment, treating the electricity meter as the device under test.

[0057] The energy meter provided in this embodiment of the invention incorporates an electrical pulse output interface driving capability evaluation device within the energy meter. This allows for easy evaluation of the energy meter's driving capability at any time simply by operating a circuit switch, providing convenience, meeting real-time evaluation requirements, and achieving high testing efficiency.

[0058] Figure 7 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 7 As shown, the electronic device may include a processor 410, a communications interface 420, a memory 430, and a communication bus 440, wherein the processor 410, communications interface 420, and memory 430 communicate with each other via the communication bus 440. The processor 410 can call logic instructions in the memory 430 to execute an electrical pulse output interface drive capability evaluation method. This method includes: inputting a sinusoidal signal to the circuit of the device under test; when it is determined that the output voltage of the electrical pulse output interface is greater than the voltage drop specification value, acquiring the sinusoidal voltage of the sinusoidal signal in the circuit; calculating the drive current of the electrical pulse output interface of the device under test based on the sinusoidal voltage, and using the drive current as an indicator of the drive capability of the electrical pulse output interface.

[0059] Furthermore, the logical instructions in the aforementioned memory 430 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0060] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the electrical pulse output interface driving capability evaluation method provided by the above methods. The method includes: inputting a sine wave signal into the circuit of the electrical device under test; when it is determined that the output voltage of the electrical pulse output interface is greater than the voltage drop specification value, acquiring the sine wave voltage of the sine wave signal in the circuit; calculating the driving current of the electrical pulse output interface of the electrical device under test based on the sine wave voltage, and using the driving current as the driving capability index of the electrical pulse output interface.

[0061] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the method for evaluating the driving capability of an electrical pulse output interface provided by the above methods. The method includes: inputting a sinusoidal signal to the circuit of the electrical device under test; when it is determined that the output voltage of the electrical pulse output interface is greater than the voltage drop specification value, acquiring the sinusoidal voltage of the sinusoidal signal in the circuit; calculating the driving current of the electrical pulse output interface of the electrical device under test based on the sinusoidal voltage, and using the driving current as an indicator of the driving capability of the electrical pulse output interface.

[0062] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0063] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0064] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for evaluating the driving capability of an electrical pulse output interface, characterized in that, include: Input a sine wave signal into the circuit of the device under test; When it is determined that the output voltage of the electrical pulse output interface of the device under test is greater than the voltage drop specification value, the sinusoidal voltage of the sinusoidal signal in the circuit is collected. The driving current of the electrical pulse output interface is calculated based on the sinusoidal voltage, and the driving current is used as the driving capability index of the electrical pulse output interface. The step of calculating the drive current of the device under test at the electrical pulse output interface based on the sinusoidal voltage includes: The difference between the sinusoidal voltage and the voltage drop specification value is determined as the driving voltage of the electrical pulse output interface of the device under test; The ratio of the driving voltage to the resistance in the circuit is determined as the driving current of the electrical pulse output interface of the device under test; The method further includes: detecting the output voltage of the electrical pulse output interface of the device under test using a 0.8V voltage comparator; When the 0.8V voltage comparator changes from a low output level to a high output level, it determines that the output voltage of the electrical pulse output interface is greater than the voltage drop specification value, wherein the voltage drop specification value is 0.8V, the high level is output when the 0.8V voltage comparator detects that the output voltage of the electrical pulse output interface is greater than 0.8V, and the low level is output when the 0.8V voltage comparator detects that the output voltage of the electrical pulse output interface is not greater than 0.8V; The method further includes: When the 0.8V voltage comparator outputs a low level, the rising edge of the electrical pulse output interface is monitored in real time. When the 0.8V voltage comparator outputs a high level, it stops inputting a sine wave signal to the circuit of the device under test and triggers the analog-to-digital converter to acquire the sine wave voltage of the sine wave signal in the circuit.

2. The method for evaluating the driving capability of an electrical pulse output interface according to claim 1, characterized in that, The period of the sine wave signal is less than the pulse output time of the electrical pulse output interface, and the input amplitude of the sine wave signal is greater than the specified voltage of the electrical pulse output interface. The specified voltage is calculated based on the specified drive current of the electrical pulse output interface and the resistance in the circuit.

3. A device for evaluating the driving capability of an electrical pulse output interface, characterized in that, The apparatus for performing the method of claim 1 or 2 includes: a sine wave generator, a microcontroller unit, a 0.8V voltage comparator, and an analog-to-digital converter; The sine wave generator is used to input a sine wave signal to the circuit of the electrical device under test; The microcontroller unit is used to trigger the analog-to-digital converter to acquire the sinusoidal voltage of the sinusoidal signal in the circuit when the 0.8V voltage comparator determines that the output voltage of the electrical pulse output interface of the device under test is greater than the voltage drop specification value. The microcontroller unit is also used to calculate the drive current of the electrical pulse output interface based on the sinusoidal voltage, and use the drive current as an indicator of the drive capability of the electrical pulse output interface.

4. An electricity meter, characterized in that, The energy meter is equipped with the electric pulse output interface driving capability evaluation device as described in claim 3, and the electric pulse output interface driving capability evaluation device is connected to the electric pulse output interface of the energy meter through a circuit. The electrical pulse output interface driving capability evaluation device is used to evaluate the driving capability index of the electrical pulse output interface by using the energy meter as the device under test.

5. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the electrical pulse output interface driving capability evaluation method as described in claim 1 or 2.

6. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the electrical pulse output interface driving capability evaluation method as described in claim 1 or 2.

7. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the electrical pulse output interface driving capability evaluation method as described in claim 1 or 2.

Citation Information

Patent Citations

  • Pulse controlling circuit and synchronous rectifying circuit

    JP1997261950A

  • Device for determining the output capability of microcircuits

    RU2649244C1