Intelligent fusion terminal and input pulse metering and power calculation method thereof

By detecting and correcting the total number of original pulses in the intelligent fusion terminal, and using the multiplier factor and compensation factor for nonlinear filtering, the fluctuation and error problems caused by external factors in pulse metering are solved, and stable pulse acquisition and power calculation are realized.

CN122361892APending Publication Date: 2026-07-10QINGDAO ITECHENE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
QINGDAO ITECHENE TECH CO LTD
Filing Date
2026-06-08
Publication Date
2026-07-10

AI Technical Summary

Technical Problem

In pulse metering, external factors can cause instantaneous fluctuations or random errors in the raw pulse count per unit time, leading to power calculation distortion and misjudgment.

Method used

By detecting the rising or falling edge of the pulse signal, the total number of original pulses within the statistical period is determined and corrected. The correction is performed using a multiplier factor and a compensation factor to obtain the corrected number of pulses, thereby achieving nonlinear filtering to suppress abnormal jitter.

Benefits of technology

It achieves zero loss in long-term continuous pulse acquisition, reduces dependence on hardware filtering circuits, saves terminal costs, and is compatible with resource-constrained embedded terminals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122361892A_ABST
    Figure CN122361892A_ABST
Patent Text Reader

Abstract

This invention discloses an intelligent fusion terminal and its input pulse metering and power calculation method. The pulse metering method of the intelligent fusion terminal determines the total number of original pulses detected within a statistical period, corrects the total number of detected original pulses, calculates the original pulse density within the statistical period, and corrects the original pulse density based on the relationship between the original pulse density and the correction interval using a multiplier factor and a compensation factor, or a multiplier factor, a compensation factor, and an offset, to obtain the corrected pulse count. This invention can achieve zero-loss long-term continuous pulse acquisition, reduces dependence on hardware filtering circuits, saves terminal costs, has low computational complexity, and is adaptable to resource-constrained embedded terminals.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of power metering technology, specifically, it relates to an intelligent fusion terminal and its input pulse metering and power calculation method. Background Technology

[0002] The basic principle of pulse metering is to convert electrical energy into countable electrical signals. A dedicated metering chip inside the meter collects voltage and current signals in real time, calculates instantaneous power and active power, and converts the energy value into a pulse train output with a frequency proportional to the power. The smart fusion terminal receives these pulses and, based on the meter constant and transformer ratio, calculates key data such as real-time power, ultimately uploading it to the main station system. However, in practical applications, pulse signals are susceptible to electromagnetic interference, contact jitter, changes in signal line impedance, or clock deviations at the acquisition terminal, leading to instantaneous fluctuations or random errors in the raw pulse count per unit time. Directly using the raw pulse count for power calculation can cause power jumps, distortion of total power input, and even misjudgments of user load behavior by the main station.

[0003] The information disclosed in this background section is only intended to enhance the understanding of the background technology of this application, and therefore may include prior art that is not known to those skilled in the art. Summary of the Invention

[0004] This invention proposes an intelligent fusion terminal and its input pulse metering and power calculation method to solve the technical problem of instantaneous fluctuations or random errors in the original pulse count per unit time caused by external factors.

[0005] To achieve the above-mentioned invention / design objectives, the present invention adopts the following technical solution:

[0006] An input pulse metering method for an intelligent fusion terminal, the method comprising:

[0007] Detect the rising or falling edge of the pulse signal to determine the total number of original pulses detected within the statistical period T as N. raw ;

[0008] The total number of detected raw pulses is N raw Perform correction:

[0009] Calculate the original pulse density k=N within the statistical period T. raw / T;

[0010] Obtain the scaling factor α, compensation factor β, offset δ, and correction interval;

[0011] When the original pulse density is outside the correction range, the number of corrected pulses ;

[0012] When the original pulse density is within the correction interval, the number of corrected pulses ;

