Electric energy metering device for high-end intelligent electric energy meter and control method thereof

By using the electrical energy measurement device of dual -meter -meter chip in the high -end intelligent power meter, the status information and target measurement data of the DSP chip is determined by MCU, which solves the unreliable problem of electric energy measurement results in the existing technology, improved the measurement accuracy and reliability of the measurement accuracy and reliability Essence

CN119355359AActive Publication Date: 2025-01-24WUHAN SAN FRAN ELECTRONICS CO LTD

Patent Information

Application Number
CN202411265590.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-10
Publication Date
2025-01-24
Estimated Expiration
2044-09-10

AI Technical Summary

Technical Problem

In the prior art, the power metering of high-end smart power meters relies on DSP chips and is susceptible to DSP chip failures or unstable metering procedures, resulting in unreliable power metering results.

Method used

Design a electrical metering device, which includes micro -controller MCU, digital signal processing DSP chip and spare metering chip. The measurement data of the DSP chip is determined by the MCU according to the MCU and the target measurement data of the DSP chip. Perform electricity metering.

Benefits of technology

It improves the accuracy and reliability of electrical measurement, and avoids the problem of unstable measurement caused by DSP chip failure or the unstable measurement program.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119355359A_ABST
    Figure CN119355359A_ABST
Patent Text Reader

Abstract

The invention provides an electric energy metering device for a high-end intelligent electric energy meter and a control method thereof, the device comprises a gateway meter structure, the gateway meter structure comprises a microcontroller MCU and a digital signal processing DSP chip, and the MCU is electrically connected with the DSP chip; the DSP chip is used for counting first metering data according to voltage and current input into the gateway meter structure; the standby metering chip is electrically connected with the MCU; the standby metering chip is used for counting second metering data according to the voltage and the current; the MCU is used for determining state information and target metering data of the DSP chip according to the first metering data and the second metering data; wherein the target measurement data belongs to the first measurement data or the second measurement data; the state information of the DSP chip comprises normal or fault of the DSP chip. According to the device, the double metering chips are used for metering the electric energy of the electric energy meter, and the electric energy metering precision and the reliability of the electric energy metering result are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electric energy metering, and in particular to an electric energy metering device for a high-end intelligent electric energy meter and a control method thereof. Background Art

[0002] With the gradual deepening of smart grid construction in my country, smart meters, collection terminals and other power collection equipment are continuously installed and connected to the network. Power companies have high requirements for the reliability and accuracy of power collection. Taking gateway meters as an example, gateway meters are generally installed at gateway boundaries where a large number of loads are collected. Therefore, the metering reliability and accuracy are very high, usually required to reach Class D (0.5S).

[0003] In the related technology, the gateway meter of the prior art relies on a DSP (Digital Signal Processing) chip to measure the current and voltage input into a high-end smart electric energy meter through a preset metering program. If a DSP chip fails, or the metering program is unstable and prone to bugs, the accuracy of electric energy metering will be reduced, resulting in unreliable electric energy metering results. Summary of the invention

[0004] The present invention provides an electric energy metering device for a high-end smart electric energy meter and a control method thereof, so as to solve the defect that the prior art relies on a DSP chip to measure the current and voltage input into the high-end smart electric energy meter, which is easily affected by the failure of the DSP chip or the instability of the metering program, resulting in unreliable electric energy metering results, thereby improving the electric energy metering accuracy and the reliability of the electric energy metering results.

[0005] The present invention provides an electric energy metering device for a high-end smart electric energy meter, comprising: A gateway table structure, wherein the gateway table structure includes a microcontroller MCU and a digital signal processing DSP chip, wherein the MCU is electrically connected to the DSP chip; the DSP chip is used to count first metering data according to the voltage and current input into the gateway table structure; A spare metering chip, the spare metering chip is electrically connected to the MCU; the spare metering chip is used to count second metering data according to the voltage and the current; The MCU is used to determine the status information and target metering data of the DSP chip according to the first metering data and the second metering data; wherein the target metering data belongs to the first metering data or the second metering data; the status information of the DSP chip includes whether the DSP chip is normal or faulty.

