A power metering box fault cooperative diagnosis method and system

By registering the wiring relationships of the terminals of the power metering box and verifying the error boundary of the measurement channel, the initial resistance domain is trimmed frame by frame to eliminate the intermediate amount of the real current and form a compatible feasible domain. This solves the problem of misjudgment under load fluctuation conditions in the existing technology and improves the accuracy and reliability of fault diagnosis of the power metering box.

CN123176301APending Publication Date: 2026-11-27JAECELE ELECTRIC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611685381.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-29
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing fault diagnosis methods for electricity metering boxes are prone to misjudgment under load fluctuation conditions, and it is difficult to effectively separate the reading changes caused by load changes from the actual contact resistance changes, resulting in reduced metering accuracy and power supply reliability.

Method used

By registering the wiring relationship between the two terminals on the same circuit of the power metering box, an initial resistance domain is established, and the reliability of the error boundary of each measurement channel is verified. The initial resistance domain is cut frame by frame, and the real current is eliminated as an unknown intermediate quantity by using the common frame. Each initial resistance domain is cut frame by frame to form a compatible feasible domain. Finally, the current and voltage are verified to fall within the predetermined range by retesting the action to determine the resistance-increasing terminal.

Benefits of technology

Effectively separating load changes from actual contact resistance changes under load fluctuation conditions improves the accuracy and reliability of terminal-level fault diagnosis of power metering boxes, avoids misjudgment, and ensures the traceability and reliability of diagnostic results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123176301A_ABST
    Figure CN123176301A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of monitoring, more particularly, the present application relates to a kind of electric energy metering box fault cooperative diagnosis method and system, method includes: the wiring relationship of first terminal and second terminal on the same loop and co-frame are registered, establish initial resistance domain, check each measurement channel error boundary and screen qualified frame group;Based on qualified frame group, the real current shared by two terminals is taken as unknown intermediate variable to eliminate, and compatible feasible region is obtained by frame-by-frame clipping each initial resistance domain;Given positive current band executes retest, whether the interval of retest co-frame is allowed to fall into positive current band is updated compatible feasible region according to whether the interval of retest co-frame is allowed to fall into positive current band, and the terminal of resistance increase is determined from the compatible feasible region finally retained.The present application does not need to estimate shared real current in advance, can effectively separate the reading change caused by load change and real contact resistance change under the condition of load fluctuation, realizes terminal level fault accurate positioning, improves diagnosis accuracy and traceability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of monitoring technology. More specifically, this invention relates to a collaborative diagnostic method and system for faults in electricity metering boxes. Background Technology

[0002] Electricity metering boxes are key equipment for electricity metering and power supply protection in low-voltage distribution networks. Their internal incoming and outgoing terminals, as well as the switch terminals, constantly carry load current. Due to vibration, oxidation, and loose fasteners, increased contact resistance can occur. Increased contact resistance leads to accelerated localized temperature rise at the terminals, which can severely burn insulation or cause metering errors. Therefore, timely identification and accurate location of terminals with increased resistance during operation are crucial for ensuring metering accuracy and power supply reliability.

[0003] Existing live-line detection methods typically divide the voltage reading at a given instant by the current reading to obtain the resistance reading, then average the readings from several instants and compare them with a threshold. This method implicitly assumes that each resistance reading obtained from the division is an independent estimate of the same true contact resistance, but this is not met under actual operating conditions: when the load current is small, the absolute error, quantization error, and lead parasitic effects of the voltage sampling channel are amplified by the current value. Dividing the voltage difference by a small current at a single instant can produce a false reading on the resistance coordinate that is much larger than the true contact resistance. If this is superimposed with load fluctuations, it can easily be misjudged as an increase in contact resistance. Therefore, existing methods are prone to misjudgment under load fluctuation conditions and struggle to effectively separate the reading changes caused by load variations from the actual changes in contact resistance. Summary of the Invention

[0004] To address the technical problem that existing methods are prone to misjudgment under load fluctuation conditions and are difficult to effectively separate the reading changes caused by load changes from the actual contact resistance changes, the present invention provides solutions in the following aspects.

[0005] In the first aspect, a collaborative fault diagnosis method for an electricity metering box includes: The wiring relationship and co-frame of the first and second terminals on the same circuit of the power metering box are registered. Initial resistance domains are established according to the contact state of the first and second terminals respectively. The reliability of the error boundaries of each measurement channel led out from the first and second terminals is verified. The allowable range of each measurement channel is then determined. The co-frames are then screened to obtain qualified frame groups in which the first and second terminals meet the same real resistance state. Based on the qualified frame group, the real current shared by the first terminal and the second terminal is eliminated as an unknown intermediate quantity, and the initial resistance domains of the first terminal and the second terminal are cropped frame by frame to obtain the compatible feasible domains of each initial resistance domain. Based on the compatibility feasible domain of each initial resistance domain, a positive current band is pre-defined for the retest action, and the retest is performed on the circuits where the first terminal and the second terminal are located. After the action, it is verified whether the allowable interval of the three co-frames of the re-acquired branch current, the cross voltage of the first terminal, and the cross voltage of the second terminal is completely entered into the positive current band. Accordingly, the compatibility feasible domain is updated. The additional resistance terminal is determined by the initial resistance domain corresponding to the finally retained compatibility feasible domain, and the terminal-level fault diagnosis conclusion of the power metering box is output.

[0006] Optionally, the contact state includes a normal contact state, a first terminal single-point ohmic contact resistance increase state, and a second terminal single-point ohmic contact resistance increase state. The normal contact state is when neither the first terminal nor the second terminal experiences resistance increase. The first terminal single-point ohmic contact resistance increase state is when only the first terminal experiences resistance increase while the second terminal remains normal. The second terminal single-point ohmic contact resistance increase state is when only the second terminal experiences resistance increase while the first terminal remains normal.

