Methods, apparatus, and computer equipment for optimizing small current metering error fluctuations

CN120490958BActive Publication Date: 2026-09-01ELECTRIC POWER RES INST CHINA SOUTHERN POWER GRID CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

这些功能模块的增加会导致电表本身电源负载功耗的增加,从而对电表的计量准确性产生影响

Benefits of technology

[0064]根据所述连接位置和所述布局信息,生成所述电表的印制电路板布局方案。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120490958B_ABST
    Figure CN120490958B_ABST
Patent Text Reader

Abstract

This application relates to an optimization method, apparatus, and computer equipment for small current metering error fluctuation, applicable to the field of power technology. The method includes: acquiring power consumption parameters of each functional module in the meter; determining the current change in the power supply traces flowing through the meter when each functional module is operating based on the power consumption parameters; determining the equivalent impedance of the power supply traces based on the current change and the attribute parameters of the power supply traces; determining the voltage drop change on the power supply traces based on the equivalent impedance and the current change; determining the distortion information of the current measurement signal of the meter's metering circuit based on the voltage drop change; generating layout information of the power supply traces based on the distortion information; determining the connection positions of the meter's metering connection lines on the power supply traces based on the layout information; and generating a printed circuit board layout scheme for the meter based on the connection positions and layout information. This method can improve the metering accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power technology, and in particular to an optimization method, apparatus, computer equipment, computer-readable storage medium, and computer program product for small current metering error fluctuation. Background Technology

[0002] With the development of smart grid construction, smart meters, as fundamental equipment in the power system, are evolving towards multi-functionality and intelligence. To improve the performance of measurement equipment and its flexible management capabilities, smart meters need to be equipped with more functional modules. The addition of these modules leads to an increase in the power consumption of the meter itself, thereby affecting the metering accuracy.

[0003] Traditional technologies typically improve the metering accuracy of electricity meters through circuit optimization; however, traditional design schemes have significant shortcomings in practical applications. Designers generally only focus on the compliance of design specifications and do not care whether the design scheme is optimal, resulting in low metering accuracy of electricity meters. Summary of the Invention

[0004] Therefore, it is necessary to provide an optimization method, apparatus, computer equipment, computer-readable storage medium, and computer program product that can improve the metering accuracy of electricity meters by addressing the aforementioned technical problems.

[0005] Firstly, this application provides a method for optimizing the fluctuation of small current metering errors. The method includes:

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

[0007] Based on the power consumption parameters, determine the change in current flowing through the power supply lines of the meter when each functional module is working;

[0008] The equivalent impedance of the power supply trace is determined based on the current change and the attribute parameters of the power supply trace.

[0009] The voltage drop change on the power supply line is determined based on the equivalent impedance and the current change.

[0010] Based on the voltage drop change, the distortion information of the current measurement signal of the meter's metering circuit is determined;

[0011] Based on the distortion information, the layout information of the power supply trace 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, as well as the width and thickness parameters of the power supply trace.

[0012] Based on the layout information, the connection position of the meter's metering connection line on the power supply line is determined; the connection position is located on the side of the power supply line closer to the mains input power.

[0013] Based on the connection locations and the layout information, a printed circuit board layout scheme for the electricity meter is generated.

[0014] In one embodiment, before generating the printed circuit board layout scheme of the meter based on the connection locations and the layout information, the method further includes:

[0015] Obtain the initial printed circuit board layout scheme of the electricity meter; the initial printed circuit board layout scheme 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;

[0016] The step of generating a printed circuit board layout scheme for the electricity meter based on the connection location and the layout information includes:

[0017] Based on the connection locations and the layout information, the initial printed circuit board layout scheme is updated to obtain the final printed circuit board layout scheme.

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

[0019] The power traces in the initial printed circuit board layout scheme are updated to obtain the basic printed circuit board layout scheme of the meter.

[0020] Based on the connection locations and the layout information, the basic printed circuit board layout scheme is updated to obtain the printed circuit board layout scheme.

[0021] In one embodiment, the step of updating the attributes of the power traces in the initial printed circuit board layout scheme to obtain the basic printed circuit board layout scheme of the meter includes:

[0022] The power traces in the initial printed circuit board layout are widened, and the copper thickness of the power traces in the initial printed circuit board layout is increased to obtain the basic printed circuit board layout.

[0023] In one embodiment, determining the distortion information of the current measurement signal of the meter's metering circuit based on the voltage drop change includes:

[0024] The distortion ratio of the current measurement signal is determined based on the voltage drop change and the sampling signal strength of the metering circuit.

[0025] The distortion information is determined based on the distortion ratio.

[0026] In one embodiment, determining the connection position of the metering connection line of the electricity meter on the power supply line based on the layout information includes:

[0027] Based on the layout distance in the layout information, determine the 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 within the location region corresponding to the maximum distance threshold.

[0029] Secondly, this application also provides an optimization device for small current metering error fluctuation. The device includes:

[0030] The parameter acquisition module is used to acquire the power consumption parameters of each functional module in the meter;

[0031] The first determining module is used to determine the change in current flowing through the power supply line of the meter when each functional module is working, based on the power consumption parameters.

[0032] The second determining module is used to determine the equivalent impedance of the power supply trace based on the current change and the attribute parameters of the power supply trace.

[0033] The third determining module is used to determine the voltage drop change on the power supply line based on the equivalent impedance and the current change.