[0006] According to the present invention, an electric energy metering device for a high-end smart electric energy meter is provided, the device further comprising: A watchdog module, wherein the input end of the watchdog module is connected to the DSP chip, and the output end of the watchdog module is connected to the MCU; the watchdog module is used to generate a watchdog setting state when the DSP chip fails, and send the watchdog setting state to the MCU; wherein the watchdog setting state is used to indicate whether the watchdog is set; The MCU is also used to determine the fault type of the DSP chip according to the watchdog setting state; the fault type includes a repairable fault or an unrepairable fault.

[0007] According to an electric energy metering device for a high-end smart electric energy meter provided by the present invention, the backup metering chip is a hardware metering chip.

[0008] According to an electric energy metering device for a high-end smart electric energy meter provided by the present invention, the gateway table structure further includes: an analog-to-digital converter ADC, the ADC being electrically connected to the DSP chip, and being used for converting the voltage into a digital voltage and the current into a digital current according to voltage reference data, and inputting the digital current and the digital voltage into the DSP chip for counting the first measurement data; A communication module, the communication module is connected to the MCU, and the communication module is used to realize data interaction between the server and the MCU; A power supply is connected to the MCU, and is used to supply power to the MCU, the DSP chip, and the ADC.

[0009] According to the present invention, an electric energy metering device for a high-end smart electric energy meter is provided, the device further comprising: A storage module, wherein the storage module is connected to the DSP chip and the backup metering chip respectively, and the storage module is used to store at least one of the first metering data and the second metering data.

[0010] According to the present invention, a control method for an electric energy metering device for a high-end smart electric energy meter is provided, comprising: A digital signal processing DSP chip based on a gateway table structure counts first metering data according to a voltage and an input current input to the gateway table structure; and a standby metering chip is used to count second metering data according to the voltage and the current; A microcontroller MCU based on a gateway table structure determines the status information and target metering data of the DSP chip according to the first metering data and the second metering data; wherein the MCU is electrically connected to the DSP chip; the target metering data belongs to the first metering data or the second metering data; and the status information of the DSP chip includes whether the DSP chip is normal or faulty.

[0011] According to a control method for an electric energy metering device for a high-end smart electric energy meter provided by the present invention, after determining the state information and target metering data of the DSP chip, the method further includes: In the case of a DSP chip failure, a watchdog setting state is generated based on a watchdog module, and the watchdog setting state is sent to the MCU; wherein the watchdog setting state is used to indicate whether the watchdog is set; an input end of the watchdog module is connected to the DSP chip; The fault type of the DSP chip is determined based on the MCU according to the watchdog setting state; the fault type includes a repairable fault or an unrepairable fault.

[0012] According to a control method for an electric energy metering device for a high-end smart electric energy meter provided by the present invention, after determining the state information and target metering data of the DSP chip, the method further includes: In the event of a DSP chip failure, generating a watchdog set state based on a watchdog module; When the watchdog setting state is watchdog setting, the statistical values ​​of the backup metering chip at multiple moments are determined to be the electric energy metering values ​​of the high-end smart electric energy meter; the multiple moments include the current moment and at least one time point before the current moment.

[0013] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, a control method for an electric energy metering device for a high-end smart electric energy meter as described in any one of the above is implemented.

[0014] 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 a control method for an electric energy metering device for a high-end smart electric energy meter as described in any one of the above.

[0015] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the control methods described above for an electric energy metering device for a high-end smart electric energy meter.

[0016] The electric energy metering device and control method for a high-end intelligent electric energy meter provided by the present invention measures input voltage and current through a DSP chip of a gateway table structure to obtain first metering data, measures input voltage and current through a standby metering chip to obtain second metering data, and then uses an MCU to determine state information and target metering data of the DSP chip according to the first metering data and the second metering data, and uses a dual metering chip to measure electric energy for the electric energy meter, thereby improving the electric energy metering accuracy and the reliability of the electric energy metering result. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0018] Figure 1 This is one of the structural schematic diagrams of the electric energy metering device for high-end smart electric energy meter provided by the present invention.

