Correction method, system and storage medium based on reactive crosstalk of electric energy meter carrier coupling capacitor
By detecting the grid frequency and voltage in real time, calculating and updating the correction register of the energy meter, the problem of reactive crosstalk of the carrier coupling capacitor of the energy meter is solved, the reactive metering accuracy is improved and the production cost is reduced.
Patent Information
- Application Number
- CN202510694110.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-28
- Publication Date
- 2025-09-16
- Estimated Expiration
- 2045-05-28
AI Technical Summary
In the existing technology, the reactive power measurement accuracy of the electric energy meter is deviated due to the carrier coupling capacitance. Especially under different grid voltage and grid frequency conditions, the capacitor reactive crosstalk cannot be effectively corrected, which affects the reactive power measurement accuracy.
The grid frequency and grid voltage are detected by the electric energy meter, the reactive power correction value generated by the carrier coupling capacitor is calculated in real time, and the correction register is updated to realize online correction and improve the accuracy of reactive crosstalk correction.
The method improves the reactive power measurement accuracy of the electric energy meter under different power grid conditions, reduces production costs, solves the problem of reactive power crosstalk caused by carrier coupling capacitance, and ensures the accuracy of measurement.
Smart Images

Figure CN120222634B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electric energy meters, and more particularly to a correction method, system and storage medium for reactive crosstalk based on carrier coupling capacitance of electric energy meters. Background Art
[0002] Prepaid energy meters and indoor units typically communicate via power line carriers. When a user is in arrears, the prepaid energy meter shuts down, preventing the user from using electricity. In this case, the user must purchase top-up points and enter them via the indoor unit's keypad. Once top-up is complete, the indoor unit uses the carrier communication module to notify the prepaid energy meter to close, restoring power.
[0003] When the relay is disconnected, to ensure normal communication between the energy meter and the indoor unit, the carrier communication circuit design requires the addition of a communication coupling circuit connected to the relay's downstream stage. Therefore, the capacitor in the coupling circuit becomes a non-fixed load on the energy meter. Because the coupling capacitance changes with the grid voltage and frequency, it affects the reactive power measurement accuracy and causes deviations in the reactive power metering.
[0004] Currently, because energy meters require less accurate reactive power than active power, mass production typically assumes this additional load is a fixed load at rated voltage and frequency, and uses empirically calculated reactive power values. This approach clearly cannot address reactive power metering crosstalk from coupling capacitors under global conditions, especially when varying grid voltages, frequencies, and coupling capacitors, resulting in variations in reactive power metering accuracy.
[0005] Therefore, there is an urgent need for a technology that can automatically correct the reactive crosstalk caused by the carrier coupling capacitance of the electric energy meter online. Summary of the Invention
[0006] In view of the above problems, the purpose of the present invention is to provide a correction method, system and storage medium for reactive crosstalk based on the carrier coupling capacitor of an electric energy meter. When the electric energy meter detects that the carrier communication module is connected, the grid frequency and grid voltage of the electric energy meter are measured in real time. Then, based on the measured grid frequency and grid voltage, the correction value of the reactive power generated by the carrier coupling capacitor in the electric energy meter is calculated online to update the correction register of the electric energy meter, thereby improving the correction accuracy of the reactive crosstalk generated by the carrier coupling capacitor. In addition, by checking the stability of the grid frequency and grid voltage of the power grid, it is used to control whether to perform online correction, thereby improving the correction accuracy of the reactive crosstalk generated by the carrier coupling capacitor. By detecting the grid voltage frequency state, online real-time correction is achieved, eliminating the production calibration process, thereby reducing production costs. In principle, the crosstalk on reactive power energy can be solved to ensure accuracy.
[0007] A first aspect of the present invention provides a method for correcting reactive crosstalk based on carrier coupling capacitance of an electric energy meter, the method comprising:
[0008] Obtaining first feedback instruction information;
[0009] Determining whether the carrier communication module is in a working state according to the first feedback instruction information;
[0010] If yes, measure and obtain the first grid frequency information and the first grid voltage information;
[0011] determining first coupling capacitance information according to the first grid frequency information;
[0012] determining first corrected power information according to the first grid voltage information and the first coupling capacitance information;
[0013] The correction register is updated according to the first corrected power information.
[0014] In this solution, the first coupling capacitance information is determined according to the first grid frequency information, specifically:
[0015] Determining whether the first power grid frequency information is within a preset frequency range;
[0016] If not, end this round of online correction and set the first coupling capacitance information to 0;
[0017] If so, first coupling capacitance information is obtained according to the first grid frequency information and a set coupling capacitance calculation formula.
[0018] In this solution, the first corrected power information is determined according to the first grid voltage information and the first coupling capacitance information, specifically:
[0019] Obtaining first reactive power information according to the first grid voltage information and the first coupling capacitance information and a set reactive power calculation formula;
[0020] The first corrected power information is determined according to the first reactive power information and a set reactive crosstalk correction relationship.
[0021] In this solution, updating the correction register according to the first corrected power information is specifically as follows:
[0022] obtaining second corrected power information;
[0023] Calculating a difference between the first corrected power information and the second corrected power information to obtain first corrected difference information;
[0024] Determining whether the first corrected difference information is lower than a preset corrected difference threshold;
[0025] If so, the correction register is not updated;
[0026] If not, the first corrected power information is written into the correction register.
[0027] In this solution, judging whether the carrier communication module is in a working state according to the first feedback instruction information is specifically as follows:
[0028] Sending a first communication instruction message according to a preset first time period;
[0029] Determining whether the first feedback instruction information is received within a preset second time period;
[0030] If not, it indicates that the carrier communication module is in an unconnected state;
[0031] If yes, parse the first feedback instruction information to obtain first communication code information;
[0032] Determining whether the first communication code information is a preset handshake communication code;
[0033] If yes, it means the carrier communication module is in working state;
[0034] If not, it means that the carrier communication module is not in working state.
[0035] This plan also includes:
[0036] Get communication data frame information;
[0037] Determining carrier data information according to the communication data frame information;
[0038] Communication is performed according to the carrier data information.
[0039] A second aspect of the present invention provides a correction system based on reactive crosstalk of an electric energy meter carrier-coupled capacitor, including a correction method program based on reactive crosstalk of an electric energy meter carrier-coupled capacitor. When the correction method program based on reactive crosstalk of an electric energy meter carrier-coupled capacitor is executed by the processor, the following steps are implemented:
[0040] Obtaining first feedback instruction information;
[0041] Determining whether the carrier communication module is in a working state according to the first feedback instruction information;
[0042] If yes, measure and obtain the first grid frequency information and the first grid voltage information;
[0043] determining first coupling capacitance information according to the first grid frequency information;
[0044] determining first corrected power information according to the first grid voltage information and the first coupling capacitance information;
[0045] The correction register is updated according to the first corrected power information.
[0046] In this solution, the first coupling capacitance information is determined according to the first grid frequency information, specifically:
[0047] Determining whether the first power grid frequency information is within a preset frequency range;
[0048] If not, end this round of online correction and set the first coupling capacitance information to 0;
[0049] If so, first coupling capacitance information is obtained according to the first grid frequency information and a set coupling capacitance calculation formula.
[0050] In this solution, the first corrected power information is determined according to the first grid voltage information and the first coupling capacitance information, specifically:
[0051] Obtaining first reactive power information according to the first grid voltage information and the first coupling capacitance information and a set reactive power calculation formula;
[0052] The first corrected power information is determined according to the first reactive power information and a set reactive crosstalk correction relationship.
[0053] The third aspect of the present invention provides a computer-readable storage medium, which includes a correction method program for reactive crosstalk based on the carrier coupling capacitor of the electric energy meter. When the correction method program for reactive crosstalk based on the carrier coupling capacitor of the electric energy meter is executed by a processor, the steps of the correction method for reactive crosstalk based on the carrier coupling capacitor of the electric energy meter as described in any one of the above items are implemented.
[0054] The present invention provides a method, system, and storage medium for correcting reactive crosstalk based on the carrier-coupled capacitor of an electric energy meter. First, based on first feedback instruction information, it is determined whether the carrier communication module is in an operating state. When the carrier communication module is in an operating state, first grid frequency information and first grid voltage information are measured in real time. Then, based on the first grid frequency information and the first grid voltage information, first corrected power information is determined according to a set corrected power calculation process. Finally, the correction register of the electric energy meter is updated based on the first corrected power information, thereby improving the correction accuracy of the reactive crosstalk generated by the carrier-coupled capacitor. By detecting the grid voltage and frequency state, online real-time correction is achieved, eliminating the production calibration process and thus reducing production costs. Furthermore, the crosstalk in reactive power energy can be solved in principle, ensuring accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present invention and therefore should not be regarded as limiting the scope.
[0056] Figure 1 A flow chart of a method for correcting reactive crosstalk based on carrier coupling capacitance of an electric energy meter according to the present invention is shown;
[0057] Figure 2 A flowchart of determining first coupling capacitance information provided by an embodiment of the present invention is shown;
[0058] Figure 3 A flowchart of determining first corrected power information provided by an embodiment of the present invention is shown;
[0059] Figure 4 The block diagram of the correction system of reactive crosstalk based on carrier coupling capacitance of electric energy meter according to the present invention is shown. DETAILED DESCRIPTION
[0060] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only 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 making creative efforts are within the scope of protection of the present invention.
[0061] Unless otherwise defined, all terms (including technical and scientific terms) used in the embodiments of the present invention have the same meaning as commonly understood by those skilled in the art to which the present invention belongs. It should also be understood that terms such as those defined in common dictionaries should be interpreted as having meanings consistent with their meanings in the context of the relevant technology, and should not be interpreted in an idealized or extremely formal sense, unless explicitly defined in this manner in the embodiments of the present invention.
[0062] The words "first", "second" and similar terms used in the embodiments of the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. Words such as "one", "an" or "the" do not indicate a quantity limitation, but rather indicate the existence of at least one. Similarly, words such as "include" or "comprise" mean that the elements or objects preceding the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Words such as "connect" or "connected" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The steps before or after the method of the embodiment of the present invention do not necessarily have to be performed in exact order. On the contrary, the various steps may be processed in reverse order or simultaneously. At the same time, other operations may be added to these processes, or one or more steps may be removed from these processes.
[0063] In addition, the functional modules in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.
[0064] Figure 1 The flowchart of the method for correcting reactive crosstalk based on carrier coupling capacitance of an electric energy meter according to the present invention is shown.
[0065] like Figure 1 As shown, the first aspect of the present invention discloses a method for correcting reactive crosstalk based on carrier coupling capacitance of an electric energy meter, the method comprising:
[0066] S102, obtaining first feedback instruction information;
[0067] S104, judging whether the carrier communication module is in a working state according to the first feedback instruction information;
[0068] S106: If yes, measure and obtain first grid frequency information and first grid voltage information;
[0069] S108, determining first coupling capacitance information according to the first grid frequency information;
[0070] S110, determining first corrected power information according to the first grid voltage information and the first coupling capacitance information;
[0071] S112: Update a correction register according to the first corrected power information.
[0072] It should be noted that the first feedback instruction information is a handshake feedback instruction sent by the carrier communication module to the electric energy meter; the first grid frequency information is the AC frequency of the grid to which the electric energy meter is connected; the first grid voltage information is the AC voltage of the grid to which the electric energy meter is connected; the first coupling capacitor information is the capacitive reactance value of the coupling capacitor generated on the coupling circuit on the carrier communication circuit of the electric energy meter; the first corrected power information is the correction value of the reactive power crosstalk generated by the current coupling capacitor of the electric energy meter; and the correction register is a register in the electric energy meter for storing the corrected power value.
[0073] In this embodiment, the first feedback instruction information fed back by the carrier communication module to the electric energy meter is used to determine whether the carrier communication module is in an operating state. When the carrier communication module is not in an operating state, online correction of the reactive crosstalk of the coupling capacitor of the electric energy meter is not performed. When the carrier communication module is in an operating state, indicating that the carrier communication module has been connected to the electric energy meter, online correction of the reactive crosstalk of the coupling capacitor of the electric energy meter is performed. When performing online correction of the reactive crosstalk of the coupling capacitor of the electric energy meter, first, the AC frequency and AC voltage of the power grid to which the electric energy meter is connected are measured using a measuring device or measuring circuit in the electric energy meter. Then, based on the AC frequency of the power grid and according to a set coupling capacitance calculation formula, the capacitive reactance value of the coupling capacitor generated in the coupling circuit of the carrier communication circuit is calculated; then, based on the AC voltage and the capacitive reactance value of the coupling capacitor, a set reactive power correction value calculation process is used to obtain a correction value for the reactive power crosstalk generated by the current coupling capacitor of the electric energy meter. Finally, based on the correction value of the reactive power crosstalk of the coupling capacitor, the register used to store the corrected power value in the electric energy meter is updated to achieve the purpose of online correction of the reactive crosstalk generated by the coupling capacitor of the electric energy meter; through automatic online correction, the correction accuracy of the reactive crosstalk generated by the carrier coupling capacitor is improved.
[0074] Figure 2 A flow chart of determining first coupling capacitance information provided by an embodiment of the present invention is shown.
[0075] According to an embodiment of the present invention, Figure 2 As shown, the first coupling capacitance information is determined according to the first grid frequency information, specifically:
[0076] S202, determining whether the first power grid frequency information is within a preset frequency range;
[0077] If not, then end this round of online correction and set the first coupling capacitance information to 0;
[0078] S206: If yes, obtain first coupling capacitance information according to the first grid frequency information and a set coupling capacitance calculation formula.
[0079] It should be noted that, in this embodiment, first, a range judgment is performed on the measured AC frequency of the power grid. When the AC frequency is not within the preset frequency range, it indicates that there is a measurement error or an abnormal jitter of the power grid frequency. At this time, the calculation of the coupling capacitance reactance value and the correction of the coupling capacitor reactive crosstalk are not performed to avoid the abnormal situation affecting the accuracy of the correction value. When the AC frequency is within the preset frequency range, the capacitive reactance value of the coupling capacitor is calculated according to the set coupling capacitance calculation formula; wherein, the coupling capacitance calculation formula is as follows:
[0080] ,
[0081] Where:
[0082] is the capacitive reactance value of the coupling capacitor, that is, the first coupling capacitor information;
[0083] is the circumference constant of pi;
[0084] is the AC power frequency, i.e., the first grid frequency information;
[0085] C is the capacitance value of the preset reference capacitor.
[0086] Figure 3 A flow chart of determining first corrected power information provided by an embodiment of the present invention is shown.
[0087] According to an embodiment of the present invention, Figure 3 As shown, the first corrected power information is determined according to the first grid voltage information and the first coupling capacitance information, specifically:
[0088] S302: Obtain first reactive power information according to the first grid voltage information and the first coupling capacitance information and a set reactive power calculation formula;
[0089] S304: Determine the first corrected power information according to the first reactive power information and a set reactive crosstalk correction equation.
[0090] It should be noted that the first reactive power information is the reactive power value generated by the coupling capacitor as a non-fixed load of the electric energy meter; the first corrected power information is the power correction value required to correct the reactive crosstalk generated by the carrier coupling capacitor of the current electric energy meter. In this embodiment, first, based on the measured AC voltage of the power grid and the calculated capacitive reactance value of the coupling capacitor, the reactive power value generated by the coupling capacitor is calculated according to the set reactive power calculation formula; wherein the reactive power calculation formula is as follows:
[0091] ,
[0092] Where:
[0093] is the reactive power value generated by the coupling capacitor, that is, the first reactive power information;
[0094] is the AC voltage, i.e., the first grid voltage information;
[0095] is the capacitive reactance value of the coupling capacitor, that is, the first coupling capacitor information;
[0096] Then, based on the calculated reactive power value generated by the coupling capacitor and the set reactive crosstalk correction formula, the power correction value required for the reactive crosstalk generated by the carrier coupling capacitor of the energy meter is determined; wherein, the reactive crosstalk correction formula is as follows:
[0097] ,
[0098] Where:
[0099] is the reactive power value generated by the coupling capacitor, that is, the first reactive power information;
[0100] is the corrected reactive power;
[0101] A power correction value for correcting reactive crosstalk generated by the coupling capacitor, namely, first corrected power information;
[0102] In practical applications, the smaller the corrected reactive power is, the smaller the reactive crosstalk caused by the coupling capacitor is. Therefore, the corrected reactive power It should be 0var (volt-ampere reactive, the unit of reactive power). Combined with the above reactive crosstalk correction relationship, the power correction value used to correct the reactive crosstalk generated by the coupling capacitor can be obtained. , that is, the first corrected power information.
[0103] According to an embodiment of the present invention, updating the correction register according to the first corrected power information is specifically:
[0104] obtaining second corrected power information;
[0105] Calculating a difference between the first corrected power information and the second corrected power information to obtain first corrected difference information;
[0106] Determining whether the first corrected difference information is lower than a preset corrected difference threshold;
[0107] If so, the correction register is not updated;
[0108] If not, the first corrected power information is written into the correction register.
[0109] It should be noted that the second corrected power information is the corrected power value stored in the correction register. In this embodiment, first, the difference between the power correction value used to correct the reactive crosstalk generated by the coupling capacitor and the corrected power value stored in the correction register is calculated, i.e., the first corrected difference information. Then, the relationship between the first corrected difference information and a preset corrected difference threshold is determined. When the first corrected difference information is lower than the preset corrected difference threshold, it indicates that the error between the power correction value of the reactive crosstalk generated by the coupling capacitor and the corrected value in the correction register is within the allowable range, and in this case, there is no need to update the correction register. When the first corrected difference information is not lower than the preset corrected difference threshold, it indicates that the error between the power correction value of the reactive crosstalk generated by the coupling capacitor and the corrected value in the correction register is large, and it is necessary to update the correction register to achieve the purpose of online correction. In actual applications, the corrected difference threshold is determined based on the storage range set in the correction register. The corrected difference threshold is typically set to 0.1% of the storage range; for example, when the storage range set in the correction register is [0,10000], the corrected difference threshold is 10.
[0110] According to an embodiment of the present invention, judging whether the carrier communication module is in a working state according to the first feedback instruction information is specifically:
[0111] Sending a first communication instruction message according to a preset first time period;
[0112] Determining whether the first feedback instruction information is received within a preset second time period;
[0113] If not, it indicates that the carrier communication module is in an unconnected state;
[0114] If yes, parse the first feedback instruction information to obtain first communication code information;
[0115] Determining whether the first communication code information is a preset handshake communication code;
[0116] If yes, it means the carrier communication module is in working state;
[0117] If not, it means that the carrier communication module is not in working state.
[0118] It should be noted that the first communication command information is a handshake command sent by the energy meter to the carrier communication module, and the first communication code information is a handshake command code between the energy meter and the carrier communication module. In this embodiment, the energy meter determines whether the carrier communication module is in an operational state by sending a handshake command and then determining whether the carrier communication module is in an operational state based on the received handshake feedback command. First, the first communication command information is sent according to a preset first time period. If the first feedback command information is not received within a preset second time period, it indicates that the carrier communication module is in a disconnected state, i.e., the carrier communication module is determined to be disconnected. If the first feedback command information is received within the preset second time period, the first feedback command information is parsed and determined. The handshake command code in the handshake feedback command is obtained by parsing the first feedback command information. If the handshake command code is the preset handshake communication code, it indicates that the carrier communication module can communicate normally with the energy meter, i.e., the carrier communication module is determined to be in an operational state. If the handshake command code is not the preset handshake communication code, it indicates that the carrier communication module is in an abnormal state, such as being busy, i.e., the carrier communication module is determined to be in an inoperative state.
[0119] According to an embodiment of the present invention, the further embodiment includes:
[0120] Get communication data frame information;
[0121] Determining carrier data information according to the communication data frame information;
[0122] Communication is performed according to the carrier data information.
[0123] It should be noted that the communication data frame information is the communication data sent by the energy meter; the carrier data information is the data obtained by carrier modulation at a set frequency. In this embodiment, the energy meter implements data communication via power line carrier communication. First, the energy meter determines the communication data after adding the carrier, i.e., the carrier data information, based on the communication data frame during the data communication process and at the set carrier frequency. Then, data communication is carried out via the power line according to the carrier data information.
[0124] It is worth mentioning that it also includes:
[0125] According to a preset third time period, first grid frequency information is measured and obtained, and recorded as a first grid frequency sequence;
[0126] obtaining second grid frequency information according to the first grid frequency sequence;
[0127] Obtaining a first grid frequency deviation value according to the first grid frequency sequence and the second grid frequency information;
[0128] obtaining a grid frequency deviation threshold value according to the second grid frequency information;
[0129] Determining whether the first grid frequency deviation value is greater than the grid frequency deviation threshold;
[0130] If so, the online correction is suspended according to a preset fourth time period.
[0131] It should be noted that the first grid frequency sequence is a frequency sequence recorded according to the measurement order of the first grid frequency information; the second grid frequency information is the average value of the first grid frequency information in the first grid frequency sequence; the first grid frequency deviation value is used to represent the degree of deviation between the first grid frequency information and the second grid frequency information in the first grid frequency sequence.
[0132] In this embodiment, to ensure the accuracy of reactive crosstalk correction generated by carrier coupling capacitance, the stability of the power grid's AC frequency is tested to control whether to perform online correction. First, the power grid's AC frequency is measured and recorded sequentially over a preset third time period to obtain a first power grid frequency sequence. Second, second power grid frequency information is obtained based on the first power grid frequency sequence using a preset mean algorithm. A first power grid frequency deviation value is then obtained using a preset deviation algorithm. A power grid frequency deviation threshold is then determined based on the mean AC frequency and a preset allowable deviation percentage. Finally, the first power grid frequency deviation value is compared with the power grid frequency deviation threshold. If the first power grid frequency deviation value exceeds the power grid frequency deviation threshold, indicating that the AC frequency is unstable, correction operations are suspended for a preset fourth time period, meaning no online correction operations are performed during the fourth time period. If the first power grid frequency deviation value is not greater than the power grid frequency deviation threshold, indicating that the AC frequency is stable, correction operations can be performed.
[0133] It is worth mentioning that it also includes:
[0134] According to a preset third time period, first grid voltage information is measured and obtained, and recorded as a first grid voltage sequence;
[0135] obtaining second grid voltage information according to the first grid voltage sequence;
[0136] Obtaining a first grid voltage deviation value according to the first grid voltage sequence and the second grid voltage information;
[0137] obtaining a grid voltage deviation threshold value according to the second grid voltage information;
[0138] Determining whether the first grid voltage deviation value is greater than the grid voltage deviation threshold;
[0139] If so, the online correction is suspended according to a preset fourth time period.
[0140] It should be noted that the first grid voltage sequence is a voltage sequence recorded according to the measurement order of the first grid voltage information; the second grid voltage information is the average value of the first grid voltage information in the first grid voltage sequence; and the first grid voltage deviation value is used to represent the degree of deviation between the first grid voltage information and the second grid voltage information in the first grid voltage sequence.
[0141] In this embodiment, to ensure the accuracy of reactive crosstalk correction generated by carrier coupling capacitance, the stability of the AC power grid voltage is tested to control whether to perform online correction. First, the AC power grid voltage is measured and recorded sequentially over a preset third time period to obtain a first grid voltage sequence. Second, second grid voltage information is obtained based on the first grid voltage sequence using a preset mean algorithm. A first grid voltage deviation value is then obtained using a preset deviation algorithm. A grid voltage deviation threshold is then determined based on the AC voltage mean and a preset allowable deviation percentage. Finally, the first grid voltage deviation value is compared with the grid voltage deviation threshold. If the first grid voltage deviation value exceeds the grid voltage deviation threshold, indicating that the AC voltage is unstable, correction operations are suspended for a preset fourth time period, meaning no online correction operations are performed during the fourth time period. If the first grid voltage deviation value is not greater than the grid voltage deviation threshold, indicating that the AC voltage is stable, correction operations can be performed.
[0142] Figure 4 The block diagram of the correction system of reactive crosstalk based on carrier coupling capacitance of electric energy meter according to the present invention is shown.
[0143] like Figure 4 As shown, the second aspect of the present invention discloses a correction system 4 based on reactive crosstalk of the carrier-coupled capacitor of the electric energy meter, comprising a memory 41 and a processor 42, wherein the memory includes a correction method program based on reactive crosstalk of the carrier-coupled capacitor of the electric energy meter, and when the correction method program based on reactive crosstalk of the carrier-coupled capacitor of the electric energy meter is executed by the processor, the following steps are implemented:
[0144] Obtaining first feedback instruction information;
[0145] Determining whether the carrier communication module is in a working state according to the first feedback instruction information;
[0146] If yes, measure and obtain the first grid frequency information and the first grid voltage information;
[0147] determining first coupling capacitance information according to the first grid frequency information;
[0148] determining first corrected power information according to the first grid voltage information and the first coupling capacitance information;
[0149] The correction register is updated according to the first corrected power information.
[0150] It should be noted that the first feedback instruction information is a handshake feedback instruction sent by the carrier communication module to the electric energy meter; the first grid frequency information is the AC frequency of the grid to which the electric energy meter is connected; the first grid voltage information is the AC voltage of the grid to which the electric energy meter is connected; the first coupling capacitor information is the capacitive reactance value of the coupling capacitor generated on the coupling circuit on the carrier communication circuit of the electric energy meter; the first corrected power information is the correction value of the reactive power crosstalk generated by the current coupling capacitor of the electric energy meter; and the correction register is a register in the electric energy meter for storing the corrected power value.
[0151] In this embodiment, the first feedback instruction information fed back by the carrier communication module to the electric energy meter is used to determine whether the carrier communication module is in an operating state. When the carrier communication module is not in an operating state, online correction of the reactive crosstalk of the coupling capacitor of the electric energy meter is not performed. When the carrier communication module is in an operating state, indicating that the carrier communication module has been connected to the electric energy meter, online correction of the reactive crosstalk of the coupling capacitor of the electric energy meter is performed. When performing online correction of the reactive crosstalk of the coupling capacitor of the electric energy meter, first, the AC frequency and AC voltage of the power grid to which the electric energy meter is connected are measured using a measuring device or measuring circuit in the electric energy meter. Then, based on the AC frequency of the power grid and according to a set coupling capacitance calculation formula, the capacitive reactance value of the coupling capacitor generated in the coupling circuit of the carrier communication circuit is calculated; then, based on the AC voltage and the capacitive reactance value of the coupling capacitor, a set reactive power correction value calculation process is used to obtain a correction value for the reactive power crosstalk generated by the current coupling capacitor of the electric energy meter. Finally, based on the correction value of the reactive power crosstalk of the coupling capacitor, the register used to store the corrected power value in the electric energy meter is updated to achieve the purpose of online correction of the reactive crosstalk generated by the coupling capacitor of the electric energy meter; through automatic online correction, the correction accuracy of the reactive crosstalk generated by the carrier coupling capacitor is improved.
[0152] According to an embodiment of the present invention, determining the first coupling capacitance information according to the first grid frequency information is specifically:
[0153] Determining whether the first power grid frequency information is within a preset frequency range;
[0154] If not, end this round of online correction and set the first coupling capacitance information to 0;
[0155] If so, first coupling capacitance information is obtained according to the first grid frequency information and a set coupling capacitance calculation formula.
[0156] It should be noted that, in this embodiment, first, a range judgment is performed on the measured AC frequency of the power grid. When the AC frequency is not within the preset frequency range, it indicates that there is a measurement error or an abnormal jitter of the power grid frequency. At this time, the calculation of the coupling capacitance reactance value and the correction of the coupling capacitor reactive crosstalk are not performed to avoid the abnormal situation affecting the accuracy of the correction value. When the AC frequency is within the preset frequency range, the capacitive reactance value of the coupling capacitor is calculated according to the set coupling capacitance calculation formula; wherein, the coupling capacitance calculation formula is as follows:
[0157] ,
[0158] Where:
[0159] is the capacitive reactance value of the coupling capacitor, that is, the first coupling capacitor information;
[0160] is the circumference constant of pi;
[0161] is the AC power frequency, i.e., the first grid frequency information;
[0162] is the capacitance value of the preset reference capacitor.
[0163] According to an embodiment of the present invention, determining the first corrected power information according to the first grid voltage information and the first coupling capacitance information is specifically:
[0164] Obtaining first reactive power information according to the first grid voltage information and the first coupling capacitance information and a set reactive power calculation formula;
[0165] The first corrected power information is determined according to the first reactive power information and a set reactive crosstalk correction relationship.
[0166] It should be noted that the first reactive power information is the reactive power value generated by the coupling capacitor as a non-fixed load of the electric energy meter; the first corrected power information is the power correction value required to correct the reactive crosstalk generated by the carrier coupling capacitor of the current electric energy meter. In this embodiment, first, based on the measured AC voltage of the power grid and the calculated capacitive reactance value of the coupling capacitor, the reactive power value generated by the coupling capacitor is calculated according to the set reactive power calculation formula; wherein the reactive power calculation formula is as follows:
[0167] ,
[0168] Where:
[0169] is the reactive power value generated by the coupling capacitor, that is, the first reactive power information;
[0170] is the AC voltage, i.e., the first grid voltage information;
[0171] is the capacitive reactance value of the coupling capacitor, that is, the first coupling capacitor information;
[0172] Then, based on the calculated reactive power value generated by the coupling capacitor and the set reactive crosstalk correction formula, the power correction value required for the reactive crosstalk generated by the carrier coupling capacitor of the energy meter is determined; wherein, the reactive crosstalk correction formula is as follows:
[0173] ,
[0174] Where:
[0175] is the reactive power value generated by the coupling capacitor, that is, the first reactive power information;
[0176] is the corrected reactive power;
[0177] A power correction value for correcting reactive crosstalk generated by the coupling capacitor, namely, first corrected power information;
[0178] In practical applications, the smaller the corrected reactive power is, the smaller the reactive crosstalk caused by the coupling capacitor is. Therefore, the corrected reactive power It should be 0var (volt-ampere reactive, the unit of reactive power). Combined with the above reactive crosstalk correction relationship, the power correction value used to correct the reactive crosstalk generated by the coupling capacitor can be obtained. , that is, the first corrected power information.
[0179] According to an embodiment of the present invention, updating the correction register according to the first corrected power information is specifically:
[0180] obtaining second corrected power information;
[0181] Calculating a difference between the first corrected power information and the second corrected power information to obtain first corrected difference information;
[0182] Determining whether the first corrected difference information is lower than a preset corrected difference threshold;
[0183] If so, the correction register is not updated;
[0184] If not, the first corrected power information is written into the correction register.
[0185] It should be noted that the second corrected power information is the corrected power value stored in the correction register. In this embodiment, first, the difference between the power correction value used to correct the reactive crosstalk generated by the coupling capacitor and the corrected power value stored in the correction register is calculated, i.e., the first corrected difference information. Then, the relationship between the first corrected difference information and a preset corrected difference threshold is determined. When the first corrected difference information is lower than the preset corrected difference threshold, it indicates that the error between the power correction value of the reactive crosstalk generated by the coupling capacitor and the corrected value in the correction register is within the allowable range, and in this case, there is no need to update the correction register. When the first corrected difference information is not lower than the preset corrected difference threshold, it indicates that the error between the power correction value of the reactive crosstalk generated by the coupling capacitor and the corrected value in the correction register is large, and it is necessary to update the correction register to achieve the purpose of online correction. In actual applications, the corrected difference threshold is determined based on the storage range set in the correction register. The corrected difference threshold is typically set to 0.1% of the storage range; for example, when the storage range set in the correction register is [0,10000], the corrected difference threshold is 10.
[0186] According to an embodiment of the present invention, judging whether the carrier communication module is in a working state according to the first feedback instruction information is specifically:
[0187] Sending a first communication instruction message according to a preset first time period;
[0188] Determining whether the first feedback instruction information is received within a preset second time period;
[0189] If not, it indicates that the carrier communication module is in an unconnected state;
[0190] If yes, parse the first feedback instruction information to obtain first communication code information;
[0191] Determining whether the first communication code information is a preset handshake communication code;
[0192] If yes, it means the carrier communication module is in working state;
[0193] If not, it means that the carrier communication module is not in working state.
[0194] It should be noted that the first communication command information is a handshake command sent by the energy meter to the carrier communication module, and the first communication code information is a handshake command code between the energy meter and the carrier communication module. In this embodiment, the energy meter determines whether the carrier communication module is in an operational state by sending a handshake command and then determining whether the carrier communication module is in an operational state based on the received handshake feedback command. First, the first communication command information is sent according to a preset first time period. If the first feedback command information is not received within a preset second time period, it indicates that the carrier communication module is in a disconnected state, i.e., the carrier communication module is determined to be disconnected. If the first feedback command information is received within the preset second time period, the first feedback command information is parsed and determined. The handshake command code in the handshake feedback command is obtained by parsing the first feedback command information. If the handshake command code is the preset handshake communication code, it indicates that the carrier communication module can communicate normally with the energy meter, i.e., the carrier communication module is determined to be in an operational state. If the handshake command code is not the preset handshake communication code, it indicates that the carrier communication module is in an abnormal state, such as being busy, i.e., the carrier communication module is determined to be in an inoperative state.
[0195] According to an embodiment of the present invention, the further embodiment includes:
[0196] Get communication data frame information;
[0197] Determining carrier data information according to the communication data frame information;
[0198] Communication is performed according to the carrier data information.
[0199] It should be noted that the communication data frame information is the communication data sent by the energy meter; the carrier data information is the data obtained by carrier modulation at a set frequency. In this embodiment, the energy meter implements data communication via power line carrier communication. First, the energy meter determines the communication data after adding the carrier, i.e., the carrier data information, based on the communication data frame during the data communication process and at the set carrier frequency. Then, data communication is carried out via the power line according to the carrier data information.
[0200] It is worth mentioning that it also includes:
[0201] According to a preset third time period, first grid frequency information is measured and obtained, and recorded as a first grid frequency sequence;
[0202] obtaining second grid frequency information according to the first grid frequency sequence;
[0203] Obtaining a first grid frequency deviation value according to the first grid frequency sequence and the second grid frequency information;
[0204] obtaining a grid frequency deviation threshold value according to the second grid frequency information;
[0205] Determining whether the first grid frequency deviation value is greater than the grid frequency deviation threshold;
[0206] If so, the online correction is suspended according to a preset fourth time period.
[0207] It should be noted that the first grid frequency sequence is a frequency sequence recorded according to the measurement order of the first grid frequency information; the second grid frequency information is the average value of the first grid frequency information in the first grid frequency sequence; the first grid frequency deviation value is used to represent the degree of deviation between the first grid frequency information and the second grid frequency information in the first grid frequency sequence.
[0208] In this embodiment, to ensure the accuracy of reactive crosstalk correction generated by carrier coupling capacitance, the stability of the power grid's AC frequency is tested to control whether to perform online correction. First, the power grid's AC frequency is measured and recorded sequentially over a preset third time period to obtain a first power grid frequency sequence. Second, second power grid frequency information is obtained based on the first power grid frequency sequence using a preset mean algorithm. A first power grid frequency deviation value is then obtained using a preset deviation algorithm. A power grid frequency deviation threshold is then determined based on the mean AC frequency and a preset allowable deviation percentage. Finally, the first power grid frequency deviation value is compared with the power grid frequency deviation threshold. If the first power grid frequency deviation value exceeds the power grid frequency deviation threshold, indicating that the AC frequency is unstable, correction operations are suspended for a preset fourth time period, meaning no online correction operations are performed during the fourth time period. If the first power grid frequency deviation value is not greater than the power grid frequency deviation threshold, indicating that the AC frequency is stable, correction operations can be performed.
[0209] It is worth mentioning that it also includes:
[0210] According to a preset third time period, first grid voltage information is measured and obtained, and recorded as a first grid voltage sequence;
[0211] obtaining second grid voltage information according to the first grid voltage sequence;
[0212] Obtaining a first grid voltage deviation value according to the first grid voltage sequence and the second grid voltage information;
[0213] obtaining a grid voltage deviation threshold value according to the second grid voltage information;
[0214] Determining whether the first grid voltage deviation value is greater than the grid voltage deviation threshold;
[0215] If so, the online correction is suspended according to a preset fourth time period.
[0216] It should be noted that the first grid voltage sequence is a voltage sequence recorded according to the measurement order of the first grid voltage information; the second grid voltage information is the average value of the first grid voltage information in the first grid voltage sequence; and the first grid voltage deviation value is used to represent the degree of deviation between the first grid voltage information and the second grid voltage information in the first grid voltage sequence.
[0217] In this embodiment, to ensure the accuracy of reactive crosstalk correction generated by carrier coupling capacitance, the stability of the AC power grid voltage is tested to control whether to perform online correction. First, the AC power grid voltage is measured and recorded sequentially over a preset third time period to obtain a first grid voltage sequence. Second, second grid voltage information is obtained based on the first grid voltage sequence using a preset mean algorithm. A first grid voltage deviation value is then obtained using a preset deviation algorithm. A grid voltage deviation threshold is then determined based on the AC voltage mean and a preset allowable deviation percentage. Finally, the first grid voltage deviation value is compared with the grid voltage deviation threshold. If the first grid voltage deviation value exceeds the grid voltage deviation threshold, indicating that the AC voltage is unstable, correction operations are suspended for a preset fourth time period, meaning no online correction operations are performed during the fourth time period. If the first grid voltage deviation value is not greater than the grid voltage deviation threshold, indicating that the AC voltage is stable, correction operations can be performed.
[0218] The third aspect of the present invention provides a computer-readable storage medium, which includes a correction method program for reactive crosstalk based on the carrier coupling capacitor of the electric energy meter. When the correction method program for reactive crosstalk based on the carrier coupling capacitor of the electric energy meter is executed by a processor, the steps of the correction method for reactive crosstalk based on the carrier coupling capacitor of the electric energy meter as described in any one of the above items are implemented.
[0219] In summary, the present invention provides a correction method, system and storage medium for reactive crosstalk based on the carrier coupling capacitor of an electric energy meter. First, based on the first feedback instruction information, it is determined whether the carrier communication module is in a working state; when the carrier communication module is in a working state, the first grid frequency information and the first grid voltage information are measured in real time; then, based on the first grid frequency information and the first grid voltage information, the first corrected power information is determined according to the set corrected power calculation process; finally, the correction register of the electric energy meter is updated according to the first corrected power information, thereby improving the correction accuracy of the reactive crosstalk generated by the carrier coupling capacitor. By detecting the grid voltage frequency state, online real-time correction is achieved, eliminating the production calibration process, thereby reducing production costs; and in principle, the crosstalk on reactive power energy can be solved to ensure accuracy.
[0220] If the functions are implemented as software modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or the portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include various media capable of storing program code, such as USB flash drives, mobile hard drives, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical disks.
[0221] The foregoing description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Those skilled in the art will readily appreciate that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention are intended to be within the scope of protection of the present invention.
Claims
1. A correction method for reactive crosstalk based on the carrier coupling capacitance of an electric energy meter, characterized in that: The method comprises: Obtaining first feedback instruction information; Determining whether the carrier communication module is in a working state according to the first feedback instruction information; If yes, measure and obtain the first grid frequency information and the first grid voltage information; determining first coupling capacitance information according to the first grid frequency information; determining first corrected power information according to the first grid voltage information and the first coupling capacitance information; updating a correction register according to the first corrected power information; The determining of the first coupling capacitance information according to the first grid frequency information is specifically as follows: Determining whether the first power grid frequency information is within a preset frequency range; If not, end this round of online correction and set the first coupling capacitance information to 0; If yes, obtaining first coupling capacitance information according to the first grid frequency information and a set coupling capacitance calculation formula; The coupling capacitance calculation formula is as follows: ; Where, is the first coupling capacitance information, is the circumference constant, is the first grid frequency information, is the capacitance value of the preset reference capacitor; The determining of the first corrected power information according to the first grid voltage information and the first coupling capacitance information is specifically as follows: Obtaining first reactive power information according to the first grid voltage information and the first coupling capacitance information and a set reactive power calculation formula; Determining the first corrected power information according to the first reactive power information and a set reactive crosstalk correction relationship; The reactive power calculation formula is as follows: ; Where, is the first reactive power information, is the first grid voltage information, is the first coupling capacitance information; Among them, the reactive crosstalk correction relationship is as follows: ; Where, is the first reactive power information, is the corrected reactive power, This is the first corrected power information.
2. The method for correcting reactive crosstalk based on carrier coupling capacitance of electric energy meter according to claim 1, characterized in that: The updating of the correction register according to the first corrected power information is specifically as follows: obtaining second corrected power information; Calculating a difference between the first corrected power information and the second corrected power information to obtain first corrected difference information; Determining whether the first corrected difference information is lower than a preset corrected difference threshold; If so, the correction register is not updated; If not, the first corrected power information is written into the correction register.
3. The method for correcting reactive crosstalk based on carrier coupling capacitance of electric energy meter according to claim 1, characterized in that: The determining, according to the first feedback instruction information, whether the carrier communication module is in a working state is specifically: Sending a first communication instruction message according to a preset first time period; Determining whether the first feedback instruction information is received within a preset second time period; If not, it indicates that the carrier communication module is in an unconnected state; If yes, parse the first feedback instruction information to obtain first communication code information; Determining whether the first communication code information is a preset handshake communication code; If yes, it means the carrier communication module is in working state; If not, it means that the carrier communication module is not in working state.
4. The method for correcting reactive crosstalk based on carrier coupling capacitance of electric energy meter according to claim 1, characterized in that: Also includes: Get communication data frame information; Determining carrier data information according to the communication data frame information; Communication is performed according to the carrier data information.
5. The correction system based on reactive crosstalk of electric energy meter carrier coupling capacitance is characterized by: The system includes a memory and a processor, wherein the memory includes a correction method program based on reactive crosstalk of a carrier-coupled capacitor of an electric energy meter, and when the correction method program based on reactive crosstalk of a carrier-coupled capacitor of an electric energy meter is executed by the processor, the following steps are implemented: Obtaining first feedback instruction information; Determining whether the carrier communication module is in a working state according to the first feedback instruction information; If yes, measure and obtain the first grid frequency information and the first grid voltage information; determining first coupling capacitance information according to the first grid frequency information; determining first corrected power information according to the first grid voltage information and the first coupling capacitance information; updating a correction register according to the first corrected power information; The determining of the first coupling capacitance information according to the first grid frequency information is specifically as follows: Determining whether the first power grid frequency information is within a preset frequency range; If not, end this round of online correction and set the first coupling capacitance information to 0; If yes, obtaining first coupling capacitance information according to the first grid frequency information and a set coupling capacitance calculation formula; The coupling capacitance calculation formula is as follows: ; Where, is the first coupling capacitance information, is the circumference constant, is the first grid frequency information, is the capacitance value of the preset reference capacitor; The determining of the first corrected power information according to the first grid voltage information and the first coupling capacitance information is specifically as follows: Obtaining first reactive power information according to the first grid voltage information and the first coupling capacitance information and a set reactive power calculation formula; Determining the first corrected power information according to the first reactive power information and a set reactive crosstalk correction relationship; The reactive power calculation formula is as follows: ; Where, is the first reactive power information, is the first grid voltage information, is the first coupling capacitance information; Among them, the reactive crosstalk correction relationship is as follows: ; Where, is the first reactive power information, is the corrected reactive power, This is the first corrected power information.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: The computer-readable storage medium includes a correction method program based on the reactive crosstalk of the carrier coupling capacitor of the electric energy meter. When the correction method program based on the reactive crosstalk of the carrier coupling capacitor of the electric energy meter is executed by the processor, the steps of the correction method based on the reactive crosstalk of the carrier coupling capacitor of the electric energy meter as described in any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Photovoltaic grid connected inverter island detection method for improving quality of electric energy
CN102183733A
Temperature monitoring and early warning system for wiring terminal of intelligent electric energy meter
CN221280487U