[0013] The multiplier factor α and the compensation factor β are determined based on the statistical period T. The multiplier factor α is used to amplify the number of pulses per second to a quantifiable integer range, and the compensation factor β is used to restore the processed pulses per second to the number of pulses per minute. The correction range is determined in advance through experiments.

[0014] As described above, the input pulse measurement method for the intelligent fusion terminal is T=α×β, where α>1 / lower limit of the correction interval.

[0015] As described above, in the input pulse metering method of the intelligent fusion terminal, the multiplier factor α includes α1, α2, and α3, where α1 > α2 > α3, and the compensation factor β includes β1, β2, and β3, where β1 < β2 < β3.

[0016] When the original pulse density is less than the lower limit of the correction interval, the number of corrected pulses... ;

[0017] When the original pulse density is within the correction interval, the number of corrected pulses ;

[0018] When the original pulse density is greater than the upper limit of the correction interval, the number of corrected pulses... .

[0019] As described above, the input pulse measurement method for the intelligent fusion terminal is T=α1×β1=α2×β2=α3×β3, where α2>1 / the lower limit of the correction interval.

[0020] A power calculation method for an intelligent fusion terminal, wherein the pulse number N is obtained through the pulse metering method described above. corr Calculate the power.

[0021] A smart converged terminal, the terminal comprising:

[0022] The pulse detection module is used to detect the rising or falling edge of the pulse signal and determine the total number of original pulses detected within the statistical period T as N. raw ;

[0023] The storage module is used to store the magnification factor α, compensation factor α, offset δ, and correction interval;

[0024] The correction module is used to correct the total number of detected raw pulses N. raw Perform correction:

[0025] Calculate the original pulse density k=N within the statistical period T. raw / T;

[0026] Obtain the scaling factor α, compensation factor β, offset δ, and correction interval;

[0027] When the original pulse density is outside the correction range, the number of corrected pulses ;

[0028] When the original pulse density is within the correction interval, the number of corrected pulses ;

[0029] The multiplier factor α and the compensation factor β are determined based on the statistical period T. The multiplier factor α is used to amplify the number of pulses per second to a quantifiable integer range, and the compensation factor β is used to restore the processed pulses per second to the number of pulses per minute. The correction range is determined in advance through experiments.

[0030] As described above, for the intelligent fusion terminal, T = α × β, where α > 1 / the lower limit of the correction interval.

[0031] As described above, in the intelligent fusion terminal, the storage module is used to store the multiplier factors α1, α2, α3 and the compensation factors β1, β2, β3, where α1 > α2 > α3 and β1 < β2 < β3.

[0032] The correction module is used to adjust the number of corrected pulses when the original pulse density is less than the lower limit of the correction interval. ;

[0033] When the original pulse density is within the correction interval, the number of corrected pulses ;

[0034] When the original pulse density is greater than the upper limit of the correction interval, the number of corrected pulses... .

[0035] As described above, for the intelligent fusion terminal, T = α1 × β1 = α2 × β2 = α3 × β3, where α2 is greater than 1 / the lower limit of the correction interval.

[0036] The intelligent fusion terminal described above includes a power calculation module, used to calculate the power based on the corrected pulse number N. corr Calculate the power.

[0037] Compared with existing technologies, the advantages and positive effects of this invention are as follows: The input pulse measurement method for intelligent fusion terminals determines the total number of original pulses detected within a statistical period T, corrects the total number of detected original pulses, calculates the original pulse density within the statistical period, and corrects the original pulse density based on the relationship between the original pulse density and the correction interval using a multiplier factor and a compensation factor, or a multiplier factor, a compensation factor, and an offset, to obtain the corrected pulse count. This invention can achieve zero-loss acquisition of continuous pulses over long periods, reduces dependence on hardware filtering circuits, saves terminal costs, has low computational complexity, and is compatible with resource-constrained embedded terminals.

[0038] Other features and advantages of the present invention will become clearer after reading the detailed embodiments of the invention in conjunction with the accompanying drawings. Attached Figure Description

