A communication method and system for power protection metering chip

By analyzing the current and voltage data inside the power protection measurement chip, the calculation temperature affects characteristics and environmental interference degree, determine the degree of data redundancy, solve the problem of data transmission redundancy and efficiency in existing technologies, and achieve more efficient data transmission.

CN119094089BActive Publication Date: 2025-01-28XI AN ZFE TECH CO LTD

Patent Information

Application Number
CN202411570424.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-06
Publication Date
2025-01-28
Estimated Expiration
2044-11-06

AI Technical Summary

Technical Problem

The data communication and transmission methods of existing power protection metering chips lead to high data redundancy and poor data transmission effect.

Method used

By obtaining the historical measurement results inside the power protection measurement chip, analyze the current and voltage data within each local time period, calculate the characteristics of the voltage and current within each local time period, the degree of temperature affected by temperature, analyze the degree of environmental interference, determine the data redundant data redundant The degree of residue, and according to this, determine the communication and transmission method of current and voltage data.

Benefits of technology

Effectively reduce the degree of data redundancy, improve data transmission effects, and ensure the efficiency and accuracy of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119094089B_ABST
    Figure CN119094089B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of communication transmission technology, and specifically to a communication method and system for a power protection metering chip, including: obtaining current data and voltage data in each local time period in the historical measurement results inside the power protection metering chip; respectively obtaining a first characteristic degree of voltage affected by temperature and a second characteristic degree of current affected by temperature in each local time period; analyzing the degree of environmental interference according to the first characteristic degree and the second characteristic degree, combining the difference in the degree of environmental interference between each local time period and the adjacent local time period, obtaining the data redundancy degree of each local time period; according to the data redundancy degree, combining each current data and voltage data in each local time period, screening and determining the communication transmission mode of the current data and voltage data in each local time period. The present invention can effectively solve the problem of high data redundancy and improve the data transmission effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data communication transmission, and in particular to a power protection metering chip communication method and system. Background Art

[0002] The power protection metering chip can accurately measure power, electricity, voltage RMS, and current RMS, and is widely used in smart home appliances and smart power collection terminals. Through accurate measurement and real-time monitoring of electric energy, it can help detect abnormal conditions in the power system, evaluate power quality and equipment efficiency. The chip can detect overcurrent and overvoltage conditions in a timely manner, and prevent equipment damage by triggering alarms or automatic power-off protection. In addition, combined with the Internet of Things technology, remote monitoring and management can be achieved, improving management efficiency and reducing operation and maintenance costs.

[0003] The data measurement process of the power protection metering chip generates a large amount of data. The existing comprehensive data upload method is more suitable for a high-reliability transmission network. For the incremental data upload mode, only the data that has changed since the last transmission is uploaded during the data transmission and synchronization process. However, due to complex factors such as the environment, small fluctuations in normal data will be uploaded even if no abnormality occurs, resulting in a high degree of data redundancy and poor data transmission effect. Summary of the invention

[0004] In order to solve the technical problem that the existing data communication transmission method leads to high data redundancy and poor data transmission effect, the purpose of the present invention is to provide a power protection metering chip communication method and system, and the technical solution adopted is as follows:

[0005] In a first aspect, the present invention provides a power protection metering chip communication method, comprising:

[0006] Obtaining current data and voltage data in each local time period from historical measurement results inside the power protection metering chip;

[0007] According to the difference between each voltage data in each local time period and the overall voltage data in the local time period, and the change between the corresponding differences of each two adjacent voltage data, a first characteristic degree of voltage being affected by temperature in each local time period is obtained;

[0008] According to the difference between each current data in each local time period and the overall current data in the local time period, and the change between the corresponding differences of each two adjacent current data, a second characteristic degree of the influence of temperature on the current in each local time period is obtained;

[0009] Analyze the degree of environmental interference according to the first characteristic degree and the second characteristic degree in each local time period, and obtain the degree of data redundancy in each local time period by combining the difference in the degree of environmental interference between each local time period and an adjacent local time period;

[0010] According to the data redundancy degree, in combination with each current data and voltage data in each local time period, the communication transmission mode of the current data and voltage data in each local time period is screened and determined.

[0011] Preferably, the first characteristic degree of voltage affected by temperature in each local time period is obtained according to the difference between each voltage data in each local time period and the overall voltage data in the local time period, and the change between the corresponding differences of each two adjacent voltage data, specifically including:

[0012] Record any local time period as the target time period;

[0013] Calculating the difference between each voltage data within the target time period and the average of all voltage data within the target time period to obtain a first variation of each voltage data within the target time period;