[0019] Figure 2 This is the second structural schematic diagram of the electric energy metering device for high-end smart electric energy meter provided by the present invention.

[0020] Figure 3 This is one of the flow charts of the control method of the electric energy metering device for the high-end smart electric energy meter provided by the present invention.

[0021] Figure 4 It is a flow chart of the method for confirming the fault type of a DSP chip provided by the present invention.

[0022] Figure 5 This is the second flow chart of the control method of the electric energy metering device for the high-end smart electric energy meter provided by the present invention.

[0023] Figure 6 It is a structural schematic diagram of the electronic device provided by the present invention.

[0024] Reference numerals: 110: Gateway table structure; 111: MCU; 112: DSP chip; 113: ADC; 114: communication module; 115: power supply; 120: backup metering chip; 130: watchdog module; 140: storage module. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0026] Combine the following Figure 1-Figure 5 The present invention describes an electric energy metering device for a high-end smart electric energy meter and a control method thereof.

[0027] Figure 1 is one of the structural schematic diagrams of the electric energy metering device for high-end smart electric energy meter provided by the present invention, such as Figure 1 As shown, the electric energy metering device for high-end smart electric energy meters includes a gateway meter structure 110 and a backup metering chip 120 .

[0028] The gateway table structure 110 includes a microcontroller MCU111 and a digital signal processing DSP chip 112 , and the MCU111 is electrically connected to the DSP chip 112 ; the DSP chip 112 is used to count the first metering data according to the voltage and current input into the gateway table structure 110 .

[0029] In this embodiment, the gateway meter may be installed at key metering points in the power system, which are usually the boundaries where power flows into or out of the user side, such as a substation, a distribution room, or a user access point.

[0030] In this embodiment, the gateway table structure 110 and the backup metering chip 120 are two independent electric energy metering units.

[0031] For example, the DSP chip 112 in the gateway table structure 110 collects statistics of the voltage and current input into the gateway table structure 110 through a preset metering program to obtain the first metering data.

[0032] The standby metering chip 120 is electrically connected to the MCU 111 ; the standby metering chip 120 is used to collect second metering data according to the voltage and current.

[0033] In this embodiment, the backup metering chip 120 counts the second metering data according to the above input voltage and current independently of the DSP chip 112 .

[0034] For example, the backup metering chip 120 may use a more stable metering program different from the metering program in the DSP chip 112 to count the corresponding second metering data, or may directly measure the second metering data without using the metering program, that is, the backup metering chip 120 may provide backup metering data, thereby realizing the use of dual metering chips to avoid the problem of unstable metering caused by failure of the DSP chip 112 or unstable program operation.

[0035] MCU111 is used to determine the state information and target metering data of DSP chip 112 according to the first metering data and the second metering data; wherein the target metering data belongs to the first metering data or the second metering data; the state information of DSP chip 112 includes whether DSP chip 112 is normal or faulty.

[0036] In this embodiment, the step of determining the state information of the DSP chip 112 according to the first metering data and the second metering data includes: The following judgment factor calculation formula is used to determine whether the DSP chip 112 is faulty: ; in, is the judging factor, A is the value of the first measurement data, B is the value of the first measurement data, and | | is the absolute value operation.

[0037] In this embodiment, the DSP chip 112 and the backup metering chip 120 respectively obtain the first metering data and the second metering data at the current moment, and then calculate the corresponding judgment factor according to the above formula, and then compare the judgment factor with the preset fault threshold. If the judgment factor is less than the fault threshold, it is determined that the DSP chip 112 has no fault, and the first metering data is used as the target metering data; if the judgment factor is greater than or equal to the fault threshold, it is determined that the DSP chip 112 has a fault, and the second metering data is used as the target metering data. By comparing the metering data of the dual metering chips, it is possible to monitor whether the electric energy meter is working normally.

[0038] In this embodiment, the fault threshold can be set according to user needs, for example =0.5%.

