Metrology channel monitoring method, apparatus, device, and storage medium

CN122983801APending Publication Date: 2026-10-27WUHAN KUANGREI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611479807.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-22
Publication Date
2026-10-27

AI Technical Summary

Technical Problem

[0003]本申请的主要目的在于提供一种计量通道监测方法、装置、设备及存储介质,旨在解决相关技术的监测过程会中断计量通道正常采样值报文的连续输出,且无法排除监测通道自身的波动干扰,难以同时兼顾业务连续性与监测准确性的技术问题

Benefits of technology

在本申请中,公开了获取待监测计量通道的混合采样数据和参考计量通道的参考采样数据,将混合采样数据和参考采样数据输入双支路进行并行处理,双支路包括第一支路和第二支路,通过第一支路对混合采样数据进行滤波补偿,获得采样值报文,通过第二支路对混合采样数据和参考采样数据进行频谱校正,获得误差变化量,根据采样值报文和误差变化量生成计量通道监测结果;由于本申请通过采集待监测计量通道的混合采样数据和参考计量通道的参考采样数据,送入双支路进行并行处理,第一支路输出采样值报文,第二支路同时对参考采样数据和混合采样数据在频域层面进行校正,获得排除自身干扰的误差变化量,在保证正常采样值报文连续输出的同时,确保了监测结果的准确性。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122983801A_ABST
    Figure CN122983801A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of power system automation, and discloses a metering channel monitoring method, device, equipment and storage medium, the method comprising the following steps: acquiring mixed sampling data of a to-be-monitored metering channel and reference sampling data of a reference metering channel; inputting the mixed sampling data and the reference sampling data into double branches for parallel processing, the double branches comprising a first branch and a second branch; filtering and compensating the mixed sampling data through the first branch to obtain a sampling value message; performing frequency spectrum correction on the mixed sampling data and the reference sampling data through the second branch to obtain an error change quantity; and generating a metering channel monitoring result according to the sampling value message and the error change quantity. Since the application processes the sampling data of the to-be-monitored channel and the reference channel in parallel through the double branches, the first branch outputs the sampling value message, and the second branch performs frequency domain correction to exclude interference and calculate errors, so that the continuity of the sampling value message generation and the monitoring accuracy are taken into account.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power system automation, and in particular to a method, device, equipment and storage medium for monitoring metering channels. Background Technology

[0002] When monitoring the status of metering channels within a merging unit in a smart substation, a single-path monitoring method is often used. This process interrupts the continuous output of normal sampled value messages from the metering channel. Furthermore, single-path monitoring cannot eliminate fluctuations in the monitoring link itself, making it difficult to accurately reflect the true error changes in the metering channel. Consequently, business continuity and monitoring accuracy cannot be simultaneously achieved. Summary of the Invention

[0003] The main purpose of this application is to provide a method, device, equipment and storage medium for monitoring metering channels, which aims to solve the technical problems of the monitoring process of related technologies interrupting the continuous output of normal sampling value messages of metering channels, and being unable to eliminate the fluctuation interference of the monitoring channel itself, making it difficult to simultaneously take into account business continuity and monitoring accuracy.

[0004] To achieve the above objectives, this application provides a metering channel monitoring method, the metering channel monitoring method comprising: Acquire the mixed sampling data of the metering channel to be monitored and the reference sampling data of the reference metering channel; The mixed sampled data and the reference sampled data are input into a dual-branch system for parallel processing, the dual-branch system comprising a first branch and a second branch; The first branch is used to filter and compensate the mixed sampled data to obtain the sampled value message. The second branch is used to perform spectral correction on the mixed sampled data and the reference sampled data to obtain the error change. The metering channel monitoring results are generated based on the sampled value message and the error change.

[0005] Optionally, the step of performing spectral correction on the mixed sampled data and the reference sampled data through the second branch to obtain the error change includes: The second branch is used to perform frequency domain conversion on the mixed sampled data and the reference sampled data to obtain the spectrum to be monitored and the reference spectrum. Amplitude correction is performed on the spectrum to be monitored and the reference spectrum to obtain the complex response to be monitored and the reference complex response; The error change is generated based on the complex response to be monitored and the reference complex response.

[0006] Optionally, generating the error change based on the monitored complex response and the reference complex response includes: The monitored complex response and the reference complex response are normalized to obtain the normalized transitive response; The normalized transfer response is standardized according to the preset response to obtain the amplitude change and phase change. The magnitude change and the phase change are weighted and synthesized to obtain the error change.

[0007] Optionally, after generating the error change based on the complex response to be monitored and the reference complex response, the method further includes: Correction parameters are generated based on the amount of error change; Obtain the sampling frame boundary of the sampled value message; The correction parameters are synchronously switched according to the sampling frame boundary to obtain the effective parameters, and the working parameters of the metering channel to be monitored are updated based on the effective parameters.