[0014] According to the difference between the first variation amounts of every two adjacent voltage data in the target time period, a first characteristic degree of the voltage being affected by the temperature in the target time period is obtained.

[0015] Preferably, obtaining the first characteristic degree of voltage being affected by temperature within the target time period according to the difference between the first variation amounts of every two adjacent voltage data within the target time period specifically includes:

[0016] The absolute value of the difference between the first changes of every two adjacent voltage data in the target time period is calculated and recorded as the first difference, and the negative correlation coefficient of the mean of all the first differences in the target time period is used as the first characteristic degree of voltage affected by temperature in the target time period.

[0017] Preferably, the second characteristic degree of the influence of temperature on the current in each local time period is obtained according to the difference between each current data in each local time period and the overall current data in the local time period, and the change between the corresponding differences of each two adjacent current data, specifically including:

[0018] Calculating the difference between each current data within the target time period and the average of all current data within the target time period to obtain a second variation of each current data within the target time period;

[0019] According to the difference between the second variation amounts of every two adjacent current data in the target time period, a second characteristic degree of the influence of the temperature on the current in the target time period is obtained.

[0020] Preferably, obtaining the second characteristic degree of the current being affected by the temperature in the target time period according to the difference between the second variation amounts of every two adjacent current data in the target time period specifically includes:

[0021] The absolute value of the difference between the second changes of every two adjacent current data in the target time period is calculated and recorded as the second difference, and the negative correlation coefficient of the mean of all the second differences in the target time period is used as the second characteristic degree of the current affected by temperature in the target time period.

[0022] Preferably, the analyzing the degree of environmental interference according to the first characteristic degree and the second characteristic degree in each local time period, and obtaining the degree of data redundancy in each local time period in combination with the difference in the degree of environmental interference between each local time period and an adjacent local time period, specifically includes:

[0023] Taking the absolute value of the difference between the first characteristic degree and the second characteristic degree corresponding to each local time period as the environmental interference degree of each local time period;

[0024] The data redundancy degree of each local time period is obtained according to the difference in the environmental interference degree corresponding to each local time period and two adjacent local time periods.

[0025] Preferably, obtaining the data redundancy degree of each local time period according to the difference in the environmental interference degree between each local time period and two adjacent local time periods specifically includes:

[0026] The absolute value of the difference between the environmental interference degree corresponding to each local time period and the previous local time period adjacent in time sequence is taken as the first interference difference of each local time period;

[0027] The absolute value of the difference between the environmental interference degree corresponding to the local time period and the subsequent local time period adjacent in time sequence is taken as the second interference difference of each local time period;

[0028] The data redundancy degree of each local time period is obtained according to the product of the first interference difference and the second interference difference in each local time period, and the product is negatively correlated with the data redundancy degree.

[0029] Preferably, the method of screening and determining the communication transmission mode of the current data and the voltage data in each local time period according to the data redundancy degree and in combination with each current data and voltage data in each local time period specifically includes:

[0030] According to the data redundancy degree of each local time period, combined with each voltage data in the local time period, a first information degree of each voltage data in each local time period is obtained;

[0031] According to the data redundancy degree of each local time period, combined with each current data in the local time period, a second information degree of each current data in each local time period is obtained;

[0032] When the first information level of the voltage data is greater than the preset information threshold, all voltage data in the local time period where the voltage data is located is uploaded; when the second information level of the current data is greater than the preset information threshold, all current data in the local time period where the current data is located is uploaded.

[0033] Preferably, obtaining the first information level of each voltage data in each local time period according to the data redundancy level of each local time period in combination with each voltage data in the local time period specifically includes:

[0034] Normalizing the ratio between the first variation of each voltage data in the target time period and the data redundancy degree in the target time period to obtain the first information degree of each voltage data in the target time period;

[0035] The step of obtaining the second information level of each current data in each local time period according to the data redundancy level of each local time period and combining each current data in the local time period specifically includes:

[0036] The ratio between the second variation of each current data in the target time period and the data redundancy degree of the target time period is normalized to obtain the second information degree of each current data in the target time period.

[0037] In a second aspect, the present invention provides a power protection metering chip communication system, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein when the computer program is executed by the processor, the steps of a power protection metering chip communication method are implemented.

[0038] The embodiments of the present invention have at least the following beneficial effects:

