A power sharing device power metering method and system

By constructing a characterization quantity for electromagnetic field changes and a fractional integral, the problem of inaccurate measurement results in the metering process of power sharing equipment is solved, and stable power metering in complex environments is achieved, improving adaptability and accuracy.

CN121522254BActive Publication Date: 2026-04-17JIANGXI DATIAN TECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
JIANGXI DATIAN TECHNOLOGY CO LTD
Filing Date
2026-01-19
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

Existing power sharing equipment is easily affected by plugging and unplugging operations, poor contact, loose connection, interface oxidation and external electromagnetic disturbances during metering, resulting in inaccurate and unfair metering results. Existing methods have difficulty distinguishing between stable current carrying and transient disturbance stages, and lack a memory adjustment mechanism for historical power information, resulting in insufficient adaptability.

Method used

By collecting electrical parameters, a characteristic quantity of electromagnetic field change is constructed, a stability index is generated, and a metering enable signal is output only when the current-carrying state is stable. The instantaneous power is accumulated using a fractional integral form, and a memory characteristic attenuation weight is introduced to form the power metering result.

Benefits of technology

It improves the accuracy and fairness of metering, adapts to complex usage environments, reduces the interference of instantaneous power fluctuations on the power integration results, and has good engineering scalability and logical rigor.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121522254B_ABST
    Figure CN121522254B_ABST
Patent Text Reader

Abstract

The present application belongs to the technical field of electric energy metering, and discloses an electric quantity sharing device electric quantity metering method and system, which comprises collecting electric parameters at a shared interface of an electric quantity sharing device, filtering and normalizing the collected electric parameters, outputting in the form of continuous time sequence to form an electric parameter sequence, constructing an electromagnetic field change representation quantity under the current-carrying state of the shared interface based on the electric parameter sequence, evaluating the change characteristics of the electromagnetic field change representation quantity within a preset time window to generate a stability index, determining that the current shared interface is in a stable state in which electric quantity metering can be performed when the stability index meets a preset stability index threshold, and outputting a corresponding metering enable signal, determining the starting time of electric quantity metering after receiving the metering enable signal, and delimiting an effective time section of electric quantity metering according to the starting time of electric quantity metering, thereby improving the accuracy and stability of electric quantity metering in a shared power consumption scenario.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of electricity metering technology, and more specifically, to a method and system for electricity metering in an electricity sharing device. Background Technology

[0002] Existing electricity metering methods and systems for electricity sharing devices mainly suffer from the following problems:

[0003] Existing power sharing devices typically measure electricity directly based on voltage, current, or instantaneous power signals collected at the shared interface, obtaining the measurement result through time integration or discrete accumulation. However, in actual use, the shared interface is susceptible to factors such as plugging and unplugging operations, poor contact, intermittent connections, interface oxidation, and external electromagnetic disturbances. This causes the interface current-carrying state to exhibit obvious non-steady-state characteristics in a short period of time, such as sudden current changes, power spikes, or violent fluctuations in the electromagnetic field.

[0004] To address the above issues, existing technologies often employ fixed delays, simple thresholds, or empirical rules to control the start and stop of metering. However, these methods primarily rely on the electrical signal values ​​themselves for judgment, making it difficult to effectively distinguish between stable current-carrying phases and transient disturbance phases from a physical perspective. This can easily lead to the activation of electricity metering at the moment of interface plugging / unplugging, during contact abnormalities, or during electromagnetic interference, causing the instantaneous power during unstable phases to be directly included in the electricity integration. Consequently, the metering results may be too high or too low, affecting the accuracy and fairness of electricity metering.

[0005] Furthermore, existing power metering methods are typically based on integer-order integration or discrete accumulation of instantaneous power, assuming by default that the current-carrying state within the metering time period is continuous, stable, and equivalent, without distinguishing the reliability of power signals in different time periods. When the current-carrying state of the shared interface fluctuates, existing methods still use an equal-weighted accumulation method for power metering during that period, which can easily lead to short-term abnormal power or transient disturbance power being mistakenly included in the power metering results, reducing the reliability of the metering results.

[0006] Traditional power metering models typically use equal weighting or simple time weighting to calculate instantaneous power at different historical moments, lacking a memory-based adjustment mechanism for historical power information. In scenarios involving frequent plugging and unplugging of shared interfaces, load switching, or changes in the electromagnetic environment, this type of metering method with no or weak memory is unable to suppress the impact of abnormal power on the final power consumption result and is difficult to adapt to complex shared power environments.

[0007] Even though some existing technologies can detect electromagnetic disturbances, current fluctuations, or power anomalies, their applications are mostly concentrated on anomaly alarms or metering start-stop control. They have not yet incorporated physical characteristics reflecting current continuity, contact stability, and electromagnetic consistency into the electricity metering calculation process itself, nor have they adjusted the calculation structure for electricity accumulation. As a result, the adaptability and robustness of electricity metering methods in complex shared scenarios are still insufficient.

[0008] In view of this, the present invention proposes a power metering method for power sharing devices to solve the above problems. Summary of the Invention

[0009] To overcome the aforementioned deficiencies of the prior art and to achieve the above objectives, the present invention provides the following technical solution: a power metering method for a power sharing device, comprising:

[0010] S1. Collect electrical parameters at the shared interface of the power sharing device, filter and normalize the collected electrical parameters, and output them in the form of a continuous time series to form an electrical parameter sequence; based on the electrical parameter sequence, construct a characterization quantity of electromagnetic field change under the current-carrying state of the shared interface.

[0011] S2. Evaluate the change characteristics of the electromagnetic field change characterization quantity within a preset time window and generate a stability index; when the stability index meets the preset stability index threshold, determine that the current shared interface is in a stable state where power metering can be performed, and output the corresponding metering enable signal.

[0012] S3. After receiving the metering enable signal, determine the start time of electricity metering and define the effective time segment of electricity metering based on the start time of electricity metering.