[0008] Optionally, generating the metering channel monitoring result based on the sampled value message and the error change includes: Obtain the sampling count of the sampled value message and the filtered fluctuation value of the first branch; The continuity of the sampling count is detected, and the filtered fluctuation value is compared with a preset filtered fluctuation threshold. If the sampling count is continuous and the filter fluctuation value is less than or equal to the preset filter fluctuation threshold, then the error change is taken as the monitoring result of the metering channel.

[0009] Optionally, after generating the metering channel monitoring result based on the sampled value message and the error change, the method further includes: The validity of the monitoring results of the metering channel is verified to obtain the verification results; If the verification result is valid, a warning indicator is output; If the verification result is invalid, the number of verifications is recorded, and the process of obtaining the mixed sampling data of the metering channel to be monitored and the reference sampling data of the reference metering channel, and inputting the mixed sampling data and the reference sampling data into the dual branches for parallel processing is repeated until the verification result is valid or the number of verifications reaches the preset number.

[0010] Optionally, the step of filtering and compensating the mixed sampled data through the first branch to obtain the sampled value message includes: The mixed sampled data is filtered through the first branch to obtain the working signal; The working signal is compensated for group delay by the first branch to obtain a compensated working signal. A sampled value message is generated based on the compensation signal.

[0011] Furthermore, to achieve the above objectives, this application also proposes a metering channel monitoring device, which includes: The data receiving module is used to acquire the mixed sampling data of the metering channel to be monitored and the reference sampling data of the reference metering channel; The data transmission module is used to input the mixed sampled data and the reference sampled data into a dual-branch for parallel processing, wherein the dual-branch includes a first branch and a second branch; The message output module is used to filter and compensate the mixed sampled data through the first branch to obtain a sampled value message; The error measurement module is used to perform spectral correction on the mixed sampled data and the reference sampled data through the second branch to obtain the error change. The monitoring result output module is used to generate the metering channel monitoring results based on the sampled value message and the error change.

[0012] In addition, to achieve the above objectives, this application also proposes a metering channel monitoring device, which includes a memory, a processor, and a metering channel monitoring program stored in the memory and executable on the processor. The metering channel monitoring program is configured to implement the metering channel monitoring method described above.

[0013] In addition, to achieve the above objectives, this application also proposes a storage medium storing a metering channel monitoring program, which, when executed by a processor, implements the metering channel monitoring method as described above.

[0014] One or more technical solutions proposed in this application have at least the following technical effects: This application discloses a method for acquiring mixed sampling data of the metering channel to be monitored and reference sampling data of the reference metering channel. The mixed sampling data and reference sampling data are input into a dual-branch system for parallel processing. The dual-branch system includes a first branch and a second branch. The first branch performs filtering compensation on the mixed sampling data to obtain a sampling value message. The second branch performs spectral correction on the mixed sampling data and the reference sampling data to obtain the error change. Based on the sampling value message and the error change, the metering channel monitoring result is generated. Because this application collects mixed sampling data of the metering channel to be monitored and reference sampling data of the reference metering channel, and sends them to the dual-branch system for parallel processing, the first branch outputs a sampling value message, and the second branch simultaneously corrects the reference sampling data and the mixed sampling data at the frequency domain level to obtain the error change excluding its own interference, the accuracy of the monitoring result is ensured while maintaining continuous output of normal sampling value messages. Attached Figure Description

[0015] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0016] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0017] Figure 1 This is a flowchart illustrating the first embodiment of the metering channel monitoring method of this application; Figure 2 This is a flowchart illustrating the second embodiment of the metering channel monitoring method of this application; Figure 3 This is a schematic diagram of the correction parameter update process of an embodiment of the metering channel monitoring method of this application; Figure 4 This is a flowchart illustrating the third embodiment of the metering channel monitoring method of this application; Figure 5 This is a flowchart illustrating the fourth embodiment of the metering channel monitoring method of this application; Figure 6 This is a schematic diagram of the module structure of the metering channel monitoring device according to an embodiment of this application; Figure 7 This is a schematic diagram of the equipment structure of the hardware operating environment involved in the metering channel monitoring method in this application embodiment.

[0018] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0019] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.

[0020] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.

[0021] This application provides a method for monitoring metering channels, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the metering channel monitoring method of this application.

[0022] In the first embodiment, the metering channel monitoring method includes: Step S10: Obtain the mixed sampling data of the metering channel to be monitored and the reference sampling data of the reference metering channel.

[0023] It should be noted that the executing entity in this embodiment may be a metering channel monitoring device with data processing, network communication and program running functions, such as a multi-channel synchronous acquisition device, or other electronic devices that can achieve the same or similar functions. This embodiment does not limit this.