[0039] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0040] Figure 1 This is a flowchart of the input pulse metering method of the intelligent fusion terminal according to a specific embodiment of the present invention.

[0041] Figure 2 This is a principle block diagram of the intelligent fusion terminal according to a specific embodiment of the present invention. Detailed Implementation

[0042] 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.

[0043] In the description of this invention, it should be understood that the terms "center", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this invention.

[0044] In the description of this invention, it should be noted that, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "joining" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific circumstances. In the description of embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.

[0045] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.

[0046] In the description of this invention, unless otherwise stated, "a plurality of" means two or more.

[0047] The core principle of the intelligent fusion terminal and its input pulse metering method is based on the engineering observation that "the pulse generation rate should have local stability within a short time (1 minute)." The original pulse count N... raw Ideally, the pulse count should be strictly proportional to the power; however, real-world interference can cause pulse loss or extra counts within minute timescales, resulting in a deviation of the theoretical pulse count per second. The intelligent fusion terminal and its input pulse metering method in this embodiment, which uses pulse density segmentation, scaling, and offset correction, is essentially a lightweight nonlinear filter suitable for resource-constrained fusion terminals.

[0048] A method for measuring the input pulses of an intelligent fusion terminal is proposed, which corrects the original pulse counting result based on the average number of pulses within a specific period, and uses the corrected pulses to calculate the data required by the terminal.

[0049] The input pulse metering method for the intelligent fusion terminal is as follows:

[0050] Detect the rising or falling edge of the pulse signal to determine the total number of original pulses detected within the statistical period T as N. raw .

[0051] In some embodiments, the intelligent fusion terminal periodically detects the rising or falling edge of a pulse signal from a pulse meter or other pulse output device. Within a fixed time window, the total number of raw pulses detected within that time window is counted. The fixed time window increments by minutes, and the count register is reset every minute. For example, the total number of raw pulses detected within a statistical period T (60 seconds) is N. raw .

[0052] The total number of detected raw pulses is N rawPerform correction:

[0053] Calculate the original pulse density k=N within the statistical period T. raw / T;

[0054] The physical meaning of the original pulse density k is the average total number of original pulses detected per second, reflecting the pulse density within the current statistical period. Since the pulse interval may be uneven, k reflects the change in the short-term pulse density field. Essentially, it is a time-averaged pulse intensity measurement with low-pass filtering characteristics and a cutoff frequency of 1 / T.

[0055] Based on the relationship between the original pulse density k and the correction interval, different correction strategies are adopted to perform nonlinear correction on the number of pulses in the current statistical period, in order to suppress abnormal jitter and preserve the true power trend. The correction process employs a piecewise linear rounding and proportional stretching strategy:

[0056] Obtain the scaling factor α, the second-level compensation factor β, the rounding offset δ, and the correction interval;

[0057] When the original pulse density is outside the correction range, the number of corrected pulses is... ;

[0058] When the original pulse density is within the correction interval, the number of corrected pulses is... ;

[0059] The correction interval is determined in advance through experiments, and the upper and lower limits of the correction interval are determined in advance through a large number of experiments: under the input of a standard pulse source, the deviation between the measured count and the theoretical count in different pulse density intervals is recorded, and the critical density value at which the deviation begins to deviate significantly from the linear interval is determined as the boundary of the correction interval.

[0060] The scaling factor α and the second-level compensation factor β are determined based on the statistical period T, realizing the scaling-rescaling transformation of the time scale. The scaling factor α is used to amplify the number of pulses per second to a quantizable integer range, and the second-level compensation factor β is used to restore the processed rounded value of pulses per second to the number of pulses per minute. The processed rounded value of pulses per second is = or .

[0061] The rounding offset δ is used for rounding control. The offset δ, along with the multiplier factor α and the compensation factor β, forms a matching parameter combination, which is obtained in advance through systematic experimental calibration. The offset δ is used to prevent sparse pulse annihilation and effectively suppresses counting deviation.