[0034] The fourth determining module is used to determine the distortion information of the current measurement signal of the metering circuit of the electricity meter based on the voltage drop change.

[0035] An information generation module is used to generate layout information of the power supply trace based on the distortion information; the layout information includes the layout distance between the power conversion circuit of the meter and the mains input power of the meter, as well as the width and thickness parameters of the power supply trace.

[0036] The fifth determining module is used to determine the connection position of the metering connection line of the electricity meter on the power supply line according to the layout information; the connection position is located on the side of the power supply line closer to the mains input power.

[0037] The scheme generation module is used to generate a printed circuit board layout scheme for the electricity meter based on the connection location and the layout information.

[0038] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:

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

[0040] Based on the power consumption parameters, determine the change in current flowing through the power supply lines of the meter when each functional module is working;

[0041] The equivalent impedance of the power supply trace is determined based on the current change and the attribute parameters of the power supply trace.

[0042] The voltage drop change on the power supply line is determined based on the equivalent impedance and the current change.

[0043] Based on the voltage drop change, the distortion information of the current measurement signal of the meter's metering circuit is determined;

[0044] Based on the distortion information, the layout information of the power supply trace 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, as well as the width and thickness parameters of the power supply trace.

[0045] Based on the layout information, the connection position of the meter's metering connection line on the power supply line is determined; the connection position is located on the side of the power supply line closer to the mains input power.

[0046] Based on the connection locations and the layout information, a printed circuit board layout scheme for the electricity meter is generated.

[0047] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:

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

[0049] Based on the power consumption parameters, determine the change in current flowing through the power supply lines of the meter when each functional module is working;

[0050] The equivalent impedance of the power supply trace is determined based on the current change and the attribute parameters of the power supply trace.

[0051] The voltage drop change on the power supply line is determined based on the equivalent impedance and the current change.

[0052] Based on the voltage drop change, the distortion information of the current measurement signal of the meter's metering circuit is determined;

[0053] Based on the distortion information, the layout information of the power supply trace 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, as well as the width and thickness parameters of the power supply trace.

[0054] Based on the layout information, the connection position of the meter's metering connection line on the power supply line is determined; the connection position is located on the side of the power supply line closer to the mains input power.

[0055] Based on the connection locations and the layout information, a printed circuit board layout scheme for the electricity meter is generated.

[0056] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:

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

[0058] Based on the power consumption parameters, determine the change in current flowing through the power supply lines of the meter when each functional module is working;

[0059] The equivalent impedance of the power supply trace is determined based on the current change and the attribute parameters of the power supply trace.

[0060] The voltage drop change on the power supply line is determined based on the equivalent impedance and the current change.

[0061] Based on the voltage drop change, the distortion information of the current measurement signal of the meter's metering circuit is determined;

[0062] Based on the distortion information, the layout information of the power supply trace 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, as well as the width and thickness parameters of the power supply trace.

[0063] Based on the layout information, the connection position of the meter's metering connection line on the power supply line is determined; the connection position is located on the side of the power supply line closer to the mains input power.

[0064] Based on the connection locations and the layout information, a printed circuit board layout scheme for the electricity meter is generated.

[0065] The aforementioned optimization method, apparatus, computer equipment, computer-readable storage medium, and computer program product for small current metering error fluctuation obtains the power consumption parameters of each functional module in the electricity meter; based on the power consumption parameters, determines the current change of the power supply traces flowing through the electricity meter when each functional module is working; based on the current change and the attribute parameters of the power supply traces, determines the equivalent impedance of the power supply traces; based on the equivalent impedance and the current change, determines the voltage drop change on the power supply traces; based on the voltage drop change, determines the distortion information of the current measurement signal of the meter's metering circuit; based on the distortion information, generates layout information for the power supply traces; the layout information includes the layout distance between the power conversion circuit of the electricity meter and the mains input power of the electricity meter, as well as the width and thickness parameters of the power supply traces; based on the layout information, determines the connection position of the metering connection line on the power supply traces; the connection position is located on the side of the power supply trace closer to the mains input power; based on the connection position and the layout information, generates a printed circuit board layout scheme for the electricity meter. This scheme obtains the power consumption parameters of each functional module in the meter and determines the current change in the power supply traces flowing through the meter when each functional module is working, which is beneficial for accurately predicting the dynamic changes of current in the power supply traces. By determining the equivalent impedance of the power supply traces based on the current change and the attribute parameters of the power supply traces, and further determining the voltage drop change on the power supply traces, it is beneficial for quantitatively analyzing the voltage fluctuations on the power supply traces. By determining the distortion information of the current measurement signal of the meter's metering circuit based on the voltage drop change, it is beneficial for identifying the specific impact of voltage drop change on metering accuracy. By generating layout information including the layout distance between the power conversion circuit and the mains input power, as well as the width and thickness parameters of the power supply traces, based on the distortion information, and by determining the connection position of the metering connection line on the power supply trace closer to the mains input power, it is beneficial for connecting the reference ground of the metering circuit to a position with smaller voltage drop change. By generating a printed circuit board layout scheme for the meter based on the connection position and layout information, it is beneficial for reducing the interference of functional module operating status changes on the current measurement signal of the metering circuit from the source, thereby improving the metering accuracy. Attached Figure Description