[0007] Optionally, establishing the initial resistance domain based on the contact states of the first terminal and the second terminal includes: A first interval corresponding to the first terminal and a second interval corresponding to the second terminal are determined. The first interval and the second interval are the normal contact resistance intervals of the first terminal and the second terminal, respectively, and an ohmic resistance increase interval to be tested is independently set. The initial resistance domain corresponding to the normal contact state is jointly determined by the first interval and the second interval. The initial resistance domain corresponding to the resistance increase state of the first terminal is all combinations of the interval after adding the ohmic resistance increase interval to the first interval and the second interval. The initial resistance domain corresponding to the resistance increase state of the second terminal is all combinations of the first interval and the interval after adding the ohmic resistance increase interval to the second interval, wherein the intervals are added separately according to their endpoints.

[0008] Optionally, the verification of the reliability of the error boundaries of each measurement channel derived from the first terminal and the second terminal includes: Each measurement channel is calibrated based on a common reference trigger time, and the maximum absolute sampling time difference of each measurement channel is obtained. An upper bound is given for the rate of change of the measured signal with time under the conditions to be diagnosed. The maximum absolute sampling time difference of each measurement channel is multiplied by the upper bound of the rate of change to obtain the timing error compensation of each measurement channel. After converting the timing error compensation of each measurement channel according to the channel unit, it is added to the absolute value of the basic error, quantization error and the defined access parasitic error of the measurement channel to form the total error boundary of the current channel, the total error boundary of the first voltage channel and the total error boundary of the second voltage channel. The total error boundary of the current channel, the total error boundary of the first voltage channel and the total error boundary of the second voltage channel are used to determine the allowable range of the current channel, the allowable range of the first voltage and the allowable range of the second voltage, respectively. Each measurement channel includes a current channel for measuring branch current, a first voltage channel for measuring the voltage difference between the power supply side and the load side of the first terminal, and a second voltage channel for measuring the voltage difference between the power supply side and the load side of the second terminal; the allowable range includes an allowable range for the current channel, an allowable range for the first voltage, and an allowable range for the second voltage.

[0009] Optionally, the step of filtering co-frames to obtain a qualified frame group in which the first terminal and the second terminal satisfy the same true resistance state includes: A frame is selected as a qualified frame when the lower end of the allowable current channel interval is greater than or equal to the minimum current threshold of the valid frame, and the upper end of the allowable current channel interval is greater than or equal to the lower end of the allowable current channel interval. The same real resistance state condition means that the same pair of real contact resistors, i.e., the first resistor and the second resistor, applies to all frames in the group, and the real current of each frame in the group changes independently. When a power outage or power restoration occurs and the power outage detection record is updated, the calibration version, range, or error boundary declaration of any measurement channel changes, the temperature applicable range is exceeded, the wiring topology in the metering box changes, or an operation that may change the contact state occurs, the current frame group is immediately frozen, and the new frame group starts to converge again from an independent initial resistance domain. The coframe is a true coframe formed by all current, first voltage and second voltage quantities entering the joint test coming from the same hardware clock and the same trigger line.

[0010] Optionally, eliminating the actual current shared by the first terminal and the second terminal as an unknown intermediate quantity includes: For any qualified frame, when both the first resistor and the second resistor are positive, the shared true current must simultaneously be within the allowed current channel range, the current range obtained by dividing the first voltage allowed range by the first resistor, and the current range obtained by dividing the second voltage allowed range by the second resistor. The three ranges intersect each other and are not empty. Based on this, the frame forms six linear boundary constraints, of which the two constraints for the first terminal branch constrain the upper and lower bounds of the first resistor, the two constraints for the second terminal branch constrain the upper and lower bounds of the second resistor, and the two cross constraints uniformly converge the first terminal and the second terminal as a whole sharing the true current.

[0011] Optionally, the step of cropping the initial resistance domains of the first terminal and the second terminal frame by frame to obtain the compatible feasible region of each initial resistance domain includes: For initial resistance domains that have not yet been excluded, the linear boundary conditions that can actually be generated by the current qualified frame are added to the constraint set of the initial resistance domain. Then, the intersection and pruning of the current two-dimensional resistance region of the initial resistance domain is performed frame by frame. The horizontal axis of the two-dimensional resistance region is the first resistance and the vertical axis is the second resistance. If the region after the intersection is not empty, it is recorded as retained. If the region after the intersection is empty and the empty set is reliably determined, it is recorded as excluded. If it cannot be reliably determined, it is recorded as unresolved. The region that is still in the retained state after all qualified frame groups have been processed is called the compatible feasible region of the initial resistance domain.

[0012] Optionally, updating the compatible feasible domain includes: A positive current band is pre-defined for the retest operation. Under the conditions of keeping the wiring topology unchanged, not changing the access method of each measurement channel, and not interrupting the co-frame acquisition link, the retest is performed on the circuits where the first terminal and the second terminal are located, so that the circuit current enters the positive current band, and the branch current, the voltage across the first terminal, and the voltage across the second terminal are re-acquired to form a new co-frame. Assemble and retest the total error limit of each measurement channel to obtain the allowable range of the retest current channel, the allowable range of the first retest voltage, and the allowable range of the second retest voltage. If the entire allowable range of the retest current channel of a certain frame falls into the positive current band, it is recorded as a valid retest frame. For each valid retest frame, six linear boundary conditions are generated. The intersection of these boundary conditions with each compatible feasible region is calculated frame by frame to obtain the updated compatible feasible region.

[0013] Optionally, determining the resistance-increasing terminal based on the initial resistance domain corresponding to the ultimately retained compatibility feasible domain includes: If only the initial resistance domain corresponding to the first terminal's increased resistance state is retained, it is determined that the first terminal has experienced ohmic contact increased resistance; if only the initial resistance domain corresponding to the second terminal's increased resistance state is retained, it is determined that the second terminal has experienced ohmic contact increased resistance; if only the initial resistance domain corresponding to the normal contact state is retained, it is determined that both the first terminal and the second terminal are in a normal contact state. If multiple initial resistance domains are retained simultaneously or all initial resistance domains are excluded, an unresolved conclusion is output and the reason for the unresolved conclusion is recorded. The unresolved conclusion is not used as a normal or resistance increase determination.

[0014] In a second aspect, a collaborative fault diagnosis system for an electricity metering box includes a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the collaborative fault diagnosis method for an electricity metering box described in any one of the claims is implemented.