[0062] In some embodiments, T = α × β, where α > 1 / lower limit of the correction interval.

[0063] Correction formula In this formula, the integer part of k×α determines the final output, and the output can only change if |k×α|>1. For the medium-density region, |k×α|>1 is only satisfied when α>1 / the lower limit of the correction interval; for the low-density region, an offset δ is introduced, which, in conjunction with the value of α, can filter out low-frequency interference. At this time, the correction formula becomes... , satisfying (k×α+δ)>1.

[0064] The theoretical basis for T=α×β: 1. Dimensional consistency requirement: The dimension of input k is: pulses per second; Output N corr Dimensions: number of pulses / statistical period T (seconds); The conversion from seconds to T seconds requires multiplying by T.

[0065] 2. Decomposition of expression: Decomposing T into α×β is to separate the amplification process from the period expansion process: α is used to amplify the second-level pulse density to the integer domain for quantization. β is used to extend the quantized integer result to the entire statistical period; The result is not mathematically equivalent to directly calculating k×T and then rounding. The quantization precision can be adjusted by reasonably selecting α.

[0066] For example, the medium-density region corresponds to a pulse period of 1.67-2.0 seconds. During experimental verification of simulated pulse input, there were no overlapping test items in this range; only one input pulse occurred every 2 seconds. Therefore, the confidence level of the original pulse count is highest in this range. Thus, the medium-density region is designed as the benchmark reference range, suppressing measurement noise only through truncation and rounding. Assuming an abnormal input of 31 pulses within one minute, k≈0.5167. Directly amplifying by T times and rounding to 31 pulses deviates from experimental requirements. However, if T is decomposed into α=2, β=30, and then... The output correction pulse after calculation is 30, which has been verified to meet the experimental testing requirements.

[0067] In some embodiments, α=10, β=6, δ=0.5, and the correction interval is [0.5, 0.6].

[0068] When k < the lower limit of the correction interval (k < 0.5), low pulse density correction is performed. This interval corresponds to extremely sparse pulse signals, which may be caused by light load, poor signal contact, or brief periods without pulses. To prevent the power from returning to zero too drastically, each second-level pulse quantity is first rounded up and then amplified to the minute level. Correction formula: .

[0069] When k is within the correction interval (0.5 ≤ k ≤ 0.6), the pulse density in this interval is at a moderate level, the signal is relatively normal, no rounding offset is introduced, and noise is compressed only by truncation to avoid overcompensation. Correction Formula .

[0070] When k > the upper limit of the correction interval (k > 0.6), this interval corresponds to heavy-load or high-power equipment operation, with dense pulses but potentially slight fluctuations leading to counting deviations. A rounding strategy is adopted to stabilize high-pulse counting. Correction formula: .

[0071] In some embodiments, the multiplier factor α includes α1, α2, and α3, where α1 > α2 > α3, and the second-level compensation factor β includes β1, β2, and β3, where β1 < β2 < β3.

[0072] When the original pulse density k is less than the lower limit of the correction interval, the corresponding pulse signal in that interval is extremely sparse, which may be caused by light load, poor signal contact, or brief periods without pulses. To prevent the power from returning to zero too drastically, a dead-zone-prevention nonlinear mapping filter is used: by introducing a positive offset δ, the pulse density of the interval is forcibly mapped to the non-zero integer domain, preventing tiny signals from being completely obliterated during quantization. The number of pulses after correction. .

[0073] When the original pulse density k is within the correction interval, the pulse density in this interval is at a moderate level, and the signal is relatively normal. Dead-zone nonlinear filtering is used: the offset δ is removed, combined with truncation and rounding operations, introducing a dead zone of 1 / α² during quantization. Within this correction interval, the output remains constant, thereby suppressing high-frequency jitter in the pulse arrival time. The number of corrected pulses... The scaling factor α2 is used to amplify the pulse density per second to a quantizable integer range, increasing the quantization resolution; the compensation factor β2 is used to restore the processed integer result to the pulse count per minute.

