Optimization method and device for small current metering error bounce and computer equipment

By obtaining the power consumption parameters of the meter function module, optimizing the power trace layout and printed circuit board layout, the problem of meter meter meter error jumping is solved and the meter accuracy is improved.

CN120490958AActive Publication Date: 2025-08-15ELECTRIC POWER RES INST CHINA SOUTHERN POWER GRID CO LTD +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510809502.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-17
Publication Date
2025-08-15
Estimated Expiration
2045-06-17

AI Technical Summary

Technical Problem

In traditional meter design, the power consumption of power supply load caused by the increase of functional modules affects the accuracy of metering, and the existing technology has failed to effectively solve the problem of meter meter metering error jump.

Method used

By obtaining the power consumption parameters of the meter function module, determining the current change and equivalent impedance of the power trace, analyzing the voltage drop change, generating layout information of the power trace, optimizing the printed circuit board layout plan of the meter, ensuring that the metering connection line is close to the mains input power supply side, and reducing the interference of voltage drop changes on the metering circuit.

Benefits of technology

It improves the metering accuracy of the meter, reduces the interference of the operating state changes of the functional module on the current measurement signal of the metering circuit, and improves the metering accuracy of the meter.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120490958A_ABST
    Figure CN120490958A_ABST
Patent Text Reader

Abstract

The invention relates to an optimization method and device for small current metering error jumping and computer equipment, and can be used in the technical field of electric power. The method comprises the following steps: acquiring power consumption parameters of each functional module in the ammeter; according to the power consumption parameter, determining a current variation flowing through a power line of the electric meter when each functional module works; determining the equivalent impedance of the power line according to the current variation and the attribute parameter of the power line; according to the equivalent impedance and the current variable quantity, the voltage drop variable quantity on the power supply wiring is determined; determining distortion information of a current measurement signal of a metering circuit of the ammeter according to the voltage drop variable quantity; generating layout information of the power supply wiring according to the distortion information; according to the layout information, determining a connection position of a metering connection line of the electricity meter on the power line; and generating a printed circuit board layout scheme of the ammeter according to the connection position and the layout information. The method can improve the metering accuracy of the ammeter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electric power technology, and in particular to a method, device, computer equipment, computer-readable storage medium, and computer program product for optimizing small current metering error fluctuations. Background Art

[0002] With the development of smart grids, smart meters, as fundamental components of power systems, are evolving towards multifunctionality and intelligence. To enhance measurement performance and flexible management, smart meters require more functional modules. The addition of these modules increases the power consumption of the meter's own power load, impacting meter accuracy.

[0003] Traditional technologies usually improve the metering accuracy of electricity meters through circuit optimization. However, traditional design solutions have obvious shortcomings in practical applications. Designers generally only focus on the compliance of design indicators and do not care whether the design solution is optimal, resulting in low metering accuracy. Summary of the Invention

[0004] Based on this, it is necessary to provide a method, device, computer equipment, computer-readable storage medium and computer program product for optimizing small current measurement error fluctuations, which can improve the measurement accuracy of the electricity meter, in response to the above technical problems.

[0005] In a first aspect, the present application provides a method for optimizing small current measurement error jitter. The method comprises:

[0006] Obtain the power consumption parameters of each functional module in the meter;

[0007] determining, based on the power consumption parameters, a change in current flowing through a power supply line of the electric meter when each functional module is operating;

[0008] determining an equivalent impedance of the power supply line according to the current variation and the property parameters of the power supply line;

[0009] Determining a voltage drop variation on the power supply line according to the equivalent impedance and the current variation;

[0010] determining distortion information of a current measurement signal of a metering circuit of the electric meter according to the voltage drop variation;

[0011] Generating layout information of the power trace according to the distortion information; the layout information includes a layout distance between a power conversion circuit of the electric meter and a mains input power supply of the electric meter, and a width parameter and a thickness parameter of the power trace;

[0012] Determining, based on the layout information, a connection position of the meter connection line of the electric meter on the power line; the connection position is located on a side of the power line close to the mains input power supply;

[0013] A printed circuit board layout plan of the electricity meter is generated according to the connection position and the layout information.

[0014] In one embodiment, before generating a printed circuit board layout plan of the electricity meter according to the connection position and the layout information, the method further includes:

[0015] Obtaining an initial printed circuit board layout plan of the electricity meter; the initial printed circuit board layout plan includes position information of the power conversion circuit, the metering circuit, and the mains input power supply on the printed circuit board of the electricity meter;

[0016] Generating a printed circuit board layout scheme of the electric meter according to the connection position and the layout information includes:

[0017] The initial printed circuit board layout scheme is updated according to the connection position and the layout information to obtain the printed circuit board layout scheme.

[0018] In one embodiment, updating the initial printed circuit board layout scheme according to the connection position and the layout information to obtain the printed circuit board layout scheme includes:

[0019] Performing attribute update processing on the power supply lines in the initial printed circuit board layout scheme to obtain a basic printed circuit board layout scheme for the electric meter;

[0020] The basic printed circuit board layout scheme is updated according to the connection position and the layout information to obtain the printed circuit board layout scheme.

[0021] In one embodiment, performing attribute updating on the power supply lines in the initial printed circuit board layout to obtain the basic printed circuit board layout of the electric meter includes:

[0022] The power supply lines in the initial printed circuit board layout scheme are widened, and the copper cladding thickness of the power supply lines in the initial printed circuit board layout scheme is thickened to obtain the basic printed circuit board layout scheme.

[0023] In one embodiment, determining the distortion information of the current measurement signal of the metering circuit of the electric meter according to the voltage drop variation includes:

[0024] determining a distortion ratio of the current measurement signal according to the voltage drop variation and the sampling signal strength of the metering circuit;

[0025] The distortion information is determined according to the distortion ratio.

[0026] In one embodiment, determining the connection position of the meter connection line of the electric meter on the power line according to the layout information includes:

[0027] determining, according to the layout distance in the layout information, a maximum distance threshold between the metering connection line on the power supply line and the mains input power supply;

[0028] The connection location is determined in a location area corresponding to the maximum distance threshold.

[0029] In a second aspect, the present application also provides a device for optimizing small current measurement error fluctuations. The device comprises:

[0030] A parameter acquisition module is used to obtain the power consumption parameters of each functional module in the electric meter;