[0013] S4. Within the effective time period, obtain the instantaneous power at the shared interface, and use fractional integral form to assign a decay weight with memory characteristics to the instantaneous power contribution at different historical moments. Perform power accumulation calculation on the instantaneous power to obtain the power metering result.

[0014] S5. Summarize the electricity metering results, generate the corresponding electricity metering values, and output the electricity metering values ​​to the electricity metering terminal.

[0015] Preferably, the method for collecting electrical parameters at the shared interface of the power sharing device includes:

[0016] A parameter acquisition unit is set at the shared interface of the power sharing device to collect the operating electrical parameters at the shared interface in real time. The parameter acquisition unit includes a voltage acquisition module, a current acquisition module and a synchronous sampling control module. The voltage acquisition module and the current acquisition module respectively collect the voltage parameters at both ends of the shared interface and the current parameters flowing through the shared interface.

[0017] The sampling timing of the voltage acquisition module and the current acquisition module is uniformly controlled by the synchronous sampling control module, so that the acquired voltage parameters and current parameters maintain a one-to-one correspondence in the time dimension, so as to form electrical parameters that reflect the actual current carrying state of the shared interface.

[0018] During the data acquisition process, the corresponding sampling frequency and sampling accuracy are set according to the rated electrical parameter range of the shared interface. The acquired electrical parameters are recorded in the order of sampling time, and the corresponding time identifier information is associated with the electrical parameters.

[0019] Preferably, the method for forming the electrical parameter sequence includes:

[0020] The acquired voltage and current parameters are filtered using low-pass filtering, band-pass filtering, or moving average.

[0021] After the filtering process is completed, the filtered voltage and current parameters are normalized. Based on the rated voltage and rated current ranges corresponding to the shared interface, the voltage and current parameters are proportionally mapped to eliminate differences in different dimensions and amplitude scales.

[0022] The filtered and normalized voltage and current parameters are arranged in the order of sampling time and time-aligned under a unified time base to form a continuous electrical parameter time series.

[0023] Preferably, the method for obtaining the electromagnetic field change characterization quantity includes:

[0024] Based on the current parameters corresponding to each time point in the electrical parameter sequence, and combined with the structural characteristics of the current-carrying conductor of the shared interface, the electromagnetic field state around the current-carrying conductor of the shared interface is characterized; according to the change of the current parameters in the time dimension, the change of the current parameters with time is mapped into a characteristic quantity of electromagnetic field change reflecting the electromagnetic field strength around the conductor.

[0025] Preferably, the method for generating stability indices includes:

[0026] Within a preset time window, based on the electromagnetic field change characterization quantity under the current-carrying state of the shared interface, the instantaneous magnetic field energy density of the shared interface conductor and the adjacent region of the interface conductor is calculated; the rate of change of the instantaneous magnetic field energy density in the time dimension is continuously integrated to evaluate and generate a stability index for quantifying the stability of the current-carrying state of the shared interface.

[0027] Preferably, the method for outputting the corresponding metering enable signal includes:

[0028] A preset stability index threshold is set, and the stability index is compared with the preset stability index threshold. When the stability index is less than the preset stability index threshold, it is determined that the shared interface is in a stable current-carrying state with a stable electromagnetic field change, and a corresponding power metering enable signal is generated to allow entry into the power metering stage. When the stability index is greater than or equal to the preset stability index threshold, it is determined that the shared interface is still in a transient disturbance or unstable current-carrying state, and the output of the power metering enable signal is suppressed.

[0029] Preferably, the method for defining the effective time interval for electricity metering includes:

[0030] When the metering enable signal is received, the corresponding timestamp is recorded as the stable confirmation time. The current carrying status of the shared interface is continuously checked within the preset backtracking time period before the stable confirmation time. When the stability index of the current carrying status of the shared interface continues to meet the preset stability index threshold within the preset backtracking time period, the start time of the preset backtracking time period or the next preset time after the preset backtracking time period is determined as the start time of electricity metering.

[0031] If, during the retrospective period, there is a current carrying state where the stability index of the shared interface current carrying state does not meet the preset stability index threshold, the start time of power metering will be postponed to the moment when the preset stability index threshold is met for the most recent consecutive time.

[0032] After determining the start time of electricity metering, the effective time interval of electricity metering is defined with the start time of electricity metering as the time reference, so that the effective time interval includes at least the time range in which the stability index continuously meets the preset stability index threshold.

[0033] The power metering operation is performed within the effective time period, and the stability index of the shared interface is continuously monitored during the power metering process. When the stability index of the current carrying state of the shared interface no longer meets the preset stability index threshold, the corresponding time is determined as the termination time of power metering, thereby closing the effective time period of the current power metering.

[0034] Preferably, the method for obtaining the electricity metering result includes:

[0035] Within the effective time period of power metering, the instantaneous power at the shared interface is continuously acquired; when accumulating the instantaneous power, a fractional integral form with memory characteristics is adopted so that the instantaneous power at different historical moments has different contribution weights in the power accumulation process.

[0036] Based on the stable current-carrying state of the current electromagnetic field change of the shared interface, the order parameter of the fractional integral is dynamically adjusted so that when the shared interface is in a stable electromagnetic field change and current-carrying state, the contribution weight of the instantaneous power at historical moments is weakened; and the instantaneous power is accumulated in a memory-based weighted manner within the effective time segment to generate the power metering result.

[0037] Preferably, the method for generating the corresponding electricity metering value and statistically outputting the electricity metering value to the electricity metering terminal includes:

[0038] The electricity metering results obtained within the effective time period are summarized to generate electricity metering values ​​corresponding to the shared electricity consumption process. During the generation of electricity metering values, consistency verification and integrity check are performed on the electricity metering values ​​to ensure that only electricity metering values ​​obtained under stable conditions where electricity metering can be performed are included in the electricity statistics.