[0074] When the original pulse density k is greater than the upper limit of the correction interval, this interval corresponds to heavy-load or high-power equipment operation, where pulses are dense but may have slight fluctuations leading to counting deviations. A saturated nonlinear mapping filter is used: by reducing the rate factor to α3 and restoring the offset δ, an upward rounding tendency is achieved to compensate for possible high-frequency pulse loss. The corrected pulse count... The reduced rate factor α3 is used to compress the quantization step size, so that the output remains stable when the input varies over a large range, and the compensation factor β3 is used to restore the stable integer result to the minute-level pulse count.

[0075] Low density region: A larger multiplier α1 (e.g., α1=10) is used to amplify the pulse density per second by α1 (10) times before entering the integer domain for quantization, thereby reducing the quantization step size to 1 / α1 (0.1) pulses / second, thereby improving the quantization resolution, reducing the quantization error, and ensuring that weak pulse changes can be accurately captured.

[0076] Medium density region: Select a smaller magnification factor α2 (e.g., α2=5) to meet the quantization resolution while expanding the dead zone width and improving the pulse correction effect.

[0077] High-density region: Select a smaller multiplier factor α3 (e.g., α3=1) and quantize with a step size of 1 / α2(1) pulses / second. This can effectively smooth high-frequency pulse fluctuations and prevent drastic jumps in counting caused by pulse overlap or waveform distortion. Since the pulse base in the high-density region is large, the relative error is within an acceptable range.

[0078] In some embodiments, T = α1 × β1 = α2 × β2 = α3 × β3, and α2 > 1 / lower limit of the correction interval.

[0079] like Figure 1 As shown, the input pulse metering method of the intelligent fusion terminal in this embodiment includes the following steps:

[0080] S1. Detect the total number of original pulses within the statistical period.

[0081] S2. Calculate the original pulse density within the statistical period T.

[0082] S3. Determine the range of the original pulse density. If it is lower than the lower limit of the correction range, proceed to step S4. If it is within the correction range, proceed to step S5. If it is higher than the upper limit of the correction range, proceed to step S6.

[0083] S4, Corrected pulse count .

[0084] S5, Corrected pulse count .

[0085] S6, Corrected pulse count .

[0086] A power calculation method for an intelligent fusion terminal, wherein the pulse number N is obtained through the pulse metering method described above. corr Calculate the power.

[0087] In some embodiments, the average power P of the statistical period T is equal to the number of pulses N. corr Multiply by the frequency 1 / T, then multiply by the unit conversion constant C. scale (Used to align kWh with W in terms of time scale and order of magnitude), divided by the configured pulse constant K pulse .

[0088] That is, P=(N) corr ×(1 / T)×C scale ) / K pulse .

[0089] Multiple pulse metering points (such as those from different circuits or different phases) are typically combined into a total boost group. The total boost group power P G It equals the average power of each pulse multiplied by the current transformer coefficient P. T C T。

[0090] For a single pulse metering point, the total applied power is: P G =P×P T ×C T .

[0091] like Figure 2 As shown, this embodiment proposes an intelligent fusion terminal, including:

[0092] The pulse detection module is used to detect the rising or falling edge of the pulse signal and determine the total number of original pulses detected within the statistical period T as N. raw .

[0093] In some embodiments, the pulse detection module detects the rising or falling edge of a pulse signal from a pulse meter or other pulse output device. Within a fixed time window, the total number of raw pulses detected within that time window is counted. The fixed time window increments by minutes, and the count register is reset every minute. For example, the total number of raw pulses detected within a statistical period T (60 seconds) is N. raw .

[0094] The storage module is used for the pre-determined storage multiplier factor α, second-level compensation factor α, offset δ, and correction interval.