[0066] To more clearly illustrate the technical solutions in the embodiments or related technologies of this application, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0067] Figure 1 This is a flowchart illustrating an optimization method for small current metering error fluctuation in one embodiment;

[0068] Figure 2 This is a schematic diagram of the connection between the electricity meter and the power supply section in one embodiment;

[0069] Figure 3 This is a schematic diagram of the equivalent impedance connection between the electricity meter and the power supply section in one embodiment.

[0070] Figure 4 This is a schematic diagram showing the optimized connection of the electricity meter and power supply section in one embodiment.

[0071] Figure 5 This is a structural block diagram of an optimization device for small current metering error fluctuation in one embodiment;

[0072] Figure 6 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0073] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of 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, data stored, data displayed, 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 the relevant data must comply with relevant regulations.

[0075] In one exemplary embodiment, such as Figure 1 As shown, an optimization method for small current metering error fluctuation is provided. This embodiment illustrates the application of this method to a terminal. It is understood that this method can also be applied to a server, and to a system including both 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, tablets, etc.; the server can be a standalone 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: Obtain the power consumption parameters of each functional module in the meter;

[0077] Step S102: Determine the change in current flowing through the power supply line of the meter when each functional module is working, based on the power consumption parameters.

[0078] Step S103: Determine the equivalent impedance of the power supply trace based on the current change and the attribute parameters of the power supply trace.

[0079] Step S104: Determine the voltage drop change on the power supply line based on the equivalent impedance and current change.

[0080] Step S105: Determine the distortion information of the current measurement signal of the meter's metering circuit based on the voltage drop change.

[0081] Step S106: Generate power trace layout information based on distortion information; layout information includes the layout distance between the power conversion circuit of the meter and the mains input power of the meter, as well as the width and thickness parameters of the power trace.

[0082] Step S107: Based on the layout information, determine the connection position of the meter's metering connection line on the power supply line; the connection position is located on the side of the power supply line closest to the mains input power.

[0083] Step S108: Generate the printed circuit board layout scheme of the meter based on the connection location and layout information.

[0084] Among them, the electricity meter can be a smart meter or a metering automation terminal. For example, the electricity meter can be a metering device equipped with a load identification function module, an orderly charging function module, and other functional modules.

[0085] Among them, the functional modules can be various types of load modules equipped on the electricity meter, such as load identification function modules, orderly charging function modules, etc., which will generate different load power consumption.

[0086] Among them, the power consumption parameter can be the electrical power consumed by each functional module when it is working.

[0087] Among them, the power trace can be a copper wire on the printed circuit board that connects the mains input power and the power conversion circuit. For example, the power trace can 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] Among them, the change in current can be the difference in the current flowing through the power supply line caused by the change in the working state of the functional module. For example, the change in current can be the change in the current flowing through the power supply line when the meter is equipped with different numbers or different power consumption modules.

[0089] Among them, the attribute parameters can be the physical characteristic parameters of the power trace, such as the length, width, thickness of the power trace, and the dielectric constant of the insulating material.

[0090] The equivalent impedance can be the resistive characteristic of the power supply trace as a copper conductor.

[0091] The voltage drop change can be the voltage drop change caused by the change in current across the equivalent impedance. For example, the voltage drop change can be the voltage drop change across the equivalent impedance when the current in the power supply line changes.

[0092] Among them, the metering circuit can be the core circuit module of the electricity meter responsible for measuring electricity. For example, the metering circuit can be a circuit connected to the power supply line through the metering connection line, and its electrical reference ground is the metering reference.

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

[0094] The distortion information can be the degree of signal distortion caused by changes in voltage drop in the current measurement signal. For example, the distortion information can be the degree of distortion of the sampling signal caused by changes in voltage drop when the reference ground of the metering circuit changes. This distortion will affect the metering accuracy of small current load points.

[0095] The layout information can be the design configuration parameters of the power traces on the printed circuit board.

[0096] Among them, the power conversion circuit can be a circuit module in the meter that is responsible for the power conversion function. For example, the power conversion circuit can be a circuit module that obtains input power from the mains power input through the power line.

[0097] Among them, the AC power input can be a fixed AC power interface on the printed circuit board. For example, the AC power input can be an interface that connects to the AC power supply to provide AC power input to the printed circuit board.

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

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

[0100] The thickness parameter can be the thickness of the power trace, or, for example, the thickness of the copper plating on the trace on the printed circuit board, provided that cost and process allow.

[0101] Among them, the metering connection line can be a wire that connects the metering circuit and the power supply line.

[0102] The connection location can be a specific connection point of the metering connection line on the power supply line. For example, the connection location can be a connection point located on the side of the power supply line closer to the mains input power supply, so as to reduce the impact of voltage drop changes on the reference ground of the metering circuit.

[0103] Among them, the printed circuit board layout scheme can be the overall design scheme of the printed circuit board of the electricity meter. For example, the printed circuit board layout scheme can be a PCB (printed circuit board) design scheme that optimizes the metering of small current errors based on the connection position and layout information.