[0024] It should be understood that a metering channel can be a signal link (e.g., analog conditioning circuitry, analog-to-digital converter, and digital interface) used to acquire external analog signals and convert them into digital signals. The metering channel to be monitored can be one or more of multiple metering channels currently requiring error monitoring. Mixed sampling data can be digitized sampled data of the acquired signals. A reference metering channel can be one or more signal acquisition channels independent of the metering channel to be monitored. Reference sampled data can be digitized data obtained by the reference metering channel sampling the reference signal output from the reference signal generation unit.

[0025] In practical implementation, the mixed sampling data includes working signal data and reference signal data. The working signal can be the continuously acquired business signal during normal operation of the metering channel, while the reference signal can be a known test signal injected into the metering channel. In one example, the metering channels of the merging unit in the smart substation include six metering channels: three-phase voltages UA, UB, UC, and three-phase currents IA, IB, IC. The merging unit can be a signal acquisition and data conversion device located at the substation process layer, used to synchronously acquire multiple analog signals and encapsulate them into sampled value messages for output. The control reference signal generation unit generates a reference signal (e.g., a 990Hz sine wave signal) and injects it into the metering channel to be monitored. During the operation of the smart substation, the metering channel continuously receives working signals (e.g., voltage or current signals from power transformers). During monitoring, the reference signal is superimposed on the working signal and injected into the metering channel to be monitored. During injection, the mixed sampling data formed by the superposition of the working signal and the reference signal is acquired through the metering channel to be monitored, while the reference sampling data output by the reference signal generation unit is acquired through the reference metering channel. The calculation formulas for the mixed sampling data and the reference sampling data are as follows:

[0026]

[0027] in, For mixed sampling data, For working signals, For reference signal, The equivalent transfer coefficient of the reference signal after passing through the injection path and metering channel. For the noise of the metering channel to be monitored, For reference sampling data, The equivalent transfer coefficient of the reference signal after passing through the reference metering channel. The noise level is used as a reference for the metering channel.

[0028] Synchronous acquisition allows the mixed sampled data and the reference sampled data to have the same synchronous clock signal and corresponding sample count, so that the amplitude and phase fluctuations of the reference signal can be eliminated by the joint processing of the two data streams.

[0029] Step S20: Input the mixed sampling data and the reference sampling data into a dual-branch system for parallel processing. The dual-branch system includes a first branch and a second branch.

[0030] It should be understood that the first branch can be used to generate sampled value messages normally. The second branch can be used to monitor the status of the metering channel.

[0031] In the specific implementation, the mixed sampled data is sent to two independent branches, the first and the second, while the reference sampled data is sent to the second branch. The first branch is responsible for generating and outputting normal metering messages, without depending on any calculation results from the second branch; the second branch is responsible for error analysis and monitoring calculations. The two branches are completely independent at the data flow level and run in parallel in time without blocking each other, ensuring that the first branch can continuously output sampled value messages without being affected by the time consumed by the spectrum correction and error calculation of the second branch.

[0032] Step S30: Filter and compensate the mixed sampled data through the first branch to obtain the sampled value message.

[0033] It should be understood that a sampled value message can be a digital data message that transmits the working signal data of the metering channel to be monitored.

[0034] In the specific implementation, after receiving the mixed sampled data, the first branch performs filtering and compensation processing on the data. Since the mixed sampled data contains both working signals and reference signals, and the reference signal is injected for monitoring purposes and should not appear in the normal sampled value message, it is necessary to suppress the reference signal component through filtering processing so that the filtered output data is as pure as possible the working signal. The first branch encapsulates the compensated working signal into a sampled value message according to a preset message format and sends it out.

[0035] Step S40: Perform spectral correction on the mixed sampled data and the reference sampled data through the second branch to obtain the error change.

[0036] It should be understood that the amount of error change can be a quantitative value that characterizes the degree of error change of the monitored metering channel relative to the reference metering channel.

[0037] In its implementation, the second branch simultaneously receives two input data streams: one is mixed sampled data from the metering channel under test, and the other is reference sampled data from the reference metering channel. The second branch jointly processes the two complex responses to eliminate the error component introduced by fluctuations in the reference signal itself, ultimately obtaining an error change that accurately reflects the state changes of the metering channel under test.

[0038] Step S50: Generate the metering channel monitoring results based on the sampled value message and the error change.

[0039] It should be understood that the monitoring results of the metering channel can be a judgment result that characterizes the current error status of the metering channel to be monitored.

[0040] In the specific implementation, the sampled value messages reflect the working status of the first branch. If the sampled value messages can be output continuously and normally, it indicates that the filtering and compensation process is operating normally and that normal services are not interrupted during the monitoring process. The error change reflects the error status of the metering channel to be monitored. Before determining whether to output the error change as a valid monitoring result, it is necessary to make a comprehensive judgment based on the status information generated by the first branch during the filtering process. If the status information of the first branch indicates that it is currently in a stable operating state, it means that the error change calculated by the second branch during this period is reliable and can be output as a monitoring result. If the status information of the first branch indicates that there is an abnormal fluctuation, the result is not of reference value and will not be output.