[0095] The correction module is used to correct the total number of detected raw pulses N. raw Perform correction:

[0096] Calculate the original pulse density k=N within the statistical period T. raw / T;

[0097] The physical meaning of the original pulse density k is the average total number of original pulses detected per second, reflecting the pulse density within the current statistical period. Since the pulse interval may be uneven, k reflects the change in the short-term pulse density field. Essentially, it is a time-averaged pulse intensity measurement with low-pass filtering characteristics and a cutoff frequency of 1 / T.

[0098] The correction module employs different correction strategies based on the relationship between the original pulse density k and the correction interval to perform nonlinear correction on the number of pulses in the current statistical period, in order to suppress abnormal jitter and preserve the true power trend. The correction process uses a piecewise linear rounding and proportional stretching strategy:

[0099] Obtain the scaling factor α, the second-level compensation factor α, the offset δ, and the correction interval;

[0100] When the original pulse density is outside the correction range, the number of corrected pulses is... ;

[0101] When the original pulse density is within the correction interval, the number of corrected pulses is... .

[0102] The scaling factor α and the second-level compensation factor β are determined based on the statistical period T, realizing the scaling-rescaling transformation of the time scale. The scaling factor α is used to amplify the number of pulses per second to a quantizable integer range, and the second-level compensation factor β is used to restore the processed rounded value of pulses per second to the number of pulses per minute. The processed rounded value of pulses per second is = or The rounding offset δ is used for rounding control.

[0103] In some embodiments, T = α × β, where α > 1 / lower limit of the correction interval.

[0104] In some embodiments, α=10, β=6, δ=0.5, and the correction interval is [0.5, 0.6].

[0105] When k < the lower limit of the correction interval (k < 0.5), low pulse density correction is performed. This interval corresponds to extremely sparse pulse signals, which may be caused by light load, poor signal contact, or brief periods without pulses. To prevent the power from returning to zero too drastically, each second-level pulse quantity is first rounded up and then amplified to the minute level. Correction formula: .

[0106] When k is within the correction interval (0.5 ≤ k ≤ 0.6), the pulse density in this interval is at a moderate level, the signal is relatively normal, no rounding offset is introduced, and noise is compressed only by truncation to avoid overcompensation. Correction Formula .

[0107] When k > the upper limit of the correction interval (k > 0.6), this interval corresponds to heavy-load or high-power equipment operation, with dense pulses but potentially slight fluctuations leading to counting deviations. A rounding strategy is adopted to stabilize high-pulse counting. Correction formula: .

[0108] In some embodiments, the storage module is used to store the multiplier factors α1, α2, α3 and the second-level compensation factors β1, β2, β3, wherein α1 > α2 > α3 and β1 < β2 < β3;

[0109] The correction module is used when the original pulse density is less than the lower limit of the correction interval, where the corresponding pulse signal is extremely sparse, possibly caused by light load, poor signal contact, or brief periods without pulses. To prevent the power from returning to zero too drastically, a dead-zone-prevention nonlinear mapping filter is used: by introducing a positive offset δ, the pulse density of the interval is forcibly mapped to the non-zero integer domain, preventing minute signals from being completely obliterated during quantization. The number of pulses after correction... .

[0110] When the original pulse density falls within the correction interval, the pulse density in this interval is at a moderate level, and the signal is relatively normal. Dead-zone nonlinear filtering is employed: the offset δ is removed, combined with truncation and rounding operations, introducing a dead zone of 1 / α² during quantization. Within this correction interval, the output remains constant, thereby suppressing high-frequency jitter in the pulse arrival time. The number of corrected pulses... The scaling factor α2 is used to amplify the pulse density per second to a quantizable integer range, increasing the quantization resolution; the compensation factor β2 is used to restore the processed integer result to the minute-level pulse count.