[0039] After generating the electricity metering value, the electricity metering value is packaged according to the preset data format and associated with the corresponding metering time information and shared interface identification information to form the electricity metering data to be output externally. The electricity metering data is then statistically output to the electricity metering terminal for display and storage.

[0040] A power metering system for power sharing devices, comprising:

[0041] The interface parameter acquisition module is used to acquire electrical parameters at the shared interface of the power sharing device, filter and normalize the acquired electrical parameters, and output them in the form of a continuous time series to form an electrical parameter sequence; based on the electrical parameter sequence, a characterization quantity of electromagnetic field change under the current-carrying state of the shared interface is constructed.

[0042] The metering stability discrimination module evaluates the change characteristics of electromagnetic field change characteristics within a preset time window and generates a stability index. When the stability index meets the preset stability index threshold, it determines that the current shared interface is in a stable state where power metering can be performed, and outputs the corresponding metering enable signal.

[0043] The metering enable determination module, upon receiving the metering enable signal, determines the start time of electricity metering and, based on the start time of electricity metering, defines the effective time segment for electricity metering.

[0044] The memory-based power metering module acquires the instantaneous power at the shared interface within the effective time period, and uses fractional integral form to assign attenuation weights to the instantaneous power contribution at different historical moments with memory characteristics. It then performs power accumulation calculation on the instantaneous power to obtain the power metering result.

[0045] The power metering generation module summarizes the power metering results, generates the corresponding power metering values, and outputs the power metering values ​​to the power metering terminal.

[0046] Compared with the prior art, the present invention has the following beneficial effects:

[0047] This invention calculates the instantaneous magnetic field energy density of the current-carrying conductor and its adjacent area in a shared interface, and evaluates the rate of change of magnetic field energy over time. This directly reflects the electromagnetic field physical behavior corresponding to the current-carrying state, making metering decisions no longer solely dependent on electrical signal amplitude, but based on the objective foundation of current continuity and electromagnetic field stability, thus improving the physical rationality of the judgment. By integrating and evaluating the magnetic field energy change within a preset time window and comparing it with a stability index threshold, a metering enable signal is output only when the magnetic field change tends to stabilize. This mechanism avoids including transient plugging / unplugging, contact anomalies, and electromagnetic disturbances in the power statistics process, significantly reducing the risk of mismetering. It reduces the interference of instantaneous power fluctuations on the power integration results, resulting in better repeatability and consistency of metering results under different times and usage scenarios, making it suitable for high-frequency plugging / unplugging and complex usage environments of shared devices. The introduction of an equivalent permeability parameter in the magnetic field energy density calculation can be preset according to the interface structure, conductor material, and surrounding medium, enabling the method to adapt to different types of shared interfaces and installation environments, and possessing good engineering scalability. By linking stability indicators with metering enable signals, a constraint relationship is formed between stability judgment, metering enable, and electricity calculation in the metering process. This makes the logic of the entire electricity metering process more rigorous and provides a reliable enable control basis for electricity metering.

[0048] In the power metering process, a fractional integral with memory characteristics is adopted, giving the instantaneous power at different historical moments a weight that decays with time intervals in the power accumulation. This naturally introduces a historical memory and time decay mechanism into the power metering model. This effectively reduces the impact of abnormal and transient power far removed from the current moment on the power metering results, making the power accumulation process more consistent with the physical continuity of actual energy transmission. Based on the stability of the current electromagnetic field change at the shared interface, the order parameter of the fractional integral is dynamically adjusted, allowing electromagnetic stability to directly affect the decay intensity of historical power. This achieves direct control of the power metering memory depth by electromagnetic stability. The power metering results are simultaneously constrained by the magnitude of instantaneous power and the current-carrying stability of the shared interface, avoiding interference from insertion / removal transients, electromagnetic disturbances, and abnormal contact phases. Attached Figure Description

[0049] Figure 1 This is a schematic diagram of a power metering method for a power sharing device according to the present invention;

[0050] Figure 2 This is a schematic diagram of the power metering system structure of a power sharing device according to the present invention. Detailed Implementation

[0051] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0052] Example 1

[0053] Please see Figure 1 As shown, this embodiment provides a method for metering electricity consumption in a power-sharing device, specifically including the following steps:

[0054] S1. Collect electrical parameters at the shared interface of the power sharing device, filter and normalize the collected electrical parameters, and output them in the form of a continuous time series to form an electrical parameter sequence; based on the electrical parameter sequence, construct a characterization quantity of electromagnetic field change under the current-carrying state of the shared interface.

[0055] S2. Evaluate the change characteristics of the electromagnetic field change characterization quantity within a preset time window and generate a stability index; when the stability index meets the preset stability index threshold, determine that the current shared interface is in a stable state where power metering can be performed, and output the corresponding metering enable signal.

[0056] S3. After receiving the metering enable signal, determine the start time of electricity metering and define the effective time segment of electricity metering based on the start time of electricity metering.

[0057] S4. Within the effective time period, obtain the instantaneous power at the shared interface, and use fractional integral form to assign a decay weight with memory characteristics to the instantaneous power contribution at different historical moments. Perform power accumulation calculation on the instantaneous power to obtain the power metering result.

[0058] S5. Summarize the electricity metering results, generate the corresponding electricity metering values, and output the electricity metering values ​​to the electricity metering terminal.

[0059] Methods for collecting electrical parameters at the shared interface of power-sharing devices include:

[0060] A parameter acquisition unit is set at the shared interface of the power sharing device to collect the operating electrical parameters at the shared interface in real time. The parameter acquisition unit includes a voltage acquisition module, a current acquisition module and a synchronous sampling control module. The voltage acquisition module and the current acquisition module respectively collect the voltage parameters at both ends of the shared interface and the current parameters flowing through the shared interface.

[0061] It should be noted that the voltage acquisition module, current acquisition module, and synchronous sampling control module (usually triggered by a hardware timer ADC) set in the parameter acquisition unit are all common functional components in power measurement and embedded electronic systems.