[0031] a first determining module, configured to determine, based on the power consumption parameter, a change in current flowing through a power supply line of the electric meter when each functional module is operating;

[0032] a second determining module, configured to determine an equivalent impedance of the power supply line according to the current variation and a property parameter of the power supply line;

[0033] a third determining module, configured to determine a voltage drop variation on the power line according to the equivalent impedance and the current variation;

[0034] a fourth determining module, configured to determine distortion information of a current measurement signal of a metering circuit of the electric meter according to the voltage drop variation;

[0035] an information generation module, configured to generate layout information of the power trace based on the distortion information; the layout information including a layout distance between a power conversion circuit of the electric meter and a mains input power supply of the electric meter, and a width parameter and a thickness parameter of the power trace;

[0036] a fifth determining module, configured to determine, based on the layout information, a connection position of the meter connection line of the electric meter on the power line; the connection position being located on a side of the power line close to the mains input power supply;

[0037] A solution generating module is used to generate a printed circuit board layout solution of the electric meter according to the connection position and the layout information.

[0038] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are performed:

[0039] Obtain the power consumption parameters of each functional module in the meter;

[0040] determining, based on the power consumption parameters, a change in current flowing through a power supply line of the electric meter when each functional module is operating;

[0041] determining an equivalent impedance of the power supply line according to the current variation and the property parameters of the power supply line;

[0042] Determining a voltage drop variation on the power supply line according to the equivalent impedance and the current variation;

[0043] determining distortion information of a current measurement signal of a metering circuit of the electric meter according to the voltage drop variation;

[0044] Generating layout information of the power trace according to the distortion information; the layout information includes a layout distance between a power conversion circuit of the electric meter and a mains input power supply of the electric meter, and a width parameter and a thickness parameter of the power trace;

[0045] Determining, based on the layout information, a connection position of the meter connection line of the electric meter on the power line; the connection position is located on a side of the power line close to the mains input power supply;

[0046] A printed circuit board layout plan of the electricity meter is generated according to the connection position and the layout information.

[0047] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the following steps:

[0048] Obtain the power consumption parameters of each functional module in the meter;

[0049] determining, based on the power consumption parameters, a change in current flowing through a power supply line of the electric meter when each functional module is operating;

[0050] determining an equivalent impedance of the power supply line according to the current variation and the property parameters of the power supply line;

[0051] Determining a voltage drop variation on the power supply line according to the equivalent impedance and the current variation;

[0052] determining distortion information of a current measurement signal of a metering circuit of the electric meter according to the voltage drop variation;

[0053] Generating layout information of the power trace according to the distortion information; the layout information includes a layout distance between a power conversion circuit of the electric meter and a mains input power supply of the electric meter, and a width parameter and a thickness parameter of the power trace;

[0054] Determining, based on the layout information, a connection position of the meter connection line of the electric meter on the power line; the connection position is located on a side of the power line close to the mains input power supply;

[0055] A printed circuit board layout plan of the electricity meter is generated according to the connection position and the layout information.

[0056] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the following steps:

[0057] Obtain the power consumption parameters of each functional module in the meter;

[0058] determining, based on the power consumption parameters, a change in current flowing through a power supply line of the electric meter when each functional module is operating;

[0059] determining an equivalent impedance of the power supply line according to the current variation and the property parameters of the power supply line;

[0060] Determining a voltage drop variation on the power supply line according to the equivalent impedance and the current variation;

[0061] determining distortion information of a current measurement signal of a metering circuit of the electric meter according to the voltage drop variation;

[0062] Generating layout information of the power trace according to the distortion information; the layout information includes a layout distance between a power conversion circuit of the electric meter and a mains input power supply of the electric meter, and a width parameter and a thickness parameter of the power trace;

[0063] Determining, based on the layout information, a connection position of the meter connection line of the electric meter on the power line; the connection position is located on a side of the power line close to the mains input power supply;

[0064] A printed circuit board layout plan of the electricity meter is generated according to the connection position and the layout information.

[0065] The above-mentioned method, apparatus, computer device, computer-readable storage medium, and computer program product for optimizing small current metering error jitter obtain power consumption parameters of each functional module in an electric meter; determine, based on the power consumption parameters, the current change flowing through the power supply line of the electric meter when each functional module is operating; determine, based on the current change and the property parameters of the power supply line, the equivalent impedance of the power supply line; determine, based on the equivalent impedance and the current change, the voltage drop change on the power supply line; determine, based on the voltage drop change, distortion information of the current measurement signal of the metering circuit of the electric meter; generate, based on the distortion information, layout information of the power supply line; the layout information includes the layout distance between the power conversion circuit of the electric meter and the mains input power supply of the electric meter, as well as the width and thickness parameters of the power supply line; determine, based on the layout information, the connection position of the metering connection line of the electric meter on the power supply line; the connection position is located on the side of the power supply line close to the mains input power supply; and generate a printed circuit board layout plan for the electric meter based on the connection position and the layout information. This solution obtains the power consumption parameters of each functional module in the meter and determines the current change flowing through the meter's power supply line when each functional module is operating, thereby facilitating the accurate prediction of the dynamic changes in the current in the power supply line. By determining the equivalent impedance of the power supply line based on the current change and the property parameters of the power supply line, and further determining the voltage drop change along the power supply line, this solution facilitates the quantitative analysis of voltage fluctuations along the power supply line. By determining the distortion information of the current measurement signal of the metering circuit based on the voltage drop change, this solution facilitates the identification of the specific impact of the voltage drop change on metering accuracy. By generating layout information based on the distortion information, including the layout distance between the power conversion circuit and the mains input power supply, as well as the width and thickness parameters of the power supply line, and by determining the connection position of the metering connection line on the power supply line close to the mains input power supply, this solution facilitates the connection of the metering circuit's reference ground to a location with minimal voltage drop change. By generating a printed circuit board layout plan for the meter based on the connection position and layout information, this solution facilitates the source reduction of interference on the metering circuit's current measurement signal caused by changes in the operating status of the functional modules, thereby improving the meter's metering accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0067] Figure 1 1 is a flow chart of a method for optimizing small current measurement error jitter in one embodiment;

[0068] Figure 2 A schematic diagram of the connection between the meter and the power supply in one embodiment;

[0069] Figure 3 A schematic diagram of equivalent impedance connection between the meter measurement and power supply parts in one embodiment;

[0070] Figure 4 This is a schematic diagram of optimized connections between the meter and power supply in one embodiment;