[0039] The present invention first collects the current data and voltage data in a local time period respectively, and provides a data basis for the subsequent change trend and data redundancy of the two data in a set time period. Then, the change trend of the voltage data and the current data is analyzed respectively, mainly for the difference between the data in the local time period and the whole, and the change between the corresponding differences of adjacent data, and the data change situation in the local time period is quantitatively characterized, and the degree of voltage affected by temperature and the degree of current affected by temperature are obtained respectively. This step can reflect the situation that the voltage data may be affected by temperature through the data change of the voltage data in a period of time. Similarly, the data change of the current data in a period of time can reflect the situation that the current data may be affected by temperature. Then, the environmental interference degree is analyzed by the first characteristic degree and the second characteristic degree in the local time period, considering that the current and voltage are generally affected by temperature in normal circumstances. At the same time, the data is relatively stable in the adjacent and close time range. Further combined with the difference in the degree of environmental interference between adjacent local time periods, the data redundancy in the local time period is quantitatively characterized. The difference is small, the corresponding impact is relatively similar, and the data redundancy is large. Finally, according to the data redundancy, each current data and voltage data can be combined to adaptively screen out data with small redundancy and large data changes, so as to adaptively determine the communication transmission method of different data. The present invention can effectively solve the problem of high data redundancy and improve the data transmission effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only 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.

[0041] Figure 1 It is a flowchart of the steps of a power protection metering chip communication method provided by an embodiment of the present invention;

[0042] Figure 2 is a flowchart of the steps of a method for obtaining a first characteristic degree of voltage being affected by temperature within a target time period provided by an embodiment of the present invention;

[0043] Figure 3 It is a schematic diagram of a computer device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0044] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the specific implementation, structure, features and effects of a power protection metering chip communication method and system proposed by the present invention in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0045] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0046] The following is a detailed description of a specific scheme of a power protection metering chip communication method and system provided by the present invention in conjunction with the accompanying drawings.

[0047] The specific implementation scenario targeted by the present invention is as follows: the electric power protection metering chip involved in the present invention uses a current transformer of level less than or equal to 0.2 to measure current; the voltage is reduced to a range that the chip can handle by means of resistance voltage division, and input into the chip's digital-to-analog converter (ADC) for voltage sampling processing; wherein the sampling frequency of the voltage and current data is selected to be 2.8kHz, and the corresponding storage space inside the electric power protection metering chip is not less than 100KB.

[0048] See also Figure 1 , which shows a flow chart of a method for communication of a power protection metering chip provided by an embodiment of the present invention, the method comprising the following steps:

[0049] Step S100, obtaining current data and voltage data in each local time period in the historical measurement results inside the power protection metering chip.

[0050] Specifically, current data and voltage data of a certain length of time are collected from the historical measurement results inside the power protection metering chip to analyze the degree of data redundancy. In this embodiment, the length of the local time period is set to 3 seconds, and the time interval between each two adjacent data collection moments in the local time period is set to 0.1 seconds. It can be understood that in order to avoid the impact of dimensionality problems on the subsequent data analysis process, the current and voltage data collected in this embodiment are standardized, and the data standardization method is a well-known technology and will not be introduced in detail here.

[0051] At this point, the current data and voltage data at each moment in each local time period can be obtained, that is, the current data and voltage data are both time series data, and the same moment in the same local time period corresponds to current data and voltage data, which provides a data basis for the subsequent changing trends of current data and voltage data in the local time period.

[0052] It should be noted that the voltage running around the power protection metering chip equipment is generally high, and the electromagnetic radiation intensity generated is large, which can easily cause temperature fluctuations. In complex environments, the voltage and current data obtained from the power protection metering chip are easily affected by temperature fluctuations. If the data compression method with incremental changes is used for uploading, extremely high communication bandwidth and communication stability will be required. That is, temperature fluctuations may cause frequent changes in current and voltage data, and generate a large amount of incremental data. If the communication bandwidth is insufficient or the communication is unstable, problems such as data loss or transmission delays are likely to occur.

[0053] In this embodiment, the current is measured by an electromagnetic current transformer. Usually, the current transformer will open a certain size of air gap in the center of the iron core to increase the magnetic resistance, which will cause leakage magnetic problems. At the same time, when there is a DC magnetic field or an alternating magnetic field in the working environment of the current transformer, the spatial magnetic field around it will cause errors in the measured current data. Secondly, when the temperature changes, the resistance value of the iron core and the measuring winding will change nonlinearly, further leading to inaccurate current measurement. On the one hand, due to the increase in ambient temperature, the magnetic permeability of the iron core will usually decrease, the iron core's ability to conduct magnetic fields will weaken, and the leakage magnetic field will increase, which will cause the magnetic flux induced by the secondary side of the current transformer to decrease, and the measured current will become smaller; on the other hand, due to the increase in temperature, the resistance value of the current transformer winding for measuring current will increase, thereby causing the measured current to decrease. In this embodiment, the resistance voltage divider in the measured voltage is generally not easily affected by magnetic field interference, and the reason for the change in local data increment is mostly caused by the change in resistance with temperature.