[0062] The sampling timing of the voltage acquisition module and the current acquisition module is uniformly controlled by the synchronous sampling control module, so that the acquired voltage parameters and current parameters maintain a one-to-one correspondence in the time dimension, so as to form electrical parameters that reflect the actual current carrying state of the shared interface.

[0063] During the data collection process, the corresponding sampling frequency and sampling accuracy are set according to the rated electrical parameter range of the shared interface to ensure that the collected electrical parameters can fully characterize the instantaneous changes of the shared interface during shared power consumption. The collected electrical parameters are recorded in the order of sampling time, and the corresponding time identifier information is associated with the electrical parameters.

[0064] Methods for forming electrical parameter sequences include:

[0065] Low-pass filtering, band-pass filtering, or moving average are used to filter the collected voltage and current parameters to suppress high-frequency fluctuations caused by sampling noise, electromagnetic interference, or transient spikes, so that the electrical parameters can truly reflect the actual current-carrying state of the shared interface.

[0066] After the filtering process is completed, the filtered voltage and current parameters are normalized. Based on the rated voltage and rated current ranges corresponding to the shared interface, the voltage and current parameters are proportionally mapped to eliminate differences in different dimensions and amplitude scales.

[0067] The filtered and normalized voltage and current parameters are arranged in the order of sampling time and time-aligned under a unified time base to form a continuous electrical parameter time series.

[0068] Preferably, the method for obtaining the electromagnetic field change characterization quantity includes:

[0069] Based on the current parameters at each time point in the electrical parameter sequence, and combined with the structural characteristics of the shared interface current-carrying conductor, the electromagnetic field state around the shared interface current-carrying conductor is characterized.

[0070] It should be noted that characterizing the electromagnetic field state around the current-carrying conductor of the shared interface means introducing the geometric shape, conductor arrangement, and equivalent structural parameters of the current-carrying conductor in the shared interface as known conditions when using current parameters to characterize the electromagnetic field. Specifically, the current-carrying conductor in the shared interface usually has a definite structural form, such as a single conductor, a pair of conductors, or a multi-conductor parallel structure. The spatial orientation, cross-sectional area, and relative position of the conductors are determined parameters during the equipment design stage.

[0071] In constructing the electromagnetic field characterization, the aforementioned known conditions are used as structural constraints for electromagnetic field calculation or estimation. This ensures that the electromagnetic field state obtained based on current parameters reflects the real physical structural environment of the shared interface, rather than an abstract ideal conductor model. Within the operating frequency range of the shared interface, a quasi-static electromagnetic field assumption can be adopted, meaning that the magnetic field around the conductor is mainly determined by the current-carrying current, and the influence of high-frequency radiation effects on the electromagnetic field distribution can be ignored. This allows the electromagnetic field state to be effectively characterized through current parameters and conductor structural characteristics.

[0072] Based on the changes in current parameters over time, the changes in current parameters over time are mapped to electromagnetic field changes that reflect the intensity of the electromagnetic field around the conductor.

[0073] It should be noted that in this invention, based on the current parameters corresponding to each time point in the electrical parameter sequence, a quasi-static electromagnetic field assumption is adopted within the operating frequency range of the current-carrying conductor of the shared interface. This assumption considers that the magnetic field strength around the current-carrying conductor changes with the current flowing through it. Based on this, the current parameter is used as the equivalent excitation quantity for the change in the electromagnetic field. By processing the change of the current parameter in the time dimension, the current parameter at each time point is mapped to the corresponding electromagnetic field strength characterization value.

[0074] Specifically, the current parameters obtained by continuous sampling in the electrical parameter sequence are arranged in chronological order and processed under a unified time reference so that the current parameter at each moment corresponds one-to-one with the electromagnetic field strength characterization value at the corresponding moment. By establishing the proportional relationship or functional mapping relationship between the current parameter and the electromagnetic field strength, the instantaneous amplitude of the current parameter and its trend of change over time are converted into an electromagnetic field change characterization quantity that reflects the change of electromagnetic field strength around the current-carrying conductor.

[0075] Methods for generating stability indices include:

[0076] Within a preset time window, based on the electromagnetic field change characterization quantity under the current-carrying state of the shared interface, the instantaneous magnetic field energy density of the shared interface conductor and the adjacent region of the interface conductor is calculated to characterize the electromagnetic field physical properties corresponding to the current-carrying state.

[0077] The instantaneous magnetic field energy density is: ;in, Indicates the shared interface current-carrying conductor at time... The magnetic field energy density per unit volume in the surrounding area; Index variable representing time; This represents the equivalent permeability of the medium where the shared interface is located. It is used to reflect the influence of the surrounding material environment of the current-carrying conductor on the magnetic field distribution. The value can be preset according to the interface structure, conductor material and surrounding medium. Indicates at time The instantaneous magnetic induction intensity collected around the shared interface can be obtained by arranging a magnetic field sensing unit (Hall sensor) around the current-carrying conductor of the shared interface; Indicates instantaneous magnetic induction intensity The magnitude of the magnetic field is used to reflect the instantaneous strength of the magnetic field. Indicates instantaneous magnetic field strength;

[0078] The rate of change of instantaneous magnetic field energy density over time is continuously integrated to evaluate the stability index used to quantify the stability of the current-carrying state of the shared interface.

[0079] The stability index is: ;in, This represents the stability index of the shared interface metering, used to quantify the smoothness of the magnetic field energy change under the current-carrying state of the shared interface within a preset time window; This indicates the preset time window length, used to limit the time range for evaluating changes in the magnetic field, in order to avoid the impact of transient disturbances on measurement judgments; This indicates the start time of the current stability assessment process; It represents the rate of change of magnetic field energy density over time, and is used to characterize the speed and continuity of changes in magnetic field energy. It represents the absolute value of the rate of change of magnetic field energy density with time;