[0015] The present invention has the following beneficial effects: 1. This invention eliminates the shared real current between the first and second terminals as an unknown intermediate quantity, directly transforming each frame into a linear boundary condition containing only the resistances of the first and second terminals. Based on this, each initial resistance domain is trimmed frame by frame, and the terminal with increased resistance is finally determined by the initial resistance domain corresponding to the retained compatible feasible domain. Since the entire diagnostic process is based on interval compatibility, it no longer relies on comparing the resistance reading obtained by dividing the voltage by the current with a threshold. Therefore, it avoids the point estimation of the shared real current, which would introduce current path measurement deviations and load fluctuations into the resistance judgment. This allows for effective separation of reading changes caused by load variations from actual contact resistance changes under load fluctuation conditions, improving the accuracy and traceability of terminal-level fault diagnosis in energy metering boxes.

[0016] 2. This invention verifies the reliability of the error boundaries of each measurement channel, multiplies the maximum absolute sampling time difference of each measurement channel by the upper limit of the rate of change to obtain the timing error compensation, and adds it to the basic error, quantization error and access parasitic error by absolute value to form the total error boundary of the current channel, the total error boundary of the first voltage channel and the total error boundary of the second voltage channel. This ensures that the screening of qualified frames is based on reliable error boundaries, avoids misjudgment caused by the excessive amplification of the absolute error of the voltage channel on the resistance coordinate under small current, and further improves the reliability of the diagnostic results.

[0017] 3. This invention pre-defines a positive current band for the retest action and requires that the entire retest current channel be included in the positive current band before it can be used as a valid retest frame for updating. This ensures that the retest observation is within a range where the current magnitude is relatively certain and the channel reading is reliable. It avoids the retest current being too low, which could lead to excessively wide or high boundary conditions, causing terminal heating, changes in contact state, and channel saturation. Thus, while maintaining the contact state unchanged, it further tightens the compatibility and feasibility domain and improves the distinguishability between different initial resistance domains.

[0018] 4. This invention determines that the first terminal has increased resistance due to ohmic contact when only the initial resistance domain corresponding to the increased resistance state of the first terminal is retained; determines that the second terminal has increased resistance due to ohmic contact when only the initial resistance domain corresponding to the increased resistance state of the second terminal is retained; and determines that both terminals are normal when only the initial resistance domain corresponding to the normal contact state is retained. When multiple initial resistance domains are retained simultaneously or all are excluded, an unresolved conclusion is output and the reason for the unresolved conclusion is recorded. This avoids making erroneous judgments of normal or increased resistance when there is insufficient evidence, and allows the diagnostic conclusion to be traced back to the specific frame number and boundary, which is convenient for on-site verification and fault tracing. Attached Figure Description

[0019] Figure 1 This is a flowchart of steps S1-S3 in a collaborative fault diagnosis method for an electricity metering box according to an embodiment of the present invention. Detailed Implementation

[0020] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are some embodiments of the present invention, but not all embodiments.

[0021] Reference Figure 1 A collaborative fault diagnosis method for electricity metering boxes includes steps S1-S7, as detailed below: S1: Register the wiring relationship and common frame of the two terminals on the same circuit of the power metering box. Establish the initial resistance domain according to the contact state of the two terminals respectively. On this basis, verify whether the error boundary of each measurement channel led out from the two terminals is reliable. Then determine the allowable range of each measurement channel. In this way, screen the common frames to obtain qualified frame groups where the two terminals meet the same real resistance state.

[0022] Before diagnosing the meter under test, it is first necessary to confirm whether the wiring relationship between the two terminals to be diagnosed on the same circuit is clear and reliable. For ease of description, these two terminals will be referred to as the first terminal and the second terminal below.

[0023] Specifically, the power supply side contact markings and load side contact markings of the first terminal, the power supply side contact markings and load side contact markings of the second terminal, the installation location of the branch current measurement point, and the bridging relationship between the power supply side and load side of the first terminal, and the bridging relationship between the power supply side and load side of the second terminal should be registered. The differential voltage sampling front-end across the first terminal should be connected with the power supply side as the positive input terminal and the load side as the negative input terminal. The differential voltage sampling front-end across the second terminal should be connected with the same power supply pointing towards the load direction. Metadata such as wiring identification, range, calibration version, power outage detection record, and topology verification record should be registered together and recorded with the frame number. At the same time, it must be confirmed that there are no unregistered shunt branches between the two terminals. If any unregistered load branch, theft circuit, or other bypass path exists, the current path reading will no longer equal the actual current flowing through the two terminals.

[0024] After confirming the wiring relationship between the first and second terminals, it is necessary to clarify the terminal states to be distinguished. Three states need to be distinguished: normal contact state, where neither the first nor the second terminal experiences increased resistance; single-point ohmic contact with the first terminal resulting in increased resistance, where only the first terminal experiences increased resistance while the second terminal remains normal; and single-point ohmic contact with the second terminal resulting in increased resistance, where only the second terminal experiences increased resistance while the first terminal remains normal. If the states are not defined beforehand, it is impossible to determine which resistance ranges are normal and which are faulty, and it is also impossible to give a clear conclusion after the connection is closed: is it normal, is there increased resistance at the first terminal, or is there increased resistance at the second terminal?

[0025] To convert the above three states into calculable resistance ranges, it is necessary to first determine the normal contact resistance ranges for each of the two terminals. For ease of description, the normal contact resistance range corresponding to the first terminal is defined as the first range, and the normal contact resistance range corresponding to the second terminal is defined as the second range. These two ranges are taken from the measured records of terminal contact resistance during historical power outage maintenance, or from the handover test records during installation and calibration, and are recorded along with metadata such as wiring labels and calibration versions. Additionally, it is necessary to obtain the actual contact resistances of the first and second terminals. For ease of description, the actual contact resistance corresponding to the first terminal is defined as the first resistance, and the actual contact resistance corresponding to the second terminal is defined as the second resistance.

[0026] In addition to the first and second intervals, the interval for the ohmic resistance increase to be tested must be set independently before the diagnosis begins: ,in, , ; This is the lower end of the fault increment. This represents the upper limit of the fault increment. The range of resistance increment corresponding to this proposed ohmic resistance increment range is predetermined by the field wiring process specifications, terminal material, and the allowable upper limit of contact resistance.