[0104] Optionally, the terminal acquires the power consumption parameters of each functional module in the meter, and determines the power consumption value of each functional module by analyzing the operating current and voltage of different types of functional modules such as the load identification functional module and the orderly charging functional module; based on the power consumption parameters, it determines the change in current flowing through the power supply line of the meter when the meter is equipped with different numbers or different power consumption functional modules by analyzing the changes in the operating state of each functional module; based on the change in current and the attribute parameters of the power supply line, it calculates and determines the equivalent impedance of the power supply line; based on the equivalent impedance and the change in current, it calculates and determines the change in voltage drop on the power supply line using Ohm's law; based on the change in voltage drop, it determines the distortion information of the current measurement signal of the meter's metering circuit by analyzing the change in reference level of the reference ground due to the change in voltage drop, and this distortion will... The degree of distortion in the sampling signal is determined. Based on the distortion information, the layout information of the power traces is generated by optimizing the device layout and trace design on the printed circuit board. The layout information includes the layout distance between the power conversion circuit and the mains input power of the meter, which is to keep the power conversion circuit as close as possible to the mains input power to shorten the length of the power trace; the width parameters of the power traces are to be increased as much as possible within the PCB space; and the thickness parameters of the copper plating of the traces are to be increased as much as possible within the cost and process constraints. Based on the layout information, the connection position of the meter's metering connection line on the power trace is determined. The connection position is located on the side of the power trace closer 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, the PCB layout scheme of the meter is generated.

[0105] In the aforementioned optimization method for small current metering error fluctuation, the power consumption parameters of each functional module in the meter are obtained; based on the power consumption parameters, the current change flowing through the power supply traces of the meter when each functional module is working is determined; based on the current change and the attribute parameters of the power supply traces, the equivalent impedance of the power supply traces is determined; based on the equivalent impedance and the current change, the voltage drop change on the power supply traces is determined; based on the voltage drop change, the distortion information of the current measurement signal of the meter's metering circuit is determined; based on the distortion information, the layout information of the power supply traces is generated; the layout information includes the layout distance between the meter's power conversion circuit and the meter's mains input power supply, as well as the width and thickness parameters of the power supply traces; based on the layout information, the connection position of the meter's metering connection line on the power supply trace is determined; the connection position is located on the side of the power supply trace closer to the mains input power supply; based on the connection position and the layout information, the printed circuit board layout scheme of the meter is generated. This scheme obtains the power consumption parameters of each functional module in the meter and determines the current change in the power supply traces flowing through the meter when each functional module is working, which is beneficial for accurately predicting the dynamic changes of current in the power supply traces. By determining the equivalent impedance of the power supply traces based on the current change and the attribute parameters of the power supply traces, and further determining the voltage drop change on the power supply traces, it is beneficial for quantitatively analyzing the voltage fluctuations on the power supply traces. By determining the distortion information of the current measurement signal of the meter's metering circuit based on the voltage drop change, it is beneficial for identifying the specific impact of voltage drop change on metering accuracy. By generating layout information including the layout distance between the power conversion circuit and the mains input power, as well as the width and thickness parameters of the power supply traces, based on the distortion information, and by determining the connection position of the metering connection line on the power supply trace closer to the mains input power, it is beneficial for connecting the reference ground of the metering circuit to a position with smaller voltage drop change. By generating a printed circuit board layout scheme for the meter based on the connection position and layout information, it is beneficial for reducing the interference of functional module operating status changes on the current measurement signal of the metering circuit from the source, thereby improving the metering accuracy.

[0106] In an exemplary embodiment, before generating the printed circuit board layout scheme of the electricity meter based on the connection location and layout information, the method further includes: obtaining an initial printed circuit board layout scheme of the electricity meter; the initial printed circuit board layout scheme 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 scheme of the electricity meter based on the connection location and layout information specifically includes: updating the initial printed circuit board layout scheme based on the connection location and layout information to obtain the printed circuit board layout scheme.

[0107] The initial printed circuit board layout scheme can be the original design scheme of the printed circuit board of the electricity meter. For example, the initial printed circuit board layout scheme can be the position distribution scheme of each component on the printed circuit board determined before optimization.

[0108] The location information can be the specific coordinates and layout data of each device on the printed circuit board. For example, the location information can be the relative position coordinates and layout parameters of the power conversion circuit, metering circuit, and mains input power supply on the printed circuit board.

[0109] The update process can be a process of improving and optimizing the initial printed circuit board layout scheme.

[0110] Optionally, before generating the printed circuit board layout scheme of the meter based on the connection location and layout information, the terminal obtains the initial printed circuit board layout scheme of the meter through design software or system. The initial printed circuit board layout scheme includes the position information of the power conversion circuit, metering circuit, and mains input power on the printed circuit board of the meter, such as the specific coordinates and arrangement parameters. This 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 scheme according to the connection location and layout information to obtain the printed circuit board layout scheme. The update process specifically includes adjusting the position of the power conversion circuit to be as close as possible to the mains input power to shorten the power trace length, adjusting the position of other components to be away from the mains input power and power conversion circuit to reserve space for power traces, widening the power trace as much as possible according to the width parameters in the layout information within the space allowed by the printed circuit board, adjusting the copper thickness of the traces according to the thickness parameters in the layout information within the limits of cost and process, and adjusting the connection point of the metering connection line to the side of the power trace closer to the mains input power according to the connection location.

[0111] The technical solution provided in this embodiment obtains the initial printed circuit board (PCB) layout of the electricity meter and the location information of the power conversion circuit, metering circuit, and mains input power supply on the PCB. This provides basic data and reference for subsequent layout optimization. By updating the initial PCB layout based on the connection positions and layout information, a new PCB layout is obtained, which facilitates targeted improvements and optimizations based on the original design, avoiding the complexity of redesigning the entire layout. Updating the initial PCB layout allows for systematic adjustments to key elements such as the location of the power conversion circuit, power trace parameters, and metering connection positions. This helps to minimize the impact of functional module changes on the accuracy of low-current metering while maintaining the rationality of the original design.