[0071] Figure 5 1. A structural block diagram of an optimization device for small current metering error fluctuations according to an embodiment;

[0072] Figure 6 FIG. 1 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0073] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0074] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0075] In an exemplary embodiment, Figure 1 As shown, a method for optimizing small current metering error fluctuations is provided. This embodiment uses the method applied to a terminal as an example for illustration; it is understandable that the method can also be applied to a server, or to a system including a terminal and a server, and implemented through interaction between the terminal and the server. The terminal can be, but is not limited to, various personal computers, laptops, smartphones, tablet computers, etc.; the server can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. In this embodiment, the method includes the following steps:

[0076] Step S101, obtaining power consumption parameters of each functional module in the electric meter;

[0077] Step S102, determining the current change flowing through the power supply line of the electric meter when each functional module is operating according to the power consumption parameter;

[0078] Step S103, determining the equivalent impedance of the power supply line according to the current variation and the property parameters of the power supply line;

[0079] Step S104, determining a voltage drop variation on the power supply line according to the equivalent impedance and the current variation;

[0080] Step S105, determining distortion information of a current measurement signal of a metering circuit of the electric meter according to the voltage drop variation;

[0081] Step S106: generating layout information of the power supply line based on the distortion information; the layout information includes the layout distance between the power conversion circuit of the electricity meter and the mains input power supply of the electricity meter, as well as the width parameter and thickness parameter of the power supply line;

[0082] Step S107: Determine the connection position of the meter connection line of the electric meter on the power line according to the layout information; the connection position is located on the side of the power line close to the mains input power supply;

[0083] Step S108: Generate a printed circuit board layout plan for the electricity meter based on the connection positions and layout information.

[0084] The electric meter may be a smart electric meter or a metering automation terminal. For example, the electric meter may be a metering device equipped with functional modules such as a load identification functional module and an orderly charging functional module.

[0085] The functional modules may be various types of load modules equipped with the electric meter. For example, the functional modules may be a load identification functional module, an ordered charging functional module, etc. These modules may generate different load power consumptions.

[0086] The power consumption parameter may be a parameter of the electric power consumed by each functional module when it is working.

[0087] The power trace may be a copper wire on a printed circuit board that connects the AC input power supply and the power conversion circuit. For example, the power trace may be a copper trace with a certain width, length, and thickness, and the trace has a certain equivalent impedance on the printed circuit board.

[0088] The current variation may be a difference in the magnitude of the current flowing through the power supply line due to a change in the working state of the functional module. For example, the current variation may be a change in the current flowing through the power supply line when the electric meter is equipped with modules of different numbers or different power consumption.

[0089] The attribute parameters may be physical characteristic parameters of the power trace, for example, the attribute parameters may be parameters such as the length, width, thickness of the power trace and the dielectric constant of the insulating material.

[0090] The equivalent impedance may be the resistance characteristic of the power trace as a copper conductor.

[0091] The voltage drop variation may be a voltage drop variation on the equivalent impedance due to a current change. For example, the voltage drop variation may be a voltage drop variation value on the equivalent impedance when the current in the power supply line changes.

[0092] The metering circuit may be a core circuit module in the electric meter responsible for electric energy metering. For example, the metering circuit may be a circuit connected to a power supply line via a metering connection line, and its electrical reference ground is a metering reference.

[0093] The current measurement signal may be a signal used for current sampling within the metering circuit. For example, the current measurement signal may be a current signal sampled by the metering circuit with the reference ground as the reference level.

[0094] The distortion information may be the degree of signal distortion of the current measurement signal caused by a voltage drop change. For example, the distortion information may be the degree of distortion of the sampling signal caused by a change in the reference ground of the metering circuit due to a voltage drop change. This distortion may affect the metering accuracy of a small current load point.

[0095] The layout information may be design configuration parameters of power supply lines on a printed circuit board.

[0096] The power conversion circuit may be a circuit module responsible for the power conversion function in the electric meter. For example, the power conversion circuit may be a circuit module that obtains input power from the mains input power supply through a power line.

[0097] The mains input power supply may be a mains interface fixed on the printed circuit board. For example, the mains input power supply may be an interface for connecting to the mains that provides AC input power to the printed circuit board.

[0098] The layout distance may be the spatial distance between the power conversion circuit and the AC input power supply.

[0099] The width parameter may be a width dimension of a power trace. For example, the width parameter may be a width of the power trace that is widened as much as possible within the space allowed by the printed circuit board in order to reduce equivalent impedance.

[0100] The thickness parameter may be the thickness of the power trace, for example, the thickness parameter may be the thickness of the copper cladding of the trace on the printed circuit board when the cost and process allow.

[0101] The metering connection line may be a conductor connecting the metering circuit and the power supply line.

[0102] The connection position may be a specific connection point of the metering connection line on the power line. For example, the connection position may be a connection point on the power line close to the mains input power supply to reduce the impact of voltage drop changes on the reference ground of the metering circuit.

[0103] The printed circuit board layout scheme may be an overall design scheme of the electric meter printed circuit board. For example, the printed circuit board layout scheme may be a PCB (printed circuit board) design scheme that optimizes the measurement of small current errors based on connection positions and layout information.

[0104] Optionally, the terminal obtains the power consumption parameters of each functional module in the electric meter, and determines the power consumption value of each functional module by analyzing the working current and voltage of different types of functional modules such as the load identification functional module and the orderly charging functional module; according to the power consumption parameters, by analyzing the changes in the working status of each functional module, the current change flowing through the power supply line of the electric meter when the electric meter is equipped with functional modules of different numbers or different power consumption is determined; according to the current change and the property parameters of the power supply line, the equivalent impedance of the power supply line is calculated and determined; according to the equivalent impedance and the current change, the voltage drop change on the power supply line is determined by Ohm's law; according to the voltage drop change, by analyzing the reference level change of the reference ground of the metering circuit due to the voltage drop change, the distortion information of the current measurement signal of the metering circuit of the electric meter is determined, and the distortion will The degree of distortion caused by the sampling signal; based on the distortion information, by optimizing the device layout and routing design on the printed circuit board, the layout information of the power routing is generated, the layout information includes the layout distance between the power conversion circuit of the meter and the mains input power of the meter so as to shorten the length of the power routing, as well as the width parameter of the power routing being widened as much as possible when the printed circuit board space permits, and the thickness parameter of the routing copper being thickened as much as possible when the cost and process permit; based on the layout information, the connection position of the metering connection line of the meter on the power routing is determined, and the connection position is located on the side of the power routing close to the mains input power to reduce the impact of voltage drop changes on the reference ground of the metering circuit; based on the connection position and layout information, a printed circuit board layout plan for the meter is generated.