[0039] The electric energy metering device for a high-end smart electric energy meter provided in an embodiment of the present invention measures the input voltage and current through the DSP chip 112 of the gateway table structure 110 to obtain first metering data, measures the input voltage and current through the backup metering chip 120 to obtain second metering data, and then uses the MCU 111 to determine the state information and target metering data of the DSP chip 112 according to the first metering data and the second metering data, and uses a dual metering chip to measure the electric energy of the electric energy meter, thereby improving the accuracy of electric energy metering and the reliability of the electric energy metering result.

[0040] In some embodiments, the device further includes: a watchdog module, the input end of the watchdog module is connected to the DSP chip 112, and the output end of the watchdog module is connected to the MCU111; the watchdog module is used to generate a watchdog set state when the DSP chip 112 fails, and send the watchdog set state to the MCU111; wherein the watchdog set state is used to indicate whether the watchdog is set; the MCU111 is also used to determine the fault type of the DSP chip 112 according to the watchdog set state; the fault type includes a repairable fault or an unrepairable fault.

[0041] In this embodiment, the watchdog module includes a watchdog timer. If the DSP chip 112 operates normally, the software will periodically "reset" or "feed" the watchdog timer; if the DSP chip 112 fails, the software cannot continue to feed the watchdog, and the watchdog timer will trigger a system restart or execute other preset alarm operations after timeout.

[0042] In this embodiment, if it is determined that the DSP chip 112 is faulty, the fault type of the DSP chip 112 can be further tested by checking whether the watchdog module is set; for example, if the watchdog timer is set, the metering program in the DSP chip 112 can be repaired by calling a repair program; if the watchdog timer is not set, it means that the clock of the DSP chip 112 is faulty, resulting in a deviation in the metering accuracy, and the deviation information needs to be fed back to the service end through the MCU111 so that the technician can handle it in time.

[0043] The electric energy metering device for high-end smart electric energy meters provided in the embodiment of the present invention detects the fault type of the DSP chip 112 and issues an alarm in time by setting a watchdog module, thereby improving the fault location efficiency and the reliability of the metering result.

[0044] In some embodiments, the backup meter chip 120 is a hardware meter chip.

[0045] In this embodiment, the backup metering chip 120 is a dedicated electric energy metering chip. For example, the backup metering chip 120 is a HT7132 chip. This chip is a pure hardware metering chip, and the reliability of the metering result is high.

[0046] In some embodiments, the gateway table structure 110 also includes: an analog-to-digital converter ADC, which is electrically connected to the DSP chip 112, and is used to convert the voltage into a digital voltage according to the voltage reference data, and convert the current into a digital current, and input the digital current and the digital voltage into the DSP chip 112 for counting the first metering data; a communication module, which is connected to the MCU111, and is used to realize data interaction between the server and the MCU111; a power supply, which is connected to the MCU111, and is used to power the MCU111, the DSP chip 112 and the ADC.

[0047] Figure 2 This is the second structural schematic diagram of the electric energy metering device for high-end smart electric energy meter provided by the present invention. Figure 2 In the embodiment shown, the ADC113 (Analog-to-Digital Converter) chip performs analog-to-digital conversion processing on the input voltage and current according to the reference voltage or current to obtain the digital voltage and the digital current. The DSP chip 112 performs measurement statistics on the digital voltage and the digital current to obtain the first measurement data, and sends the first measurement data to the MCU111. At the same time, the standby measurement chip 120 directly measures the second measurement data corresponding to the above input voltage and current, and sends the second measurement data to the MCU111. The MCU111 determines whether the DSP has a fault by calculating the judgment factor between the first measurement data and the second measurement data and comparing it with the fault threshold. If the DSP fails, the second metering data is used as the target metering data, otherwise, the first metering data is used as the target metering data; in addition, a watchdog module 130 is connected between the DSP chip 112 and the MCU 111, and in the case of a DSP failure, the specific fault type of the DSP chip 112 is determined by detecting whether the watchdog is set (the DSP chip 112 fails or the metering program in the DSP chip 112 is wrong), and the MCU 111 feeds back alarm information to the service end through the communication module 114 according to the specific fault type, so as to return for inspection in time; the power supply 115 is used to supply power to electrical equipment including the MCU 111.