[0112] In an exemplary embodiment, the initial printed circuit board layout scheme is updated according to the connection location and layout information to obtain a printed circuit board layout scheme. Specifically, this includes: updating the attributes of the power traces in the initial printed circuit board layout scheme to obtain the basic printed circuit board layout scheme of the meter; and updating the basic printed circuit board layout scheme according to the connection location and layout information to obtain the printed circuit board layout scheme.

[0113] Among them, attribute update processing can be a process of adjusting and improving the physical attribute parameters of power traces.

[0114] The basic printed circuit board layout scheme can be an intermediate layout scheme obtained by updating the power trace attributes in the initial printed circuit board layout scheme.

[0115] Optionally, the terminal performs attribute update processing on the power traces in the initial printed circuit board layout scheme to obtain the basic printed circuit board layout scheme of the meter. Attribute update processing specifically includes adjusting the width of the power traces based on the width parameters in the layout information, within the limits of available printed circuit board space, to maximize the width of the power traces; and adjusting the copper thickness parameters of the traces on the printed circuit board based on the thickness parameters in the layout information, within the limits of cost and process feasibility. This is achieved by increasing the width W and thickness T of the printed conductors to reduce the equivalent impedance, thereby forming the basic printed circuit board layout scheme. The terminal then updates the basic printed circuit board layout based on the connection locations and layout information. The board layout scheme is updated to obtain the printed circuit board layout scheme. 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 supply position to shorten the printed conductor length H; adjusting other components away from the mains input power supply and the power conversion circuit section to reserve space for power traces; adjusting the position of the protective device according to the connection position so that the protective device is also as close as possible to point A at the mains input power supply; and adjusting the connection point of the metering connection line from the equivalent impedance back end B position to the equivalent impedance front end A position, that is, the side of the power trace close to the mains input power supply.

[0116] The technical solution provided in this embodiment obtains the basic printed circuit board layout scheme of the electricity meter by updating the attributes of the power traces in the initial printed circuit board layout scheme, which is beneficial to prioritize the adjustment of the physical attribute parameters of the power traces; by updating the basic printed circuit board layout scheme according to the connection position and layout information, the printed circuit board layout scheme is obtained, which is beneficial to systematically adjust the device position and connection position based on the optimized power trace attributes; through the step-by-step update process, the complex layout optimization process is decomposed 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 to obtain the basic printed circuit board layout of the meter. Specifically, this includes widening the power traces in the initial printed circuit board layout and thickening the copper layer thickness of the power traces in the initial printed circuit board layout to obtain the basic printed circuit board layout.

[0118] Among them, widening processing can be a process of increasing or adjusting the power trace width parameter. For example, widening processing can be a process of adjusting the power trace width from the original design value to a wider value according to the space allowed by the printed circuit board.

[0119] Among them, copper cladding thickness can be the thickness dimension parameter of the copper cladding on the traces of the printed circuit board.

[0120] Thickening processing can be an operation that increases or adjusts the copper thickness parameter of power traces. For example, thickening processing can be a process that adjusts the copper thickness of power traces from the original thickness to a thicker thickness if cost and process allow.

[0121] Optionally, the terminal widens the power traces in the initial printed circuit board layout. This widening process specifically includes reading the original width parameters of the power traces in the initial printed circuit board layout and then adjusting the width of the power traces from the original design value to a wider value according to the space allowed by the printed circuit board. This reduces the equivalent impedance R by increasing the width W of the printed conductor. At the same time, the terminal thickens the copper layer of the power traces in the initial printed circuit board layout. This thickening process specifically includes adjusting the thickness parameters of the copper layer of the traces on the printed circuit board within the limits of cost and process. This further reduces the equivalent impedance R by increasing the thickness T of the printed conductor, thereby obtaining a basic printed circuit board layout that achieves dual optimization of power trace width and thickness.

[0122] The technical solution provided in this embodiment, by widening the power traces in the initial printed circuit board layout scheme, is beneficial to increasing the width parameter of the power traces to improve their conductivity; by thickening the copper layer thickness of the power traces in the initial printed circuit board layout scheme, is beneficial to increasing the thickness parameter of the power traces to further improve their conductivity; thus forming a basic printed circuit board layout scheme with better conductivity.

[0123] In one exemplary embodiment, the distortion information of the current measurement signal of the metering circuit is determined based on the voltage drop change, specifically including the following: determining the distortion ratio of the current measurement signal based on the voltage drop change and the sampling signal strength of the metering circuit; and determining the distortion information based on the distortion ratio.

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

[0125] The distortion ratio can be the ratio of the distortion of the current measurement signal to that of the normal signal. For example, the distortion ratio can be the ratio between the voltage drop change 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. This determination process specifically includes acquiring the voltage drop change across the equivalent impedance of the power supply trace on the printed circuit board. This voltage drop change is caused by the change in current flowing through the power supply trace due to differences in meter power consumption. Simultaneously, the terminal acquires the sampling signal strength generated by the sampling circuit inside the metering circuit. This sampling signal strength is the amplitude of the current measurement signal in the metering circuit, and at low current load points, the sampling signal strength may be less than 1mV. The terminal obtains the distortion ratio by calculating the proportional relationship between the voltage drop change and the sampling signal strength. This 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. This distortion information is used to quantitatively assess the degree of distortion of the current measurement signal affected by the voltage drop change.