[0080] Methods for outputting the corresponding metering enable signal include:

[0081] A preset stability index threshold is set, and the stability index is compared with the preset stability index threshold. When the stability index is less than the preset stability index threshold, it is determined that the shared interface is in a stable current-carrying state with a stable electromagnetic field change, and a corresponding power metering enable signal is generated to allow entry into the power metering stage.

[0082] When the stability index is greater than or equal to the preset stability index threshold, it is determined that the shared interface is still in a transient disturbance or unstable current-carrying state, and the output of the power metering enable signal is suppressed, thereby avoiding the inclusion of the plugging and unplugging transient, contact abnormal and electromagnetic disturbance stages in the power metering process.

[0083] This solution addresses the following technical problems in existing technologies: Current power-sharing devices typically perform power metering on shared interfaces by directly integrating voltage, current, or power signals. This leads to several issues: In practical use, shared interfaces are susceptible to factors such as insertion / removal operations, poor contact, intermittent connections, interface oxidation, and external electromagnetic disturbances, causing the current-carrying state to exhibit significant non-steady-state characteristics within a short period. Existing technologies often rely on fixed delays or simple threshold judgments, failing to physically distinguish between stable current-carrying and transient disturbance phases, easily initiating metering during unstable phases. Sudden current fluctuations during interface insertion / removal, current abrupt changes, or external electromagnetic interference can cause significant instantaneous current and power fluctuations. Directly incorporating these fluctuations into power integration can result in overestimation or underestimation of the measurement results, affecting accuracy and fairness. Traditional metering methods focus on the electrical signal values ​​themselves, failing to introduce physical quantities reflecting current continuity, contact stability, and electromagnetic consistency. This results in insufficient reliability of pre-metering state assessment and poor adaptability to complex sharing scenarios.

[0084] The advantages over existing technologies are as follows: By calculating the instantaneous magnetic field energy density of the current-carrying conductor and its adjacent area in the shared interface, and evaluating the rate of change of magnetic field energy over time, the method directly reflects the electromagnetic field physical behavior corresponding to the current-carrying state. This allows the measurement judgment to no longer rely solely on the amplitude of the electrical signal, but to be based on the objective foundation of current continuity and electromagnetic field stability, thus improving the physical rationality of the judgment. By integrating and evaluating the magnetic field energy change within a preset time window and comparing it with a stability index threshold, the method outputs a measurement enable signal only when the magnetic field change tends to stabilize. This mechanism avoids including transient insertion / removal, contact abnormalities, and electromagnetic disturbances in the power statistics process, significantly reducing the risk of mismeasurement. It can reduce the interference of instantaneous power fluctuations on the power integration results, making the measurement results under different times and usage scenarios more repeatable and consistent, suitable for high-frequency insertion / removal and complex usage environments of shared devices. The introduction of an equivalent permeability parameter in the magnetic field energy density calculation can be preset according to the interface structure, conductor material, and surrounding medium, enabling the method to adapt to different types of shared interfaces and installation environments, and has good engineering scalability. By linking stability indicators with metering enable signals, a constraint relationship is formed between stability judgment, metering enable, and electricity calculation in the metering process. This makes the logic of the entire electricity metering process more rigorous and provides a reliable enable control basis for electricity metering.

[0085] Methods for defining the effective time interval for electricity metering include:

[0086] When the metering enable signal is received, the corresponding timestamp is recorded as the stable confirmation time. The current carrying status of the shared interface is continuously checked within the preset backtracking time period before the stable confirmation time. When the stability index of the current carrying status of the shared interface continues to meet the preset stability index threshold within the preset backtracking time period, the start time of the preset backtracking time period or the next preset time after the preset backtracking time period is determined as the start time of electricity metering.

[0087] If, during the retrospective period, there is a current carrying state where the stability index of the shared interface current carrying state does not meet the preset stability index threshold, the start time of power metering will be postponed to the moment when the preset stability index threshold is met for the most recent consecutive time.

[0088] After determining the start time of electricity metering, the effective time interval of electricity metering is defined with the start time of electricity metering as the time reference, so that the effective time interval includes at least the time range in which the stability index continuously meets the preset stability index threshold.

[0089] The power metering operation is performed within the effective time period, and the stability index of the shared interface is continuously monitored during the power metering process. When the stability index of the current carrying state of the shared interface no longer meets the preset stability index threshold, the corresponding time is determined as the termination time of power metering, thereby closing the effective time period of the current power metering and preventing unstable current carrying phases from being included in the power metering process.

[0090] Methods for obtaining electricity metering results include:

[0091] Within the effective time period of power metering, the instantaneous power at the shared interface is continuously acquired to characterize the energy transmission status of the shared interface at different time points. When accumulating the instantaneous power, a fractional integral form with memory characteristics is adopted so that the instantaneous power at different historical moments has different contribution weights in the power accumulation process. The contribution weight of the instantaneous power at historical moments decays with the time interval between the current moment and the historical moment to reflect the memory characteristics of power metering for historical power information.

[0092] The order parameter of the fractional integral is dynamically adjusted according to the stable current-carrying state of the current electromagnetic field change of the shared interface, so that when the shared interface is in a stable electromagnetic field change and stable current-carrying state, the contribution weight of the instantaneous power at historical moments is reduced.

[0093] When the electromagnetic field stability of the shared interface decreases or there is a disturbance trend, the contribution weight of historical instantaneous power decreases and increases, thereby reducing the impact of instantaneous power on the power metering results during the unstable current carrying phase; within the effective time period, the instantaneous power is accumulated with memory-based weighting to generate power metering results, so that the power metering process is simultaneously constrained by the magnitude of instantaneous power and the current carrying stability of the shared interface.