[0105] In the above-mentioned optimization method for small current metering error jitter, the power consumption parameters of each functional module in the electric meter are obtained; based on the power consumption parameters, the current change flowing through the power supply line of the electric meter when each functional module is working is determined; based on the current change and the attribute parameters of the power supply line, the equivalent impedance of the power supply line is determined; based on the equivalent impedance and the current change, the voltage drop change on the power supply line is determined; based on the voltage drop change, the distortion information of the current measurement signal of the metering circuit of the electric meter is determined; based on the distortion information, the layout information of the power supply line is generated; the layout information includes the layout distance between the power conversion circuit of the electric meter and the mains input power supply of the electric meter, as well as the width parameter and thickness parameter of the power supply line; based on the layout information, the connection position of the metering connection line of the electric meter on the power supply line is determined; the connection position is located on the side of the power supply line close to the mains input power supply; based on the connection position and layout information, a printed circuit board layout plan of the electric meter is generated. This solution obtains the power consumption parameters of each functional module in the meter and determines the current change flowing through the meter's power supply line when each functional module is operating, thereby facilitating the accurate prediction of the dynamic changes in the current in the power supply line. By determining the equivalent impedance of the power supply line based on the current change and the property parameters of the power supply line, and further determining the voltage drop change along the power supply line, this solution facilitates the quantitative analysis of voltage fluctuations along the power supply line. By determining the distortion information of the current measurement signal of the metering circuit based on the voltage drop change, this solution facilitates the identification of the specific impact of the voltage drop change on metering accuracy. By generating layout information based on the distortion information, including the layout distance between the power conversion circuit and the mains input power supply, as well as the width and thickness parameters of the power supply line, and by determining the connection position of the metering connection line on the power supply line close to the mains input power supply, this solution facilitates the connection of the metering circuit's reference ground to a location with minimal voltage drop change. By generating a printed circuit board layout plan for the meter based on the connection position and layout information, this solution facilitates the source reduction of interference on the metering circuit's current measurement signal caused by changes in the operating status of the functional modules, thereby improving the meter's metering accuracy.

[0106] In an exemplary embodiment, before generating a printed circuit board layout plan for the electricity meter based on the connection position and layout information, the following contents are also included: obtaining an initial printed circuit board layout plan for the electricity meter; the initial printed circuit board layout plan includes the position information of the power conversion circuit, the metering circuit, and the mains input power supply on the printed circuit board of the electricity meter; generating the printed circuit board layout plan for the electricity meter based on the connection position and layout information specifically includes the following contents: updating the initial printed circuit board layout plan based on the connection position and layout information to obtain the printed circuit board layout plan.

[0107] The initial printed circuit board layout scheme may be an original design scheme of the electric meter printed circuit board. For example, the initial printed circuit board layout scheme may be a position distribution scheme of various components on the printed circuit board determined before optimization.

[0108] The position information may be the specific coordinates and arrangement data of each component on the printed circuit board. For example, the position information may be the relative position coordinates and layout parameters of the power conversion circuit, metering circuit, and AC input power supply on the printed circuit board.

[0109] The updating process may be a process of improving and optimizing the initial printed circuit board layout solution.

[0110] Optionally, before generating a printed circuit board layout plan for the electricity meter based on the connection position and layout information, the terminal obtains an initial printed circuit board layout plan for the electricity meter through design software or a system. The initial printed circuit board layout plan includes position information such as specific coordinates and layout parameters of the power conversion circuit, the metering circuit, and the mains input power supply on the printed circuit board of the electricity meter. Such position information records in detail the relative position coordinates and layout parameters of each component on the printed circuit board. The terminal updates the initial printed circuit board layout plan based on the connection position and layout information to obtain a printed circuit board layout plan. The updating process specifically includes adjusting the position of the power conversion circuit so that the power conversion circuit is as close as possible to the mains input power supply position to shorten the power supply line length, adjusting the positions of other components so that the other components are away from the mains input power supply and the power conversion circuit part to reserve space for the power supply line, widening the power supply line as much as possible based on the width parameter in the layout information if the printed circuit board space allows, adjusting the copper cladding thickness of the line based on the thickness parameter in the layout information if the cost and process allow, and adjusting the connection point of the metering connection line to the side of the power line close to the mains input power supply based on the connection position.

[0111] The technical solution provided in this embodiment obtains the initial printed circuit board layout of the electricity meter and obtains the position information of the power conversion circuit, metering circuit, and mains input power supply on the electricity meter's printed circuit board, which is conducive to providing basic data and reference basis for subsequent layout optimization. The initial printed circuit board layout is updated according to the connection position and layout information to obtain the printed circuit board layout, which is conducive to targeted improvement and optimization based on the original design, avoiding the complexity of redesigning the entire layout. The updating of the initial printed circuit board layout facilitates the systematic adjustment of key elements such as the power conversion circuit position, power routing parameters, and the connection position of the metering connection line, thereby maximizing the impact of functional module changes on low-current metering accuracy while maintaining the rationality of the original design.

[0112] In an exemplary embodiment, an initial printed circuit board layout scheme is updated based on the connection position and layout information to obtain a printed circuit board layout scheme, specifically including the following contents: updating the attributes of the power lines in the initial printed circuit board layout scheme to obtain a basic printed circuit board layout scheme for the electricity meter; and updating the basic printed circuit board layout scheme based on the connection position and layout information to obtain a printed circuit board layout scheme.

[0113] The attribute update process may be a process of adjusting and improving the physical attribute parameters of the power supply line.

[0114] The basic printed circuit board layout solution may be an intermediate layout solution obtained by updating the power routing attributes in the initial printed circuit board layout solution.