[0111] When the original pulse density is less than the upper limit of the correction interval, this interval corresponds to heavy-load or high-power equipment operation, where the pulses are dense but may have slight fluctuations leading to counting errors. A saturated nonlinear mapping filter is used: by reducing the rate factor to α3 and restoring the offset δ, an upward rounding tendency is achieved to compensate for possible high-frequency pulse loss. The corrected pulse count... The reduced rate factor α3 is used to compress the quantization step size, so that the output remains stable when the input varies over a large range, and the compensation factor β3 is used to restore the stable integer result to the minute-level pulse count.

[0112] Low density region: A larger multiplier α1 (e.g., α1=10) is used to amplify the pulse density per second by α1 (10) times before entering the integer domain for quantization, thereby reducing the quantization step size to 1 / α1 (0.1) pulses / second, thereby improving the quantization resolution, reducing the quantization error, and ensuring that weak pulse changes can be accurately captured.

[0113] Medium density region: Select a smaller magnification factor α2 (e.g., α2=5) to meet the quantization resolution while expanding the dead zone width and improving the pulse correction effect.

[0114] High-density region: Select a smaller multiplier factor α3 (e.g., α3=1) and quantize with a step size of 1 / α2(1) pulses / second. This can effectively smooth high-frequency pulse fluctuations and prevent drastic jumps in counting caused by pulse overlap or waveform distortion. Since the pulse base in the high-density region is large, the relative error is still within an acceptable range.

[0115] In some embodiments, T = α1 × β1 = α2 × β2 = α3 × β3, and α2 > 1 / lower limit of the correction interval.

[0116] The terminal includes a power calculation module, used to calculate the power based on the corrected pulse number N. corr Calculate the power.

[0117] In some embodiments, the average power P of the statistical period T is equal to the number of pulses N. corr Multiply by the frequency 1 / T, then multiply by the unit conversion constant C. scale (Used to align kWh with W in terms of time scale and order of magnitude), divided by the configured pulse constant K pulse .

[0118] That is, P=(N) corr ×(1 / T)×C scale ) / K pulse .

[0119] Multiple pulse metering points (such as those from different circuits or different phases) are typically combined into a total boost group. The total boost group power P G It equals the average power of each pulse multiplied by the current transformer coefficient P. T C T。

[0120] For a single pulse metering point, the total applied power is: P G =P×P T ×C T .

[0121] This embodiment has the following technical effects:

[0122] 1. Achieve zero loss in long-term continuous pulse acquisition:

[0123] In pulse metering, "pulse loss" refers to the failure of the terminal to effectively capture or count the pulse signal actually output by the equipment. This is usually caused by factors such as signal edges being too close together, interrupt response delays, and software processing jitter. Pulse loss directly leads to under-counting of electricity, posing a risk to the fairness of electricity trading.

[0124] After long-term power-on testing, under continuous operation conditions, a total of 60,000 pulses were measured. The total number of pulses recorded by the terminal after correction was completely consistent with the theoretical output pulse number of the pulse output device, and no pulse loss was observed. The test results covered typical operating conditions of light load (low pulse density), medium load, and heavy load (high pulse density), fully demonstrating the metrological integrity and reliability of this embodiment in engineering environments.

[0125] 2. Reduce reliance on hardware filtering circuits and save on terminal costs:

[0126] Traditional pulse acquisition schemes often require the addition of RC filter circuits, Schmitt triggers, or optocoupler-based shaping circuits at the hardware level to eliminate glitches and jitter in the pulse signal. This embodiment achieves equivalent correction at the software level, allowing for more lenient hardware design tolerances under the same signal quality conditions. This reduces the number of components and manufacturing costs on the terminal board, while also reducing hardware failure points and improving overall system reliability.

[0127] 3. Low computational complexity, suitable for resource-constrained embedded terminals:

[0128] In this embodiment, most operations are integer operations (rounding, multiplication, addition, comparison). Taking a typical Cortex-M series processor (48MHz to 120MHz) as an example, the time taken for a single correction and power calculation is less than 50 microseconds. The impact on the overall CPU utilization of the terminal is negligible and does not affect the real-time scheduling of other terminal services (such as protocol communication, local display, fault recording, etc.).