[0048] The electric energy metering device for a high-end smart electric energy meter provided in an embodiment of the present invention can avoid unstable measurement caused by failure of the main metering chip or unstable program operation by adopting a dual metering chip to measure the electric energy of the high-end smart electric energy meter, and can monitor the working status of the electric energy meter by comparing the metering data of the dual metering chips.

[0049] In some embodiments, the electric energy metering device for a high-end smart electric energy meter further includes: a storage module, the storage module is connected to the DSP chip 112 and the backup metering chip 120 respectively, and the storage module is used to store at least one of the first metering data and the second metering data.

[0050] In this embodiment, the second metering data measured by the backup metering chip 120 and the first metering data measured by the DSP chip 112 can be stored in the storage module, so as to perform data analysis based on the stored data, monitor the working status of the backup metering chip 120 and the DSP chip 112, and reduce hardware and software measurement errors.

[0051] exist Figure 2 In the illustrated embodiment, the storage module 140 is electrically connected to the DSP chip 112 and is used to store the first metering data measured by the DSP chip 112 for subsequent analysis and research of the metering data.

[0052] The electric energy metering device for a high-end smart electric energy meter provided in an embodiment of the present invention helps to monitor the working status of a backup metering chip and a DSP chip, thereby reducing hardware and software measurement errors, by setting a storage module to store at least one of the first metering data and the second metering data.

[0053] The control method of the electric energy metering device for a high-end smart electric energy meter provided by the present invention is described below. The control method of the electric energy metering device for a high-end smart electric energy meter described below and the electric energy metering device for a high-end smart electric energy meter described above can be referred to each other.

[0054] Figure 3 This is one of the flow charts of the control method of the electric energy metering device for high-end smart electric energy meter provided by the present invention, such as Figure 3 As shown, the control method of the electric energy metering device for the high-end smart electric energy meter includes the following steps: Step 310: A digital signal processing DSP chip based on a gateway table structure counts first metering data according to a voltage and an input current of an input gateway table structure; and a standby metering chip counts second metering data according to the voltage and the current.

[0055] In this step, gateway meters can be installed at key metering points in the power system, which are usually the boundaries where power flows into or out of the user side, such as substations, distribution rooms, or user access points.

[0056] In this embodiment, the gateway table structure and the backup metering chip are two independent electric energy metering units.

[0057] For example, the DSP chip in the gateway table structure collects statistics on the voltage and current input into the gateway table structure through a preset metering program to obtain the first metering data.

[0058] In this embodiment, the standby metering chip counts the second metering data independently of the DSP chip according to the above-mentioned input voltage and current.

[0059] For example, the backup metering chip can use a more stable metering program that is different from the metering program in the DSP chip to count the corresponding second metering data, or it can directly measure the second metering data without going through the metering program. That is, the backup metering chip can provide backup metering data, thereby realizing the use of dual metering chips to avoid the problem of unstable metering caused by DSP chip failure or unstable program operation.

[0060] Step 320, the microcontroller MCU based on the gateway table structure determines the state information and target metering data of the DSP chip according to the first metering data and the second metering data; wherein the MCU is electrically connected to the DSP chip; the target metering data belongs to the first metering data or the second metering data; and the state information of the DSP chip includes whether the DSP chip is normal or faulty.

[0061] In this step, the step of determining the status information of the DSP chip according to the first metering data and the second metering data includes: Determine whether the DSP chip is faulty according to the following formula: ; in, is the judging factor, A is the value of the first measurement data, B is the value of the first measurement data, and | | is the absolute value operation.