[0115] Optionally, the terminal performs attribute update processing on the power trace in the initial printed circuit board layout scheme to obtain a basic printed circuit board layout scheme for the electric meter. The attribute update processing specifically includes adjusting the width of the power trace to widen the power trace as much as possible based on the width parameter in the layout information when the printed circuit board space allows, and adjusting the thickness parameter of the copper cladding of the trace on the printed circuit board when the cost and process allow according to the thickness parameter in the layout information, and reducing the equivalent impedance by increasing the printed conductor width W and the printed conductor thickness T, thereby forming a basic printed circuit board layout scheme; the terminal updates the basic printed circuit according to the connection position and layout information. The board layout plan is updated to obtain a printed circuit board layout plan. The update process specifically includes adjusting the position of the power conversion circuit according to the layout distance in the layout information so that the power conversion circuit is as close as possible to the mains input power position to shorten the printed conductor length H, adjusting other devices away from the mains input power and the power conversion circuit part to reserve space for the power wiring, adjusting the position of the protection device according to the connection position so that the protection device is also as close as possible to point A at the mains input power, and adjusting the connection point of the metering connection line from the equivalent impedance rear end B to the equivalent impedance front end A, that is, the side of the power wiring close to the mains input power.

[0116] The technical solution provided in this embodiment obtains a basic printed circuit board layout plan for the electricity meter by performing attribute updating processing on the power traces in the initial printed circuit board layout plan, which facilitates the prioritization of adjustment of the physical attribute parameters of the power traces. The basic printed circuit board layout plan is updated based on connection position and layout information to obtain a printed circuit board layout plan, which facilitates systematic adjustment of device positions and connection positions based on the optimized power trace attributes. The step-by-step update processing method facilitates decomposition of the complex layout optimization process into two relatively independent stages: power trace attribute optimization and device position optimization, thereby improving the efficiency and accuracy of layout optimization.

[0117] In an exemplary embodiment, the power traces in the initial printed circuit board layout are updated with attributes to obtain a basic printed circuit board layout for the electric meter, specifically including widening the power traces in the initial printed circuit board layout and thickening the copper cladding of the power traces in the initial printed circuit board layout to obtain a basic printed circuit board layout.

[0118] The widening process may be a process of increasing and adjusting the power trace width parameter. For example, the widening process may be a process of adjusting the power trace width from an originally designed value to a wider value according to the space allowed by the printed circuit board.

[0119] The copper coating thickness may be a thickness dimension parameter of the copper coating of the traces on the printed circuit board.

[0120] Among them, the thickening process can be a processing operation to increase and adjust the copper cladding thickness parameters of the power trace. For example, the thickening process can be a process of adjusting the copper cladding thickness of the power trace from the original thickness to a thicker thickness if the cost and process allow.

[0121] Optionally, the terminal widens the power trace in the initial printed circuit board layout scheme, and the widening process specifically includes reading the original width parameter of the power trace in the initial printed circuit board layout scheme, and then adjusting the power trace width from the original design value to a wider value according to the space allowed by the printed circuit board, and reducing the equivalent impedance R by increasing the printed conductor width W; at the same time, the terminal thickens the copper cladding thickness of the power trace in the initial printed circuit board layout scheme, and the thickening process specifically includes adjusting the thickness parameter of the trace copper cladding on the printed circuit board when the cost and process allow, and further reducing the equivalent impedance R by increasing the printed conductor thickness T, thereby obtaining a basic printed circuit board layout scheme that completes dual optimization of the power trace width and thickness.

[0122] The technical solution provided in this embodiment is beneficial to increase the width parameter of the power supply line to improve the conductive performance of the power supply line by widening the power supply line in the initial printed circuit board layout scheme; and is beneficial to increase the thickness parameter of the power supply line to further improve the conductive characteristics of the power supply line by thickening the copper cladding thickness of the power supply line in the initial printed circuit board layout scheme, thereby forming a basic printed circuit board layout scheme with better conductive performance.

[0123] In an exemplary embodiment, determining distortion information of a current measurement signal of a metering circuit of an electric meter based on a voltage drop variation specifically includes: determining a distortion ratio of the current measurement signal based on the voltage drop variation and a sampled signal strength of the metering circuit; and determining distortion information based on the distortion ratio.

[0124] The sampling signal strength may be a strength value of a sampling signal generated by a sampling circuit inside the metering circuit. For example, the sampling signal strength may be an amplitude of a current measurement signal in the metering circuit.

[0125] The distortion ratio may be a ratio of the distortion degree of the current measurement signal to the distortion degree of the normal signal. For example, the distortion ratio may be a proportional relationship between the voltage drop variation and the sampling signal strength.

[0126] Optionally, the terminal determines the distortion ratio of the current measurement signal based on the voltage drop change and the sampling signal strength of the metering circuit. The determination process specifically includes obtaining the voltage drop change on the equivalent impedance of the power supply line on the printed circuit board. The voltage drop change is caused by the change in current flowing through the power supply line due to the difference in power consumption of the meter; at the same time, the terminal obtains the sampling signal strength generated by the sampling circuit inside the metering circuit. The sampling signal strength is the amplitude of the current measurement signal in the metering circuit. At a small current load point, the sampling signal strength may be less than 1mV (millivolt); the terminal obtains the distortion ratio by calculating the proportional relationship between the voltage drop change and the sampling signal strength. The distortion ratio reflects the degree of distortion of the current measurement signal relative to the normal signal; the terminal determines distortion information based on the distortion ratio. The distortion information is used to quantitatively evaluate the degree of distortion of the current measurement signal affected by the voltage drop change.

[0127] The technical solution provided in this embodiment, by determining the distortion ratio of the current measurement signal based on the voltage drop change and the sampling signal strength of the metering circuit, facilitates quantitative evaluation of the impact of the voltage drop change on the current measurement signal and establishes a proportional relationship between the voltage drop change and the sampling signal strength. This facilitates accurate identification and evaluation of the degree of distortion of the current measurement signal affected by the voltage drop change, providing accurate distortion quantification data for performance analysis of the metering circuit.

[0128] In an exemplary embodiment, the connection position of the metering connection line of the electric meter on the power line is determined based on the layout information, specifically including the following contents: according to the layout distance in the layout information, the maximum distance threshold between the metering connection line on the power line and the AC input power supply is determined; in the position area corresponding to the maximum distance threshold, the connection position is determined.

[0129] The maximum distance threshold may be a threshold value limiting the maximum allowable distance between the metering connection line and the mains input power supply. For example, the maximum distance threshold may be a distance limit parameter determined based on the layout distance to ensure metering performance. This threshold limit ensures that the metering connection line can be as close as possible to the mains input power supply to reduce the impact of equivalent impedance.