[0027] Based on this, corresponding initial resistance domains are established for the three states mentioned above. When considering the contact resistance of both terminals simultaneously, the diagnosis deals with a two-dimensional resistance plane composed of the first and second resistors. The initial resistance domain corresponding to the normal contact state is determined by both the first and second intervals, i.e., all combinations of any values ​​in the first and second intervals. The initial resistance domain corresponding to the first terminal resistance-increased state is all combinations of any values ​​in the interval after adding the proposed ohmic resistance-increased interval to the first interval and any values ​​in the second interval. The initial resistance domain corresponding to the second terminal resistance-increased state is all combinations of any values ​​in the first interval and any values ​​in the interval after adding the proposed ohmic resistance-increased interval to the second interval. The intervals are added separately at each endpoint.

[0028] Therefore, the above three states correspond to three initial resistance domains.

[0029] After the initial resistance domain is established, it is necessary to obtain a common frame for joint verification and assemble the error limits of each measurement channel, namely the current channel for measuring branch current, the first voltage channel for measuring the voltage difference between the power supply side and the load side of the first terminal, and the second voltage channel for measuring the voltage difference between the power supply side and the load side of the second terminal.

[0030] The reason for needing a shared frame is that determining which terminal the resistance increase occurs at relies on the correspondence between the branch current and the voltage across the two terminals within the same frame. If the current, first voltage, and second voltage are not collected at the same time, there is no real correspondence between them, and they cannot form an effective constraint when placed together. Therefore, all current, first voltage, and second voltage quantities entering the joint test must come from a real shared frame formed by the same hardware clock and the same trigger line, and be identified by the frame number. Accumulated charge, event records, and asynchronous archived data cannot replace instantaneous current and instantaneous voltage across the terminals. The reason for needing an assembly error bound is that the readings given by the above three sampling channels are not true values, but observations with errors; only by first defining the error range of each reading can we know its allowable value range, and thus determine whether a certain frame is qualified to enter the subsequent test.

[0031] During error boundary assembly, each measurement channel is calibrated using a common reference trigger time as a benchmark, and the maximum absolute sampling time difference of each measurement channel is obtained. Since the measurement channels do not complete sampling at exactly the same instant, but rather have the aforementioned time difference relative to the common reference trigger time, the measured signal itself is still changing within this time difference, thus generating an additional timing error. To define this timing error, an upper limit on the rate of change of the measured signal over time under the conditions to be diagnosed needs to be given, i.e., the upper limit of the rate of change. This upper limit of the rate of change should be obtained independently of the current sampling data, for example, by being given in advance based on the load type of the circuit where the metering box under test is located, historical waveform data, and field operating procedures, or by being independently measured under typical operating conditions covering the fault domain to be diagnosed using a reference waveform recording device with a higher sampling rate and higher bandwidth.

[0032] Furthermore, for the current channel, the timing error compensation is obtained by multiplying the maximum absolute sampling time difference of the measurement channel by the upper bound of the rate of change; similarly, the timing error compensation of the first voltage channel and the timing error compensation of the second voltage channel are obtained.

[0033] In addition to timing error compensation, parasitic connection errors must also be considered. Parasitic connection errors refer to the errors introduced by parasitic parameters inherent in the connection itself when the measurement front-end is connected to the circuit containing the terminal. When measuring the voltage across the first terminal, the differential voltage sampling front-end must be connected to both the power supply and load sides of the first terminal. Parasitic factors such as the resistance and inductance of the connection leads and the input impedance of the sampling front-end will interact with the circuit containing the terminal, causing a deviation between the actual measured voltage and the true voltage across the terminal. Similar effects exist when measuring the voltage across the second terminal and the branch current. Therefore, parasitic connection errors should be defined beforehand through calibration or specific testing. After converting the timing error compensation of each measurement channel to amperes or volts according to the channel unit, it is added to the absolute value of the basic error, quantization error, and the defined parasitic connection error of that measurement channel to form the total error limits for the current channel, the first voltage channel, and the second voltage channel. It should be noted that the error limits represent the maximum absolute value of the possible deviation between the original reading and the true value of each measurement channel.

[0034] After the common frame acquisition and error boundary assembly are completed, the same true resistance state condition must be verified. The same true resistance state condition means that the same pair of true contact resistances, i.e., the first and second resistances, applies to all frames within the group, and the true currents in each frame within the group change independently. Only when this condition is met can each frame within the group be considered a repeated observation of the same pair of contact resistances and can be grouped together for converging the initial resistance domain. To enable the executable determination of this condition, in one implementation, a status identifier is assigned to each frame group; the occurrence of any of the following events is considered a potential change in the true resistance state, the current frame group is immediately frozen, and the new frame group restarts convergence from an independent initial resistance domain: a power outage or power restoration event occurs, and the power outage detection record is updated; the calibration version, range, or error boundary statement of any measurement channel changes; the temperature application range is exceeded; the wiring topology within the metering box changes, or any operation that may alter the contact state occurs. When a reliable same resistance state condition cannot be established, only a single common frame can be used to complete the local verification.

[0035] Let the first The original reading of the frame current channel is The original reading across the first voltage channel is The original reading across the second voltage channel is Under the confidence error bound, the lower end of the allowable range for the current path is... The upper part is ; Crossing the lower end of the first permissible voltage range is The upper part is ; Crossing the lower end of the second permissible voltage range is The upper part is .in, This is the total error limit for the current path. This is the total error limit for the first voltage channel. This is the total error limit for the second voltage channel.

[0036] Only when and A frame is only selected as a qualified frame if both conditions are met. This is the minimum current threshold for an effective frame, and is a configurable condition. In one implementation, it is set to... Ampere; frames below this threshold or those that are ineligible for the channel will not participate in the joint test after the missing condition is output. The purpose is to avoid the absolute error of the voltage path being excessively amplified on the resistance coordinate under low current conditions, while ensuring that the allowable range of the current path entering the joint test is positive as a whole, so as to provide effective constraints for subsequent elimination.