[0062] In this embodiment, the DSP chip and the backup metering chip respectively obtain the first metering data and the second metering data at the current moment, and then calculate the corresponding judgment factor according to the above formula, and then compare the judgment factor with the preset fault threshold. If the judgment factor is less than the fault threshold, it is determined that the DSP chip has no fault, and the first metering data is used as the target metering data; if the judgment factor is greater than or equal to the fault threshold, it is determined that the DSP chip has a fault, and the second metering data is used as the target metering data. By comparing the metering data of the dual metering chips, it is possible to monitor whether the electric energy meter is working normally.

[0063] In this embodiment, the fault threshold can be set according to user needs, for example =0.5%.

[0064] The operating method of the electric energy metering device for a high-end intelligent electric energy meter provided in an embodiment of the present invention measures the input voltage and current through a DSP chip with a gateway table structure to obtain first metering data, measures the input voltage and current through a standby metering chip to obtain second metering data, and then uses an MCU to determine the state information and target metering data of the DSP chip according to the first metering data and the second metering data, and uses a dual metering chip to measure the electric energy of the electric energy meter, thereby improving the electric energy metering accuracy and the reliability of the electric energy metering result.

[0065] In some embodiments, after determining the status information and target metering data of the DSP chip, the method further includes: in the event of a DSP chip failure, generating a watchdog setting state based on a watchdog module, and sending the watchdog setting state to the MCU; wherein the watchdog setting state is used to indicate whether the watchdog is set; the input end of the watchdog module is connected to the DSP chip; determining the fault type of the DSP chip based on the MCU according to the watchdog setting state; the fault type includes a repairable fault or an unrepairable fault.

[0066] In this embodiment, the watchdog module includes a watchdog timer. If the DSP chip operates normally, the software will periodically "reset" or "feed" the watchdog timer; if the DSP chip fails and the software cannot continue to feed the watchdog, the watchdog timer will trigger a system restart or execute other preset alarm operations after timeout.

[0067] In this embodiment, if it is determined that the DSP chip is faulty, the fault type of the DSP chip can be further tested by checking whether the watchdog module is set; for example, if the watchdog timer is set, the metering program in the DSP chip can be repaired by calling a repair program; if the watchdog timer is not set, it means that the clock of the DSP chip is faulty and the metering accuracy has deviated. In this case, the deviation information needs to be fed back to the server through the MCU so that the technician can handle it in time.

[0068] The operating method of the electric energy metering device for high-end smart electric energy meters provided in the embodiment of the present invention improves the fault location efficiency and the reliability of the metering result by setting a watchdog module to detect the fault type of the DSP chip and issue an alarm in time.

[0069] In some embodiments, after determining the status information and target metering data of the DSP chip, the method further includes: in the event of a DSP chip failure, generating a watchdog set state based on a watchdog module; when the watchdog set state is watchdog set, determining that the statistical values ​​of the standby metering chip at multiple moments are the electric energy metering values ​​of the high-end smart electric energy meter; the multiple moments include the current moment and at least one time point before the current moment.

[0070] In this embodiment, in the case of a DSP chip failure, the specific type of the DSP chip failure is further determined by judging the setting of the watchdog; if the watchdog is set, it is determined that the DSP chip has failed; in this case, the metering data B counted by the standby metering chip at the current moment is read. n As the final data of the current measurement, the measurement data corresponding to the last second or multiple time points before the current moment of the spare chip are retrieved B n-1 , B n-j (j=2,3,4,…,n-1) to replace A n-1 , A n-j .

[0071] Figure 4 is a flow chart of a method for confirming a DSP chip fault type provided by the present invention. Figure 4 In the embodiment shown, the current metering data of the spare metering chip (corresponding to the spare chip) and the metering data of the last second are read. n and B n-1 ; After resetting DSP, check whether the watchdog is set. If it is set, it means that the DSP chip has a fault, and the MCU needs to report the fault information to the server through the communication module to notify manual maintenance; for example, the cause of the DSP chip failure at this time includes DSP damage or DSP power failure; if the watchdog is not set, it means that there is a BUG in the measurement program of the DSP chip, and the main program can be called to check whether the accuracy is restored.