[0130] The location area may be a spatial range area on the power line that meets the maximum distance threshold condition. For example, the location area may be an optional connection area on the power line within a range corresponding to the maximum distance threshold.

[0131] Optionally, the terminal determines the maximum distance threshold between the metering connection line on the power supply line and the mains input power supply based on the layout distance in the layout information. The determination process specifically includes obtaining the relative layout distance information of the mains input power supply and the power conversion circuit on the printed circuit board. The layout distance directly affects the equivalent impedance of the power supply line; the terminal calculates the degree of influence of the equivalent impedance on the metering performance based on the layout distance, and determines the maximum distance threshold between the metering connection line and the mains input power supply based on the requirement of ensuring metering accuracy. The maximum distance threshold is to ensure that the metering connection line can be as close as possible to the mains input power supply position to reduce the influence of the equivalent impedance; the terminal determines the connection position in the position area corresponding to the maximum distance threshold. The position area is a spatial range area on the power supply line that meets the maximum distance threshold condition. The terminal selects the optimal connection position within the area to achieve the connection between the metering connection line and the power supply line.

[0132] The technical solution provided in this embodiment helps ensure that the connection distance is within a reasonable threshold range by determining the maximum distance threshold between the metering connection line on the power supply line and the mains input power supply based on the layout distance in the layout information. By determining the connection position in the position area corresponding to the maximum distance threshold, it is conducive to accurately selecting the optimal connection position while satisfying the distance threshold limit. This facilitates the precise control and optimal selection of the connection position of the metering connection line on the power supply line.

[0133] The following uses an application example to illustrate the optimization method for small current measurement error jitter provided by this application. This application example uses the method applied to a terminal as an example.

[0134] With the iterative upgrades of smart meters and automated metering terminals, meters are no longer simply terminal metering devices. They require enhanced performance and flexible management capabilities, innovative application scenarios, and comprehensive improvements in the perception and intelligence of field equipment. This necessitates equipping meters with additional functional modules (including load identification and ordered charging), which in turn increases the power consumption of the meter's power supply. This increased power consumption can impact meter accuracy, particularly at low-current loads. The extent of this impact varies depending on the load power consumption generated by different modules. Therefore, it is necessary to study the consistency and stability of low-current errors when different modules are configured.

[0135] The disadvantages of the prior art are:

[0136] (1) Existing technologies do not address the small current error changes caused by differences in module power consumption. When meters leave the factory, they are calibrated without the modules, and the factory error data meets the technical specifications. However, on-site meters are equipped with an indefinite number of different module types based on demand. Even if the error caused by module changes changes, it will not be noticed or discovered, especially at small current load points.

[0137] (2) According to the current technical requirements of the electric meter industry, the small current load point error is more accurate than the medium current and large current errors. When the consistency of the electric meter is poor, the power consumption increased by adding modules may cause the small current load point error to become worse.

[0138] (3) During design, designers generally only focus on the compliance of design indicators, but do not care whether it is the optimal design solution. The current design solution cannot guarantee the optimal metering performance when the current error is small.

[0139] In view of the above shortcomings, the purpose of this application example is to:

[0140] A solution for optimizing small current measurement errors is proposed. This solution ensures consistent and stable small current errors even when the meter is equipped with different load modules. This includes theoretical analysis of the causes of small current error variations caused by modules, and a PCB (printed circuit board) layout scheme with clear layout guidelines to minimize small current error fluctuations caused by different modules or the addition of additional modules.

[0141] The technical solution of this application example provides an optimized solution for metering layout and wiring, which can significantly improve the consistency and stability of small current errors caused by different modules. The details are as follows:

[0142] Figure 2 This is a schematic diagram of the connection between the metering and power supply parts of an electric meter.

[0143] Figure 3 This is a schematic diagram of the equivalent impedance connection between the measurement and power supply parts of an electric meter.

[0144] Figure 4 This is a schematic diagram of the optimized connection of the metering and power supply parts.

[0145] in, Figure 2 、 Figure 3 and Figure 4 It includes: voltage / current sampling circuit, metering circuit, power conversion circuit, electric meter device, metering connection line, AC input power supply, power supply wiring, point A and point B. Figure 3 and Figure 4 The equivalent impedance R is also included.

[0146] like Figure 2 As shown, the system includes a sampling circuit, a metering circuit, metering cables, power supply wiring, a power conversion circuit, and a mains input power supply. The sampling circuit connects the sampling signal to the metering circuit, which is connected to the power supply wiring via the metering cables. The power supply wiring also provides an input path for the power conversion circuit, and the mains input power is connected to the mains interface fixed on the printed circuit board. The metering circuit is the core module. Its electrical reference ground, or baseline potential, is typically a single piece of copper. This copper is connected to the power supply wiring via the metering cables. This means that the entire metering reference ground "floats" above the power supply wiring, serving as the metering reference.

[0147] When the number of modules or power consumption of the power meter varies, the current flowing through the power trace will vary. In the current printed circuit board process, the power trace is a copper trace with a certain width and length. The thickness of the trace on the printed circuit can be customized. In fact, it is a copper wire. The copper wire itself has a certain impedance. The copper wire or power trace can be equivalent to a resistor R. The equivalent impedance R is calculated as follows:

[0148] .

[0149] Among them, ε r Represents the dielectric constant of the insulating material; H represents the length of the printed conductor; W represents the width of the printed conductor; T represents the thickness of the printed conductor.

[0150] like Figure 3 As shown in the figure, when the current flowing through the equivalent resistor R changes, the voltage drop across the resistor changes. The reference ground of the metering circuit is directly connected to B through the metering connection line. When the voltage drop across the resistor changes, the reference ground of the metering will also change accordingly. The internal sampling signals of the metering circuit are all based on this reference ground, that is, Figure 3 Point B is the reference level. When this reference level changes, the sampling signal of the sampling circuit inside the actual measurement circuit will also change in equal proportion. This is why the error changes synchronously when the current flowing through R changes.

[0151] When the sampling signal is large, the error variation caused by this change is very low, and the error fluctuation will not be large. However, when the sampling signal is small, the proportion of this change increases, and the error fluctuation in the measurement becomes large. The minimum value of the sampling signal will vary depending on the actual phenotype, and the impact of this change on different phenotypes will also be different.