[0129] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit them. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions claimed by the present invention.

Claims

1. A method for measuring input pulses in an intelligent fusion terminal, characterized in that, The method is as follows: Detect the rising or falling edge of the pulse signal to determine the total number of original pulses detected within the statistical period T as N. raw ; The total number of detected raw pulses is N raw Perform correction: Calculate the original pulse density k=N within the statistical period T. raw / T; Obtain the scaling factor α, compensation factor β, offset δ, and correction interval; When the original pulse density is outside the correction range, the number of corrected pulses ; When the original pulse density is within the correction interval, the number of corrected pulses ; The multiplier factor α and the compensation factor β are determined based on the statistical period T. The multiplier factor α is used to amplify the number of pulses per second to a quantifiable integer range, and the compensation factor β is used to restore the processed pulses per second to the number of pulses per minute. The correction range is determined in advance through experiments.

2. The input pulse metering method for the intelligent fusion terminal according to claim 1, characterized in that, T = α × β, α > 1 / lower limit of the correction interval.

3. The input pulse metering method for the intelligent fusion terminal according to claim 1, characterized in that, The multiplier factor α includes α1, α2, and α3, where α1 > α2 > α3; the compensation factor β includes β1, β2, and β3, where β1 < β2 < β3. When the original pulse density is less than the lower limit of the correction interval, the number of corrected pulses... ; When the original pulse density is within the correction interval, the number of corrected pulses ; When the original pulse density is greater than the upper limit of the correction interval, the number of corrected pulses... .

4. The input pulse metering method for the intelligent fusion terminal according to claim 3, characterized in that, T = α1 × β1 = α2 × β2 = α3 × β3, α2 > 1 / lower limit of the correction interval.

5. A power calculation method for an intelligent fusion terminal, characterized in that, The pulse number N obtained by the pulse measurement method according to any one of claims 1-4 corr Calculate the power.

6. A smart converged terminal, characterized in that, The terminal includes: The pulse detection module is used to detect the rising or falling edge of the pulse signal and determine the total number of original pulses detected within the statistical period T as N. raw ; The storage module is used to store the magnification factor α, compensation factor α, offset δ, and correction interval; The correction module is used to correct the total number of detected raw pulses N. raw Perform correction: Calculate the original pulse density k=N within the statistical period T. raw / T; Obtain the scaling factor α, compensation factor β, offset δ, and correction interval; When the original pulse density is outside the correction range, the number of corrected pulses ; When the original pulse density is within the correction interval, the number of corrected pulses ; The multiplier factor α and the compensation factor β are determined based on the statistical period T. The multiplier factor α is used to amplify the number of pulses per second to a quantifiable integer range, and the compensation factor β is used to restore the processed pulses per second to the number of pulses per minute. The correction range is determined in advance through experiments.

7. The intelligent fusion terminal according to claim 6, characterized in that, T = α × β, α > 1 / lower limit of the correction interval.

8. The intelligent fusion terminal according to claim 6, characterized in that, The storage module is used to store the multiplier factors α1, α2, α3 and the compensation factors β1, β2, β3, wherein α1 > α2 > α3 and β1 < β2 < β3; The correction module is used to adjust the number of corrected pulses when the original pulse density is less than the lower limit of the correction interval. ; When the original pulse density is within the correction interval, the number of corrected pulses ; When the original pulse density is greater than the upper limit of the correction interval, the number of corrected pulses... .

9. The intelligent fusion terminal according to claim 8, characterized in that, T = α1 × β1 = α2 × β2 = α3 × β3, where α2 is greater than 1 / the lower limit of the correction interval.

10. The intelligent fusion terminal according to any one of claims 6-9, characterized in that, The terminal includes a power calculation module, used to calculate the power based on the corrected pulse number N. corr Calculate the power.