[0037] If the first voltage is missing, the frame will not generate a boundary involving the first terminal; if the second voltage is missing, the frame will not generate a boundary involving the second terminal; if there is only current but no voltage across the two terminals, the initial resistance domain will remain. Unqualified measurement channels will not be requalified by amplifying the maximum deviation; current evidence relying on a failed maximum deviation should be marked as unverified and can only be restored to validity after a credible maximum deviation is obtained and recalculated. The above frame selection, missing channel pruning, and maximum deviation version information are saved along with the frame number, thereby obtaining a qualified frame group where the two terminals satisfy the same true resistance state.

[0038] S2: Based on the qualified frame group, the real current shared by the two terminals is eliminated as an unknown intermediate quantity. The initial resistance domains of the two terminals are cut frame by frame to obtain the compatible feasible domain of each initial resistance domain.

[0039] S1 above has established initial resistance domains for three states: normal contact of the two terminals, increased resistance of the first terminal, and increased resistance of the second terminal, and has given qualified frame groups that satisfy the same real resistance state. The first terminal and the second terminal are located on the same circuit registered in S1, and there are no unregistered shunt branches between them. Therefore, the real current flowing through them is the same value. This current will be referred to as the shared real current.

[0040] Within the same frame, the allowable current path interval, the first allowable voltage interval, and the second allowable voltage interval all describe the same shared real current, but they are situated within three different measurement relationships: the allowable current path interval is itself the allowable current interval; the first and second allowable voltage intervals are both voltage intervals, and only after dividing them by their corresponding first and second resistances can they be inverted into the current intervals that the real currents on the first and second terminal branches should fall into. If a point estimate is made for the shared real current first, the measurement deviation of the current path and load fluctuations will be incorporated into the resistance judgment.

[0041] Therefore, S2 eliminates the shared real current as an unknown intermediate quantity, meaning it doesn't explicitly solve for it. Instead, it uses the condition that the three relationships mentioned above must be true simultaneously to cancel it out of the equation, transforming each frame directly into a linear boundary condition containing only the first and second resistors. These boundary conditions are then used to trim the initial resistance domains established by S1 frame by frame. This elimination doesn't erase the physical quantity of the shared real current, but rather ensures that the evidence directly falls on the first and second resistors, while retaining all constraints of the current path, the first voltage path, and the second voltage path, avoiding errors and false exclusions introduced by pre-estimating the shared real current.

[0042] For any valid frame, when both the first and second resistors are positive, the shared true current must simultaneously lie within the allowable current channel interval, the current interval obtained by dividing the first allowable voltage interval by the first resistor, and the current interval obtained by dividing the second allowable voltage interval by the second resistor. Since these three intervals are all one-dimensional closed intervals, the necessary and sufficient condition for any frame to simultaneously satisfy the constraints of the three intervals is that these three closed intervals intersect pairwise and are non-empty. After rearranging according to the non-empty condition of pairwise intersection of closed intervals, the frame forms six linear boundary constraint equations.

[0043] Among them, the two lines for the first terminal branch are: The two lines for the second terminal branch are: The two cross-type methods used to coordinate the consistency between the voltage at the two terminals and the shared real current are: In the formula, This is the first resistance, i.e., the actual contact resistance of the first terminal; This is the second resistor, i.e., the actual contact resistance of the second terminal; and These are the lower and upper ends of the allowable current channel range, respectively. and These are the lower and upper ends of the first permissible voltage range, respectively. and These represent the lower and upper ends of the second permissible voltage range, respectively. The directions of the above six boundary conditions remain unchanged.

[0044] The function of the first four boundary conditions is to tighten the information given by the current channel and the corresponding voltage channel respectively. shaft or In the axial direction, the two cross-type checks are used to cross-verify the resistance candidates for the first and second terminals. Since the voltage across the two terminals is caused by the same shared real current, if a candidate point is compatible with both the first and second terminals on the first four boundary checks, but the voltage readings at both ends cannot be explained by the same current, then that candidate point will still be eliminated by the cross-type checks. The existence of the cross-type checks means that locating the faulty terminal is not a simple merging of two separate single-terminal checks, but rather a consistent convergence of the first and second terminals as a whole sharing a real current.

[0045] When in or When the value is zero, no division is performed; only the corresponding voltage allowable range is checked to see if it contains zero. If the corresponding voltage allowable range contains zero, the zero-resistance channel is not restricted from sharing the real current within this frame. If the corresponding voltage allowable range does not contain zero, the parameter point is incompatible with this frame.

[0046] For each initial resistance domain, first determine whether it is still a non-empty region. If it has been reliably excluded, it will not participate in the current frame processing. For initial resistance domains that have not yet been excluded, add the linear boundary conditions that can actually be generated in the current qualified frame to the constraint set of the initial resistance domain, and use these boundary conditions to perform frame-by-frame intersection pruning on the current two-dimensional resistance region of the initial resistance domain. The two-dimensional resistance region referred to here is the region occupied by the initial resistance domain on the resistance plane, with its horizontal axis representing the first resistance and its vertical axis representing the second resistance. If a frame lacks the first voltage, only the boundary conditions that can still be generated are applied; the same applies if the second voltage is lacking.

[0047] For initial resistance domains that have not yet been excluded, if the region obtained by intersecting the linear boundary conditions of the current frame with its current two-dimensional resistance region is not empty, then the initial resistance domain is recorded as retained; if the region obtained by intersection is empty, and the empty set is reliably determined, then the initial resistance domain is recorded as excluded; if it is impossible to reliably determine whether the region obtained by intersection is empty, or if the key qualification information of the initial resistance domain is incomplete, then the initial resistance domain is recorded as unresolved. After each frame is processed, the state of the initial resistance domain is recorded according to the above determination rules as retained, excluded, or unresolved, and the initial resistance domain corresponding to this state is saved. If an initial resistance domain is still retained after all qualified frame groups have been processed, then all resistance points in this region are compatible with the boundary conditions of all qualified frames to date, and this region is called the compatible feasible region of the initial resistance domain. The compatibility mentioned here refers to the relationship between the resistance points and the boundary conditions of qualified frames, that is, every pair of first and second resistors in this region satisfies the boundary conditions of all qualified frames; rather than multiple initial resistance domains sharing a single region. The compatibility feasible domain represents that, under the constraints of the total error bound of each measurement channel given in S1 and all qualified frames in S2, the terminal state represented by the initial resistance domain has not been excluded, and the first and second resistors corresponding to this state still have feasible value ranges.