[0072] The operating method of the electric energy metering device for a high-end smart electric energy meter provided in an embodiment of the present invention generates a watchdog setting state based on a watchdog module when a DSP chip fails; when the watchdog setting state is the watchdog setting, the statistical values ​​of the standby metering chip at multiple times are determined as the electric energy measurement values ​​of the high-end smart electric energy meter, thereby further improving the reliability of electric energy measurement.

[0073] Figure 5 This is a second flow chart of a control method for an electric energy metering device for a high-end smart electric energy meter provided by the present invention. Figure 5In the illustrated embodiment, the first metering data (corresponding to the main metering data) counted by the DSP chip is read, which is recorded as: A, and the second metering data (corresponding to the standby metering data) counted by the standby metering chip is read, which is recorded as: B; the corresponding judgment factor is calculated using A and B according to the above judgment factor calculation formula, and compared with the fault threshold (corresponding to 0.5%), if the judgment factor is less than 0.5%, A is determined to be the final metering data, and it is indicated that the DSP chip has no metering fault, otherwise, B is determined to be the final metering data, and it is indicated that the DSP chip has a metering fault; in the case of a DSP chip fault, it is determined whether the watchdog is set, if the watchdog is set, the main program (corresponding to program 2) is called to determine the specific fault type of the DSP, if the watchdog is not set, it is determined that the metering error of the DSP chip is too large; the fault information corresponding to the above DSP chip fault or program fault is remotely reported to the server, and manual re-inspection is performed in time.

[0074] Figure 6 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 6 As shown, the electronic device may include: a processor 610, a communication interface 620, a memory 630 and a communication bus 640, wherein the processor 610, the communication interface 620 and the memory 630 complete mutual communication through the communication bus 640. The processor 610 may call the logic instructions in the memory 630 to execute a control method for an electric energy metering device for a high-end smart electric energy meter, the method comprising: a digital signal processing DSP chip based on a gateway table structure counts first metering data according to the voltage and input current of the input gateway table structure; a standby metering chip is used to count second metering data according to the voltage and current; a microcontroller MCU based on the gateway table structure determines the state information and target metering data of the DSP chip according to the first metering data and the second metering data; wherein the MCU is electrically connected to the DSP chip; the target metering data belongs to the first metering data or the second metering data; the state information of the DSP chip includes whether the DSP chip is normal or faulty.

[0075] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0076] On the other hand, the present invention also provides a computer program product, which includes a computer program, which 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 control method of the electric energy metering device for a high-end smart electric energy meter provided by the above-mentioned methods, the method including: a digital signal processing DSP chip based on a gateway table structure counts first metering data according to the voltage and input current of the input gateway table structure; a standby metering chip is used to count second metering data according to the voltage and current; a microcontroller MCU based on the gateway table structure determines the status information and target metering data of the DSP chip according to the first metering data and the second metering data; wherein the MCU is electrically connected to the DSP chip; the target metering data belongs to the first metering data or the second metering data; the status information of the DSP chip includes whether the DSP chip is normal or faulty.

[0077] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the control method of the electric energy metering device for a high-end smart electric energy meter provided by the above-mentioned methods, the method comprising: a digital signal processing DSP chip based on a gateway table structure counts first metering data according to the voltage and input current of an input gateway table structure; a standby metering chip is used to count second metering data according to the voltage and current; a microcontroller MCU based on the gateway table structure determines the status information and target metering data of the DSP chip according to the first metering data and the second metering data; wherein the MCU is electrically connected to the DSP chip; the target metering data belongs to the first metering data or the second metering data; the status information of the DSP chip includes whether the DSP chip is normal or faulty.

[0078] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0079] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0080] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. An electric energy metering device for a high-end smart electric energy meter, characterized in that: include: A gateway table structure, wherein the gateway table structure includes a microcontroller MCU and a digital signal processing DSP chip, wherein the MCU is electrically connected to the DSP chip; The DSP chip is used to count the first metering data according to the voltage and current input into the gateway table structure; A spare metering chip, the spare metering chip is electrically connected to the MCU; the spare metering chip is used to count second metering data according to the voltage and the current; The MCU is used to determine the status information and target metering data of the DSP chip according to the first metering data and the second metering data; wherein the target metering data belongs to the first metering data or the second metering data; the status information of the DSP chip includes whether the DSP chip is normal or faulty.

