A low-cost programmable electric energy meter harmonic detection method and device
By using low-cost programmable electrical energy meter harmonic detection methods and devices in the electrical energy meter inspection device, the existing electrical energy meter inspection device has solved the problems of high cost, high weight, inconvenient movement and safety hazards, and achieved efficient and safe electricity Table harmonic detection.
Patent Information
- Application Number
- CN202410462291.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-17
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2044-04-17
AI Technical Summary
The purchase cost and weight of the existing power meter inspection device are large, which affects the testing cost and is inconvenient to move. The output harmonic power is high, and the test time is long, which leads to severe heat from the internal devices and poses safety hazards.
A low-cost programmable electrical energy meter harmonic detection method and device are proposed, and harmonic detection is realized by driving the development board, digital-to-analog conversion circuit, step-up and buck circuit and electric energy meter to be measured. The device sends the harmonic parameters input by the user to the driver development board, generates a harmonic digital signal, and outputs the harmonic analog signal to the power meter to be measured through the digital-to-analog conversion circuit.
It reduces the testing cost and device weight, improves the applicability of the test environment, reduces the heating risk of internal devices, and improves the test safety factor.
Smart Images

Figure CN118330546B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of detection and verification of electric energy meters, and in particular relates to a low-cost programmable electric energy meter harmonic detection method and device. Background Art
[0002] As an instrument for measuring electric energy consumption, the electric energy meter is mainly used for measuring household, commercial and industrial electricity consumption. However, due to the influence of parallel resonance or series resonance in the power system, the harmonic content of the signal input to the electric energy meter is amplified, which is not only easy to cause malfunction of relay protection and automatic devices, resulting in deviation in electric energy measurement of the electric energy meter, but also easy to bring safety hazards to capacitors, communication equipment and electronic equipment.
[0003] At present, the harmonic test of electronic energy meters in the energy meter industry mainly relies on energy meter inspection devices, which restore the harmonic phenomena that may exist in the real power grid by applying simulated power grid harmonics to the energy meter. However, the purchase cost and weight of the existing energy meter inspection devices are relatively high, which not only easily affects the test cost during the test process, but also is easily restricted by the test environment where the device is inconvenient to move; in addition, the power generated by the output harmonics of the existing energy meter inspection devices is relatively high, and the long test time can easily cause serious heating of the internal components, which in turn brings safety hazards. Summary of the invention
[0004] The present application aims to solve the above-mentioned problems that the purchase cost and weight of the existing electric energy meter inspection device are large, which not only easily affects the test cost during the test process, but also is easily restricted by the test environment where the device is inconvenient to move; in addition, the power generated by the output harmonics of the existing electric energy meter inspection device is relatively high, and the long test time easily causes serious heating of the internal components, thereby bringing technical defects such as safety hazards. A low-cost programmable electric energy meter harmonic detection method and device are proposed, and its technical solution is as follows: In the first aspect, the embodiment of the present application provides a low-cost programmable electric energy meter harmonic detection method, and the method is applied to an electric energy meter harmonic detection system. The electric energy meter harmonic detection system includes a driver development board, a digital-to-analog conversion circuit, a buck-boost circuit, and an electric energy meter to be tested. The output end of the driver development board is respectively connected to the digital-to-analog conversion circuit and the buck-boost circuit, the output end of the digital-to-analog conversion circuit is connected to the electric energy meter to be tested, and the output end of the buck-boost circuit is respectively connected to the digital-to-analog conversion circuit and the electric energy meter to be tested. The method includes:
[0005] The harmonic parameters input by the user are sent to the driver development board, so that the driver development board modulates the harmonic digital signal according to the harmonic parameters and the preset sinusoidal wave signal, and the driver development board outputs the harmonic digital signal to the digital-to-analog conversion circuit, and the driver development board outputs the preset voltage signal to the buck-boost circuit, and the buck-boost circuit outputs the power supply voltage signal corresponding to the preset voltage signal to the digital-to-analog conversion circuit and the electric energy meter to be tested respectively;
[0006] Obtain a first current and voltage signal generated by the electric energy meter to be tested according to the harmonic analog signal output by the digital-to-analog conversion circuit, and obtain a harmonic detection result of the electric energy meter to be tested according to the first current and voltage signal; wherein the harmonic analog signal is generated by the digital-to-analog conversion circuit according to the harmonic digital signal output by the driver development board.
[0007] In an optional solution of the first aspect, the electric energy meter harmonic detection system further includes a filter circuit, the output end of the driver development board is further connected to the filter circuit, and the output end of the filter circuit is connected to the electric energy meter to be tested;
[0008] Before obtaining the harmonic detection result of the electric energy meter to be tested according to the first current and voltage signal, the method further includes:
[0009] According to the power-on instruction of the electric energy meter input by the user, the control driving development board outputs the preset sinusoidal wave signal to the filter circuit, so that the filter circuit performs filtering processing on the preset sinusoidal wave signal, and the filter circuit outputs the processed preset sinusoidal wave signal to the electric energy meter to be tested;
[0010] Acquire a second current and voltage signal generated by the electric energy meter to be tested according to the processed preset sinusoidal wave signal;
[0011] Obtaining a harmonic detection result of the electric energy meter to be tested according to the first current and voltage signal includes:
[0012] A harmonic detection result of the electric energy meter to be tested is obtained according to the first current and voltage signal and the second current and voltage signal.
[0013] In another optional solution of the first aspect, the first current and voltage signal includes three groups of first voltage signals and four groups of first current signals, and the second current and voltage signal includes three groups of second voltage signals and four groups of second current signals;
[0014] Obtaining the harmonic detection result of the electric energy meter to be tested according to the first current and voltage signals and the second current and voltage signals, including: respectively calculating the voltage amplitude difference between each group of first voltage signals and the corresponding second voltage signals, and the current amplitude difference between each group of first current signals and the corresponding second current signals;
[0015] Performing a summation process on all voltage amplitude differences and all current amplitude differences, and when it is detected that the summation process result is within a preset summation interval, determining that the harmonic detection result of the electric energy meter to be tested is normal;
[0016] When it is detected that the summation processing result is not within the preset summation interval, it is determined that the harmonic detection result of the electric energy meter to be tested is abnormal.
[0017] In another optional solution of the first aspect, the digital-to-analog conversion circuit includes a processing chip, a first capacitor, a second capacitor, a third capacitor, a first resistor, and a second resistor, wherein:
[0018] The first input end of the processing chip is connected to the output end of the driver development board, and the second input end of the processing chip is connected to the positive electrode of the first capacitor and the output end of the buck-boost circuit respectively;
[0019] The negative electrode of the first capacitor is connected to the ground terminal;
[0020] The positive electrode of the second capacitor is connected to the output terminal of the processing chip, and the negative electrode of the second capacitor is connected to one end of the first resistor;
[0021] The other end of the first resistor is respectively connected to one end of the second resistor, the positive electrode of the third capacitor and the electric energy meter to be measured;
[0022] The other end of the second resistor is connected to the ground terminal;
[0023] The negative electrode of the third capacitor is connected to the ground terminal.
[0024] In another optional scheme of the first aspect, the buck-boost circuit includes a boost circuit and a buck circuit, the output end of the driver development board is respectively connected to the input end of the boost circuit and the input end of the buck circuit, the output end of the boost circuit is connected to the electric energy meter to be tested, and the output end of the buck circuit is respectively connected to the digital-to-analog conversion circuit and the electric energy meter to be tested.
[0025] In another optional solution of the first aspect, the boost circuit includes a boost regulator, a fourth capacitor, a third resistor, a fourth resistor and a fifth resistor, wherein:
[0026] The output end of the driver development board is respectively connected to the first input end of the boost regulator and the positive electrode of the fourth capacitor, the second input end of the boost regulator is connected to one end of the third resistor, and the negative electrode of the fourth capacitor is respectively connected to the other end of the third resistor and the ground end;
[0027] The output end of the boost regulator is connected to one end of the fourth resistor and one end of the fifth resistor respectively, the other end of the fourth resistor is connected to the electric energy meter to be measured, and the other end of the fifth resistor is connected to the ground end.
[0028] In another optional solution of the first aspect, the buck circuit includes a buck regulator, a fifth capacitor, a sixth capacitor, a seventh capacitor and a sixth resistor, wherein:
[0029] The output end of the driver development board is respectively connected to the input end of the buck regulator, the positive electrode of the fifth capacitor and the positive electrode of the sixth capacitor, and the negative electrode of the fifth capacitor and the negative electrode of the sixth capacitor are respectively connected to the ground end;
[0030] The output end of the buck regulator is respectively connected to the positive electrode of the seventh capacitor and one end of the sixth resistor, the negative electrode of the seventh capacitor is connected to the ground, and the other end of the sixth resistor is respectively connected to the digital-to-analog conversion circuit and the electric energy meter to be measured.
[0031] In the second aspect, the embodiment of the present application provides a low-cost programmable electric energy meter harmonic detection device, which is applied to the electric energy meter harmonic detection system. The electric energy meter harmonic detection system includes a driver development board, a digital-to-analog conversion circuit, a buck-boost circuit, and an electric energy meter to be tested. The output end of the driver development board is respectively connected to the digital-to-analog conversion circuit and the buck-boost circuit, the output end of the digital-to-analog conversion circuit is connected to the electric energy meter to be tested, and the output end of the buck-boost circuit is respectively connected to the digital-to-analog conversion circuit and the electric energy meter to be tested. The device includes:
[0032] A first processing module is used to send the harmonic parameters input by the user to the driver development board, so that the driver development board modulates the harmonic digital signal according to the harmonic parameters and the preset sinusoidal wave signal, and the driver development board outputs the harmonic digital signal to the digital-to-analog conversion circuit, and the driver development board outputs the preset voltage signal to the buck-boost circuit, and the buck-boost circuit outputs the power supply voltage signal corresponding to the preset voltage signal to the digital-to-analog conversion circuit and the electric energy meter to be tested;
[0033] The second processing module is used to obtain the first current and voltage signal generated by the electric energy meter to be tested according to the harmonic analog signal output by the digital-to-analog conversion circuit, and obtain the harmonic detection result of the electric energy meter to be tested according to the first current and voltage signal; wherein the harmonic analog signal is generated by the digital-to-analog conversion circuit according to the harmonic digital signal output by the driver development board.
[0034] In a third aspect, the embodiment of the present application further provides a low-cost programmable electric energy meter harmonic detection device, including a processor and a memory;
[0035] The processor is connected to the memory;
[0036] A memory for storing executable program codes;
[0037] The processor runs the program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the low-cost programmable electric energy meter harmonic detection method provided by the first aspect of the embodiment of the present application or any one of the implementation methods of the first aspect.
[0038] In a fourth aspect, an embodiment of the present application provides a computer storage medium, which stores a computer program. The computer program includes program instructions. When the program instructions are executed by a processor, the low-cost programmable electric energy meter harmonic detection method provided by the first aspect of the embodiment of the present application or any implementation method of the first aspect can be implemented.
[0039] In an embodiment of the present application, when performing harmonic detection and calibration on an electric energy meter, the harmonic parameters input by the user can be sent to the driver development board, so that the driver development board modulates a harmonic digital signal according to the harmonic parameters and a preset sinusoidal wave signal, and the driver development board outputs the harmonic digital signal to the digital-to-analog conversion circuit, and the driver development board outputs a preset voltage signal to the buck-boost circuit, and the buck-boost circuit outputs the power supply voltage signal corresponding to the preset voltage signal to the digital-to-analog conversion circuit and the electric energy meter to be tested, respectively; a first current and voltage signal generated by the electric energy meter to be tested according to the harmonic analog signal output by the digital-to-analog conversion circuit is obtained, and the harmonic detection result of the electric energy meter to be tested is obtained according to the first current and voltage signal. By constructing an electric energy meter harmonic detection system consisting of a driver development board, a digital-to-analog conversion circuit, a buck-boost circuit and an electric energy meter to be tested, the driver development board and the digital-to-analog conversion circuit can output a harmonic analog signal carrying harmonics to the electric energy meter to be tested. The investment cost is much lower than the purchase cost of the existing electric energy meter inspection device, and the corresponding component structure is light and easy to move and carry, which greatly improves the applicability of the test environment. In addition, the buck-boost circuit can also realize weak voltage driving of the overall system, so that the test environment is in a weak current environment, thereby improving the test safety factor and avoiding the problem of low test efficiency caused by safety hazards. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0041] Figure 1 An overall flow chart of a low-cost programmable electric energy meter harmonic detection method provided in an embodiment of the present application;
[0042] Figure 2 A circuit connection diagram of a digital-to-analog conversion circuit provided in an embodiment of the present application;
[0043] Figure 3 A circuit connection diagram of a boost circuit provided in an embodiment of the present application;
[0044] Figure 4 A circuit connection diagram of a step-down circuit provided in an embodiment of the present application;
[0045] Figure 5 A circuit connection diagram of a filter circuit provided in an embodiment of the present application;
[0046] Figure 6 A schematic diagram of the structure of a harmonic detection system for an electric energy meter provided in an embodiment of the present application;
[0047] Figure 7 A circuit connection diagram of a level conversion circuit provided in an embodiment of the present application;
[0048] Figure 8 A schematic diagram of the structure of a low-cost programmable electric energy meter harmonic detection device provided in an embodiment of the present application;
[0049] Fig. 9 A schematic structural diagram of another low-cost programmable electric energy meter harmonic detection device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0050] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0051] In the following introduction, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. The following introduction provides multiple embodiments of the present application, and different embodiments can be replaced or combined, so the present application can also be considered to include all possible combinations of the same and / or different embodiments recorded. Therefore, if one embodiment includes features A, B, and C, and another embodiment includes features B and D, then the present application should also be considered to include embodiments containing one or more of all other possible combinations of A, B, C, and D, although the embodiment may not be clearly recorded in the following text.
[0052] The following description provides examples and does not limit the scope, applicability or examples set forth in the claims. Changes may be made to the functions and arrangements of the elements described without departing from the scope of the present application. Various processes or components may be appropriately omitted, substituted or added to each example. For example, the described method may be performed in an order different from the order described, and various steps may be added, omitted or combined. In addition, features described in some examples may be combined in other examples.
[0053] See also Figure 1 , Figure 1 The overall flow chart of a low-cost programmable electric energy meter harmonic detection method provided in an embodiment of the present application is shown.
[0054] like Figure 1 As shown, the low-cost programmable electric energy meter harmonic detection method may at least include the following steps:
[0055] Step 102, sending the harmonic parameters input by the user to the driver development board, so that the driver development board modulates the harmonic digital signal according to the harmonic parameters and the preset sinusoidal wave signal, and the driver development board outputs the harmonic digital signal to the digital-to-analog conversion circuit, and the driver development board outputs the preset voltage signal to the buck-boost circuit, and the buck-boost circuit outputs the power supply voltage signal corresponding to the preset voltage signal to the digital-to-analog conversion circuit and the electric energy meter to be tested.
[0056] In the embodiment of the present application, the low-cost programmable electric energy meter harmonic detection method can be, but is not limited to, applied to a control terminal (or a PC terminal, not limited thereto), and the control terminal controls the electric energy meter harmonic detection system through the parameters or instructions input by the user to implement the harmonic detection inspection process of the electric energy meter to be tested. Here, the control terminal can be specifically applied to the electric energy meter harmonic detection system, and the electric energy meter harmonic detection system can at least include a driver development board, a digital-to-analog conversion circuit, a buck-boost circuit, and an electric energy meter to be tested. The output end of the driver development board is respectively connected to the digital-to-analog conversion circuit and the buck-boost circuit, and the output end of the buck-boost circuit is respectively connected to the digital-to-analog conversion circuit and the electric energy meter to be tested, and the control terminal can respectively establish connections with the driver development board and the electric energy meter to be tested to output different control instructions to the driver development board, and obtain the current and voltage signals output by the load output end of the electric energy meter to be tested, and analyze the harmonic detection result of the electric energy meter to be tested according to the current and voltage signals.
[0057] Among them, the driver development board can be used to modulate the corresponding signal and perform output processing according to different types of instructions input by the control terminal. For example, but not limited to, when the instruction input by the control terminal contains harmonic parameters for harmonic detection, the driver development board can modulate a harmonic digital signal that meets the harmonic test requirements according to the harmonic parameters and the preset sinusoidal wave signal, and output the harmonic digital signal to the digital-to-analog conversion circuit. It can be understood that the harmonic parameters can be, but are not limited to, sinusoidal wave component parameters of specified frequency and amplitude, so that when the driver development board modulates a harmonic digital signal that meets the harmonic test requirements, it can first modulate the preset sinusoidal wave signal according to the sinusoidal wave component parameters of the specified frequency and amplitude, and then convert the modulated sinusoidal wave signal into a corresponding digital signal (i.e., a harmonic digital signal), and is not limited to this. Here, the preset sinusoidal wave signal can be understood as an analog signal for simulating the normal power-on state of the electric energy meter, that is, a signal output by the simulated power grid to the electric energy meter, and the preset sinusoidal wave signal can be, but is not limited to, obtained by the driver development board through pulse width modulation processing technology (for example, using a PWM circuit). In the embodiment of the present application, the driver development board mentioned above can be, but is not limited to, a driver development board of model XDS100V2, and its corresponding working principle and circuit structure are well known to those skilled in the art, and will not be described in detail.
[0058] It can also be understood that the above-mentioned electric energy meter harmonic detection system may also include a filtering circuit, and the output end of the driver development board is also connected to the filtering circuit, and the output end of the filtering circuit is connected to the electric energy meter to be tested, so that when the instruction input into the control terminal is an instruction for representing normal power-on, the driver development board can output the above-mentioned preset sinusoidal wave signal to the filtering circuit, so that the preset sinusoidal wave signal can be filtered by the filtering circuit, that is, a sinusoidal wave signal that meets the power-on requirements of the electric energy meter is obtained, and the filtering circuit can output the filtered sinusoidal wave signal to the current and voltage input port of the electric energy meter to be tested.
[0059] Among them, the digital-to-analog conversion circuit can be used to perform digital-to-analog conversion processing on the harmonic digital signal output by the driver development board to obtain a harmonic analog signal that can be output to the current and voltage input ports of the electric energy meter to be tested. The harmonic analog signal can include but is not limited to three groups of voltage signals and four groups of current signals, and each group of voltage signals and each group of current signals can correspond to the voltage input port and the current input port of the electric energy meter to be tested. It can be understood that the harmonic analog signal can be understood as a step-shaped analog signal, which contains a fundamental wave and a series of harmonics that meet the harmonic requirements. In order to ensure the accuracy of the step-shaped analog signal, corresponding oversampling processing or filtering processing can be performed after obtaining the step-shaped analog signal to obtain an analog signal that better meets the harmonic requirements.
[0060] As an option of the embodiment of the present application, the digital-to-analog conversion circuit may at least include a processing chip, a first capacitor, a second capacitor, a third capacitor, a first resistor, and a second resistor, wherein:
[0061] The first input end of the processing chip is connected to the output end of the driver development board, and the second input end of the processing chip is connected to the positive electrode of the first capacitor and the output end of the buck-boost circuit respectively;
[0062] The negative electrode of the first capacitor is connected to the ground terminal;
[0063] The positive electrode of the second capacitor is connected to the output terminal of the processing chip, and the negative electrode of the second capacitor is connected to one end of the first resistor;
[0064] The other end of the first resistor is respectively connected to one end of the second resistor, the positive electrode of the third capacitor and the electric energy meter to be measured;
[0065] The other end of the second resistor is connected to the ground terminal;
[0066] The negative electrode of the third capacitor is connected to the ground terminal.
[0067] See here Figure 2 The circuit connection diagram of a digital-to-analog conversion circuit provided in an embodiment of the present application is shown in FIG. Figure 2As shown, the processing chip model in the digital-to-analog conversion circuit can be but not limited to AD5668 (its working principle can be a technical means well known in the art, which will not be described in detail here), the DIN port of the processing chip can be used as a first input terminal to receive the harmonic digital signal output by the driver development board; the VDD port of the processing chip can be used as a second input terminal, respectively connected to the positive electrode of the first capacitor and the output terminal of the buck-boost circuit, where the first capacitor specifically refers to five capacitors connected in parallel ( Figure 2 C18, C19, C20, C55 and C56 in the figure), and the output end of the buck-boost circuit can output a low-voltage power signal to the VDD port, such as but not limited to a 3.3V power signal (of course, other power circuits can also output a 3.3V power signal to the VDD port of the processing chip, but are not limited to this), so as to ensure that the digital-to-analog conversion circuit works in a weak current environment; the VOUTH port, VOUTF port, VOUTE port, VOUTD port, VOUTC port, VOUTB port and VOUTA port of the processing chip can all be used as output ends (three voltage output ends and four current output ends), and the same circuit components are connected between each output end and the electric energy meter to be tested, such as Figure 2 Taking the VOUTE port of the processing chip as an example, the VOUTE port can be connected to the second capacitor ( Figure 2 The positive electrode of the second capacitor is connected to one end of the first resistor, and the other end of the first resistor is connected to one end of the second resistor and the third capacitor ( Figure 2 The positive electrode of C62 in the embodiment is connected to the electric energy meter to be tested (i.e., SVDAC1-out+). The first resistor may specifically include three resistors connected in parallel ( Figure 2 R261, R262 and R263 in the figure), the second resistor may specifically include three resistors connected in parallel ( Figure 2 R267, R268 and R269 in.
[0068] It is understandable that the processing chip mentioned above may also include multiple other ports. For specific connection methods and port names, please refer to Figure 2 The circuit connection diagram shown in FIG. 1 is not described in detail.
[0069] Among them, the buck-boost circuit can be used to provide different low-voltage power supply signals to the electric energy meter to be tested, and can also provide a low-voltage power supply signal to the digital-to-analog conversion circuit mentioned above, so as to respectively ensure that the electric energy meter to be tested and the digital-to-analog conversion circuit can work in a weak current environment, thereby improving the test safety factor and avoiding the problem of low test efficiency caused by safety hazards. It can be understood that the buck-boost circuit may specifically include a boost circuit and a buck circuit, and the output end of the driving development board outputs a preset voltage signal to the input end of the boost circuit and the input end of the buck circuit respectively, so as to realize the boost processing of the boost circuit and the buck processing of the buck circuit, and the preset voltage signal in the embodiment of the present application can be but not limited to a 5V power supply signal, the boost circuit can boost the 5V power supply signal to a 24V power supply signal, and output it to the ports corresponding to the RF, 3G and PLC modules of the electric energy meter to be tested, and the buck circuit can buck the 5V power supply signal to a 3.3V power supply signal, and output it to the port corresponding to the mcu of the electric energy meter to be tested and the VDD port of the processing chip in the digital-to-analog conversion circuit.
[0070] As another option of the embodiment of the present application, the boost circuit may include at least a boost regulator, a fourth capacitor, a third resistor, a fourth resistor and a fifth resistor, wherein:
[0071] The output end of the driver development board is respectively connected to the first input end of the boost regulator and the positive electrode of the fourth capacitor, the second input end of the boost regulator is connected to one end of the third resistor, and the negative electrode of the fourth capacitor is respectively connected to the other end of the third resistor and the ground end;
[0072] The output end of the boost regulator is connected to one end of the fourth resistor and one end of the fifth resistor respectively, the other end of the fourth resistor is connected to the electric energy meter to be measured, and the other end of the fifth resistor is connected to the ground end.
[0073] See here Figure 3 The circuit connection diagram of a boost circuit provided by an embodiment of the present application is shown in FIG. Figure 3 As shown, the boost regulator in the boost circuit can be, but is not limited to, LT3479 (the working principle of which can be a well-known technical means in the art, which will not be described in detail here). The VIN port of the boost regulator can be used as a first input terminal to receive a 5V power supply signal output by the output terminal of the driver development board. The output terminal of the driver development board can also be connected to the fourth capacitor ( Figure 3 The positive electrode of Cin6 in the boost regulator is connected, and the RT port of the boost regulator can be used as the second input terminal and connected to the third resistor ( Figure 3The FBN port of the boost regulator can be used as an output terminal, connected to one end of the fourth resistor and one end of the fifth resistor, the other end of the fourth resistor is connected to the electric energy meter to be tested (that is, the 24V power supply signal output port), and the other end of the fifth resistor is connected to the ground. Here, the fourth resistor may specifically include three resistors connected in parallel ( Figure 3 R440, R441 and R442 in the figure), the fifth resistor may specifically include three resistors connected in parallel ( Figure 3 R444, R445 and R446 in.
[0074] It is understandable that the boost regulator mentioned above may also include multiple other ports, such as but not limited to the SW port, SW-1 port and L port to output the 24V power signal on the other side. The specific connection method and port name can be found in Figure 3 The circuit connection diagram shown in FIG. 1 is not described in detail.
[0075] As another option of the embodiment of the present application, the buck circuit may include a buck regulator, a fifth capacitor, a sixth capacitor, a seventh capacitor and a sixth resistor, wherein:
[0076] The output end of the driver development board is respectively connected to the input end of the buck regulator, the positive electrode of the fifth capacitor and the positive electrode of the sixth capacitor, and the negative electrode of the fifth capacitor and the negative electrode of the sixth capacitor are respectively connected to the ground end;
[0077] The output end of the buck regulator is respectively connected to the positive electrode of the seventh capacitor and one end of the sixth resistor, the negative electrode of the seventh capacitor is connected to the ground, and the other end of the sixth resistor is respectively connected to the digital-to-analog conversion circuit and the electric energy meter to be measured.
[0078] See here Figure 4 The circuit connection diagram of a step-down circuit provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, the buck regulator in the buck circuit can be but not limited to LM1 (its working principle can be a well-known technical means in the art, which will not be described in detail here). The IN port of the buck regulator can be used as an input end to receive the 5V power supply signal output by the output end of the driver development board. The output end of the driver development board can also be connected to the fifth capacitor ( Figure 4 The positive electrode of C81 in the Figure 4 The positive electrode of the fifth capacitor and the negative electrode of the sixth capacitor are connected to the ground terminal respectively; the GND port of the buck regulator can be connected to the ground terminal, and the OUT port of the buck regulator can be used as an output terminal to connect to the seventh capacitor ( Figure 4The positive terminal of C17 in the Figure 4 One end of R443 in the circuit is connected, the negative electrode of the seventh capacitor is connected to the ground terminal, and the other end of the sixth resistor is respectively connected to the digital-to-analog conversion circuit and the electric energy meter to be tested (that is, the 3V power supply signal output port).
[0079] Specifically, when the electric energy meter is subjected to harmonic detection and verification, the control terminal can, but is not limited to, receive the harmonic parameters input by the tester through a touch screen or other device, and can output the instruction containing the harmonic parameters to the driver development board, so that the driver development board modulates a harmonic digital signal that meets the harmonic test requirements according to the harmonic parameters and a preset sinusoidal wave signal, and outputs the harmonic digital signal to the digital-to-analog conversion circuit. It is understandable that after receiving the instruction output by the control terminal, the driver development board can also synchronously output a preset voltage signal to the buck-boost circuit, so that the buck-boost circuit provides a power supply voltage signal that can work normally to the electric energy meter to be tested, and can also provide a power supply voltage signal that can work normally to the digital-to-analog conversion circuit, so as to ensure that the electric energy meter harmonic detection system as a whole is in a weak current environment, thereby improving the test safety factor and avoiding the problem of low test efficiency caused by safety hazards.
[0080] Step 104 , obtaining a first current and voltage signal generated by the electric energy meter to be tested according to the harmonic analog signal output by the digital-to-analog conversion circuit, and obtaining a harmonic detection result of the electric energy meter to be tested according to the first current and voltage signal.
[0081] Specifically, after receiving the harmonic digital signal output by the driver development board, the digital-to-analog conversion circuit can perform digital-to-analog conversion on the harmonic digital signal, generate a corresponding harmonic analog signal and output it to the current and voltage input port of the electric energy meter to be tested, so that the control terminal can obtain the current and voltage signal (i.e., the first current and voltage signal) generated by the electric energy meter to be tested according to the harmonic analog signal, and the number of the current and voltage signals can be consistent with the number of voltage signals and current signals contained in the harmonic analog signal. For example, but not limited to, when the harmonic analog signal contains three groups of voltage signals and four groups of current signals, the current and voltage signals can also correspond to three groups of voltage signals and four groups of current signals, but are not limited to this.
[0082] Furthermore, after obtaining the current and voltage signals generated by the electric energy meter to be tested, the control terminal can also, but is not limited to, detect and process the current and voltage signals in accordance with the national standard or the standard set by the IEC for harmonic detection, so as to obtain the harmonic detection result of the electric energy meter to be tested based on the detection result. For example, but not limited to, when the harmonic detection result is a normal detection, it can indicate that the metering function of the electric energy meter to be tested is still within the electric energy meter standard under the influence of the corresponding harmonic parameters, that is, the harmonic detection of the electric energy meter to be tested passes; when the harmonic detection result is an abnormal detection, it can indicate that the metering function of the electric energy meter to be tested cannot be within the electric energy meter standard under the influence of the corresponding harmonic parameters, that is, the harmonic detection of the electric energy meter to be tested fails.
[0083] As another option of the embodiment of the present application, before obtaining the harmonic detection result of the electric energy meter to be tested according to the first current and voltage signal, the method further includes:
[0084] According to the power-on instruction of the electric energy meter input by the user, the control driving development board outputs the preset sinusoidal wave signal to the filter circuit, so that the filter circuit performs filtering processing on the preset sinusoidal wave signal, and the filter circuit outputs the processed preset sinusoidal wave signal to the electric energy meter to be tested;
[0085] Acquire a second current and voltage signal generated by the electric energy meter to be tested according to the processed preset sinusoidal wave signal;
[0086] Obtaining a harmonic detection result of the electric energy meter to be tested according to the first current and voltage signal includes:
[0087] A harmonic detection result of the electric energy meter to be tested is obtained according to the first current and voltage signal and the second current and voltage signal.
[0088] In order to improve the accuracy of the harmonic detection results, the control terminal can also control the driver development board to provide an analog signal that can be in a normal power-on state to the electric energy meter to be tested, so as to perform a difference comparison process between the corresponding current and voltage signals generated by the electric energy meter to be tested and the current and voltage signals generated according to the harmonic simulation signal mentioned above, and thus obtain the harmonic detection result of the electric energy meter to be tested.
[0089] Specifically, before obtaining the harmonic detection result of the electric energy meter to be tested according to the first current and voltage signal, the control terminal can also, but is not limited to, receive the electric energy meter power-on instruction input by the tester through a touch screen or other device, or generate the electric energy meter power-on instruction by default through the automatic control program, and output the electric energy meter power-on instruction to the driver development board, so that the driver development board outputs the above-mentioned preset sinusoidal wave signal to the filter circuit, and the filter circuit implements filtering processing of the preset sinusoidal wave signal, and the filter circuit can process the preset sinusoidal wave signal after processing. The signal is output to the current and voltage input port of the electric energy meter to be tested, so that the control terminal can obtain the current and voltage signal (that is, the second current and voltage signal) generated by the electric energy meter to be tested according to the processed preset sine wave signal, and the number of the current and voltage signals can be consistent with the number of voltage signals and current signals contained in the processed preset sine wave signal. For example, but not limited to, when the processed preset sine wave signal contains three groups of voltage signals and four groups of current signals, the current and voltage signals can also correspond to three groups of voltage signals and four groups of current signals, but are not limited to this. It should be noted that in the embodiment of the present application, the number of current signals and voltage signals contained in the first current and voltage signal generated by the electric energy meter to be tested according to the harmonic simulation signal is consistent with the number of current signals and voltage signals contained in the second current and voltage signal generated by the electric energy meter to be tested according to the processed preset sine wave signal, so as to ensure data consistency.
[0090] Also see here Figure 5 The circuit connection diagram of a filter circuit provided by an embodiment of the present application is shown in FIG. Figure 5 As shown, the Vapwm+ terminal and the SVpwm1- terminal of the filter circuit are used to connect to the driver development board, and the SVpwm1-out+ terminal and the SVpwm1-out- terminal of the filter circuit are used to connect to the voltage input port of the electric energy meter to be tested, so as to filter the voltage signal in the preset sinusoidal wave signal output by the driver development board, and output it to the corresponding voltage input port of the electric energy meter to be tested. It should be noted that, taking the above-mentioned current and voltage signals corresponding to three groups of voltage signals and four groups of current signals as an example, seven filter circuits can be provided in the embodiment of the present application to filter the three groups of voltage signals and four groups of current signals in the preset sinusoidal wave signal output by the driver development board, respectively, and the output end of each filter circuit can correspond to the corresponding voltage input port or current input port of the electric energy meter to be tested.
[0091] Next, after obtaining the first current and voltage signal and the second current and voltage signal respectively, taking the case where the first current and voltage signal includes three groups of first voltage signals and four groups of first current signals, and the second current and voltage signal includes three groups of second voltage signals and four groups of second current signals as an example, the control terminal can also respectively calculate the voltage amplitude difference between each group of the first voltage signals and the corresponding second voltage signals, and the current amplitude difference between each group of the first current signals and the corresponding second current signals, and sum all the voltage amplitude differences and all the current amplitude differences, so that when it is detected that the summation result is in a preset summation interval, it indicates that the metering function of the electric energy meter to be tested is still within the electric energy meter standard under the influence of the corresponding harmonic parameters, that is, the harmonic detection of the electric energy meter to be tested passes (normal); when it is detected that the summation result is not in the preset summation interval, it indicates that the metering function of the electric energy meter to be tested cannot be within the electric energy meter standard under the influence of the corresponding harmonic parameters, that is, the harmonic detection of the electric energy meter to be tested fails (abnormal). It can be understood that in addition to determining the harmonic detection result of the electric energy meter to be tested by the above-mentioned amplitude difference summing calculation method, the present application can also determine the harmonic detection result of the electric energy meter to be tested by frequency calculation and other methods, and is not limited to this.
[0092] See here Figure 6 The structural diagram of a harmonic detection system for an electric energy meter provided in an embodiment of the present application is shown in FIG. Figure 6 As shown, the electric energy meter harmonic detection system may specifically include a driver development board, a digital-to-analog conversion circuit, a buck-boost circuit, a filter circuit, a level conversion circuit, and an electric energy meter to be tested. The output end of the driver development board is respectively connected to the digital-to-analog conversion circuit, the buck-boost circuit, the filter circuit, and the level conversion circuit. The output end of the digital-to-analog conversion circuit is connected to the electric energy meter to be tested, the output end of the filter circuit is connected to the electric energy meter to be tested, the output end of the buck-boost circuit is connected to the electric energy meter to be tested, and the output end of the level conversion circuit is connected to the electric energy meter to be tested. It can be understood that the level conversion circuit mentioned above can be used to realize the interconnection and serial communication of different logic level standards between the driver development board and the electric energy meter to be tested. The specific circuit structure can be referred to. Figure 7 FIG. 1 is a circuit connection diagram of a level conversion circuit provided by an embodiment of the present application. Figure 7As shown, the RX1 end and the LV end of the level conversion circuit can be connected to the driver development board, and the LV end can be but is not limited to being connected to a 3V power supply signal (for example, connected to a buck-boost circuit, so that the buck-boost circuit provides a 3V power supply signal to the level conversion circuit); the TX1-HV end and the TX-HV1 end of the level conversion circuit are both connected to the electric energy meter to be tested, and the TX1-HV end can be but is not limited to being connected to a 3V power supply signal and a 5V power supply signal (for example, connected to a buck-boost circuit, so that the buck-boost circuit provides a 3V power supply signal and a 5V power supply signal to the level conversion circuit).
[0093] It should also be noted that the electric energy meter harmonic detection system used in the present application has a faster response speed than the existing electric energy meter inspection device (the response time of any command is less than 25ms), which can facilitate the rapid switching of power grid data such as different voltages and currents, thereby improving overall efficiency.
[0094] See also Figure 8 , Figure 8 A schematic structural diagram of a low-cost programmable electric energy meter harmonic detection device provided in an embodiment of the present application is shown.
[0095] The low-cost programmable electric energy meter harmonic detection device is applied to the electric energy meter harmonic detection system. The electric energy meter harmonic detection system includes a driver development board, a digital-to-analog conversion circuit, a buck-boost circuit and an electric energy meter to be tested. The output end of the driver development board is respectively connected to the digital-to-analog conversion circuit and the buck-boost circuit, the output end of the digital-to-analog conversion circuit is connected to the electric energy meter to be tested, and the output end of the buck-boost circuit is respectively connected to the digital-to-analog conversion circuit and the electric energy meter to be tested. Figure 8 As shown, the low-cost programmable electric energy meter harmonic detection device may include at least a first processing module 801 and a second processing module 802, wherein:
[0096] The first processing module 801 is used to send the harmonic parameters input by the user to the driver development board, so that the driver development board modulates the harmonic digital signal according to the harmonic parameters and the preset sinusoidal wave signal, and the driver development board outputs the harmonic digital signal to the digital-to-analog conversion circuit, and the driver development board outputs the preset voltage signal to the buck-boost circuit, and the buck-boost circuit outputs the power supply voltage signal corresponding to the preset voltage signal to the digital-to-analog conversion circuit and the electric energy meter to be tested respectively;
[0097] The second processing module 802 is used to obtain the first current and voltage signal generated by the electric energy meter to be tested according to the harmonic analog signal output by the digital-to-analog conversion circuit, and obtain the harmonic detection result of the electric energy meter to be tested according to the first current and voltage signal; wherein the harmonic analog signal is generated by the digital-to-analog conversion circuit according to the harmonic digital signal output by the driver development board.
[0098] In some possible embodiments, the electric energy meter harmonic detection system further includes a filter circuit, the output end of the driver development board is further connected to the filter circuit, and the output end of the filter circuit is connected to the electric energy meter to be tested;
[0099] Before obtaining the harmonic detection result of the electric energy meter to be tested according to the first current and voltage signal, the method further includes:
[0100] According to the power-on instruction of the electric energy meter input by the user, the control driving development board outputs the preset sinusoidal wave signal to the filter circuit, so that the filter circuit performs filtering processing on the preset sinusoidal wave signal, and the filter circuit outputs the processed preset sinusoidal wave signal to the electric energy meter to be tested;
[0101] Acquire a second current and voltage signal generated by the electric energy meter to be tested according to the processed preset sinusoidal wave signal;
[0102] Obtaining a harmonic detection result of the electric energy meter to be tested according to the first current and voltage signal includes:
[0103] A harmonic detection result of the electric energy meter to be tested is obtained according to the first current and voltage signal and the second current and voltage signal.
[0104] In some possible embodiments, the first current-voltage signal includes three groups of first voltage signals and four groups of first current signals, and the second current-voltage signal includes three groups of second voltage signals and four groups of second current signals;
[0105] Obtaining the harmonic detection result of the electric energy meter to be tested according to the first current and voltage signals and the second current and voltage signals, including: respectively calculating the voltage amplitude difference between each group of first voltage signals and the corresponding second voltage signals, and the current amplitude difference between each group of first current signals and the corresponding second current signals;
[0106] Performing a summation process on all voltage amplitude differences and all current amplitude differences, and when it is detected that the summation process result is within a preset summation interval, determining that the harmonic detection result of the electric energy meter to be tested is normal;
[0107] When it is detected that the summation processing result is not within the preset summation interval, it is determined that the harmonic detection result of the electric energy meter to be tested is abnormal.
[0108] In some possible embodiments, the digital-to-analog conversion circuit includes a processing chip, a first capacitor, a second capacitor, a third capacitor, a first resistor, and a second resistor, wherein:
[0109] The first input end of the processing chip is connected to the output end of the driver development board, and the second input end of the processing chip is connected to the positive electrode of the first capacitor and the output end of the buck-boost circuit respectively;
[0110] The negative electrode of the first capacitor is connected to the ground terminal;
[0111] The positive electrode of the second capacitor is connected to the output terminal of the processing chip, and the negative electrode of the second capacitor is connected to one end of the first resistor;
[0112] The other end of the first resistor is respectively connected to one end of the second resistor, the positive electrode of the third capacitor and the electric energy meter to be measured;
[0113] The other end of the second resistor is connected to the ground terminal;
[0114] The negative electrode of the third capacitor is connected to the ground terminal.
[0115] In some possible embodiments, the buck-boost circuit includes a boost circuit and a buck circuit, the output end of the driver development board is respectively connected to the input end of the boost circuit and the input end of the buck circuit, the output end of the boost circuit is connected to the electric energy meter to be tested, and the output end of the buck circuit is respectively connected to the digital-to-analog conversion circuit and the electric energy meter to be tested.
[0116] In some possible embodiments, the boost circuit includes a boost regulator, a fourth capacitor, a third resistor, a fourth resistor, and a fifth resistor, wherein:
[0117] The output end of the driver development board is respectively connected to the first input end of the boost regulator and the positive electrode of the fourth capacitor, the second input end of the boost regulator is connected to one end of the third resistor, and the negative electrode of the fourth capacitor is respectively connected to the other end of the third resistor and the ground end;
[0118] The output end of the boost regulator is connected to one end of the fourth resistor and one end of the fifth resistor respectively, the other end of the fourth resistor is connected to the electric energy meter to be measured, and the other end of the fifth resistor is connected to the ground end.
[0119] In some possible embodiments, the buck circuit includes a buck regulator, a fifth capacitor, a sixth capacitor, a seventh capacitor, and a sixth resistor, wherein:
[0120] The output end of the driver development board is respectively connected to the input end of the buck regulator, the positive electrode of the fifth capacitor and the positive electrode of the sixth capacitor, and the negative electrode of the fifth capacitor and the negative electrode of the sixth capacitor are respectively connected to the ground end;
[0121] The output end of the buck regulator is respectively connected to the positive electrode of the seventh capacitor and one end of the sixth resistor, the negative electrode of the seventh capacitor is connected to the ground, and the other end of the sixth resistor is respectively connected to the digital-to-analog conversion circuit and the electric energy meter to be measured.
[0122] See also Fig. 9 , Fig. 9 A schematic structural diagram of another low-cost programmable electric energy meter harmonic detection device provided in an embodiment of the present application is shown.
[0123] The low-cost programmable electric energy meter harmonic detection device is applied to the electric energy meter harmonic detection system. The electric energy meter harmonic detection system includes a driver development board, a digital-to-analog conversion circuit, a buck-boost circuit and an electric energy meter to be tested. The output end of the driver development board is respectively connected to the digital-to-analog conversion circuit and the buck-boost circuit, the output end of the digital-to-analog conversion circuit is connected to the electric energy meter to be tested, and the output end of the buck-boost circuit is respectively connected to the digital-to-analog conversion circuit and the electric energy meter to be tested. Fig. 9 As shown, the low-cost programmable electric energy meter harmonic detection device 900 may include at least one processor 901 , at least one network interface 904 , a user interface 903 , a memory 905 and at least one communication bus 902 .
[0124] The communication bus 902 may be used to realize the connection and communication among the above-mentioned components.
[0125] The user interface 903 may include buttons, and the optional user interface may also include a standard wired interface or a wireless interface.
[0126] The network interface 904 may include, but is not limited to, a Bluetooth module, an NFC module, a Wi-Fi module, and the like.
[0127] Among them, the processor 901 may include one or more processing cores. The processor 901 uses various interfaces and lines to connect various parts in the low-cost programmable electric energy meter harmonic detection device 900, and executes various functions and processes data of the low-cost programmable electric energy meter harmonic detection device 900 by running or executing instructions, programs, code sets or instruction sets stored in the memory 905, and calling data stored in the memory 905. Optionally, the processor 901 can be implemented in at least one hardware form of DSP, FPGA, and PLA. The processor 901 can integrate one or a combination of CPU, GPU, modem, etc. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 901, and it can be implemented by a single chip.
[0128] The memory 905 may include RAM or ROM. Optionally, the memory 905 includes a non-transitory computer-readable medium. The memory 905 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 905 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned method embodiments, etc.; the data storage area may store data involved in the above-mentioned method embodiments, etc. The memory 905 may optionally be at least one storage device located away from the aforementioned processor 901. As Fig. 9 As shown, the memory 905 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a low-cost programmable electric energy meter harmonic detection application program.
[0129] Specifically, the processor 901 may be used to call the low-cost programmable electric energy meter harmonic detection application stored in the memory 905, and specifically perform the following operations:
[0130] The harmonic parameters input by the user are sent to the driver development board, so that the driver development board modulates the harmonic digital signal according to the harmonic parameters and the preset sinusoidal wave signal, and the driver development board outputs the harmonic digital signal to the digital-to-analog conversion circuit, and the driver development board outputs the preset voltage signal to the buck-boost circuit, and the buck-boost circuit outputs the power supply voltage signal corresponding to the preset voltage signal to the digital-to-analog conversion circuit and the electric energy meter to be tested respectively;
[0131] Obtain a first current and voltage signal generated by the electric energy meter to be tested according to the harmonic analog signal output by the digital-to-analog conversion circuit, and obtain a harmonic detection result of the electric energy meter to be tested according to the first current and voltage signal; wherein the harmonic analog signal is generated by the digital-to-analog conversion circuit according to the harmonic digital signal output by the driver development board.
[0132] In some possible embodiments, the electric energy meter harmonic detection system further includes a filter circuit, the output end of the driver development board is further connected to the filter circuit, and the output end of the filter circuit is connected to the electric energy meter to be tested;
[0133] Before obtaining the harmonic detection result of the electric energy meter to be tested according to the first current and voltage signal, the method further includes:
[0134] According to the power-on instruction of the electric energy meter input by the user, the control driving development board outputs the preset sinusoidal wave signal to the filter circuit, so that the filter circuit performs filtering processing on the preset sinusoidal wave signal, and the filter circuit outputs the processed preset sinusoidal wave signal to the electric energy meter to be tested;
[0135] Acquire a second current and voltage signal generated by the electric energy meter to be tested according to the processed preset sinusoidal wave signal;
[0136] Obtaining a harmonic detection result of the electric energy meter to be tested according to the first current and voltage signal includes:
[0137] A harmonic detection result of the electric energy meter to be tested is obtained according to the first current and voltage signal and the second current and voltage signal.
[0138] In some possible embodiments, the first current-voltage signal includes three groups of first voltage signals and four groups of first current signals, and the second current-voltage signal includes three groups of second voltage signals and four groups of second current signals;
[0139] Obtaining the harmonic detection result of the electric energy meter to be tested according to the first current and voltage signals and the second current and voltage signals, including: respectively calculating the voltage amplitude difference between each group of first voltage signals and the corresponding second voltage signals, and the current amplitude difference between each group of first current signals and the corresponding second current signals;
[0140] Performing a summation process on all voltage amplitude differences and all current amplitude differences, and when it is detected that the summation process result is within a preset summation interval, determining that the harmonic detection result of the electric energy meter to be tested is normal;
[0141] When it is detected that the summation processing result is not within the preset summation interval, it is determined that the harmonic detection result of the electric energy meter to be tested is abnormal.
[0142] In some possible embodiments, the digital-to-analog conversion circuit includes a processing chip, a first capacitor, a second capacitor, a third capacitor, a first resistor, and a second resistor, wherein:
[0143] The first input end of the processing chip is connected to the output end of the driver development board, and the second input end of the processing chip is connected to the positive electrode of the first capacitor and the output end of the buck-boost circuit respectively;
[0144] The negative electrode of the first capacitor is connected to the ground terminal;
[0145] The positive electrode of the second capacitor is connected to the output terminal of the processing chip, and the negative electrode of the second capacitor is connected to one end of the first resistor;
[0146] The other end of the first resistor is respectively connected to one end of the second resistor, the positive electrode of the third capacitor and the electric energy meter to be measured;
[0147] The other end of the second resistor is connected to the ground terminal;
[0148] The negative electrode of the third capacitor is connected to the ground terminal.
[0149] In some possible embodiments, the buck-boost circuit includes a boost circuit and a buck circuit, the output end of the driver development board is respectively connected to the input end of the boost circuit and the input end of the buck circuit, the output end of the boost circuit is connected to the electric energy meter to be tested, and the output end of the buck circuit is respectively connected to the digital-to-analog conversion circuit and the electric energy meter to be tested.
[0150] In some possible embodiments, the boost circuit includes a boost regulator, a fourth capacitor, a third resistor, a fourth resistor, and a fifth resistor, wherein:
[0151] The output end of the driver development board is respectively connected to the first input end of the boost regulator and the positive electrode of the fourth capacitor, the second input end of the boost regulator is connected to one end of the third resistor, and the negative electrode of the fourth capacitor is respectively connected to the other end of the third resistor and the ground end;
[0152] The output end of the boost regulator is connected to one end of the fourth resistor and one end of the fifth resistor respectively, the other end of the fourth resistor is connected to the electric energy meter to be measured, and the other end of the fifth resistor is connected to the ground end.
[0153] In some possible embodiments, the buck circuit includes a buck regulator, a fifth capacitor, a sixth capacitor, a seventh capacitor, and a sixth resistor, wherein:
[0154] The output end of the driver development board is respectively connected to the input end of the buck regulator, the positive electrode of the fifth capacitor and the positive electrode of the sixth capacitor, and the negative electrode of the fifth capacitor and the negative electrode of the sixth capacitor are respectively connected to the ground end;
[0155] The output end of the buck regulator is respectively connected to the positive electrode of the seventh capacitor and one end of the sixth resistor, the negative electrode of the seventh capacitor is connected to the ground, and the other end of the sixth resistor is respectively connected to the digital-to-analog conversion circuit and the electric energy meter to be measured.
[0156] The present application also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD, a CD-ROM, a micro drive, and a magneto-optical disk, a ROM, a RAM, an EPROM, an EEPROM, a DRAM, a VRAM, a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.
[0157] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0158] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0159] In the several embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0160] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0161] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0162] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of each embodiment method of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk, etc., and other media that can store program codes.
Claims
1. A low-cost programmable electric energy meter harmonic detection method, characterized in that: The method is applied to an electric energy meter harmonic detection system, which includes a driver development board, a digital-to-analog conversion circuit, a buck-boost circuit, and an electric energy meter to be tested, wherein the output end of the driver development board is respectively connected to the digital-to-analog conversion circuit and the buck-boost circuit, the output end of the digital-to-analog conversion circuit is connected to the electric energy meter to be tested, and the output end of the buck-boost circuit is respectively connected to the digital-to-analog conversion circuit and the electric energy meter to be tested, and the method includes: Sending the harmonic parameters input by the user to the driver development board, so that the driver development board modulates a harmonic digital signal according to the harmonic parameters and a preset sinusoidal wave signal, and the driver development board outputs the harmonic digital signal to the digital-to-analog conversion circuit, and the driver development board outputs a preset voltage signal to the buck-boost circuit, and the buck-boost circuit outputs a power supply voltage signal corresponding to the preset voltage signal to the digital-to-analog conversion circuit and the electric energy meter to be tested respectively; Acquire the first current and voltage signal generated by the electric energy meter to be tested according to the harmonic analog signal output by the digital-to-analog conversion circuit, and obtain the harmonic detection result of the electric energy meter to be tested according to the first current and voltage signal; wherein the harmonic analog signal is generated by the digital-to-analog conversion circuit according to the harmonic digital signal output by the driver development board; Wherein, the electric energy meter harmonic detection system further includes a filter circuit, the output end of the driver development board is also connected to the filter circuit, and the output end of the filter circuit is connected to the electric energy meter to be tested; Before obtaining the harmonic detection result of the electric energy meter to be tested according to the first current and voltage signal, the method further includes: According to the power-on instruction of the electric energy meter input by the user, the driver development board is controlled to output the preset sinusoidal wave signal to the filter circuit, so that the filter circuit performs filtering processing on the preset sinusoidal wave signal, and the filter circuit outputs the processed preset sinusoidal wave signal to the electric energy meter to be tested; Acquiring a second current and voltage signal generated by the electric energy meter to be tested according to the processed preset sinusoidal wave signal; obtaining a harmonic detection result of the electric energy meter to be tested according to the first current and voltage signal, comprising: A harmonic detection result of the electric energy meter to be tested is obtained according to the first current and voltage signal and the second current and voltage signal.
2. The method according to claim 1, characterized in that The first current and voltage signals include three groups of first voltage signals and four groups of first current signals, and the second current and voltage signals include three groups of second voltage signals and four groups of second current signals; The step of obtaining the harmonic detection result of the electric energy meter to be tested according to the first current and voltage signal and the second current and voltage signal comprises: Respectively calculating the voltage amplitude difference between each group of the first voltage signal and the corresponding second voltage signal, and the current amplitude difference between each group of the first current signal and the corresponding second current signal; Performing a summation process on all the voltage amplitude differences and all the current amplitude differences, and when it is detected that the summation process result is within a preset summation interval, determining that the harmonic detection result of the electric energy meter to be tested is normal; When it is detected that the summation processing result is not within the preset summation interval, it is determined that the harmonic detection result of the electric energy meter to be tested is abnormal.
3. The method according to claim 1, characterized in that: The digital-to-analog conversion circuit includes a processing chip, a first capacitor, a second capacitor, a third capacitor, a first resistor, and a second resistor, wherein: The first input end of the processing chip is connected to the output end of the driver development board, and the second input end of the processing chip is connected to the positive electrode of the first capacitor and the output end of the buck-boost circuit respectively; The negative electrode of the first capacitor is connected to the ground terminal; The positive electrode of the second capacitor is connected to the output terminal of the processing chip, and the negative electrode of the second capacitor is connected to one end of the first resistor; The other end of the first resistor is respectively connected to one end of the second resistor, the positive electrode of the third capacitor and the electric energy meter to be measured; The other end of the second resistor is connected to the ground terminal; A negative electrode of the third capacitor is connected to the ground terminal.
4. The method according to claim 1, characterized in that: The buck-boost circuit includes a boost circuit and a buck circuit. The output end of the driver development board is respectively connected to the input end of the boost circuit and the input end of the buck circuit. The output end of the boost circuit is connected to the electric energy meter to be tested. The output end of the buck circuit is respectively connected to the digital-to-analog conversion circuit and the electric energy meter to be tested.
5. The method according to claim 4, characterized in that The boost circuit comprises a boost regulator, a fourth capacitor, a third resistor, a fourth resistor and a fifth resistor, wherein: The output end of the driver development board is respectively connected to the first input end of the boost regulator and the positive electrode of the fourth capacitor, the second input end of the boost regulator is connected to one end of the third resistor, and the negative electrode of the fourth capacitor is respectively connected to the other end of the third resistor and the ground end; The output end of the boost regulator is connected to one end of the fourth resistor and one end of the fifth resistor respectively, the other end of the fourth resistor is connected to the electric energy meter to be measured, and the other end of the fifth resistor is connected to the ground end.
6. The method according to claim 4, characterized in that The step-down circuit comprises a step-down regulator, a fifth capacitor, a sixth capacitor, a seventh capacitor and a sixth resistor, wherein: The output end of the driver development board is respectively connected to the input end of the buck regulator, the positive electrode of the fifth capacitor and the positive electrode of the sixth capacitor, and the negative electrode of the fifth capacitor and the negative electrode of the sixth capacitor are respectively connected to the ground end; the output end of the buck regulator is respectively connected to the positive electrode of the seventh capacitor and one end of the sixth resistor, the negative electrode of the seventh capacitor is connected to the ground end, and the other end of the sixth resistor is respectively connected to the digital-to-analog conversion circuit and the electric energy meter to be tested.
7. A low-cost programmable electric energy meter harmonic detection device, characterized in that: The device is applied to an electric energy meter harmonic detection system, which includes a driver development board, a digital-to-analog conversion circuit, a buck-boost circuit, and an electric energy meter to be tested. The output end of the driver development board is respectively connected to the digital-to-analog conversion circuit and the buck-boost circuit, the output end of the digital-to-analog conversion circuit is connected to the electric energy meter to be tested, the output end of the buck-boost circuit is respectively connected to the digital-to-analog conversion circuit and the electric energy meter to be tested, and the device includes: A first processing module is used to send the harmonic parameters input by the user to the driver development board, so that the driver development board modulates a harmonic digital signal according to the harmonic parameters and a preset sinusoidal wave signal, and the driver development board outputs the harmonic digital signal to the digital-to-analog conversion circuit, and the driver development board outputs a preset voltage signal to the buck-boost circuit, and the buck-boost circuit outputs a power supply voltage signal corresponding to the preset voltage signal to the digital-to-analog conversion circuit and the electric energy meter to be tested; A second processing module is used to obtain a first current and voltage signal generated by the electric energy meter to be tested according to the harmonic analog signal output by the digital-to-analog conversion circuit, and obtain a harmonic detection result of the electric energy meter to be tested according to the first current and voltage signal; wherein the harmonic analog signal is generated by the digital-to-analog conversion circuit according to the harmonic digital signal output by the driver development board; Wherein, the electric energy meter harmonic detection system further includes a filter circuit, the output end of the driver development board is also connected to the filter circuit, and the output end of the filter circuit is connected to the electric energy meter to be tested; Before obtaining the harmonic detection result of the electric energy meter to be tested according to the first current and voltage signal, the method further includes: According to the power-on instruction of the electric energy meter input by the user, the driver development board is controlled to output the preset sinusoidal wave signal to the filter circuit, so that the filter circuit performs filtering processing on the preset sinusoidal wave signal, and the filter circuit outputs the processed preset sinusoidal wave signal to the electric energy meter to be tested; Acquiring a second current and voltage signal generated by the electric energy meter to be tested according to the processed preset sinusoidal wave signal; obtaining a harmonic detection result of the electric energy meter to be tested according to the first current and voltage signal, comprising: A harmonic detection result of the electric energy meter to be tested is obtained according to the first current and voltage signal and the second current and voltage signal.
8. A low-cost programmable electric energy meter harmonic detection device, characterized in that: including a processor and a memory; The processor is connected to the memory; The memory is used to store executable program code; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the steps of the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a computer or a processor, the computer or the processor executes the steps of the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Method and device for testing harmonic resistance of electric energy meter
CN111929519A