[0048] Since the initial resistance domain is established independently before any online observations are introduced, and frame-by-frame cropping only removes regions incompatible with the boundary conditions of qualified frames, as long as the total error bound provided by S1 truly covers the measurement deviations of each measurement channel, every point in any non-empty compatible feasible region obtained by S2 remains compatible with all qualified frames. There is no false retention caused by using average values ​​to mask individual frame conflicts or using point estimates to replace interval compatibility. Conversely, if an initial resistance domain is excluded, there must be at least one linear boundary condition of at least one qualified frame that is violated by all points within that initial resistance domain. The exclusion result can be traced back to the specific frame number and specific boundary condition, facilitating on-site verification and fault tracing.

[0049] S3: Based on the compatibility feasible domain of each initial resistance domain, a positive current band is given in advance for the retest action and the retest is performed on the circuit where the first terminal and the second terminal are located. After the action, it is verified whether the allowable interval of the three common frames of the re-acquired branch current, the cross voltage of the first terminal, and the cross voltage of the second terminal is completely entered into the positive current band. The compatibility feasible domain is updated accordingly. The increased resistance terminal is determined by the initial resistance domain corresponding to the finally retained compatibility feasible domain, and the terminal-level fault diagnosis conclusion of the power metering box is output.

[0050] After obtaining the compatible feasible regions of each initial resistance domain in S2, if multiple initial resistance domains are retained simultaneously, or if the boundary of any retained region is still insufficient to clearly distinguish between normal contact, increased resistance at the first terminal, and increased resistance at the second terminal, then a retest is initiated. The purpose of the retest is not to re-establish the initial resistance domains, but to further tighten the feasible range of the first and second resistances based on the compatible feasible regions already obtained in S2, using controlled load conditions.

[0051] Before the retest begins, a positive current band should be predetermined. The positive current band refers to the current range within which the branch current should stably fall during the retest, denoted as [missing information]. ,in This represents the lower end of the acceptable actual current range for this retest operation. This is the upper end of the acceptable actual current range for this retest operation, and This range is determined by the on-site load switching capacity, current path range, voltage path resolution, and terminal overheating risk. The positive current band should not be lower than the minimum current threshold of the effective frame set in S1, nor should any terminal be allowed to cross voltage into the voltage path saturation region or nonlinear region.

[0052] The reason for setting a positive current band is that the retest needs to be constrained within a relatively certain range of current magnitude and reliable channel readings. If the retest current is too low, the absolute error of the voltage channel will be amplified on the resistance coordinate, resulting in overly wide boundary conditions; if the retest current is too high, it may cause terminal heating, changes in contact state, or channel saturation, making the observation no longer reflect the true contact state before the retest. By pre-defining a positive current band, the allowable range of the current channel in the retest frame can be kept within an effective range, thereby improving the resolution of subsequent boundary conditions.

[0053] After the positive current band is determined, a retest is performed on the circuit containing the first and second terminals. The retest can be achieved by switching a known load, activating a standard test load, or adjusting a controllable load in the field. During the retest, the wiring topology should remain unchanged, and the terminals must not be tightened, loosened, short-circuited, or replaced. The access position of the differential voltage sampling front end must not be changed, the current channel access method must not be changed, and the co-frame acquisition link must not be interrupted.

[0054] Through the above operations, under the premise that the actual contact resistance of the terminals is not artificially altered, the loop current is brought into a known and stable range, thereby obtaining a set of common-frame observations with higher discrimination. Since the contact state remains consistent before and after the retest, the retest frame can still serve as a further constraint on the same pair of first and second resistors. During the retest, the branch current, the voltage across the first terminal, and the voltage across the second terminal are reacquired, forming a new common frame. Each frame still assembles the total error limits of each measurement channel according to the S1 method, obtaining the allowable range of the retest current channel, the allowable range of the retest first voltage, and the allowable range of the retest second voltage.

[0055] Then, verify whether each retest frame meets the positive current band condition. If the lower end of the allowable range of the retest current channel in a certain frame is not less than... The upper end is not greater than If the entire frame falls within the positive current band, it is considered a valid retest frame. If the allowable range of the retest current channel exceeds the positive current band, or if the frame lacks any necessary voltage, then the frame is not used to update the compatibility feasible region. Only frames that fall entirely within the positive current band participate in subsequent updates to avoid introducing unreliable constraints when the retest current is too low, too high, or uncertain.

[0056] The purpose of verifying the positive current band is to ensure that every frame involved in the update is within the pre-confirmed effective current range. If only the current reading point value is used for judgment, the actual current may deviate from the expected range due to channel errors; however, requiring the entire range to be included in the positive current band can ensure that even under the maximum error, the frame still meets the retest conditions.

[0057] For each valid retest frame, six linear boundary conditions are generated in the same way as in S2, which will not be elaborated here.

[0058] The boundary conditions described above are intersected frame by frame with each compatible feasible region obtained in S2 to obtain the updated compatible feasible region. If the updated region corresponding to a certain initial resistance region is empty and the empty set determination is reliable, then the initial resistance region is excluded; if the updated region is not empty, then the initial resistance region is retained; if whether it is an empty set cannot be reliably determined, it is recorded as unresolved.

[0059] Through the above operations, while retaining the existing constraints of S2, resistance points incompatible with the retest observations are further eliminated. Since the retest current is within the positive current band, the voltage channel readings usually have a higher signal-to-noise ratio, and the resulting boundary conditions are often tighter than those under low current conditions, thus improving the distinguishability between different initial resistance domains.