[0127] The technical solution provided in this embodiment determines the distortion ratio of the current measurement signal based on the voltage drop change and the sampling signal strength of the metering circuit. This facilitates the quantitative evaluation of the impact of voltage drop changes on the current measurement signal and establishes a proportional relationship between the voltage drop change and the sampling signal strength. Consequently, it helps to accurately identify and evaluate the degree of distortion of the current measurement signal affected by voltage drop changes, providing precise distortion quantification data for the performance analysis of the metering circuit.

[0128] In an exemplary embodiment, the connection position of the metering connection line of the electricity meter on the power supply line is determined according to the layout information. Specifically, this includes: determining the maximum distance threshold between the metering connection line on the power supply line and the mains input power source based on the layout distance in the layout information; and determining the connection position in the location area corresponding to the maximum distance threshold.

[0129] The maximum distance threshold can be a threshold limit value for the maximum allowable distance between the metering connection line and the mains input power source. For example, the maximum distance threshold can 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 source to reduce the effect of equivalent impedance.

[0130] The location region can be a spatial range on a power trace that meets the maximum distance threshold condition. For example, the location region can be an optional connection region on a power trace within the 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 trace and the mains input power supply based on the layout distance in the layout information. This determination process specifically includes obtaining the relative layout distance information between the mains input power supply and the power conversion circuit on the printed circuit board. This layout distance directly affects the equivalent impedance of the power supply trace. The terminal calculates the impact 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 to ensure metering accuracy. This maximum distance threshold is to ensure that the metering connection line can be as close as possible to the mains input power supply to reduce the impact of equivalent impedance. The terminal determines the connection position in the location area corresponding to the maximum distance threshold. This location area is the spatial range area on the power supply trace that meets the maximum distance threshold condition. The terminal selects the optimal connection position in this area to connect the metering connection line to the power supply trace.

[0132] The technical solution provided in this embodiment 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, which helps to ensure that the connection distance is within a reasonable threshold range; by determining the connection position in the location area corresponding to the maximum distance threshold, it is beneficial to accurately select the optimal connection position under the premise of meeting the distance threshold limit; and it is beneficial to achieve precise control and optimized selection of the connection position of the metering connection line on the power supply line.

[0133] The following application example illustrates the optimization method for small current metering error fluctuation provided in this application. This application example demonstrates the application of this method to a terminal.

[0134] With the iterative upgrades of smart meters and automated metering terminals, meters are no longer simply simple terminal metering devices. They require improved performance and flexible management capabilities, innovative application scenarios, and a comprehensive enhancement of the sensing capabilities and intelligence level of on-site operating equipment. This necessitates equipping meters with more functional modules (including load identification modules and orderly charging modules), leading to increased power consumption. This increased power consumption can affect metering accuracy, especially at low-current load points. The degree of 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 equipped.

[0135] The disadvantages of existing technology are:

[0136] (1) Existing technology does not pay attention to the small current error changes caused by the difference in module power consumption. When the meter leaves the factory, it is calibrated without modules, and the factory error data meets the technical specifications. However, the meter in the field will be equipped with different types of modules in varying quantities according to the needs. At this time, the error caused by the module change will not be noticed or detected, especially at the low current load point.

[0137] (2) According to the current technical requirements of the electricity meter industry, the accuracy of the small current load point error is larger than that of the medium current and large current errors. When the consistency of the electricity meter is not good, the power consumption caused by adding modules may lead to the small current load point error becoming worse.

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

[0139] To address the aforementioned shortcomings, the purpose of this application example is:

[0140] This paper proposes an optimized scheme for measuring low-current errors, ensuring consistency and stability of low-current errors even when equipping the meter with different load modules. Specifically, it includes: theoretically analyzing the reasons why different modules cause variations in low-current errors; and providing a PCB (printed circuit board) layout and routing scheme, clearly defining layout and routing principles to minimize the fluctuations in low-current errors caused by equipping different modules or adding modules.

[0141] This application example provides an optimized wiring scheme for electricity meter layout, which can significantly improve the consistency and stability of small current errors caused by different modules. Details are as follows:

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

[0143] Figure 3 This is a schematic diagram of the equivalent impedance connection between the metering and power supply sections of an electricity meter.

[0144] Figure 4 This is a schematic diagram showing the optimized connection of an electricity meter and its power supply components.

[0145] in, Figure 2 , Figure 3 and Figure 4 It includes: voltage / current sampling circuit, metering circuit, power conversion circuit, meter components, metering connection line, mains input power supply, power supply wiring, point A and point B. Figure 3 and Figure 4 It also includes the equivalent impedance R.

[0146] like Figure 2 As shown, the circuit includes a sampling circuit, a metering circuit, metering connection lines, power traces, a power conversion circuit, and an AC input power supply. The sampling circuit provides the sampling signal and connects to the metering circuit, which is connected to the power traces via the metering connection lines. Simultaneously, the power traces provide the input path for the power conversion circuit, and the AC input power supply is a fixed AC interface on the printed circuit board. Here, the metering circuit is the core module. Its electrical reference ground, or reference potential, is typically a single copper layer, connected to the power traces via the metering connection lines. In other words, the entire metering reference ground "floats" on the power traces, using this metering ground as the metering reference.