[0152] In actual meter designs, the metering circuit is connected to the back end of the equivalent resistor, position B, via a metering connection cable. This is because current meter designs require the addition of circuit protection devices, such as varistors, between the mains input and the power conversion circuit, resulting in a relatively long power supply line. Furthermore, due to differences in structural components and other factors, layout variations often lead to longer lines. Therefore, the equivalent impedance of this line is unavoidable. This inevitably leads to small current errors being affected by the meter's power consumption, though the magnitude of the effect is a matter of course.

[0153] As described above, the fluctuation of the small current error is caused by the change of the voltage drop across the line equivalent impedance R.

[0154] The voltage drop can be reduced by reducing the equivalent impedance or connecting the metering connection line to the AC input power supply. According to the impedance formula, there are three ways to reduce the equivalent impedance, one is to reduce the length H of the printed conductor, the second is to increase the width W of the printed conductor, and the third is to increase the thickness T of the printed conductor. Among them, method three is due to the manufacturing process and cost reasons, the copper thickness of the traces on the printed circuit board is determined and generally will not be changed. Method two, due to the space of the circuit board, generally will not use a particularly wide trace, and even if the trace is widened, the improvement is not much, and it can only be widened as much as possible according to the actual space. The most effective method is to optimize the trace length. Connecting the metering connection line to the AC input power supply is actually a way to change the trace length. Therefore, according to the above description, adjust the wiring layout of the metering part and connect the metering connection line to the equivalent impedance front end A, that is, as close to the AC input power supply as possible, such as Figure 4 , and widen the power supply traces at the same time.

[0155] Use Figure 4 Even with this connection layout, the increased power consumption caused by module replacement or a change in the number of modules will still cause a change in the voltage drop across the equivalent resistor R. However, the voltage drop at point A is negligible compared to that at point B, resulting in minimal changes in the reference ground for measurement. This translates to little change in error for small currents. In practice, connecting the meter cable directly to the mains input power supply provides the best results.

[0156] Specifically, the solution includes the following steps:

[0157] S1: Determine the positions of the power conversion circuit, metering circuit, and AC input power supply on the printed circuit board, especially the relative positions of the AC input power supply and the power conversion circuit. During the layout, the power conversion circuit should be placed close to the AC input at point A, and no more than 1 cm away from the AC position.

[0158] S2: Consider other components near the AC input power supply and power conversion circuit. Keep other components away from these two parts as much as possible, and reserve space for the power supply wiring with a width of at least 2mm.

[0159] S3: Generally speaking, the copper thickness of the traces on the printed circuit board can be customized. If the cost and process allow, the copper thickness should not be less than 1 ounce;

[0160] S4: In actual design, the power supply line is generally connected to the power conversion circuit and the metering circuit after passing through some protective devices. In order to make the metering connection line as close to point A as possible, the protective device is arranged close to point A to ensure that the distance between the metering connection line and the mains power at point A does not exceed 1 cm.

[0161] For a typical PCB trace that's 5 cm long, 1 mm wide, and 1 ounce thick, the equivalent impedance is approximately 0.024 Ω. A 1 mA current change in the power trace causes a voltage drop across R of approximately 0.024 mV. This is negligible for high-current sampling signals, but for low-current signals, where the actual sampled signal may be less than 1 mV, the voltage drop across R can cause a 2.4% distortion in the sampled signal. Ideally, changes in trace length, width, and thickness will result in proportional impedance changes. For every 1 cm reduction in length, the corresponding distortion decreases by 0.48%, and for every 1 mm increase in width, the distortion decreases by 1.2%.

[0162] The beneficial effects of the technical solution provided by this application example: This application example proposes a method for optimizing small current measurement in electric meters. This method completely relies on the device layout and routing design on the printed circuit board, and can effectively solve the problem of small current error jumps caused by module replacement. This application example does not require additional devices or changes in device parameters, and can achieve the optimization goal at the lowest cost.

[0163] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.

[0164] Based on the same inventive concept, embodiments of the present application also provide a device for optimizing small current measurement error jitter for implementing the aforementioned method for optimizing small current measurement error jitter. The solution provided by this device is similar to the solution described in the aforementioned method. Therefore, the specific limitations of one or more embodiments of the device for optimizing small current measurement error jitter provided below can be found in the aforementioned method for optimizing small current measurement error jitter, and will not be further elaborated here.

[0165] In an exemplary embodiment, Figure 5 As shown, a device for optimizing small current measurement error fluctuations is provided. The device 500 for optimizing small current measurement error fluctuations may include:

[0166] Parameter acquisition module 501, used to obtain power consumption parameters of each functional module in the electric meter;

[0167] A first determining module 502 is configured to determine, based on the power consumption parameters, a change in current flowing through the power supply line of the electric meter when each functional module is operating;

[0168] A second determining module 503 is configured to determine an equivalent impedance of the power supply line according to the current variation and the property parameters of the power supply line;

[0169] A third determining module 504 is configured to determine a voltage drop variation on the power supply line according to the equivalent impedance and the current variation;

[0170] A fourth determining module 505 is configured to determine distortion information of a current measurement signal of a metering circuit of the electric meter according to the voltage drop variation;

[0171] An information generation module 506 is configured to generate layout information of the power supply line based on the distortion information; the layout information includes the layout distance between the power conversion circuit of the electric meter and the mains input power supply of the electric meter, as well as width parameters and thickness parameters of the power supply line;

[0172] The fifth determining module 507 is configured to determine a connection position of the meter connection line of the electric meter on the power line according to the layout information; the connection position is located on a side of the power line close to the mains input power source;

[0173] The solution generation module 508 is used to generate a printed circuit board layout solution for the electricity meter based on the connection positions and layout information.

[0174] In an exemplary embodiment, the device 500 further includes: a scheme acquisition module for acquiring an initial printed circuit board layout scheme of the electricity meter; the initial printed circuit board layout scheme includes location information of the power conversion circuit, the metering circuit, and the AC input power supply on the printed circuit board of the electricity meter; and a scheme generation module 508 for updating the initial printed circuit board layout scheme based on the connection location and layout information to obtain a printed circuit board layout scheme.

[0175] In an exemplary embodiment, the scheme generation module 508 is further used to update the properties of the power lines in the initial printed circuit board layout scheme to obtain a basic printed circuit board layout scheme for the electricity meter; and update the basic printed circuit board layout scheme based on the connection position and layout information to obtain a printed circuit board layout scheme.