[0054] Based on this, due to the complex influence of the environment, when the temperature changes, the current data and voltage data will also fluctuate. This embodiment reflects the influence of temperature on current by analyzing the changes in current data, and reflects the influence of temperature on voltage by analyzing the changes in voltage data. Generally, the influence of temperature on these two types of data is relatively similar.

[0055] Step S200, obtaining a first characteristic degree of voltage affected by temperature in each local time period according to the difference between each voltage data in each local time period and the overall voltage data in the local time period, and the change between the corresponding differences of each two adjacent voltage data.

[0056] Under normal circumstances, the voltage supply is continuous and stable, and is not easily affected by electromagnetic interference. Therefore, under normal circumstances, the voltage data and current data are relatively stable, and there will be no large data fluctuations when the power supply is stable. When the temperature changes, the change in resistance is generally nonlinear over a long period of time, but the trend of data changes in a smaller time interval can be approximately considered linear, and then the change trends of current and voltage can be analyzed separately to reflect the influence of temperature on current and voltage. Among them, the temperature rises or falls slowly in a specific interval, and the change in voltage in the corresponding interval affected by the temperature slowly increases or decreases. The more obvious the voltage change trend is, the greater the temperature influence in the interval is.

[0057] Based on this, firstly, a characteristic analysis is performed on the variation difference of the voltage data in the local time period to quantify the influence of the temperature change on the voltage data. In this embodiment, any local time period is taken as an example for explanation, and any local time period is recorded as the target time period, that is, the i-th local time period is taken as the target time period, such as Figure 2 As shown, the method for acquiring the first characteristic degree of voltage being affected by temperature within the target time period can be implemented by step S201 and step S202.

[0058] Step S201 , calculating the difference between each voltage data within the target time period and the average value of all voltage data within the target time period, and obtaining a first variation of each voltage data within the target time period.

[0059] The local time period represents a shorter length of time. Under normal circumstances, within a shorter length of time, the voltage data is relatively stable, and the voltage data at each moment will not fluctuate greatly. However, when the temperature changes, the voltage data at each moment may fluctuate to a certain extent. Then, by analyzing the difference between the voltage data at each moment and the overall data within a shorter length of time, the deviation and fluctuation of the voltage data at each moment can be quantitatively represented.

[0060] Specifically, taking the nth moment in the target time period as an example, the first change amount of the voltage data at the nth moment in the target time period can be expressed as: ,in, represents the first change amount of the voltage data at the nth moment in the ith local time period, where the ith local time period is also the target time period; represents the voltage data at the nth moment in the i-th local time period; It represents the mean value of all voltage data in the i-th local time period, that is, the mean value of all voltage data in the target time period.

[0061] It reflects the overall characterization of all voltage data within the target time period. It reflects the data difference between a voltage data and the overall data in the target time period. The first change reflects the degree of deviation and fluctuation between the voltage data and the overall data in the target time period. The first change also represents the degree of data change of the voltage data.

[0062] Step S202 : obtaining a first characteristic degree of voltage being affected by temperature within the target time period according to a difference between first changes of every two adjacent voltage data within the target time period.

[0063] As the temperature changes, the voltage data changes slowly and shows a trend of slowly increasing or decreasing. If the change in the voltage data is more uniform, it means that the temperature has a higher degree of influence on the voltage data. Based on this, the change in the first change in each voltage data within the target time period can be analyzed to quantify the influence of temperature on the voltage data.

[0064] Specifically, in the first step, the absolute value of the difference between the first change amounts of every two adjacent voltage data in the target time period is calculated and recorded as the first difference.

[0065] In a second step, a negative correlation coefficient of the mean values ​​of all the first differences within a target time period is used as a first characteristic degree of voltage being affected by temperature within the target time period.

[0066] In this embodiment, the calculation formula of the first characteristic degree of voltage affected by temperature within the target time period can be expressed as:

[0067]

[0068]

[0069] in, represents the first characteristic degree of voltage affected by temperature in the target time period, i represents the i-th local time period, That is, it indicates the first characteristic degree of voltage being affected by temperature in the i-th local time period; It represents the total number of voltage data contained in the target time period, that is, the total number of voltage data contained in the i-th local time period. Each moment corresponds to a voltage data. That is, the number of moments included in the target time period; represents the first change in voltage data at the n+1th moment in the i-th local time period, represents the first change in voltage data at the nth moment in the i-th local time period, represents the mean of all first differences in the i-th local time period.