[0147] When the number of modules or the power consumption of a meter varies, the current flowing through the power supply trace will differ. In current printed circuit board (PCB) technology, the power supply trace is a copper trace with a certain width and length. The thickness of this trace on the printed circuit board can be customized; it is essentially a single copper wire. This copper wire itself has a certain impedance, which can be considered equivalent to a resistor R. The equivalent impedance R is calculated using the following formula:

[0148] .

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

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

[0151] When the sampled signal is relatively large, the proportion of error variation caused by this change is very low, and it does not manifest as a large error fluctuation. However, when the sampled signal is very small, the proportion of this change becomes larger, and the error fluctuation manifested in the measurement becomes large. The minimum value of the sampled signal will vary for different phenotypes, and the impact of this change on different phenotypes will also vary.

[0152] In actual meter design, the metering circuit is connected to position B at the equivalent resistance end via a metering connection line. This is because, according to current meter designs, some circuit protection devices, such as varistors, need to be added between the mains input power supply and the power conversion circuit, resulting in a relatively long power supply trace. Additionally, differences in structural components often lead to different layouts, further increasing the trace length. Therefore, the equivalent impedance of this line is unavoidable. This inevitably results in a small current error being affected by the meter's power consumption; the only question is the magnitude of the impact.

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

[0154] The voltage drop can be reduced by lowering the equivalent impedance or by connecting the metering connection line to the AC power input. According to the impedance formula, there are three methods to reduce the equivalent impedance: first, reduce the printed conductor length H; second, increase the printed conductor width W; and third, increase the printed conductor thickness T. Method three, due to manufacturing process and cost considerations, involves a fixed copper thickness on the printed circuit board, which is generally not changed. Method two, due to board space constraints, generally does not use particularly wide traces, and even widening the traces does not significantly improve performance; it can only be done by adjusting the width according to the available space. The most effective method is still to optimize the trace length. Connecting the metering connection line to the AC power input is actually a way to change the trace length. Therefore, based on the above description, adjust the wiring layout of the metering section, connecting the metering connection line to the equivalent impedance front end A, that is, as close as possible to the AC power input. Figure 4 At the same time, the power supply cable routing was widened.

[0155] Adopting such Figure 4 Even with the current connection layout, increased power consumption due to module replacement or changes in the number of modules will still cause a change in the voltage drop across the equivalent resistance R. However, the voltage drop at point A is negligible compared to point B, resulting in a very small change in the metering reference ground. Consequently, the error is minimal, with little variation in small current errors. In practice, directly connecting the metering connection line to the mains input power supply yields the best results.

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

[0157] S1: Determine the positions of the power conversion circuit, metering circuit, and mains input power supply on the printed circuit board, especially the relative positions of the mains input power supply and the power conversion circuit. During layout, the power conversion circuit should be placed close to the mains input power supply at point A, and the distance from the mains input power supply should not exceed 1cm.

[0158] S2: Consider other components near the AC input power supply and power conversion circuit, keep these components as far away from these two parts as possible, and reserve space for power supply traces with a width of not less than 2mm;

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

[0160] S4: In actual design, power lines are usually connected to power conversion circuits and metering circuits after passing through some protective devices. In order to make the metering connection line as close as possible to point A, the protective devices are laid out close to point A at zero distance to ensure that the metering connection line is no more than 1cm away from the mains power at point A.

[0161] For a typical trace on a printed circuit board measuring 5cm in length, 1mm in width, and 1 ounce in thickness, the equivalent impedance is approximately 0.024Ω. When the current in the power trace changes by 1mA, the voltage drop across resistor R changes by approximately 0.024mV. This is negligible for large current sampling signals, but for some small current signals, the actual sampling voltage may be less than 1mV. This voltage drop across R will cause a 2.4% distortion in the sampled signal. Ideally, when the trace length, width, or thickness is changed, the corresponding impedance will change proportionally. For every 1cm reduction in length, the distortion decreases by 0.48%; for every 1mm increase in width, the distortion decreases by 1.2%.

[0162] The beneficial effects of the technical solution provided in this application example are as follows: This application example proposes an optimization method for metering small currents. This method can effectively solve the problem of small current error jumps caused by module replacement by completely optimizing the component layout and routing design on the printed circuit board. This application example does not require adding additional components or changing component parameters, and can achieve the optimization goal at the lowest cost.

[0163] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0164] Based on the same inventive concept, this application also provides an optimization device for small current metering error fluctuation to implement the optimization method for small current metering error fluctuation mentioned above. The solution provided by this device is similar to the solution described in the above method. Therefore, the specific limitations of one or more embodiments of the optimization device for small current metering error fluctuation provided below can be found in the limitations of the optimization method for small current metering error fluctuation described above, and will not be repeated here.

[0165] In one exemplary embodiment, such as Figure 5 As shown, an optimization device for small current metering error fluctuation is provided. The optimization device 500 for small current metering error fluctuation may include:

[0166] The parameter acquisition module 501 is used to acquire the power consumption parameters of each functional module in the meter;

[0167] The first determining module 502 is used to determine the change in current flowing through the power supply line of the meter when each functional module is working, based on the power consumption parameters.