[0094] The electricity metering results are as follows: ;in, Indicates at time The corresponding electricity metering results; Indicating a historical moment The instantaneous power at the shared interface was obtained; This represents the gamma function, used to normalize the scale of the energy metering operator; The memory decay kernel function, which varies with time intervals, is used to characterize the weighting of the influence of instantaneous power at different historical moments on the current power result. The order parameter of the fractional integral is a dynamic parameter that changes with time. Index variables representing historical moments, located within the valid time range;

[0095] The order parameter of the adjusted fractional integral is: ;in, This represents the order parameter of the adjusted fractional integral; This represents the weighting coefficient used to adjust the strength of the influence of the stability index on the fractional order. Indicates at time Shared interface metering stability indicators;

[0096] The following technical problems in existing technologies have been addressed: In existing technologies, electricity metering is typically based on integer-order integration or discrete accumulation of instantaneous power, assuming that the current-carrying state within the metering period is continuous, stable, and equivalent. This approach ignores the unavoidable issues of plug-and-play disturbances, contact jitter, and electromagnetic transient fluctuations that inevitably occur during the actual use of shared interfaces. When the current-carrying state fluctuates, existing methods still perform equal-weighted metering of the instantaneous power in that stage, easily miscounting the energy from unstable current-carrying stages into the electricity result, thus reducing metering accuracy and reliability. Traditional electricity metering models typically use equal-weighted accumulation or simple time-weighted methods for instantaneous power at different historical moments. In scenarios where the shared interface exhibits state changes, this memoryless or weakly memory-based metering method struggles to suppress the impact of short-term abnormal power and transient disturbances on the final electricity result. Even when some existing technologies detect electromagnetic disturbances and current fluctuations, they are mostly used for abnormal alarms or metering start / stop judgments, without incorporating electromagnetic stability into the electricity metering calculation to adjust the calculation structure of electricity accumulation.

[0097] The advantages over existing technologies are as follows: The use of a fractional integral with memory characteristics in the power metering process allows the instantaneous power at different historical moments to contribute a weighted amount to the power accumulation process, which decays over time. This naturally introduces a historical memory and time decay mechanism into the power metering model. It effectively reduces the impact of abnormal and transient power far removed from the current moment on the power metering results, making the power accumulation process more consistent with the physical continuity of actual energy transmission. Based on the current stability of the electromagnetic field at the shared interface, the order parameter of the fractional integral is dynamically adjusted, allowing electromagnetic stability to directly affect the decay intensity of historical power, thus achieving direct control of the power metering memory depth by electromagnetic stability. This ensures that the power metering results are simultaneously constrained by the magnitude of the instantaneous power and the current-carrying stability of the shared interface, avoiding interference from insertion / removal transients, electromagnetic disturbances, and abnormal contact phases.

[0098] Methods for generating corresponding electricity metering values ​​and statistically outputting these values ​​to the electricity metering terminal include:

[0099] The electricity metering results obtained within the effective time period are summarized to generate electricity metering values ​​corresponding to the shared electricity consumption process. During the generation of electricity metering values, consistency verification and integrity check are performed on the electricity metering values ​​to ensure that only electricity metering values ​​obtained in a stable state where electricity metering can be performed are included in the electricity statistics range, thereby avoiding duplicate or missed metering caused by metering enable state switching, time period boundary changes or short-term anomalies.

[0100] It should be noted that the consistency verification process includes maintaining a corresponding metering status identifier for each valid time segment during the electricity metering process. The metering status identifier is used to indicate whether the shared interface is in a stable state where electricity metering can be performed within that time segment. When summarizing the electricity metering results, the electricity metering results participating in the summary are matched and verified with the metering status identifier of the corresponding time segment. When the time segment corresponding to a certain electricity metering result is not in the metering enabled state, or its metering status identifier is inconsistent with the current metering cycle, the electricity metering result is removed from the electricity statistics range or marked as invalid data.

[0101] The integrity verification process includes generating a theoretical metering time series based on the metering start time, metering end time, and preset metering sampling period; comparing the time index corresponding to the actual electricity metering results that participated in the electricity aggregation with the theoretical metering time series; when continuous missing, abnormal jumps, or overlapping metering results are detected in the time series, it is determined that the current electricity metering value has an integrity risk, and compensation, recalculation, or removal processing is performed on the corresponding time period.

[0102] After generating the electricity metering value, the electricity metering value is packaged according to the preset data format and associated with the corresponding metering time information and shared interface identification information to form the electricity metering data to be output externally. The electricity metering data is then statistically output to the electricity metering terminal for display and storage.

[0103] It should be noted that the preset data format is a structured metering data format, which includes at least an electricity metering value field, a metering time information field, a shared interface identification information field, and an optional metering status field. The electricity metering value field is used to record the electricity metering result corresponding to this shared electricity consumption process. The metering time information field is used to identify the metering start time, metering end time, or metering cycle corresponding to the electricity metering value. The shared interface identification information field is used to uniquely identify the shared interface or power consumption channel that generated the electricity metering value. The optional metering status field is used to indicate whether the electricity metering value has passed the consistency check and integrity verification. The preset data format can be implemented using a binary data structure, a key-value pair structure, or a table structure. The specific form can be preset according to the interface requirements of the electricity metering terminal or the upper-level system, but it does not affect the essence of the technical solution of this invention.

[0104] The preset stability index threshold is set by staff based on historical data analysis results. This historical analysis process includes the system collecting multiple stability indicators and calculating their average value as a reference to obtain the preset stability index threshold, which can be adjusted by staff according to the actual situation during system operation.