[0070] Indicates the first difference corresponding to the voltage data in the i-th local time period, reflecting the difference between the first change of the voltage data corresponding to the n-th moment and the n+1-th moment in the i-th local time period, that is, the difference between the data change of two adjacent voltage data. The smaller the difference, the more uniform the change of the voltage data in the target time period, and the corresponding The smaller the value of is, the more uniform the data change of all voltage data is within the target time period, and the greater the influence of temperature on the voltage data is, the larger the corresponding first characteristic degree is. The first characteristic degree characterizes the degree to which the voltage data is affected by the temperature in the environment within the corresponding local time period.

[0071] Step S300, according to the difference between each current data in each local time period and the overall current data in the local time period, and the change between the corresponding differences of each two adjacent current data, obtain the second characteristic degree of the current being affected by the temperature in each local time period.

[0072] Generally speaking, the voltage is provided stably during the current measurement process, so the current change is not prone to large data fluctuations, and the current may also have abnormal changes due to complex environmental factors such as temperature and electromagnetic interference. For the same power protection metering chip, the voltage and current are generally affected by temperature changes in a similar way. Since the mutual inductor is generally located in the center of the equipment, the local magnetic interference intensity is consistent in a short period of time. Therefore, the more similar the adjacent magnetic interference levels obtained based on the current are, the higher the data redundancy in the corresponding local time period.

[0073] When the appliance is working stably, the current is in a relatively stable state, and the minor changes that occur are mostly caused by environmental factors. In the local time period when the current is stable, the current changes caused by short-term electromagnetic interference and temperature can be approximately regarded as linear changes. In order to be able to compare the difference in the degree of interference between voltage and current in the future, this embodiment analyzes the current data according to the same data analysis method as the voltage data, and quantifies the degree to which the current data is affected by temperature.

[0074] It can be understood that since the method for obtaining the second characteristic degree of the influence of temperature on the current in each local time period is the same as the method for obtaining the first characteristic degree of the influence of temperature on the voltage in each local time period in step S200, in this embodiment, only a brief description is given of the method for obtaining the second characteristic degree.

[0075] Specifically, in the first step, the difference between each current data within the target time period and the average value of all current data within the target time period is calculated to obtain a second variation of each current data within the target time period.

[0076] The mean of all current data within the target time period reflects the overall characterization result of the data within the target time period, and then the second change amount is obtained by analyzing the difference between each current data within the target time period and the overall data within the target time period, reflecting the degree of deviation and fluctuation between each current data within the target time period and the data characteristics within the target time period, that is, the second change amount reflects the magnitude of the change in the current data.

[0077] In the second step, according to the difference between the second changes of every two adjacent current data in the target time period, the second characteristic degree of the current being affected by the temperature in the target time period is obtained. More specifically, the absolute value of the difference between the second changes of every two adjacent current data in the target time period is calculated and recorded as the second difference, and the negative correlation coefficient of the mean of all the second differences in the target time period is taken as the second characteristic degree of the current being affected by the temperature in the target time period.

[0078] The second difference reflects the difference in the amount of change between the current data corresponding to two adjacent moments in the target time period, and is then comprehensively measured by the mean. The smaller the value of the second difference, the more uniform the change in the current data in the target time period, and the greater the degree to which the current data is affected by temperature, the greater the corresponding second characteristic degree, and the second characteristic degree reflects the degree to which the current data is affected by temperature in the corresponding local time period.

[0079] Step S400, analyzing the degree of environmental interference according to the first characteristic degree and the second characteristic degree in each local time period, and obtaining the degree of data redundancy in each local time period by combining the difference in the degree of environmental interference between each local time period and adjacent local time periods.

[0080] For the measurement results of the same power protection metering chip, the degree to which the current and voltage are affected by temperature is generally similar. Then, by analyzing the difference in the temperature effect on the current and voltage in the same local time period, it can be reflected that the current is additionally affected by electromagnetic interference. That is, when there are differences in the temperature effect on the current and voltage, it can be approximately considered that the current is also affected by electromagnetic interference, which causes this difference. Furthermore, considering that electromagnetic interference is generally stable in similar time periods, the data redundancy can be further quantitatively analyzed based on the changes in the degree of electromagnetic interference in adjacent local time periods. The smaller the difference in the degree of electromagnetic interference in adjacent local time periods, the more similar the changes between the data are, and the higher the redundancy of the corresponding data. On the contrary, the greater the difference in the degree of electromagnetic interference in adjacent local time periods, the less similar the changes between the data are, the lower the redundancy of the corresponding data is, the more effective information is contained in the data, and the more data communication transmission is needed.