[0168] The second determining module 503 is used to determine the equivalent impedance of the power trace based on the current change and the attribute parameters of the power trace.

[0169] The third determining module 504 is used to determine the voltage drop change on the power supply line based on the equivalent impedance and the current change.

[0170] The fourth determining module 505 is used to determine the distortion information of the current measurement signal of the meter's metering circuit based on the voltage drop change.

[0171] The information generation module 506 is used to generate power routing layout information based on the distortion information; the layout information includes the layout distance between the power conversion circuit of the meter and the mains input power of the meter, as well as the width and thickness parameters of the power routing.

[0172] The fifth determining module 507 is used to determine the connection position of the metering connection line of the electricity meter on the power supply line according to the layout information; the connection position is located on the side of the power supply line closer to the mains input power.

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

[0174] In an exemplary embodiment, the device 500 further includes: a scheme acquisition module, configured to acquire an initial printed circuit board layout scheme of the electricity meter; the initial printed circuit board layout scheme 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; and a scheme generation module 508, configured to update the initial printed circuit board layout scheme according to the connection position and layout information to obtain a printed circuit board layout scheme.

[0175] In an exemplary embodiment, the scheme generation module 508 is further configured to perform attribute update processing on the power traces in the initial printed circuit board layout scheme to obtain the basic printed circuit board layout scheme of the meter; and update the basic printed circuit board layout scheme according to the connection position and layout information to obtain the 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 layer 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 the distortion ratio of the current measurement signal based on the voltage drop change and the sampling signal strength of the metering circuit; and to determine distortion information based on the distortion ratio.

[0178] In an exemplary embodiment, the fifth determining module 507 is further configured to determine 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; and determine the connection position in the location area corresponding to the maximum distance threshold.

[0179] Each module in the aforementioned optimization device for small current metering error fluctuation can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the corresponding operations of each module.

[0180] In one exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 6As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the 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 media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When executed by the processor, the computer program implements an optimization method for small current metering error fluctuations. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

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

[0182] In one exemplary embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.

[0183] In one exemplary embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above-described method embodiments.

[0184] In one exemplary embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above-described method embodiments.

[0185] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, 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 many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0186] The technical features of the above embodiments can be combined in any way. For the sake of brevity, 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 embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. An optimization method for small current metering error fluctuation, characterized in that, The method includes: Obtain the power consumption parameters of each functional module in the electricity meter; Based on the power consumption parameters, determine the change in current flowing through the power supply lines of the meter when each functional module is working; The equivalent impedance of the power supply trace is determined based on the current change and the attribute parameters of the power supply trace. The voltage drop change on the power supply line is determined based on the equivalent impedance and the current change. Based on the voltage drop change, the distortion information of the current measurement signal of the meter's metering circuit is determined; Based on the distortion information, the layout information of the power supply trace 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, as well as the width and thickness parameters of the power supply trace. Based on the layout information, the connection position of the meter's metering connection line on the power supply line is determined; the connection position is located on the side of the power supply line closer to the mains input power. Based on the connection locations and the layout information, a printed circuit board layout scheme for the electricity meter is generated.

2. The method according to claim 1, characterized in that, Before generating the printed circuit board layout scheme of the electricity meter based on the connection location and the layout information, the method further includes: Obtain the initial printed circuit board layout scheme of the electricity meter; the initial printed circuit board layout scheme 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; The step of generating a printed circuit board layout scheme for the electricity meter based on the connection location and the layout information includes: Based on the connection locations and the layout information, the initial printed circuit board layout scheme is updated to obtain the final printed circuit board layout scheme.

3. The method according to claim 2, characterized in that, The step of updating the initial printed circuit board layout scheme based on the connection positions and the layout information to obtain the printed circuit board layout scheme includes: The power traces in the initial printed circuit board layout scheme are updated to obtain the basic printed circuit board layout scheme of the meter. Based on the connection locations and the layout information, the basic printed circuit board layout scheme is updated to obtain the printed circuit board layout scheme.

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

5. The method according to claim 1, characterized in that, The step of determining the distortion information of the current measurement signal of the meter's metering circuit based on the voltage drop change includes: The distortion ratio of the current measurement signal is determined based on the voltage drop change and the sampling signal strength of the metering circuit. The distortion information is determined based on the distortion ratio.

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

7. An optimization device for small current metering error fluctuation, characterized in that, The device includes: The parameter acquisition module is used to acquire the power consumption parameters of each functional module in the meter; The first determining module is used to determine the change in current flowing through the power supply line of the meter when each functional module is working, based on the power consumption parameters. The second determining module is used to determine the equivalent impedance of the power supply trace based on the current change and the attribute parameters of the power supply trace. The third determining module is used to determine the voltage drop change on the power supply line based on the equivalent impedance and the current change. The fourth determining module is used to determine the distortion information of the current measurement signal of the metering circuit of the electricity meter based on the voltage drop change. An information generation module is used to generate layout information of the power supply trace based on the distortion information; the layout information includes the layout distance between the power conversion circuit of the meter and the mains input power of the meter, as well as the width and thickness parameters of the power supply trace. The fifth determining module is used to determine the connection position of the metering connection line of the electricity meter on the power supply line according to the layout information; the connection position is located on the side of the power supply line closer to the mains input power. The scheme generation module is used to generate a printed circuit board layout scheme for the electricity meter based on the connection location and the layout information.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.

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

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

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