[0041] This embodiment collects mixed sampling data from the metering channel to be monitored and reference sampling data from the reference metering channel, and sends them to two branches for parallel processing. The first branch outputs sampling value messages, while the second branch simultaneously corrects the reference sampling data and mixed sampling data at the frequency domain level to obtain the error change amount after eliminating its own interference. This ensures the accuracy of the monitoring results while guaranteeing the continuous output of normal sampling value messages.

[0042] Reference Figure 2 , Figure 2 This is a flowchart illustrating the second embodiment of the metering channel monitoring method of this application, based on the above. Figure 1 The first embodiment shown illustrates a second embodiment of the metering channel monitoring method of this application.

[0043] In the second embodiment, step S40 includes: Step S401: Perform frequency domain conversion on the mixed sampled data and the reference sampled data through the second branch to obtain the spectrum to be monitored and the reference spectrum.

[0044] It should be understood that the spectrum to be monitored can be frequency domain data obtained after frequency domain transformation of the mixed sampled data. The reference spectrum can be frequency domain data obtained after frequency domain transformation of the reference sampled data.

[0045] In the specific implementation, the second branch performs Discrete Fourier Transform or Fast Fourier Transform on the mixed sampled data and the reference sampled data respectively, converting the time-domain sampled data into frequency-domain spectrum data. After the frequency-domain conversion, both the monitored spectrum and the reference spectrum include the spectral components at the reference signal frequency.

[0046] Step S402: Perform amplitude correction on the spectrum to be monitored and the reference spectrum to obtain the complex response to be monitored and the reference complex response.

[0047] It should be understood that the complex response to be monitored can be a complex vector obtained after amplitude correction of the spectrum to be monitored. The reference complex response can be a complex vector obtained after amplitude correction of the reference spectrum.

[0048] In practical implementation, factors such as non-integer period sampling may cause spectral leakage, resulting in deviations in the spectral amplitude obtained from frequency domain transformation. A second-branch amplitude correction process compensates for these deviations, improving the accuracy of amplitude and phase extraction. After amplitude correction, the monitored complex response and the reference complex response are obtained, both in complex form and each containing information in both amplitude and phase dimensions. The monitored complex response reflects the response characteristics of the reference signal after passing through the monitored metering channel, while the reference complex response reflects the original output characteristics of the reference signal itself.

[0049] Step S403: Generate the error change amount based on the complex response to be monitored and the reference complex response.

[0050] In the specific implementation, the second branch is based on the complex response to be monitored and the reference complex response, and performs joint calculations on the two to obtain the error change of the metering channel to be monitored compared with the reference metering channel.

[0051] Furthermore, in order to offset its own fluctuations and changes in the injected reference signal, and reduce the false judgment rate, step S403 includes: normalizing the complex response to be monitored and the reference complex response to obtain a normalized transfer response; standardizing the normalized transfer response according to a preset response to obtain amplitude change and phase change; and weighting and synthesizing the amplitude change and the phase change to obtain the error change.

[0052] It should be understood that the normalized transfer response can be a complex vector characterizing the relative transfer characteristics of the monitored metering channel to the reference metering channel. The amplitude change can be the degree of deviation of the normalized transfer response from the preset response in the amplitude dimension. The phase change can be the degree of deviation of the normalized transfer response from the preset response in the phase dimension.

[0053] In practical implementation, the ratio of the complex response to be monitored to the reference complex response is first used as the normalized transfer response. The normalization process can offset the influence of amplitude and phase fluctuations of the reference signal on the calculation results. The formula for calculating the normalized transfer response is as follows:

[0054] in, For normalized response, To measure the number of channels, For the response to be monitored, The reference complex response is then used. Based on a pre-stored preset response, the normalized transfer response is standardized by calculating the deviation of the normalized transfer response relative to the preset response, and decomposing the amplitude deviation and phase deviation as the amplitude change and phase change, respectively. The preset response is obtained by injecting a reference signal into the monitored metering channel under stable conditions, calculating the normalized transfer response of that channel via the second branch, and storing it as the preset response. The relative response is calculated based on the preset response and the normalized transfer response, using the following formula:

[0055] in, For relative response, This is the preset response. The amplitude change and phase change are obtained from the relative response, calculated using the following formulas:

[0056]

[0057] in, The magnitude change This represents the phase change.

[0058] Finally, the amplitude change and phase change are weighted and synthesized according to preset weights to obtain a comprehensive error change, which comprehensively reflects the overall degree of change of amplitude error and phase error of the metering channel under monitoring.

[0059] Furthermore, in order to ensure that the entire monitoring process does not interrupt message output, after step S403, the method further includes: generating correction parameters based on the error change; obtaining the sampling frame boundary of the sampled value message; synchronously switching the correction parameters according to the sampling frame boundary to obtain effective parameters; and updating the working parameters of the metering channel to be monitored based on the effective parameters.