[0060] After the retest, the terminals with increased resistance are determined based on the final retained compatibility and feasible domains. If only the initial resistance domain corresponding to the increased resistance state of the first terminal is retained, while the initial resistance domains corresponding to the normal contact state and the increased resistance state of the second terminal are reliably eliminated, then the first terminal is determined to have increased resistance due to ohmic contact. If only the initial resistance domain corresponding to the increased resistance state of the second terminal is retained, while the initial resistance domains corresponding to both the normal contact state and the increased resistance state of the first terminal are reliably eliminated, then the second terminal is determined to have increased resistance due to ohmic contact. If only the initial resistance domain corresponding to the normal contact state is retained, while the initial resistance domains corresponding to both increased resistance states are reliably eliminated, then both the first and second terminals are determined to be in a normal contact state.

[0061] If multiple initial resistance domains are still retained after retesting, or if all initial resistance domains are excluded, an unresolved conclusion will be output, and the reasons for the unresolved conclusion will be recorded, including: positive current band not met, insufficient valid retest frames, unreliable error boundaries, inconsistent wiring topology, or lack of co-frame eligibility. Unresolved conclusions are not used as a basis for normal or increased resistance determination.

[0062] The final output of the terminal-level fault diagnosis conclusion should include: the status of the first terminal, the status of the second terminal, the range of the retained compatibility feasible domain, the excluded initial resistance domain, the valid frame number involved in the judgment, the positive current band interval, the version of the total error limit for each measurement channel, and the description of the retest conditions.

[0063] In summary, the collaborative fault diagnosis method for power metering boxes provided in this embodiment of the invention forms a complete terminal-level fault diagnosis link through S1 to S3. S1 establishes initial resistance domains corresponding to three states: normal contact, increased resistance at the first terminal, and increased resistance at the second terminal, based on the wiring relationship and shared frame registration of two terminals on the same circuit. It also verifies the reliability of the error boundaries of each measurement channel and filters qualified frame groups that satisfy the same true resistance state, providing reliable observation data and state boundaries for subsequent joint verification. S2, based on the qualified frame groups, eliminates the shared true current of the two terminals as an unknown intermediate quantity, directly transforming each frame into a linear boundary condition containing only the first and second resistances. Each initial resistance domain is then trimmed frame by frame to obtain a compatible feasible region for each initial resistance domain. This process does not pre-estimate the shared true current, thus avoiding the introduction of current channel measurement deviations and load fluctuations into resistance judgment. S3, based on the compatibility feasible region obtained in S2, verifies whether the allowable interval of the three common frames of the re-acquired branch current, the first terminal cross-voltage, and the second terminal cross-voltage falls entirely into the positive current band by pre-defined positive current band and performing retesting. Based on this, the compatibility feasible region is further updated. Finally, the increased resistance terminal is determined by the initial resistance domain corresponding to the retained compatibility feasible region, and a terminal-level fault diagnosis conclusion is output. Thus, S1 to S3 sequentially achieve collaborative diagnosis from establishing the initial resistance domain and qualified frame group to eliminating shared real current and frame-by-frame trimming, and then to retesting, tightening, and determining the increased resistance terminal. This effectively separates the reading changes caused by load variations from the actual contact resistance changes under load fluctuation conditions, improving the accuracy and traceability of terminal-level fault diagnosis for energy metering boxes.

[0064] The system includes a processor and a memory, the memory storing computer program instructions, which, when executed by the processor, implement the collaborative fault diagnosis method for the power metering box according to the first aspect of the present invention.

[0065] The system also includes other components well known to those skilled in the art, such as communication buses and communication interfaces, the settings and functions of which are known in the art and will not be described in detail here.

[0066] It should be noted that those skilled in the art can make various modifications and improvements without departing from the inventive concept, and these all fall within the scope of protection of this invention. Therefore, the scope of protection of this patent should be determined by the appended claims.

Claims

1. A collaborative fault diagnosis method for an electricity metering box, characterized in that, include: The wiring relationship and co-frame of the first and second terminals on the same circuit of the power metering box are registered. Initial resistance domains are established according to the contact state of the first and second terminals respectively. The reliability of the error boundaries of each measurement channel led out from the first and second terminals is verified. The allowable range of each measurement channel is then determined. The co-frames are then screened to obtain qualified frame groups in which the first and second terminals meet the same real resistance state. Based on the qualified frame group, the real current shared by the first terminal and the second terminal is eliminated as an unknown intermediate quantity, and the initial resistance domains of the first terminal and the second terminal are cropped frame by frame to obtain the compatible feasible domains of each initial resistance domain. Based on the compatibility feasible domain of each initial resistance domain, a positive current band is pre-defined for the retest action, and the retest is performed on the circuits where the first terminal and the second terminal are located. After the action, it is verified whether the allowable interval of the three co-frames of the re-acquired branch current, the cross voltage of the first terminal, and the cross voltage of the second terminal is completely entered into the positive current band. Accordingly, the compatibility feasible domain is updated. The additional resistance terminal is determined by the initial resistance domain corresponding to the finally retained compatibility feasible domain, and the terminal-level fault diagnosis conclusion of the power metering box is output.

2. The method for collaborative fault diagnosis of an electricity metering box according to claim 1, characterized in that, The contact states include a normal contact state, a single-point ohmic contact with increased resistance at the first terminal, and a single-point ohmic contact with increased resistance at the second terminal. The normal contact state is when neither the first terminal nor the second terminal experiences increased resistance. The single-point ohmic contact with increased resistance at the first terminal is when only the first terminal experiences increased resistance while the second terminal remains normal. The single-point ohmic contact with increased resistance at the second terminal is when only the second terminal experiences increased resistance while the first terminal remains normal.

3. The method for collaborative fault diagnosis of an electricity metering box according to claim 2, characterized in that, The step of establishing initial resistance domains based on the contact states of the first and second terminals includes: A first interval corresponding to the first terminal and a second interval corresponding to the second terminal are determined. The first interval and the second interval are the normal contact resistance intervals of the first terminal and the second terminal, respectively, and an ohmic resistance increase interval to be tested is independently set. The initial resistance domain corresponding to the normal contact state is jointly determined by the first interval and the second interval. The initial resistance domain corresponding to the resistance increase state of the first terminal is all combinations of the interval after adding the ohmic resistance increase interval to the first interval and the second interval. The initial resistance domain corresponding to the resistance increase state of the second terminal is all combinations of the first interval and the interval after adding the ohmic resistance increase interval to the second interval, wherein the intervals are added separately according to their endpoints.