[0081] Based on this, in the first step, the influence of temperature on voltage and the influence of temperature on current in the same local time period are jointly analyzed to obtain the degree of environmental interference in the corresponding local time period.

[0082] Specifically, the absolute value of the difference between the first characteristic degree and the second characteristic degree corresponding to each local time period is used as the environmental interference degree of each local time period.

[0083] The degree of environmental interference reflects the difference between the voltage and current affected by temperature in the same local time period, and can further characterize the degree to which the current is affected by electromagnetic interference in the local time period. That is, the greater the degree of environmental interference, the greater the difference between the voltage and current affected by temperature in the local time period, and further the greater the degree to which the current is affected by electromagnetic interference in the local time period.

[0084] In the second step, the difference in the degree of environmental interference between each local time period and the adjacent local time periods is analyzed to quantitatively characterize the redundancy of data within the local time period.

[0085] Specifically, the absolute value of the difference in environmental interference levels between each local time period and the previous local time period adjacent in time sequence is taken as the first interference difference of each local time period; the absolute value of the difference in environmental interference levels between the local time period and the next local time period adjacent in time sequence is taken as the second interference difference of each local time period; the data redundancy level of each local time period is obtained according to the product of the first interference difference and the second interference difference of each local time period, and the product is negatively correlated with the data redundancy level.

[0086] In this embodiment, as a specific example, the calculation formula for the data redundancy degree of the i-th local time period can be expressed as:

[0087]

[0088] in, Indicates the degree of data redundancy in the i-th local time period, represents the degree of environmental interference in the i-th local time period, represents the degree of environmental interference in the i-1th local time period, represents the degree of environmental interference in the i+1th local time period, is the first interference difference, is the second interference difference.

[0089] and It reflects the difference in the degree of environmental interference between the local time period and the adjacent local time period. The smaller the difference, the more stable the electromagnetic interference situation is in the local time period adjacent to the i-th local time period, which means that the higher the redundancy of the data in the i-th local time period, the larger the corresponding data redundancy value. When the difference is larger, it means that the electromagnetic interference situation is less stable in the local time period adjacent to the i-th local time period, which means that the lower the redundancy of the data in the i-th local time period, the smaller the corresponding data redundancy value.

[0090] It should be noted that this embodiment combines the data features of two adjacent local time periods of each local time period for analysis. If the adjacent previous and adjacent next local time periods cannot be obtained at the same time, the data analysis process of this embodiment is not performed.

[0091] Step S500 , screening and determining the communication transmission mode of the current data and the voltage data in each local time period according to the data redundancy degree and in combination with each current data and voltage data in each local time period.

[0092] When the redundancy of data in a certain local time period is greater, some lossy compression methods can be used to compress the data to prevent the redundant data from being directly uploaded, which affects the data transmission efficiency. When the redundancy of data in a certain local time period is smaller, combined with the comprehensive analysis of the degree of data change, the data with significant changes can be directly uploaded to avoid the loss of important data. When the change in a certain current data or voltage data is large, it means that the corresponding current data or voltage data contains a large amount of information, and then it needs to be directly uploaded for processing.

[0093] Based on this, combined with the feature of data redundancy, the communication transmission mode of each current data and voltage data in each local time period is adaptively determined. Specifically, the amount of information contained in each current data or voltage data in each local time period is first quantified. The lower the redundancy of the data, the greater the corresponding data change, and thus the greater the amount of information contained in the data.

[0094] More specifically, the ratio between the first change amount of each voltage data within the target time period and the data redundancy degree of the target time period is normalized to obtain the first information degree of each voltage data within the target time period; the ratio between the second change amount of each current data within the target time period and the data redundancy degree of the target time period is normalized to obtain the second information degree of each current data within the target time period.

[0095] It can be understood that the characterization method of the amount of information contained in the current data and the voltage data is the same. This embodiment takes any one of the data as an example for explanation. The first information level of the nth voltage data in the i-th local time period can be expressed as:

[0096]

[0097] in, represents the first information level of the voltage data at the nth moment in the i-th local time period, Indicates the degree of data redundancy in the i-th local time period, represents the first change in voltage data at the nth moment in the i-th local time period, Represents a linear normalization function, used to compare values Perform normalization.