[0176] In an exemplary embodiment, the scheme generation module 508 is further configured to widen the power traces in the initial printed circuit board layout scheme and thicken the copper cladding thickness of the power traces in the initial printed circuit board layout scheme to obtain a basic printed circuit board layout scheme.

[0177] In an exemplary embodiment, the fourth determining module 505 is further configured to determine a distortion ratio of the current measurement signal according to the voltage drop variation and the sampling signal strength of the metering circuit; and determine distortion information according to the distortion ratio.

[0178] In an exemplary embodiment, the fifth determination module 507 is further configured to determine a maximum distance threshold between the metering connection line on the power routing and the AC input power supply based on the layout distance in the layout information; and determine a connection position in a position area corresponding to the maximum distance threshold.

[0179] Each module in the aforementioned device for optimizing small current metering error fluctuations can be implemented in whole or in part through software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in hardware form, or can be stored in a computer device memory in software form, so that the processor can call and execute the corresponding operations of each module.

[0180] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 6As shown. The computer device includes a processor, memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, memory, and input / output interface are connected via a system bus, while the communication interface, display unit, and input device are connected to the system bus via the input / output interface. The processor of the computer device provides computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with external terminals via wired or wireless means, and the wireless means can be achieved via Wi-Fi, mobile cellular networks, NFC (near-field communication), or other technologies. When executed by the processor, the computer program implements a method for optimizing small current metering error jitter. The display unit of the computer device is used to produce a visual image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device casing, or an external keyboard, touchpad or mouse.

[0181] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0182] In an exemplary embodiment, a computer device is further provided, including a memory and a processor. The memory stores a computer program, and the processor implements the steps in the above method embodiments when executing the computer program.

[0183] In an exemplary embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0184] In an exemplary embodiment, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the steps in the above method embodiments are implemented.

[0185] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the above-mentioned embodiments. In particular, any reference to memory, database, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The databases involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processors involved in the various embodiments provided herein may be, but are not limited to, general-purpose processors, central processing units (CPUs), graphics processing units (GPUs), digital signal processors (DSPs), programmable logic devices (PLDs), data processing logic devices based on quantum computing, and the like.

[0186] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0187] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.

Claims

1. A method for optimizing small current measurement error fluctuations, characterized in that: The method comprises: Obtain the power consumption parameters of each functional module in the meter; determining, based on the power consumption parameters, a change in current flowing through a power supply line of the electric meter when each functional module is operating; determining an equivalent impedance of the power supply line according to the current variation and the property parameters of the power supply line; Determining a voltage drop variation on the power supply line according to the equivalent impedance and the current variation; determining distortion information of a current measurement signal of a metering circuit of the electric meter according to the voltage drop variation; Generating layout information of the power trace according to the distortion information; the layout information includes a layout distance between a power conversion circuit of the electric meter and a mains input power supply of the electric meter, and a width parameter and a thickness parameter of the power trace; Determining, based on the layout information, a connection position of the meter connection line of the electric meter on the power line; the connection position is located on a side of the power line close to the mains input power supply; A printed circuit board layout plan of the electricity meter is generated according to the connection position and the layout information.

2. The method according to claim 1, characterized in that Before generating a printed circuit board layout plan of the electric meter according to the connection position and the layout information, the method further includes: Obtaining an initial printed circuit board layout plan of the electricity meter; the initial printed circuit board layout plan includes position information of the power conversion circuit, the metering circuit, and the mains input power supply on the printed circuit board of the electricity meter; Generating a printed circuit board layout scheme of the electric meter according to the connection position and the layout information includes: The initial printed circuit board layout scheme is updated according to the connection position and the layout information to obtain the printed circuit board layout scheme.

3. The method according to claim 2, characterized in that The updating process of the initial printed circuit board layout scheme according to the connection position and the layout information to obtain the printed circuit board layout scheme includes: Performing attribute update processing on the power supply lines in the initial printed circuit board layout scheme to obtain a basic printed circuit board layout scheme for the electric meter; The basic printed circuit board layout scheme is updated according to the connection position and the layout information to obtain the printed circuit board layout scheme.

4. The method according to claim 3, characterized in that The updating of the attributes of the power supply lines in the initial printed circuit board layout scheme to obtain the basic printed circuit board layout scheme of the electric meter includes: The power supply lines in the initial printed circuit board layout scheme are widened, and the copper cladding thickness of the power supply lines in the initial printed circuit board layout scheme is thickened to obtain the basic printed circuit board layout scheme.

5. The method according to claim 1, wherein Determining distortion information of a current measurement signal of a metering circuit of the electric meter according to the voltage drop variation includes: determining a distortion ratio of the current measurement signal according to the voltage drop variation and the sampling signal strength of the metering circuit; The distortion information is determined according to the distortion ratio.

6. The method according to any one of claims 1 to 5, characterized in that Determining, based on the layout information, a connection position of the meter connection line of the electric meter on the power line includes: determining, according to the layout distance in the layout information, a maximum distance threshold between the metering connection line on the power supply line and the mains input power supply; The connection location is determined in a location area corresponding to the maximum distance threshold.

7. An optimization device for small current measurement error fluctuation, characterized in that: The device comprises: A parameter acquisition module is used to obtain the power consumption parameters of each functional module in the electric meter; a first determining module, configured to determine, based on the power consumption parameter, a change in current flowing through a power supply line of the electric meter when each functional module is operating; a second determining module, configured to determine an equivalent impedance of the power supply line according to the current variation and a property parameter of the power supply line; a third determining module, configured to determine a voltage drop variation on the power line according to the equivalent impedance and the current variation; a fourth determining module, configured to determine distortion information of a current measurement signal of a metering circuit of the electric meter according to the voltage drop variation; an information generation module, configured to generate layout information of the power trace based on the distortion information; the layout information including a layout distance between a power conversion circuit of the electric meter and a mains input power supply of the electric meter, and a width parameter and a thickness parameter of the power trace; a fifth determining module, configured to determine, based on the layout information, a connection position of the meter connection line of the electric meter on the power line; the connection position being located on a side of the power line close to the mains input power supply; A solution generating module is used to generate a printed circuit board layout solution of the electric meter according to the connection position and the layout information.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Electric drive system layout method, device, equipment, storage medium and program product

    CN118114461A

  • Current detection method for improving PCB layout

    CN118624970A

  • PCB intelligent optimization layout and wiring method, device and equipment and storage medium

    CN119358503A