4. The method for collaborative fault diagnosis of an electricity metering box according to claim 1, characterized in that, The verification of the reliability of the error boundaries of each measurement channel derived from the first terminal and the second terminal includes: Each measurement channel is calibrated based on a common reference trigger time, and the maximum absolute sampling time difference of each measurement channel is obtained. An upper bound is given for the rate of change of the measured signal with time under the conditions to be diagnosed. The maximum absolute sampling time difference of each measurement channel is multiplied by the upper bound of the rate of change to obtain the timing error compensation of each measurement channel. After converting the timing error compensation of each measurement channel according to the channel unit, it is added to the absolute value of the basic error, quantization error and the defined access parasitic error of the measurement channel to form the total error boundary of the current channel, the total error boundary of the first voltage channel and the total error boundary of the second voltage channel. The total error boundary of the current channel, the total error boundary of the first voltage channel and the total error boundary of the second voltage channel are used to determine the allowable range of the current channel, the allowable range of the first voltage and the allowable range of the second voltage, respectively. Each measurement channel includes a current channel for measuring branch current, a first voltage channel for measuring the voltage difference between the power supply side and the load side of the first terminal, and a second voltage channel for measuring the voltage difference between the power supply side and the load side of the second terminal; the allowable range includes an allowable range for the current channel, an allowable range for the first voltage, and an allowable range for the second voltage.

5. The method for collaborative fault diagnosis of an electricity metering box according to claim 4, characterized in that, The process of filtering co-frames to obtain qualified frame groups where the first terminal and the second terminal satisfy the same true resistance state includes: A frame is selected as a qualified frame when the lower end of the allowable current channel interval is greater than or equal to the minimum current threshold of the valid frame, and the upper end of the allowable current channel interval is greater than or equal to the lower end of the allowable current channel interval. The same real resistance state condition means that the same pair of real contact resistors, i.e., the first resistor and the second resistor, applies to all frames in the group, and the real current of each frame in the group changes independently. When a power outage or power restoration occurs and the power outage detection record is updated, the calibration version, range, or error boundary declaration of any measurement channel changes, the temperature applicable range is exceeded, the wiring topology in the metering box changes, or an operation that may change the contact state occurs, the current frame group is immediately frozen, and the new frame group starts to converge again from an independent initial resistance domain. The coframe is a true coframe formed by all current, first voltage and second voltage quantities entering the joint test coming from the same hardware clock and the same trigger line.

6. The method for collaborative fault diagnosis of an electricity metering box according to claim 5, characterized in that, The step of eliminating the actual current shared by the first terminal and the second terminal as an unknown intermediate quantity includes: For any qualified frame, when both the first resistor and the second resistor are positive, the shared true current must simultaneously be within the allowed current channel range, the current range obtained by dividing the first voltage allowed range by the first resistor, and the current range obtained by dividing the second voltage allowed range by the second resistor. The three ranges intersect each other and are not empty. Based on this, the frame forms six linear boundary constraints, of which the two constraints for the first terminal branch constrain the upper and lower bounds of the first resistor, the two constraints for the second terminal branch constrain the upper and lower bounds of the second resistor, and the two cross constraints uniformly converge the first terminal and the second terminal as a whole sharing the true current.

7. The method for collaborative fault diagnosis of an electricity metering box according to claim 1, characterized in that, The step-by-frame cropping of the initial resistance domains of the first terminal and the second terminal to obtain the compatible feasible domains of each initial resistance domain includes: For initial resistance domains that have not yet been excluded, the linear boundary conditions that can actually be generated by the current qualified frame are added to the constraint set of the initial resistance domain. Then, the intersection and pruning of the current two-dimensional resistance region of the initial resistance domain is performed frame by frame. The horizontal axis of the two-dimensional resistance region is the first resistance and the vertical axis is the second resistance. If the region after the intersection is not empty, it is recorded as retained. If the region after the intersection is empty and the empty set is reliably determined, it is recorded as excluded. If it cannot be reliably determined, it is recorded as unresolved. The region that is still in the retained state after all qualified frame groups have been processed is called the compatible feasible region of the initial resistance domain.

8. The method for collaborative fault diagnosis of an electricity metering box according to claim 1, characterized in that, The update of the compatible feasible domain includes: A positive current band is pre-defined for the retest operation. Under the conditions of keeping the wiring topology unchanged, not changing the access method of each measurement channel, and not interrupting the co-frame acquisition link, the retest is performed on the circuits where the first terminal and the second terminal are located, so that the circuit current enters the positive current band, and the branch current, the voltage across the first terminal, and the voltage across the second terminal are re-acquired to form a new co-frame. Assemble and retest the total error limit of each measurement channel to obtain the allowable range of the retest current channel, the allowable range of the first retest voltage, and the allowable range of the second retest voltage. If the entire allowable range of the retest current channel of a certain frame falls into the positive current band, it is recorded as a valid retest frame. For each valid retest frame, six linear boundary conditions are generated. The intersection of these boundary conditions with each compatible feasible region is calculated frame by frame to obtain the updated compatible feasible region.

9. The method for collaborative fault diagnosis of an electricity metering box according to claim 1, characterized in that, The determination of the resistance-increasing terminal by the initial resistance domain corresponding to the ultimately retained compatible feasible domain includes: If only the initial resistance domain corresponding to the first terminal's increased resistance state is retained, it is determined that the first terminal has experienced ohmic contact increased resistance; if only the initial resistance domain corresponding to the second terminal's increased resistance state is retained, it is determined that the second terminal has experienced ohmic contact increased resistance; if only the initial resistance domain corresponding to the normal contact state is retained, it is determined that both the first terminal and the second terminal are in a normal contact state. If multiple initial resistance domains are retained simultaneously or all initial resistance domains are excluded, an unresolved conclusion is output and the reason for the unresolved conclusion is recorded. The unresolved conclusion is not used as a normal or resistance increase determination.

10. A collaborative fault diagnosis system for electricity metering boxes, characterized in that, include: A processor and a memory, wherein the memory stores computer program instructions that, when executed by the processor, implement the collaborative fault diagnosis method for an energy metering box according to any one of claims 1-9.