[0098] The smaller the value of the data redundancy degree, the smaller the data information redundancy in the local time period where the voltage data is located. The larger the value of the first change amount, the larger the change amount of the corresponding voltage data. The larger the value of the first information degree, the larger the effective information amount contained in the corresponding voltage data in the local time period. That is, the first information degree represents the size of the effective information amount of the voltage data in the local time period. In the same way, the second information degree represents the size of the effective information amount of the current data in the local time period.

[0099] When the value of the first information level is larger, the corresponding voltage data contains more valid information, and the data redundancy in the local time period where the voltage data is located is smaller, the voltage data in the local time period where the voltage data is located can be directly uploaded for communication. When the value of the first information level is smaller, the corresponding voltage data contains less valid information, and the data redundancy in the local time period where the voltage data is located is larger, and the voltage data in the local time period where the voltage data is located can be not uploaded.

[0100] When the value of the second information level is larger, the corresponding current data contains more valid information, and the data redundancy in the local time period where the current data is located is smaller, the current data in the local time period where the current data is located can be directly uploaded for communication. When the value of the second information level is smaller, the corresponding current data contains less valid information, and the data redundancy in the local time period where the current data is located is larger, and the current data in the local time period where the current data is located can be not uploaded.

[0101] Furthermore, the current data and voltage data in the local time period to be directly uploaded are screened out through a preset information threshold. Specifically, when the first information level of the voltage data is greater than the preset information threshold, all the voltage data in the local time period where the voltage data is located are directly uploaded; when the second information level of the current data is greater than the preset information threshold, all the current data in the local time period where the current data is located are directly uploaded. The data is uploaded through the wireless communication module. In this embodiment, the value of the information threshold is 0.42, and the implementer can set it according to the specific implementation scenario.

[0102] It should be noted that this embodiment is for normal conditions, that is, the voltage data and current data should be normal under normal conditions, and then analyze the influence of temperature factors and electromagnetic interference factors in some environments, resulting in certain changes in current or voltage, and the redundant data generated can be adaptively determined for these data. It should be understood by those skilled in the art that when the current data or voltage data changes significantly, for example, the extreme difference of the current data exceeds the normal range in a local time period, it needs to be uploaded directly, but this embodiment does not consider this situation.

[0103] An embodiment of the present invention also provides a power protection metering chip communication system, including a memory, a processor, and a computer program stored in the memory and running on the processor, wherein when the computer program is executed by the processor, steps of a power protection metering chip communication method are implemented.

[0104] It should be noted that the power protection metering chip communication system and the power protection metering chip communication method embodiment provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0105] The present application also provides a computer device. Figure 3 , which shows a schematic diagram of the structure of a computer device provided by an embodiment of the present invention, the computer device includes a memory 301, a processor 302, and a computer program 303 stored in the memory 301 and running on the processor 302, wherein when the processor 302 executes the computer program 303, the computer device can execute any one of the power protection metering chip communication methods introduced above.

[0106] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer device, the computer device can execute any one of the power protection metering chip communication methods described above.

[0107] An embodiment of the present application also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is executed on a computer device, the computer device can execute any one of the power protection metering chip communication methods described above.

[0108] In the embodiments provided in the present application, it should be understood that the provided computer device, computer program product and computer-readable storage medium are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the methods provided above and will not be repeated here.

[0109] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A power protection metering chip communication method, characterized in that: The method comprises the following steps: Obtaining current data and voltage data in each local time period from historical measurement results inside the power protection metering chip; According to the difference between each voltage data in each local time period and the overall voltage data in the local time period, and the change between the corresponding differences of each two adjacent voltage data, a first characteristic degree of voltage being affected by temperature in each local time period is obtained; According to the difference between each current data in each local time period and the overall current data in the local time period, and the change between the corresponding differences of each two adjacent current data, a second characteristic degree of the influence of temperature on the current in each local time period is obtained; Analyze the degree of environmental interference according to the first characteristic degree and the second characteristic degree in each local time period, and obtain the degree of data redundancy in each local time period by combining the difference in the degree of environmental interference between each local time period and an adjacent local time period; According to the data redundancy degree, in combination with each current data and voltage data in each local time period, the communication transmission mode of the current data and voltage data in each local time period is screened and determined.

2. A power protection metering chip communication method according to claim 1, characterized in that: The first characteristic degree of voltage affected by temperature in each local time period is obtained according to the difference between each voltage data in each local time period and the overall voltage data in the local time period, and the change between the corresponding differences of each two adjacent voltage data, specifically including: Record any local time period as the target time period; Calculating the difference between each voltage data within the target time period and the average of all voltage data within the target time period to obtain a first variation of each voltage data within the target time period; According to the difference between the first variation amounts of every two adjacent voltage data in the target time period, a first characteristic degree of the voltage being affected by the temperature in the target time period is obtained.