2. The electric energy metering device for high-end smart electric energy meter according to claim 1 is characterized in that: The device also includes: A watchdog module, wherein the input end of the watchdog module is connected to the DSP chip, and the output end of the watchdog module is connected to the MCU; the watchdog module is used to generate a watchdog setting state when the DSP chip fails, and send the watchdog setting state to the MCU; wherein the watchdog setting state is used to indicate whether the watchdog is set; The MCU is also used to determine the fault type of the DSP chip according to the watchdog setting state; the fault type includes a repairable fault or an unrepairable fault.

3. The electric energy metering device for high-end smart electric energy meter according to claim 1, characterized in that: The standby metering chip is a hardware metering chip.

4. The electric energy metering device for high-end smart electric energy meter according to claim 1, characterized in that: The gateway table structure also includes: an analog-to-digital converter ADC, the ADC being electrically connected to the DSP chip, and being used for converting the voltage into a digital voltage and the current into a digital current according to voltage reference data, and inputting the digital current and the digital voltage into the DSP chip for counting the first measurement data; A communication module, the communication module is connected to the MCU, and the communication module is used to realize data interaction between the server and the MCU; A power supply is connected to the MCU, and is used to supply power to the MCU, the DSP chip, and the ADC.

5. The electric energy metering device for high-end smart electric energy meter according to any one of claims 1 and 4, characterized in that: The device also includes: A storage module, wherein the storage module is connected to the DSP chip and the backup metering chip respectively, and the storage module is used to store at least one of the first metering data and the second metering data.

6. A control method for an electric energy metering device for a high-end smart electric energy meter, characterized in that: include: A digital signal processing DSP chip based on a gateway table structure counts first metering data according to a voltage and an input current input into the gateway table structure; The standby metering chip is used to collect second metering data according to the voltage and the current; A microcontroller MCU based on a gateway table structure determines the status information and target metering data of the DSP chip according to the first metering data and the second metering data; wherein the MCU is electrically connected to the DSP chip; the target metering data belongs to the first metering data or the second metering data; and the status information of the DSP chip includes whether the DSP chip is normal or faulty.

7. The control method for an electric energy metering device for a high-end smart electric energy meter according to claim 6, characterized in that: After determining the state information and target metering data of the DSP chip, the method further includes: In the case of a DSP chip failure, a watchdog setting state is generated based on a watchdog module, and the watchdog setting state is sent to the MCU; wherein the watchdog setting state is used to indicate whether the watchdog is set; an input end of the watchdog module is connected to the DSP chip; The fault type of the DSP chip is determined based on the MCU according to the watchdog setting state; the fault type includes a repairable fault or an unrepairable fault.

8. The control method for the electric energy metering device for high-end smart electric energy meter according to claim 7, characterized in that: After determining the state information and target metering data of the DSP chip, the method further includes: In the event of a DSP chip failure, generating a watchdog set state based on a watchdog module; When the watchdog setting state is watchdog setting, the statistical values ​​of the backup metering chip at multiple moments are determined to be the electric energy metering values ​​of the high-end smart electric energy meter; the multiple moments include the current moment and at least one time point before the current moment.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the control method of the electric energy metering device for a high-end smart electric energy meter as claimed in any one of claims 6 to 8 is implemented.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the control method of the electric energy metering device for a high-end smart electric energy meter as claimed in any one of claims 6 to 8 is implemented.

Citation Information

Patent Citations

  • Integrated control system for electricity distributing and metering

    CN101335464A

  • Wide area synchronous measurement electric energy meter based metering device detection system

    CN108761159A

  • Electric quantity metering method and device and electric energy meter

    CN115060966A

Cited By

  • Electric energy metering device and method, storage medium and electronic equipment

    CN122506229A