[0060] It should be understood that the sampling frame boundary can be the time demarcation point between two adjacent messages in the sampling value message. Effective parameters can be correction parameters that officially take effect after synchronization switching. Operating parameters can be configuration parameters that are actually effective when the metering channel is operating normally (e.g., amplitude correction coefficients and phase correction coefficients).

[0061] In the specific implementation, when the error change calculated by the second branch indicates that the amplitude or phase of the monitored metering channel has a deviation exceeding the allowable range, a corresponding correction parameter is generated based on the error change. This correction parameter is used to offset the measured deviation, restoring the channel to normal accuracy. The correction parameter is not immediately effective after generation but is written to the shadow register. The first branch continuously acquires the sampling frame boundaries of the sampled value messages, which are strictly equal-interval synchronization moments. At the instant the sampling frame boundary arrives, the correction parameter in the shadow register is switched to the effective parameter, replacing the current operating parameter, so that subsequent data acquisition and processing are performed according to the new parameter. Because the switching time is aligned with the message transmission cycle and the switching is completed instantaneously within a single clock cycle, this update process does not interrupt the continuous output of the sampled value messages.

[0062] For ease of understanding, please refer to Figure 3 Examples are provided for illustration only, but are not intended to limit this application. Figure 3 This is a schematic diagram of the correction parameter update process according to an embodiment of the metering channel monitoring method of this application. Figure 3 As shown, in the parameter update process, when the error changes M consecutively are within the correctable range and in the same direction (M being a preset number), the system generates correction parameters based on the error changes. These correction parameters include amplitude correction coefficients and phase correction coefficients. The correction parameters are written to the shadow register without interfering with currently running services. When the sampling frame boundary of the sampled value message arrives, all correction parameters in the shadow register are synchronously switched to the effective parameters. After the switch is complete, the correction effect is verified in one or more subsequent data windows: if the error change decreases and no safety conditions are triggered, the effective parameters are retained, and the update result is recorded; if the verification fails, the system reverts to the working parameters before the switch.

[0063] This embodiment obtains the monitoring complex response and the reference complex response by performing frequency domain transformation and amplitude correction on the mixed sampling data and the reference sampling data respectively. Since the two data are processed with the same correction, the influence of spectral leakage on amplitude extraction can be eliminated, so that the subsequent normalization calculation can obtain accurate and homogeneous amplitude and phase input.

[0064] Reference Figure 4 , Figure 4 This is a flowchart illustrating the third embodiment of the metering channel monitoring method of this application. Based on the above embodiments, the third embodiment of the metering channel monitoring method of this application is proposed.

[0065] In the third embodiment, step S50 includes: Step S501: Obtain the sampling count of the sampled value message and the filtered fluctuation value of the first branch.

[0066] It should be understood that the sample count can be a sequence identifier carried in the sample value message. The filter fluctuation value can be a quantitative indicator used to characterize the stability of the signal after the first branch filtering process (e.g., the residual energy in the reference frequency neighborhood of the first branch, the amplitude fluctuation statistics of the filtered working signal, the phase fluctuation statistics of the filtered working signal, the signal-to-noise ratio of the output signal of the first branch filter, etc.).

[0067] In the specific implementation, the sampling count is generated by the synchronous sampling control logic of the merging unit. The analog-to-digital converter sampling in the merging unit is driven by a shared sampling synchronization signal. Each time sampling is triggered, all metering channels sample simultaneously, and the sampling counter automatically increments by one according to a preset cycle. The sampling counter value is used as the sampling count for this sampling. When the first branch receives the mixed sampling data from the metering channel to be monitored, the mixed sampling data carries the current sampling count. After the first branch performs filtering and compensation processing on the mixed sampling data, it fills the sampling count into the sampled value message when generating the message. Therefore, the sampled value message sent externally itself contains sampling count information, and the sampling count can be read from the current sampled value message.

[0068] During the filtering process, the first branch continuously monitors the stability of the output signal after filtering. Since the normal metering branch uses a filter to filter the mixed sampled data to suppress the reference signal component, when the filter is working properly and the channel signal is stable, the residual energy in the reference frequency neighborhood after filtering is at a low level; when there are abnormal disturbances in the channel or the filter's operating state is abnormal, the residual energy will increase accordingly. The first branch outputs this residual energy, or a stability index derived from the residual energy, as the filtered fluctuation value.

[0069] Step S502: Detect the continuity of the sampling count and compare the filtered fluctuation value with the preset filtered fluctuation threshold.

[0070] It should be understood that the preset filtering fluctuation threshold can be a pre-set judgment threshold value.

[0071] In the specific implementation, the continuity of the sampling count is first checked, that is, whether the difference in sampling count between adjacent sampled value messages is consistent with the expectation (for example, the expected difference is 1). If the difference is consistent with the expectation, it is determined to be continuous; if there is a jump or interruption, it is determined to be discontinuous. Then, the filtered fluctuation value is compared with the preset filtered fluctuation threshold. When the filtered fluctuation value is less than or equal to the preset filtered fluctuation threshold, it indicates that the channel is in a stable state; when the filtered fluctuation value is greater than the preset filtered fluctuation threshold, it indicates that the channel is in a non-stationary state.