3. A power protection metering chip communication method according to claim 2, characterized in that: The step of obtaining a first characteristic degree of voltage being affected by temperature within the target time period according to a difference between first changes of every two adjacent voltage data within the target time period specifically includes: The absolute value of the difference between the first changes of every two adjacent voltage data in the target time period is calculated and recorded as the first difference, and the negative correlation coefficient of the mean of all the first differences in the target time period is used as the first characteristic degree of voltage affected by temperature in the target time period.

4. A power protection metering chip communication method according to claim 2, characterized in that: The second characteristic degree of the influence of temperature on the current in each local time period is obtained according to the difference between each current data in each local time period and the overall current data in the local time period, and the change between the corresponding differences of each two adjacent current data, specifically including: Calculating the difference between each current data within the target time period and the average of all current data within the target time period to obtain a second variation of each current data within the target time period; According to the difference between the second variation amounts of every two adjacent current data in the target time period, a second characteristic degree of the influence of the temperature on the current in the target time period is obtained.

5. A power protection metering chip communication method according to claim 4, characterized in that: The second characteristic degree of the influence of temperature on the current in the target time period is obtained according to the difference between the second variation amounts of every two adjacent current data in the target time period, specifically including: The absolute value of the difference between the second changes of every two adjacent current data in the target time period is calculated and recorded as the second difference, and the negative correlation coefficient of the mean of all the second differences in the target time period is used as the second characteristic degree of the current affected by temperature in the target time period.

6. A power protection metering chip communication method according to claim 1, characterized in that: The step of analyzing the degree of environmental interference according to the first characteristic degree and the second characteristic degree in each local time period, and obtaining the degree of data redundancy in each local time period by combining the difference in the degree of environmental interference between each local time period and an adjacent local time period, specifically includes: Taking the absolute value of the difference between the first characteristic degree and the second characteristic degree corresponding to each local time period as the environmental interference degree of each local time period; The data redundancy degree of each local time period is obtained according to the difference in the environmental interference degree corresponding to each local time period and two adjacent local time periods.

7. A power protection metering chip communication method according to claim 6, characterized in that: The step of obtaining the data redundancy degree of each local time period according to the difference in the environmental interference degree between each local time period and two adjacent local time periods specifically includes: The absolute value of the difference between the environmental interference degree corresponding to each local time period and the previous local time period adjacent in time sequence is taken as the first interference difference of each local time period; The absolute value of the difference between the environmental interference degree corresponding to the local time period and the subsequent local time period adjacent in time sequence is taken as the second interference difference of each local time period; The data redundancy degree of each local time period is obtained according to the product of the first interference difference and the second interference difference in each local time period, and the product is negatively correlated with the data redundancy degree.

8. A power protection metering chip communication method according to claim 4, characterized in that: The method of screening and determining the communication transmission mode of the current data and the voltage data in each local time period according to the data redundancy degree and in combination with each current data and voltage data in each local time period specifically includes: According to the data redundancy degree of each local time period, combined with each voltage data in the local time period, a first information degree of each voltage data in each local time period is obtained; According to the data redundancy degree of each local time period, combined with each current data in the local time period, a second information degree of each current data in each local time period is obtained; When the first information level of the voltage data is greater than the preset information threshold, all voltage data in the local time period where the voltage data is located is uploaded; when the second information level of the current data is greater than the preset information threshold, all current data in the local time period where the current data is located is uploaded.

9. A power protection metering chip communication method according to claim 8, characterized in that: The step of obtaining the first information level of each voltage data in each local time period according to the data redundancy level of each local time period and combining each voltage data in the local time period specifically includes: Normalizing the ratio between the first variation of each voltage data in the target time period and the data redundancy degree in the target time period to obtain the first information degree of each voltage data in the target time period; The step of obtaining the second information level of each current data in each local time period according to the data redundancy level of each local time period and combining each current data in the local time period specifically includes: The ratio between the second variation of each current data in the target time period and the data redundancy degree of the target time period is normalized to obtain the second information degree of each current data in the target time period.

10. A power protection metering chip communication system, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the computer program is executed by a processor, the steps of the power protection metering chip communication method as described in any one of claims 1 to 9 are implemented.

Citation Information

Patent Citations

  • Electric power data processing method based on electric energy metering chip and computer equipment

    CN115063052A

  • Comprehensive distribution box abnormity monitoring method based on dynamic temperature threshold value

    CN116111727A

Cited By

  • Power measurement communication method and system based on lightweight Beidou protocol and data compression

    CN121750751A