[0105] This embodiment calculates the instantaneous magnetic field energy density of the current-carrying conductor and its adjacent area at the shared interface, and evaluates the rate of change of magnetic field energy over time. This directly reflects the electromagnetic field physical behavior corresponding to the current-carrying state, making the measurement judgment no longer solely dependent on the amplitude of the electrical signal, but based on the objective foundation of current continuity and electromagnetic field stability, thus improving the physical rationality of the judgment. By integrating and evaluating the magnetic field energy change within a preset time window and comparing it with a stability index threshold, the measurement enable signal is output only when the magnetic field change tends to stabilize. This mechanism avoids including transient insertion / removal, contact abnormalities, and electromagnetic disturbances in the power statistics process, significantly reducing the risk of mismeasurement. It can reduce the interference of instantaneous power fluctuations on the power integration results, making the measurement results under different times and usage scenarios more repeatable and consistent, suitable for high-frequency insertion / removal and complex usage environments of shared devices. The introduction of an equivalent permeability parameter in the magnetic field energy density calculation can be preset according to the interface structure, conductor material, and surrounding medium, enabling the method to adapt to different types of shared interfaces and installation environments, and has good engineering scalability. By linking stability indicators with metering enable signals, a constraint relationship is formed between stability judgment, metering enable, and electricity calculation in the metering process. This makes the logic of the entire electricity metering process more rigorous and provides a reliable enable control basis for electricity metering.

[0106] In the power metering process, a fractional integral with memory characteristics is adopted, giving the instantaneous power at different historical moments a weight that decays with time intervals in the power accumulation. This naturally introduces a historical memory and time decay mechanism into the power metering model. This effectively reduces the impact of abnormal and transient power far removed from the current moment on the power metering results, making the power accumulation process more consistent with the physical continuity of actual energy transmission. Based on the stability of the current electromagnetic field change at the shared interface, the order parameter of the fractional integral is dynamically adjusted, allowing electromagnetic stability to directly affect the decay intensity of historical power. This achieves direct control of the power metering memory depth by electromagnetic stability. The power metering results are simultaneously constrained by the magnitude of instantaneous power and the current-carrying stability of the shared interface, avoiding interference from insertion / removal transients, electromagnetic disturbances, and abnormal contact phases.

[0107] Example 2

[0108] Please see Figure 2 As shown, parts not described in detail in this embodiment are described in Embodiment 1. A power metering system for a power sharing device is provided, including:

[0109] The interface parameter acquisition module is used to acquire electrical parameters at the shared interface of the power sharing device, filter and normalize the acquired electrical parameters, and output them in the form of a continuous time series to form an electrical parameter sequence; based on the electrical parameter sequence, a characterization quantity of electromagnetic field change under the current-carrying state of the shared interface is constructed.

[0110] The metering stability discrimination module evaluates the change characteristics of electromagnetic field change characteristics within a preset time window and generates a stability index. When the stability index meets the preset stability index threshold, it determines that the current shared interface is in a stable state where power metering can be performed, and outputs the corresponding metering enable signal.

[0111] The metering enable determination module, upon receiving the metering enable signal, determines the start time of electricity metering and, based on the start time of electricity metering, defines the effective time segment for electricity metering.

[0112] The memory-based power metering module acquires the instantaneous power at the shared interface within the effective time period, and uses fractional integral form to assign attenuation weights to the instantaneous power contribution at different historical moments with memory characteristics. It then performs power accumulation calculation on the instantaneous power to obtain the power metering result.

[0113] The power metering generation module summarizes the power metering results, generates the corresponding power metering values, and outputs the power metering values ​​to the power metering terminal.

[0114] The above formulas are all dimensionless calculations. The formulas are derived from software simulations based on a large amount of collected data to obtain the most recent real-world results. The preset parameters and thresholds in the formulas are set by those skilled in the art according to the actual situation.

[0115] The above description is merely a preferred embodiment of the present invention. The scope of protection of the present invention is not limited to the above embodiments. All technical solutions falling within the scope of the present invention's concept are within the scope of protection of the present invention. It should be noted that for those skilled in the art, any improvements and modifications made without departing from the principles of the present invention should also be considered within the scope of protection of the present invention.

Claims

1. A power sharing device power metering method, characterized by, include: S1. Collect electrical parameters at the shared interface of the power sharing device, filter and normalize the collected electrical parameters, and output them in the form of a continuous time series to form an electrical parameter sequence; based on the electrical parameter sequence, construct a characterization quantity of electromagnetic field change under the current-carrying state of the shared interface. S2. Evaluate the change characteristics of electromagnetic field change parameters within a preset time window and generate stability indicators. When the stability index meets the preset stability index threshold, the current shared interface is determined to be in a stable state where power metering can be performed, and the corresponding metering enable signal is output. The method for generating stability indices includes: Within a preset time window, based on the electromagnetic field change characterization quantity under the current-carrying state of the shared interface, the instantaneous magnetic field energy density of the shared interface conductor and the adjacent region of the interface conductor is calculated. The rate of change of the instantaneous magnetic field energy density in the time dimension is continuously integrated to evaluate and generate a stability index for quantifying the stability of the current-carrying state of the shared interface. S3. After receiving the metering enable signal, determine the start time of electricity metering and define the effective time segment of electricity metering based on the start time of electricity metering. S4. Within the effective time period, obtain the instantaneous power at the shared interface, and use fractional integral form to assign a decay weight with memory characteristics to the instantaneous power contribution at different historical moments. Perform power accumulation calculation on the instantaneous power to obtain the power metering result. The method for obtaining the electricity metering results includes: Within the effective time period of power metering, the instantaneous power at the shared interface is continuously acquired. When accumulating the instantaneous power, a fractional integral form with memory characteristics is adopted so that the instantaneous power at different historical moments has different contribution weights in the power accumulation process. The order parameter of the fractional integral is dynamically adjusted based on the stable current-carrying state of the electromagnetic field change at the shared interface. This reduces the contribution weight of instantaneous power at historical moments when the shared interface is in a stable electromagnetic field change and current-carrying state. Within the effective time interval, the instantaneous power is accumulated with memory-based weighting to generate power metering results. S5. Summarize the electricity metering results, generate the corresponding electricity metering values, and output the electricity metering values ​​to the electricity metering terminal.