[0072] Step S503: If the sampling count is continuous and the filter fluctuation value is less than or equal to the preset filter fluctuation threshold, then the error change is taken as the monitoring result of the metering channel.

[0073] In practice, when the sampling count is continuous and the filtered fluctuation value meets the stability requirement, it indicates that the first branch is currently operating stably and the channel signal is stable. In this case, the error change calculated by the second branch is reliable, and therefore, this error change is output as the monitoring result of the metering channel. If the sampling count is discontinuous or the filtered fluctuation value is greater than the preset filtered fluctuation threshold, it indicates that the current channel signal has abnormal fluctuations. The error change calculated by the second branch during this period may be affected by interference and has no reference value; therefore, the error change is not output, and the monitoring result is deemed invalid.

[0074] Furthermore, in order to effectively address data anomalies caused by occasional interference and ensure that the system can still obtain valid results through retry after a single monitoring failure, thereby improving the monitoring reliability in long-term unattended scenarios, after step S503, the method further includes: validating the monitoring results of the metering channel and obtaining the verification result; if the verification result is valid, outputting an early warning flag; if the verification result is invalid, recording the number of verifications, and returning to obtain the mixed sampling data of the metering channel to be monitored and the reference sampling data of the reference metering channel, and inputting the mixed sampling data and the reference sampling data into the dual-branch for parallel processing, until the verification result is valid or the number of verifications reaches the preset number.

[0075] It should be understood that warning indicators can be alert messages prompting maintenance personnel to pay attention to the channel status (e.g., specific numerical values ​​of error changes, status flags exceeding preset ranges, command signals triggering automatic correction, etc.). The number of verifications can be the cumulative count of currently executed invalid verifications. The preset number of retries can be a pre-set maximum allowed number of retries.

[0076] In practical implementation, after the error change is output as the monitoring result of the metering channel, the validity of the monitoring result is verified. Verification can be performed from multiple dimensions, including but not limited to verifying whether the error change is within a preset reasonable value range, verifying whether the sampling count of the data window corresponding to the error change is continuous, verifying whether the channel identifier is consistent with the current monitoring task, and verifying whether the signal-to-noise ratio of the error change meets preset requirements. When all the above verification conditions are met, the verification result is deemed valid; when any verification condition is not met, the verification result is deemed invalid.

[0077] If the verification result is valid, the monitoring result is reliable, and an early warning indicator is output. If the verification result is invalid, the monitoring result is unreliable and may be affected by occasional interference. The number of verifications is recorded, and the entire monitoring process is re-executed until the verification result is valid or the number of verifications reaches the preset number. If the verification result is still invalid after reaching the preset number of verifications, a system anomaly alarm is output, prompting maintenance personnel to intervene and investigate.

[0078] This embodiment obtains the filtered fluctuation value of the first branch and compares it with a preset threshold. The error change is only output when the fluctuation value is within the allowable range. The filtered fluctuation value reflects the stability of the channel signal. Using this as a pre-screening condition can avoid outputting unreliable monitoring results when the channel is not stable.

[0079] Reference Figure 5 , Figure 5 This is a flowchart illustrating the fourth embodiment of the metering channel monitoring method of this application. Based on the above embodiments, the fourth embodiment of the metering channel monitoring method of this application is proposed.

[0080] In the fourth embodiment, step S30 includes: Step S301: Filter the mixed sampled data through the first branch to obtain the working signal.

[0081] In the specific implementation, after the first branch receives the mixed sampled data, it uses a filter to filter the data. Since the mixed sampled data contains both the working signal and the reference signal, and the reference signal is injected for monitoring purposes and should not appear in the normal sampled value message, it is necessary to suppress the reference signal component through filtering. A linear phase FIR (Finite Impulse Response) low-pass filter can be used. The passband of the FIR low-pass filter covers the frequency range of the working signal, and the frequency of the reference signal is located within its stopband. This allows the reference signal component to be sufficiently attenuated after passing through the filter, while the working signal component is preserved, thereby extracting the pure working signal from the mixed sampled data.

[0082] Step S302: Perform group delay compensation on the working signal through the first branch to obtain a compensated working signal.

[0083] It should be understood that the compensation signal can be the signal obtained after time delay correction of the filtered output signal.

[0084] In practical implementation, the filter introduces a fixed time delay, known as group delay, when processing the signal, causing the filtered signal to lag behind the original sampling time. After processing with a linear-phase FIR low-pass filter, the group delay becomes a fixed value, depending on the filter's order. The first branch compensates for this fixed group delay by delaying sample counting or shifting the signal forward in the output buffer, ensuring the compensated signal aligns with the correct sampling time and thus guaranteeing the timing accuracy of the sampled value message.