2. The power sharing device power metering method of claim 1, wherein, The method for collecting electrical parameters at the shared interface of the power sharing device includes: A parameter acquisition unit is set at the shared interface of the power sharing device to collect the operating electrical parameters at the shared interface in real time. The parameter acquisition unit includes a voltage acquisition module, a current acquisition module and a synchronous sampling control module. The voltage acquisition module and the current acquisition module respectively collect the voltage parameters at both ends of the shared interface and the current parameters flowing through the shared interface. The sampling timing of the voltage acquisition module and the current acquisition module is uniformly controlled by the synchronous sampling control module, so that the acquired voltage parameters and current parameters maintain a one-to-one correspondence in the time dimension, so as to form electrical parameters that reflect the actual current carrying state of the shared interface. During the data acquisition process, the corresponding sampling frequency and sampling accuracy are set according to the rated electrical parameter range of the shared interface. The acquired electrical parameters are recorded in the order of sampling time, and the corresponding time identifier information is associated with the electrical parameters.

3. The power sharing device power metering method of claim 2, wherein, The method for forming the electrical parameter sequence includes: The acquired voltage and current parameters are filtered by low-pass filtering, band-pass filtering, or moving average. After filtering, the filtered voltage and current parameters are normalized. Based on the rated voltage and rated current ranges corresponding to the shared interface, the voltage and current parameters are proportionally mapped to eliminate differences in different dimensions and amplitude scales. The filtered and normalized voltage and current parameters are arranged in the order of sampling time and time-aligned under a unified time base to form a continuous electrical parameter time series.

4. The power metering method for a power sharing device according to claim 3, characterized in that, The method for obtaining the electromagnetic field change characterization quantity includes: Based on the current parameters corresponding to each time point in the electrical parameter sequence, and combined with the structural characteristics of the current-carrying conductor of the shared interface, the electromagnetic field state around the current-carrying conductor of the shared interface is characterized; according to the change of the current parameters in the time dimension, the change of the current parameters with time is mapped into a characteristic quantity of electromagnetic field change reflecting the electromagnetic field strength around the conductor.

5. The power sharing device power metering method of claim 4, wherein, The method for outputting the corresponding metering enable signal includes: A preset stability index threshold is set, and the stability index is compared with the preset stability index threshold. When the stability index is less than the preset stability index threshold, it is determined that the shared interface is in a stable current-carrying state with a stable electromagnetic field change, and a corresponding power metering enable signal is generated to allow entry into the power metering stage. When the stability index is greater than or equal to the preset stability index threshold, it is determined that the shared interface is still in a transient disturbance or unstable current-carrying state, and the output of the power metering enable signal is suppressed.

6. The power sharing device power metering method of claim 5, wherein, The method for defining the effective time interval for electricity metering includes: When the metering enable signal is received, the corresponding timestamp is recorded as the stable confirmation time. The current carrying status of the shared interface is continuously checked within the preset backtracking time period before the stable confirmation time. When the stability index of the current carrying status of the shared interface continues to meet the preset stability index threshold within the preset backtracking time period, the start time of the preset backtracking time period or the next preset time after the preset backtracking time period is determined as the start time of electricity metering. If, during the retrospective period, there is a current carrying state where the stability index of the shared interface current carrying state does not meet the preset stability index threshold, the start time of power metering will be postponed to the moment when the preset stability index threshold is met for the most recent consecutive time. After determining the start time of electricity metering, the effective time interval of electricity metering is defined with the start time of electricity metering as the time reference, so that the effective time interval includes at least the time range in which the stability index continuously meets the preset stability index threshold. The power metering operation is performed within the effective time period, and the stability index of the shared interface is continuously monitored during the power metering process. When the stability index of the current carrying state of the shared interface no longer meets the preset stability index threshold, the corresponding time is determined as the termination time of power metering, thereby closing the effective time period of the current power metering.

7. The power metering method for a power sharing device according to claim 6, characterized in that, The method for generating corresponding electricity metering values ​​and statistically outputting the electricity metering values ​​to the electricity metering terminal includes: The electricity metering results obtained within the effective time period are summarized to generate electricity metering values ​​corresponding to the shared electricity consumption process. During the generation of electricity metering values, consistency verification and integrity check are performed on the electricity metering values ​​to ensure that only electricity metering values ​​obtained under stable conditions where electricity metering can be performed are included in the electricity statistics. After generating the electricity metering value, the electricity metering value is packaged according to the preset data format and associated with the corresponding metering time information and shared interface identification information to form the electricity metering data to be output externally. The electricity metering data is then statistically output to the electricity metering terminal for display and storage.

8. A power sharing device power metering system for implementing the power sharing device power metering method of any one of claims 1 to 7, characterized in that, include: The interface parameter acquisition module is used to acquire electrical parameters at the shared interface of the power sharing device, filter and normalize the acquired electrical parameters, and output them in the form of a continuous time series to form an electrical parameter sequence; based on the electrical parameter sequence, a characterization quantity of electromagnetic field change under the current-carrying state of the shared interface is constructed. The metrological stability discrimination module evaluates the change characteristics of electromagnetic field change characteristics within a preset time window and generates stability indices. When the stability index meets the preset stability index threshold, the current shared interface is determined to be in a stable state where power metering can be performed, and the corresponding metering enable signal is output. The metering enable determination module, upon receiving the metering enable signal, determines the start time of electricity metering and, based on the start time of electricity metering, defines the effective time segment for electricity metering. The memory-based power metering module acquires the instantaneous power at the shared interface within the effective time period, and uses fractional integral form to assign attenuation weights to the instantaneous power contribution at different historical moments with memory characteristics. It then performs power accumulation calculation on the instantaneous power to obtain the power metering result. The power metering generation module summarizes the power metering results, generates the corresponding power metering values, and outputs the power metering values ​​to the power metering terminal.

Citation Information

Patent Citations

  • Charging electric energy metering method, device, equipment, medium and computer program product

    CN114325086A