[0085] Step S303: Generate a sampled value message based on the compensation working signal.

[0086] In its implementation, the first branch encapsulates the compensated working signal into sampled value messages according to a preset communication protocol (e.g., IEC61850-9-2) and continuously transmits them outwards. Throughout the monitoring process, the first branch independently completes the aforementioned filtering compensation and message generation operations. Its operation is unaffected by the processing status of the second branch. Even if the second branch is performing complex spectrum correction calculations, the first branch continues to output sampled value messages continuously, thus ensuring that the sampled value messages are not interrupted during the monitoring process.

[0087] This embodiment filters the mixed sampled data through the first branch, extracting the pure working signal from the superimposed mixed sampled data. This avoids the reference signal component from interfering with downstream services by entering the sampled value message. At the same time, it performs group delay compensation on the working signal to align the filtered working signal with the correct sampling time, ensuring the time accuracy of the sampled value message. The filtering compensation process is independent of the error calculation of the second branch, and the sampled value message can be continuously output without waiting for the error calculation result, ensuring uninterrupted output of the sampled value message during the monitoring process.

[0088] This application also provides a metering channel monitoring device, please refer to... Figure 6 The metering channel monitoring device includes: The data receiving module 10 is used to acquire the mixed sampling data of the metering channel to be monitored and the reference sampling data of the reference metering channel; Data transmission module 20 is used to input the mixed sampling data and the reference sampling data into a dual-branch for parallel processing, wherein the dual-branch includes a first branch and a second branch; The message output module 30 is used to filter and compensate the mixed sampled data through the first branch to obtain a sampled value message; Error measurement module 40 is used to perform spectral correction on the mixed sampled data and the reference sampled data through the second branch to obtain the error change. The monitoring result output module 50 is used to generate the metering channel monitoring result based on the sampled value message and the error change.

[0089] The metering channel monitoring device provided in this application, employing the metering channel monitoring method in the above embodiments, can solve the technical problems of related technologies where the monitoring process interrupts the continuous output of normal sampling value messages of the metering channel, and cannot eliminate the fluctuation interference of the monitoring channel itself, making it difficult to simultaneously ensure business continuity and monitoring accuracy. Compared with the prior art, the beneficial effects of the metering channel monitoring device provided in this application are the same as those of the metering channel monitoring method provided in the above embodiments, and other technical features in the metering channel monitoring device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.

[0090] This application provides a metering channel monitoring device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the metering channel monitoring method in Embodiment 1 above.

[0091] The following is for reference. Figure 7 The diagram illustrates a structural schematic of a metering channel monitoring device suitable for implementing embodiments of this application. The metering channel monitoring device in these embodiments may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Description), PMPs (Portable Media Players), and vehicle terminals (e.g., vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Figure 7 The metering channel monitoring device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.

[0092] like Figure 7As shown, the metering channel monitoring device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in ROM (Read Only Memory) 1002 or a program loaded from storage device 1003 into RAM (Random Access Memory) 1004. RAM 1004 also stores various programs and data required for the operation of the metering channel monitoring device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via bus 1005. Input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to I / O interface 1006: input devices 1007 including, for example, touch screens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 1008 including, for example, LCDs (Liquid Crystal Displays), speakers, vibrators, etc.; storage devices 1003 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1009. Communication device 1009 allows the metering channel monitoring equipment to communicate wirelessly or wiredly with other devices to exchange data. Although the figure shows metering channel monitoring equipment with various systems, it should be understood that it is not required to implement or have all of the systems shown. More or fewer systems may be implemented alternatively.

[0093] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.

[0094] The metering channel monitoring device provided in this application, employing the metering channel monitoring method described in the above embodiments, can solve the technical problems of related technologies where the monitoring process interrupts the continuous output of normal sampling value messages from the metering channel, and cannot eliminate fluctuation interference from the monitoring channel itself, making it difficult to simultaneously ensure business continuity and monitoring accuracy. Compared with the prior art, the beneficial effects of the metering channel monitoring device provided in this application are the same as those of the metering channel monitoring method provided in the above embodiments, and other technical features of this metering channel monitoring device are the same as those disclosed in the previous embodiment method, and will not be repeated here.

[0095] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.

[0096] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0097] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the metering channel monitoring method in the above embodiments.

[0098] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, RAM (Random Access Memory), ROM (Read Only Memory), EPROM (Erasable Programmable Read Only Memory), or flash memory, optical fiber, CD-ROM (CD-Read Only Memory), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0099] The aforementioned computer-readable storage medium may be included in the metering channel monitoring equipment; or it may exist independently and not be assembled into the metering channel monitoring equipment.

[0100] The aforementioned computer-readable storage medium carries one or more programs, which, when executed by the metering channel monitoring device, cause the metering channel monitoring device to perform the aforementioned metering channel monitoring method.

[0101] Computer program code for performing the operations of this application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including LAN (Local Area Network) or WAN (Wide Area Network)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0102] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0103] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.

[0104] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described metering channel monitoring method. This solves the technical problems of related technologies where the monitoring process interrupts the continuous output of normal sampling value messages from the metering channel, and where fluctuations in the monitoring channel itself cannot be eliminated, making it difficult to simultaneously ensure business continuity and monitoring accuracy. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the metering channel monitoring method provided in the above embodiments, and will not be elaborated upon here.

[0105] The above description is only a part of the embodiments of this application and does not limit the scope of this application. All equivalent structural transformations made under the technical concept of this application and using the content of this application specification and drawings, or direct / indirect applications in other related technical fields, are included within the protection scope of this application.

Claims

1. A method for monitoring a metering channel, characterized in that, The metering channel monitoring method includes: Acquire the mixed sampling data of the metering channel to be monitored and the reference sampling data of the reference metering channel; The mixed sampled data and the reference sampled data are input into a dual-branch system for parallel processing, the dual-branch system comprising a first branch and a second branch; The first branch is used to filter and compensate the mixed sampled data to obtain the sampled value message. The second branch is used to perform spectral correction on the mixed sampled data and the reference sampled data to obtain the error change. The metering channel monitoring results are generated based on the sampled value message and the error change.

2. The metering channel monitoring method as described in claim 1, characterized in that, The step of performing spectral correction on the mixed sampled data and the reference sampled data through the second branch to obtain the error change includes: The second branch is used to perform frequency domain conversion on the mixed sampled data and the reference sampled data to obtain the spectrum to be monitored and the reference spectrum. Amplitude correction is performed on the spectrum to be monitored and the reference spectrum to obtain the complex response to be monitored and the reference complex response; The error change is generated based on the complex response to be monitored and the reference complex response.

3. The metering channel monitoring method as described in claim 2, characterized in that, The step of generating the error change based on the monitored complex response and the reference complex response includes: The monitored complex response and the reference complex response are normalized to obtain the normalized transitive response; The normalized transfer response is standardized according to the preset response to obtain the amplitude change and phase change. The magnitude change and the phase change are weighted and synthesized to obtain the error change.

4. The metering channel monitoring method as described in claim 2, characterized in that, After generating the error change based on the complex response to be monitored and the reference complex response, the method further includes: Correction parameters are generated based on the amount of error change; Obtain the sampling frame boundary of the sampled value message; The correction parameters are synchronously switched according to the sampling frame boundary to obtain the effective parameters, and the working parameters of the metering channel to be monitored are updated based on the effective parameters.

5. The metering channel monitoring method according to any one of claims 1 to 4, characterized in that, The step of generating the metering channel monitoring result based on the sampled value message and the error change includes: Obtain the sampling count of the sampled value message and the filtered fluctuation value of the first branch; The continuity of the sampling count is detected, and the filtered fluctuation value is compared with a preset filtered fluctuation threshold. If the sampling count is continuous and the filter fluctuation value is less than or equal to the preset filter fluctuation threshold, then the error change is taken as the monitoring result of the metering channel.

6. The metering channel monitoring method according to any one of claims 1 to 4, characterized in that, After generating the metering channel monitoring results based on the sampled value message and the error change, the method further includes: The validity of the monitoring results of the metering channel is verified to obtain the verification results; If the verification result is valid, a warning indicator is output; If the verification result is invalid, the number of verifications is recorded, and the process of obtaining the mixed sampling data of the metering channel to be monitored and the reference sampling data of the reference metering channel, and inputting the mixed sampling data and the reference sampling data into the dual branches for parallel processing is repeated until the verification result is valid or the number of verifications reaches the preset number.

7. The metering channel monitoring method according to any one of claims 1 to 4, characterized in that, The step of filtering and compensating the mixed sampled data through the first branch to obtain the sampled value message includes: The mixed sampled data is filtered through the first branch to obtain the working signal; The working signal is compensated for group delay by the first branch to obtain a compensated working signal. A sampled value message is generated based on the compensation signal.

8. A metering channel monitoring device, characterized in that, The device includes: The data receiving module is used to acquire the mixed sampling data of the metering channel to be monitored and the reference sampling data of the reference metering channel; The data transmission module is used to input the mixed sampled data and the reference sampled data into a dual-branch for parallel processing, wherein the dual-branch includes a first branch and a second branch; The message output module is used to filter and compensate the mixed sampled data through the first branch to obtain a sampled value message; The error measurement module is used to perform spectral correction on the mixed sampled data and the reference sampled data through the second branch to obtain the error change. The monitoring result output module is used to generate the metering channel monitoring results based on the sampled value message and the error change.

9. A metering channel monitoring device, characterized in that, The device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the metering channel monitoring method as described in any one of claims 1 to 7.

10. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it implements the steps of the metering channel monitoring method as described in any one of claims 1 to 7.