A method and device for determining a power stealing detection threshold, and an electric energy meter

CN117783622BActive Publication Date: 2026-10-09NINGBO SANXING INTELLIGENT ELECTRIC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311686444.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-08
Publication Date
2026-10-09
Estimated Expiration
2043-12-08

AI Technical Summary

Technical Problem

[0004]但这样的方式,一旦电能表的使用环境发生改变,就会导致电能表的窃电检测阈值进行对应的调整,进而需要新的一轮软件开发才可以解决,进而增加了研发成本

Benefits of technology

[0042] This application provides a method, apparatus, and electricity meter for determining an electricity theft detection threshold, applied to the controller of an electricity meter. The method for determining the electricity theft detection threshold includes: responding to a preset calibration operation for the electricity meter to obtain the magnetic induction parameters corresponding to the linear magnetic induction device in the electricity meter; calculating the target induced electrical parameters of the linear magnetic induction device based on the first sampling point on the meter casing using a preset target calculation formula corresponding to the first sampling point, wherein the first sampling point is a preset position on the meter casing closest to the relay; and configuring the target induced electrical parameters as the electricity theft detection threshold of the electricity meter. Therefore, this application can sample the magnetic induction parameters of the linear magnetic induction device at a preset first sampling point on the electricity meter, and calculate the target induced electrical parameters of the linear magnetic induction device based on the first sampling point on the electricity meter casing according to the magnetic induction parameters and the target calculation formula. Then, based on the calculated target induced electrical parameters, the electricity theft detection threshold can be quickly adjusted, thereby accelerating the confirmation of the electricity theft detection threshold of the electricity meter under different environments, improving the adaptability of the method for determining the electricity theft detection threshold of the electricity meter, and eliminating the need to start a new round of software development process, thereby reducing R&D costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117783622B_ABST
    Figure CN117783622B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a method and device for determining a power stealing detection threshold and an electric energy meter, and relate to the field of electric energy meters. The method for determining a power stealing detection threshold applied to a controller of an electric energy meter comprises: in response to a preset calibration operation for the electric energy meter, obtaining a magnetic induction parameter corresponding to a linear magnetic induction device in the electric energy meter; according to the magnetic induction parameter, using a target calculation formula corresponding to a preset first sampling point to calculate a target induction electric parameter of the linear magnetic induction device based on the first sampling point on a meter shell of the electric energy meter, wherein the first sampling point is a preset position closest to a relay on the meter shell; and configuring the target induction electric parameter as the power stealing detection threshold of the electric energy meter. Thus, the present application can adjust the power stealing detection threshold of the electric energy meter when the use environment of the electric energy meter changes, without the need to start a new round of software development process, thereby reducing the research and development cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electricity meters, and more specifically, to a method, apparatus, and electricity meter for determining an electricity theft detection threshold. Background Technology

[0002] Currently, due to the diverse product types in the electricity meter market, the function of preventing electricity theft by strong magnetic fields is particularly important. Electricity meters typically rely on internal Hall effect sensors to detect the presence of strong magnetic objects nearby. Based on the varying magnetic sensitivity of different relays, the meter achieves its anti-magnetic-field theft function; that is, when a strong magnetic object approaches the meter, the relay forcibly and physically cuts off the power.

[0003] In the existing technology, before the electricity meter leaves the factory, a fixed electricity theft detection threshold of the relay is set in the program to detect the magnetic induction sensitivity of the magnetic force. That is, the electricity meter can determine whether there is a strong magnetic object approaching the electricity meter based on the fixed electricity theft detection threshold. The relay can then forcibly and physically cut off the power based on the fixed electricity theft detection threshold to realize the function of preventing strong magnetic electricity theft of the electricity meter.

[0004] However, if the environment in which the electricity meter is used changes, the electricity theft detection threshold of the electricity meter will need to be adjusted accordingly, which will require a new round of software development to solve the problem, thus increasing the research and development costs. Summary of the Invention

[0005] The purpose of this application includes, for example, providing a method, device, and electricity meter for determining the electricity theft detection threshold, which can adjust the electricity theft detection threshold of the electricity meter accordingly when the usage environment of the electricity meter changes, without having to start a new round of software development process, thereby reducing R&D costs.

[0006] To achieve the above objectives, the technical solutions adopted in the embodiments of this application are as follows:

[0007] In a first aspect, embodiments of this application provide a method for determining an electricity theft detection threshold, applied to the controller of an electricity meter, the method for determining the electricity theft detection threshold comprising:

[0008] In response to a preset calibration operation for the energy meter, the magnetic induction parameters corresponding to the linear magnetic induction device in the energy meter are obtained;

[0009] Based on the magnetic induction parameters, the target induced electrical parameters of the linear magnetic induction device are calculated using the target calculation formula corresponding to the first sampling point on the casing of the energy meter, wherein the first sampling point is the preset position on the casing closest to the relay;

[0010] The target induced electrical parameters are configured as the electricity theft detection threshold of the electricity meter.

[0011] Optionally, the response, in response to a preset calibration operation of the energy meter, acquires the magnetic induction parameters corresponding to the linear magnetic induction device in the energy meter, including:

[0012] If the preset calibration operation is the first calibration operation, the induced electrical parameters of the linear magnetic induction device under the action of a preset standard magnet are obtained as the magnetic induction electrical parameters.

[0013] The step of calculating the target induced electrical parameters of the linear magnetic induction device based on the first sampling point on the casing of the energy meter, using a preset target calculation formula corresponding to the first sampling point and based on the magnetic induction parameters, includes:

[0014] The target induced electrical parameter is calculated based on the induced electrical parameter and the first target calculation formula, wherein the first target calculation formula is the calculation formula between the induced electrical parameter and the target induced electrical parameter in a scenario where the magnetic force parameter is unknown.

[0015] Optionally, the response, in response to a preset calibration operation of the energy meter, acquires the magnetic induction parameters corresponding to the linear magnetic induction device in the energy meter, including:

[0016] If the preset calibration operation is the second calibration operation, the target magnetic force parameter is obtained from the second calibration operation as the magnetic induction electrical parameter;

[0017] The step of calculating the target induced electrical parameters of the linear magnetic induction device based on the first sampling point on the casing of the energy meter, using a preset target calculation formula corresponding to the first sampling point and based on the magnetic induction parameters, includes:

[0018] The target induced electrical parameter is calculated based on the target magnetic force parameter and the second target calculation formula, wherein the second target calculation formula is the calculation formula between the target magnetic force parameter and the target induced electrical parameter in the scenario where the induced electrical parameter is unknown.

[0019] Optionally, the target calculation formula is a formula obtained in advance using the following methods:

[0020] Obtain the original data table of the induced electrical parameters and magnetic parameters of the linear magnetic induction device based on the second sampling point, wherein the second sampling point is the preset sampling point on the case closest to the linear magnetic induction device;

[0021] Obtain a reference data table of the induced electrical and magnetic parameters of the linear magnetic induction device based on the first sampling point;

[0022] The target calculation formula is obtained based on the original data table and the reference data table.

[0023] Optionally, obtaining the target calculation formula based on the original data table and the reference data table includes:

[0024] Based on the original data table, a preset linear relationship between the induced electrical parameters and magnetic parameters of the linear magnetic induction device under the action of the second sampling point is obtained;

[0025] Using the reference data table as a reference, the target calculation formula is obtained based on the preset linear relationship and the positional relationship between the first sampling point and the second sampling point.

[0026] Optionally, the step of using the reference data table as a reference and obtaining the target calculation formula based on the preset linear relationship and the positional relationship between the first sampling point and the second sampling point includes:

[0027] Using the reference data table as a reference, and based on the preset linear relationship and the positional relationship between the first sampling point and the second sampling point, a first calculation formula is obtained between the magnetic parameters sensed by the linear magnetic induction device at the first sampling point and the second sampling point.

[0028] Based on the first linear relationship, a second calculation formula is obtained for the induced electrical parameters of the linear magnetic induction device and the magnetic parameters of the second sampling point;

[0029] The target calculation formula is obtained based on the first calculation formula and the second calculation formula.

[0030] Optionally, obtaining the original data table of the induced electrical and magnetic parameters of the linear magnetic induction device based on the second sampling point includes:

[0031] When a first preset standard magnet is placed at the second sampling point, the first induced electrical parameter of the linear magnetic induction device under the magnetic force of the first standard magnet is obtained.

[0032] The first preset magnetic force parameter and the first electrical parameter of the first standard magnet are stored in the original data table.

[0033] Optionally, obtaining the reference data table of induced electrical and magnetic parameters of the linear magnetic induction device based on the first sampling point includes:

[0034] When a second standard magnet is placed at the first sampling point on the watch case, the second electrical parameter output by the linear magnetic induction device under the magnetic force of the second standard magnet is obtained.

[0035] The second magnetic parameter and the second electrical parameter are stored in the reference data table.

[0036] Secondly, embodiments of this application provide a device for determining an electricity theft detection threshold, applied to the controller of an electricity meter, the device for determining the electricity theft detection threshold comprising:

[0037] The acquisition module is used to respond to a preset calibration operation for the energy meter and acquire the magnetic induction parameters corresponding to the linear magnetic induction device in the energy meter.

[0038] The calculation module is used to calculate the target induced electrical parameters of the linear magnetic induction device based on the first sampling point on the casing of the energy meter, according to the magnetic induction parameters and using the target calculation formula corresponding to the preset first sampling point, wherein the first sampling point is the preset position on the casing closest to the relay;

[0039] A configuration module is used to configure the target induced electrical parameters as the electricity theft detection threshold of the electricity meter.

[0040] Thirdly, embodiments of this application also provide an electricity meter, including a controller, a relay, and a linear magnetic induction device, wherein the controller is connected to the relay and the linear magnetic induction device respectively, and the controller is used to execute the method for determining the electricity theft detection threshold as described in any of the first aspects.

[0041] Compared with the prior art, this application has the following beneficial effects:

[0042] This application provides a method, apparatus, and electricity meter for determining an electricity theft detection threshold, applied to the controller of an electricity meter. The method for determining the electricity theft detection threshold includes: responding to a preset calibration operation for the electricity meter to obtain the magnetic induction parameters corresponding to the linear magnetic induction device in the electricity meter; calculating the target induced electrical parameters of the linear magnetic induction device based on the first sampling point on the meter casing using a preset target calculation formula corresponding to the first sampling point, wherein the first sampling point is a preset position on the meter casing closest to the relay; and configuring the target induced electrical parameters as the electricity theft detection threshold of the electricity meter. Therefore, this application can sample the magnetic induction parameters of the linear magnetic induction device at a preset first sampling point on the electricity meter, and calculate the target induced electrical parameters of the linear magnetic induction device based on the first sampling point on the electricity meter casing according to the magnetic induction parameters and the target calculation formula. Then, based on the calculated target induced electrical parameters, the electricity theft detection threshold can be quickly adjusted, thereby accelerating the confirmation of the electricity theft detection threshold of the electricity meter under different environments, improving the adaptability of the method for determining the electricity theft detection threshold of the electricity meter, and eliminating the need to start a new round of software development process, thereby reducing R&D costs. Attached Figure Description

[0043] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0044] Figure 1 An example illustration of an electricity meter provided in this application embodiment. Figure 1 ;

[0045] Figure 2 A schematic diagram of the structure of an electricity meter provided in this application embodiment. Figure 2 ;

[0046] Figure 3 Example flow of a method for determining an electricity theft detection threshold provided in this application embodiment Figure 1 ;

[0047] Figure 4 A schematic diagram of the structure of an electricity meter provided in this application embodiment. Figure 3 ;

[0048] Figure 5 An example diagram illustrating a structure for determining an electricity theft detection threshold provided in an embodiment of this application;

[0049] Figure 6 Example flow of a method for determining an electricity theft detection threshold provided in this application embodiment Figure 2 ;

[0050] Figure 7 A schematic diagram illustrating the relationship between the magnetic induction parameters and the output induced electrical parameters of different linear magnetic sensors provided in this application embodiment;

[0051] Figure 8 A schematic diagram showing the relationship between the north and south poles of the output induced electrical parameters of a linear magnetic sensor and the magnetic induction parameters of a preset standard magnet, provided for an embodiment of this application.

[0052] Figure 9 Example flow of a method for determining an electricity theft detection threshold provided in this application embodiment Figure 3 ;

[0053] Figure 10 Example flow of a method for determining an electricity theft detection threshold provided in this application embodiment Figure 4 ;

[0054] Figure 11 Example flow of a method for determining an electricity theft detection threshold provided in this application embodiment Figure 5 ;

[0055] Figure 12 Example flow of a method for determining an electricity theft detection threshold provided in this application embodiment Figure 6 ;

[0056] Figure 13 Example flow of a method for determining an electricity theft detection threshold provided in this application embodiment Figure 7 ;

[0057] Figure 14 Example flow of a method for determining an electricity theft detection threshold provided in this application embodiment Figure 8 ;

[0058] Figure 15 This is a schematic diagram of a device for determining the electricity theft detection threshold provided in an embodiment of this application. Detailed Implementation

[0059] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.

[0060] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0061] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0062] Furthermore, the terms "first," "second," etc., are used only for distinguishing descriptions and should not be construed as indicating or implying relative importance. It should be noted that the term "comprising" will be used in the embodiments of this application to indicate the presence of a subsequently declared feature, but does not preclude the addition of other features. Additionally, it should be noted that features in the embodiments of this application can be combined with each other, unless otherwise specified.

[0063] The current methods for determining the electricity theft detection threshold in electricity meters face several challenges. Different electricity meters have relays with varying magnetic induction sensitivities. For low-sensitivity linear magnetic sensors, the relay may trip without triggering the strong magnetic theft alarm. Conversely, high-sensitivity linear magnetic sensors may falsely trigger the alarm when contacted with other magnetic objects (such as the meter's infrared reader). Therefore, before leaving the factory, electricity meters typically have a fixed electricity theft detection threshold set in the software program to detect magnetic induction sensitivity and prevent strong magnetic theft. However, changes in the meter's operating environment necessitate adjustments to the detection threshold, requiring new software development and increasing R&D costs. To address these issues, this application provides a method, device, and electricity meter for determining the electricity theft detection threshold. This allows for adjustments to the threshold when the meter's operating environment changes, eliminating the need for a new software development process and reducing R&D costs.

[0064] To clearly describe the method for determining the electricity theft detection threshold provided in the embodiments of this application, an exemplary electricity meter for determining the electricity theft detection threshold will be described in detail with reference to the accompanying drawings. Figure 1 An example illustration of an electricity meter provided in this application embodiment. Figure 1 .like Figure 1 As shown, the electricity meter 100 may include: a controller 110, a relay 120, and a linear magnetic induction device 130.

[0065] The controller 110 is connected to the relay 120 and the linear magnetic induction device 130 respectively, so as to control the relay 120 to open and close based on the magnetic induction parameters and induced electrical parameters of the linear magnetic induction device 130 received by the controller 110 in the energy meter 100.

[0066] The controller 110 is used to execute the method for determining the electricity theft detection threshold.

[0067] Optionally, the linear magnetic induction device 130 is a device in which the output electrical parameters of its own output are linearly related to the strength of the applied magnetic field. The linear magnetic induction device 130 can be selected according to the actual situation. For example, the linear magnetic induction device 130 can be selected as a linear Hall sensor.

[0068] The electricity meter proposed in this application embodiment may include a controller, a relay, and a linear magnetic induction device. The controller is connected to both the relay and the linear magnetic induction device, and is used to execute a method for determining the electricity theft detection threshold. Therefore, this application can collect data from the relay and the linear magnetic induction device, such as magnetic induction parameters and induced electrical parameters, through the controller, and then control the relay to open and close.

[0069] Optionally, this application also provides another structural schematic diagram of an electricity meter 100. Figure 2 A schematic diagram of the structure of an electricity meter provided in this application embodiment. Figure 2 ,like Figure 2 As shown, the electricity meter 100 may include a processor 140, a memory 150, and a bus. The memory 150 stores machine-readable instructions that can be executed by the processor 140. When the electronic device is running, the machine-readable instructions are executed. The processor 140 and the memory 150 communicate via the bus. The processor 140 is used to execute the steps of the method for determining the electricity theft detection threshold in the above embodiment.

[0070] The memory 150, processor 140, and bus components are electrically connected directly or indirectly to enable data transmission or interaction. For example, these components can be electrically connected to each other via one or more communication buses or signal lines. The mobile storage device includes at least one software function module that can be stored in the memory 150 or embedded in the operating system (OS) of the electronic device in the form of software or firmware. The processor 140 is used to execute executable modules stored in the memory 150, such as software function modules and computer programs included in the method for determining the electricity theft detection threshold of the mobile storage medium.

[0071] The memory 150 may be, but is not limited to, random access memory (RAM), read-only memory (ROM), programmable read-only memory (PROM), erasable read-only memory (EPROM), electrically erasable read-only memory (EEPROM), etc.

[0072] The method for determining the electricity theft detection threshold provided in the above embodiments of this application will be explained and described in detail below with reference to the accompanying drawings. Figure 3 Example flow of a method for determining an electricity theft detection threshold provided in this application embodiment Figure 1 This method can be derived from, for example... Figure 1 The controller 110 in the illustrated electricity meter 100 is used to implement this. For example... Figure 3 As shown, the method for determining the electricity theft detection threshold may include the following steps:

[0073] S201. Respond to the preset calibration operation for the electricity meter and obtain the magnetic induction parameters corresponding to the linear magnetic induction device in the electricity meter.

[0074] The preset calibration operation serves as an initialization operation for setting the electricity theft detection threshold of the electricity meter. This preset calibration operation ensures that the electricity meter can quickly match the electricity theft detection threshold determined in this application. The preset calibration operation can be selected according to actual circumstances.

[0075] In one possible implementation, before obtaining the magnetic induction parameters corresponding to the linear magnetic induction device in the electricity meter, the controller needs to perform a preset calibration operation on the electricity meter so that the controller in the electricity meter can extract the magnetic induction parameters corresponding to the linear magnetic induction device in the electricity meter based on the results of the preset calibration operation.

[0076] S202. Based on the magnetic induction parameters, the target induced electrical parameters of the linear magnetic induction device based on the first sampling point on the casing of the energy meter are calculated using the preset target calculation formula corresponding to the first sampling point.

[0077] Wherein, the first sampling point A is the preset position on the meter casing closest to the relay; this preset position can be selected according to the actual situation, for example, the preset position can be 4 cm directly above the relay on the meter casing. The preset first sampling point A refers to the first preset position of the first sampling point on the meter casing, which can be selected according to the actual situation, for example, the first preset position can be a circular area with a diameter of approximately 3 cm centered approximately 2 cm from the bottom edge and approximately 11 cm from the left edge of the meter. For example, Figure 4 A schematic diagram of the structure of an electricity meter provided in this application embodiment. Figure 3 .like Figure 4 As shown, Figure 4 Position A in the diagram is a circular area with a diameter of approximately 3cm centered on the bottom edge and left edge of the electricity meter, about 2cm from the bottom edge and about 11cm from the left edge.

[0078] In one possible implementation, based on the response to a preset calibration operation for the electricity meter, the magnetic induction parameters corresponding to the linear magnetic induction device in the electricity meter are obtained, and the magnetic induction parameters of the linear magnetic induction device collected at a preset first sampling point A are used to calculate the target induced electrical parameters of the linear magnetic induction device based on the first sampling point A on the casing of the electricity meter using the target calculation formula.

[0079] S203. Configure the target induced electrical parameters as the electricity theft detection threshold of the electricity meter.

[0080] In one possible implementation, the linear magnetic induction device, calculated according to the target calculation formula, uses the target induced electrical parameters at a first sampling point A on the meter casing as the target induced electrical parameters configured as the electricity theft detection threshold of the electricity meter. This electricity theft detection threshold is the threshold at which the relay in the electricity meter triggers a strong magnetic theft alarm under different environmental conditions.

[0081] For example, after the controller calculates the target induced electrical parameter (i.e., the electricity theft detection threshold), if the controller samples the magnetic induction parameter corresponding to the linear magnetic induction device at the preset first sampling point A on the meter casing, which is greater than the target induced electrical parameter (i.e., the electricity theft detection threshold), then the strong magnetic electricity theft alarm of the relay is triggered; if the controller samples the magnetic induction parameter corresponding to the linear magnetic induction device at the preset first sampling point A on the meter casing, which is less than or equal to the target induced electrical parameter (i.e., the electricity theft detection threshold), then the strong magnetic electricity theft alarm of the relay will not be triggered.

[0082] In summary, this application provides a method for determining an electricity theft detection threshold, which may include: responding to a preset calibration operation for an electricity meter to obtain the magnetic induction parameters corresponding to a linear magnetic induction device in the electricity meter; calculating the target induced electrical parameters of the linear magnetic induction device based on a preset target calculation formula corresponding to a first sampling point on the meter casing, wherein the first sampling point is a preset position on the meter casing closest to the relay; and configuring the target induced electrical parameters as the electricity theft detection threshold of the electricity meter. Therefore, this application can sample the magnetic induction parameters of the linear magnetic induction device at a preset first sampling point on the electricity meter to calculate the target induced electrical parameters of the linear magnetic induction device based on the magnetic induction parameters and the target calculation formula. Based on this calculated target induced electrical parameters, the electricity theft detection threshold can be quickly adjusted, thereby accelerating the confirmation of the electricity theft detection threshold of the electricity meter under different environments, improving the adaptability of the method for determining the electricity theft detection threshold of the electricity meter, and eliminating the need to start a new round of software development, thus reducing R&D costs.

[0083] Optionally, in some embodiments of this application, the method described above, in response to a preset calibration operation for the electricity meter, may include obtaining the magnetic induction parameters corresponding to the linear magnetic induction device in the electricity meter, which may include:

[0084] If the preset calibration operation is the first calibration operation, the induced electrical parameters of the linear magnetic induction device under the action of the preset standard magnet are obtained as the magnetic induction electrical parameters.

[0085] In one possible implementation, if the preset calibration operation is the first calibration operation, according to Figure 4 The near-infrared interface at point C, through a first calibration preset command input from the terminal device, acquires the induced electrical parameters of the linear magnetic induction device under the action of a preset standard magnet as the magnetic induction parameters. This first calibration preset command indicates whether the preset standard magnet at the second sampling point B is correctly placed. The specific expression of this first calibration preset command can be selected according to actual needs; for example, it could be OBIS_ddjz. The terminal device can also be selected according to actual needs; for example, it could be a host computer. The magnetic force value of the preset standard magnet can be determined based on the target user's requirements. The magnetic force value of the preset standard magnet can be selected according to the actual target user's requirements; for example, the magnetic force value of the preset standard magnet could be -120mT.

[0086] It should be noted that the second sampling point B is the preset sampling point on the meter casing closest to the linear magnetic induction device. This preset sampling point can be selected according to the actual situation. For example, the preset sampling point can be located 4 cm directly above the linear magnetic induction device on the meter casing. The preset second sampling point B refers to the second preset position of the second sampling point B on the meter casing. This second preset position can be selected according to the actual situation. For example, the first preset position can be a circular area with a diameter of approximately 3 cm centered approximately 10 cm from the bottom edge and approximately 11 cm from the left edge of the meter. For example, as described above. Figure 4 As shown, Figure 4 Position B in the diagram is a circular area with a diameter of approximately 3cm, located on the casing of the electricity meter, about 10cm from the bottom edge and about 11cm from the left edge.

[0087] In one possible implementation method Figure 5 This is an example diagram illustrating a structure for determining an electricity theft detection threshold, provided in an embodiment of this application. Figure 5 As shown, the linear magnetic induction device is located at a preset position at the second sampling point B; the relay is located at a preset position at the first sampling point A; wherein, the preset distance from the second sampling point B to the linear magnetic induction device is the same as the preset distance from the first sampling point A to the relay. Therefore, the preset calibration operation can be set as the first calibration operation, according to... Figure 4 The near-infrared interface at point C, through the first calibration preset command input by the terminal device, obtains the linear magnetic induction device outputting an induced electrical parameter Vaget as the magnetic induction electrical parameter under the influence of the preset standard magnet at the second sampling point B.

[0088] In another possible implementation, according to Figure 4The preset standard magnets are calibrated at the second sampling point B according to a preset number in the preset vertical direction. The preset vertical direction can be selected according to the actual situation, for example, due south, due north, due west, and due east; the preset number can also be selected according to the actual situation, for example, the preset number can be 4.

[0089] It should be noted that each time the preset vertical direction of the preset standard magnet is changed, the preset standard magnet must be separated from the meter casing by at least a preset distance. This preset distance can be selected according to the actual situation. For example, the preset distance can be set to 80cm. This preset distance (e.g., 80cm) can be used to characterize that the second sampling point B cannot generate the corresponding magnetic induction parameters of the linear magnetic induction device based on the preset standard magnet.

[0090] Furthermore, each time the preset vertical direction of the preset standard magnet is changed, the calibration process LCD screen (such as...) Figure 4 The marking D) in the diagram will generate corresponding prompts. For example, when the preset vertical direction of the preset standard magnet at the second sampling point B is due south, the LCD screen will start displaying "TP1CHKING"; when the calibration of the preset standard magnet with the preset vertical direction due south is completed, the LCD screen will start displaying "TP1 OK". When all preset standard magnets have been calibrated according to the preset number of preset vertical directions, the LCD screen will display "CHK DONE" to indicate that the first calibration operation of the preset standard magnet was successful; if the LCD screen displays "CHK ERR", it indicates that the first calibration operation of the preset standard magnet failed. If the first calibration operation of the preset standard magnet is successful, the preset standard magnets at the second sampling point B with the preset number of preset vertical directions will affect the linear magnetic induction device 130, thereby causing the linear magnetic induction device 130 to output a preset number of induced electrical parameters Vaget, and the maximum value among the preset number of induced electrical parameters Vaget will be used as the final induced electrical parameter Vaget output by the linear magnetic induction device of the energy meter. This induced electrical parameter Vaget is used as the magnetic induction parameter of the linear magnetic induction device.

[0091] It should be noted that the failure of the first calibration operation of the preset standard magnet can be determined based on the specific circumstances. For example, the failure of the first calibration operation of the preset standard magnet may be due to the influence of the preset standard magnet at the second sampling point B on the linear magnetic induction device, causing the magnetic induction parameter of the linear magnetic induction device to exceed the threshold range of the preset magnetic induction parameter. The threshold range of the preset magnetic induction parameter can also be selected according to the actual situation. For example, the threshold range of the preset magnetic induction parameter can be set to -104mT. In addition, it should also be noted that the acquisition time for a preset vertical direction of each preset standard magnet is the preset acquisition duration. The preset acquisition duration can be selected according to the actual situation. For example, the preset acquisition duration can be selected as 5 seconds. For example, when a preset standard magnet is in the preset vertical direction of due south, after acquiring the preset acquisition duration (such as 5 seconds), the next preset vertical direction is changed, such as due north.

[0092] Optionally, in some embodiments of this application, the method described above, based on the magnetic induction parameters and using a preset target calculation formula corresponding to the first sampling point, calculates the target induced electrical parameters of the linear magnetic induction device based on the first sampling point on the casing of the energy meter. This may include:

[0093] The target induced electrical parameters are calculated based on the induced electrical parameters and the first target calculation formula.

[0094] The first target calculation formula is: the calculation formula between the induced electrical parameters and the target induced electrical parameters in a scenario where the magnetic parameters are unknown.

[0095] In one possible implementation, based on the influence of the preset standard magnet at the second sampling point B on the linear magnetic induction device, the induced electrical parameter Vaget output by the linear magnetic induction device, and the first target calculation formula, the first target calculation formula is: in the scenario where the magnetic force parameter T1 is unknown, the calculation formula between the induced electrical parameter Vaget and the target induced electrical parameter V3 can be calculated using the following formula (1).

[0096] V3 =0.34*Vaget+1.19 Formula (1)

[0097] Among them, the target induced electrical parameter V3 is the target induced electrical parameter output by the linear magnetic induction device corresponding to the first sampling point A under the preset standard magnet requirement.

[0098] In the above formula (1), 0.34 refers to Figure 5The cosine (cosα) of the angle α between the magnetic force T3 from the second sampling point B to the linear magnetic induction device and the angle α between the first sampling point A and the relay is used. It should be noted that, for ease of calculation, the angle α between the magnetic force T3 from the second sampling point B to the linear magnetic induction device and the angle α between the first sampling point A and the relay can be set to a fixed value. The angle α can be selected according to the actual situation; for example, the angle α can be 70 degrees, i.e., cos70 = 0.34. However, this should not be construed as a limitation of this application.

[0099] Optionally, in some embodiments of this application, the method described above, in response to a preset calibration operation for the electricity meter, may include obtaining the magnetic induction parameters corresponding to the linear magnetic induction device in the electricity meter, which may include:

[0100] If the preset calibration operation is the second calibration operation, the target magnetic force parameter is obtained from the second calibration operation as the magnetic induction electrical parameter.

[0101] In one possible implementation, when the target user cannot find a preset standard magnet, a second calibration operation can be performed using a preset calibration operation, i.e., based on... Figure 4 The near-infrared interface at point C obtains the target magnetic parameter Txneed as a magnetic induction electrical parameter through a second calibration preset command input from a terminal device (such as a host computer). This second calibration preset command represents the target magnetic force influence generated by a preset standard magnet at the second sampling point B on the linear magnetic induction device. This target magnetic force influence, i.e., the target magnetic parameter Txneed, can be selected according to the requirements of the actual target user's "Requirements Specification". For example, the target magnetic parameter Txneed can be selected as 83mT.

[0102] The format of the second calibration preset command can be OBIS_xdsz + length of the target magnetic force threshold + target magnetic force parameter. Here, OBIS_xdsz is the input command identifier from the host computer to the near-infrared interface at point C. It should be noted that when inputting commands to the near-infrared interface at point C, hexadecimal numbers must be used for parameter input.

[0103] For example, if the target magnetic force parameter Txneed is 83mT, then the hexadecimal number corresponding to 83mT is 0X53; assuming the input command identifier of OBIS_xdsz is 3,1-0:0.6.0.255, then the setting command corresponding to 3,1-0:0.6.0.255 is 3,1-0:0.6.0.255; since the target magnetic force parameter is an input value, the length of the target magnetic force threshold can be 1, and the hexadecimal number corresponding to 1 is 1. Therefore, the second calibration preset command can be the hexadecimal instruction: 03 01 00 00 06 00FF01 53.

[0104] In another possible implementation, if the preset calibration operation is a second calibration operation, the energy meter, upon receiving the second calibration preset command, extracts the target magnetic parameter Txneed to be set. The target magnetic parameter Txneed is then used as the magnetic induction electrical parameter corresponding to the linear magnetic induction device at the second sampling point B.

[0105] It should be noted that after acquiring the target magnetic force parameter Txneed, it is necessary to determine whether the target magnetic force parameter Txneed exceeds the preset threshold range of the detected magnetic induction parameter (e.g., -104mT). If the controller determines that the target magnetic force parameter Txneed exceeds the preset threshold range of the magnetic induction parameter, the LED screen will display "other reason". If the controller determines that the target magnetic force parameter Txneed does not exceed the preset threshold range of the magnetic induction parameter, the LED screen will display "success".

[0106] Optionally, in some embodiments of this application, the above method calculates the target induced electrical parameters of the linear magnetic induction device based on the first sampling point on the casing of the energy meter using a preset target calculation formula corresponding to the magnetic induction parameters, including:

[0107] Calculate the target induced electrical parameters based on the target magnetic parameters and the second target calculation formula.

[0108] The second target calculation formula is: the calculation formula between the target magnetic force parameter and the target induced electrical parameter in a scenario where the induced electrical parameter is unknown.

[0109] In one possible implementation, the target magnetic parameter Txneed and the second target calculation formula are used to calculate the target induced electrical parameter V3 in the scenario where the induced electrical parameter Vaget is unknown.

[0110] V3=0.4+(Txneed * 0.34+99) / 70 Formula (2)

[0111] Among them, the target induced electrical parameter V3 is the target detection electrical parameter threshold that needs to be set for the electricity meter. If the induced electrical parameter collected by the controller at the first sampling point is greater than the target induced electrical parameter V3 during the operation of the electricity meter, the strong magnetic electricity theft alarm of the electricity meter will be triggered.

[0112] The method for determining the electricity theft detection threshold provided in the above embodiments of this application will be explained and described in detail below with reference to the accompanying drawings. Figure 6 Example flow of a method for determining an electricity theft detection threshold provided in this application embodiment Figure 2 .like Figure 6 As shown, the target calculation formula in the above method is a formula obtained in advance using the following method, which may include:

[0113] S301. Obtain the original data table of the induced electrical parameters and magnetic parameters of the linear magnetic induction device based on the action of the second sampling point.

[0114] In one possible implementation method Figure 7 This application provides a schematic diagram illustrating the relationship between the magnetic induction parameters and the output induced electrical parameters of different linear magnetic sensors, as shown in the embodiments. Figure 7 As shown, the magnetic induction parameters and output induced electrical parameters of different models of linear magnetic induction devices 130 exhibit a linear relationship. That is, as the received magnetic induction parameters increase, the output induced electrical parameters of different models of linear magnetic induction devices 130 also increase; conversely, as the received magnetic induction parameters decrease, the output electrical parameters of different models of linear magnetic induction devices 130 also decrease. In other words, for the same model of linear magnetic induction device 130, its output induced electrical parameters are linearly related to the received magnetic induction parameters.

[0115] Furthermore, based on the relationship between the linear magnetic induction device 130 and the output induced electrical parameters, and through the above... Figure 5 The relationship between the preset standard magnet and the linear magnetic induction device at the second sampling point B is determined by collecting data in a preset number of preset vertical directions for standard magnets of different specifications, which serves as the data source for the original data table of magnetic force parameters.

[0116] In another possible way of implementation Figure 8 A schematic diagram illustrating the relationship between the north and south poles of the output induced electrical parameters of a linear magnetic sensor and the magnetic induction parameters of a preset standard magnet, provided in an embodiment of this application, is shown below. Figure 8 As shown, the output induced electrical parameter of the linear magnetic induction device 130 also has a certain symmetrical relationship with the north and south poles of the preset standard magnet. For example, taking the output induced electrical parameter as the output voltage, if the output electrical parameter of the linear magnetic induction device 130 is 4V, then the magnet is at the south pole; if the output electrical parameter of the linear magnetic induction device 130 is 0V, then the magnet is at the north pole. That is, the higher the output electrical parameter of the linear magnetic induction device 130, the higher the magnet is at the south pole; the lower the output electrical parameter of the linear magnetic induction device 130, the higher the magnet is at the north pole.

[0117] Furthermore, based on the relationship between the output induced electrical parameters of the linear magnetic induction device 130 and the relationship between the north and south poles of a preset standard magnet, and through the above... Figure 5The relationship between the preset standard magnet and the linear magnetic induction device at the second sampling point B is determined. Data on the induced electrical parameters of different preset standard magnets are collected. A preset number of preset vertical directions can be selected for each preset standard magnet. The specific collection process can be referred to the above process of obtaining the induced electrical parameters of the linear magnetic induction device under the action of the preset standard magnet if the preset calibration operation is the first calibration operation. This process will not be elaborated here. The induced electrical parameters and magnetic force parameters of each preset standard magnet are then recorded in the original data table. Table 1 below shows the original data table of the induced electrical parameters and magnetic force parameters of the linear magnetic induction device based on the action of the second sampling point.

[0118] 0.1V -120mT 0.2V -113mT 0.3V -106mT 0.4V -99mT …… …… 3V 83mT 3.1V 90mT 3.2V 97mT 3.3V 104mT

[0119] S302. Obtain a reference data table of the induced electrical parameters and magnetic parameters of the linear magnetic induction device based on the first sampling point.

[0120] In one possible implementation, since the first sampling point A is directly above the relay, a reference data table of induced electrical and magnetic parameters of the linear magnetic induction device based on the action of the first sampling point can be generated. The formation of the reference data table can be referred to step S302 above, which will not be repeated here.

[0121] Table 2 below is a reference data table of induced electrical and magnetic parameters of the linear magnetic induction device based on the action of the first sampling point A.

[0122]

[0123]

[0124] It should be noted that the magnetic force parameters of the preset standard magnets for the first sampling point A and the second sampling point B can be the same or different when obtaining the reference data table; no restrictions are imposed here.

[0125] S303. Based on the original data table and the reference data table, the target calculation formula is obtained.

[0126] In one possible implementation, the target calculation formula can be derived from the original data table mentioned above. Then, the data in the reference data table is substituted into the derived target calculation formula to verify the accuracy of the target calculation formula. That is, the induced electrical parameters of the preset standard magnet in the reference data table are the electricity theft detection threshold of the electricity meter.

[0127] The method for determining the electricity theft detection threshold proposed in this application involves obtaining an original data table of induced electrical and magnetic parameters of a linear magnetic induction device based on a second sampling point, where the second sampling point is a preset sampling point on the casing closest to the linear magnetic induction device; obtaining a reference data table of induced electrical and magnetic parameters of the linear magnetic induction device based on a first sampling point; and deriving a target calculation formula based on the original and reference data tables. Thus, this application can obtain the original and reference data tables through the inherent characteristics of the linear magnetic induction device, derive the target calculation formula based on the data in the original data table, and then substitute the data from the reference data table into the target calculation formula to verify the validity of the data in the reference data table.

[0128] The method for determining the electricity theft detection threshold provided in the above embodiments of this application will be explained and described in detail below with reference to the accompanying drawings. Figure 9 Example flow of a method for determining an electricity theft detection threshold provided in this application embodiment Figure 3 .like Figure 9 As shown, the target calculation formula obtained from the above method based on the original data table and the reference data table can include:

[0129] S401. Based on the original data table, obtain the preset linear relationship between the induced electrical parameters and magnetic parameters of the linear magnetic induction device under the action of the second sampling point.

[0130] In one possible implementation, according to the above Figure 5 Based on the original data table and the characteristics of the linear magnetic induction device mentioned above, it can be assumed that there is a certain proportional relationship between the output induced magnetic force parameter T3 of the linear magnetic induction device based on the first sampling point A and the output induced magnetic force parameter T2 of the relay based on the first sampling point A, which is expressed by the following formula (3).

[0131] T2=Xdif * T3 formula (3)

[0132] Where Xdif is the proportionality coefficient between the induced magnetic force parameter T3 and the induced magnetic force parameter T2; this proportionality coefficient Xdif = cosin(α).

[0133] It should be noted that it is assumed that the output induced magnetic force parameter T1 of the linear magnetic induction device corresponding to the preset standard magnet at the second sampling point B is equal to the output induced magnetic force parameter T2 of the relay corresponding to the preset standard magnet at the first sampling point A, that is, T1 = T2.

[0134] S402. Using the reference data table as a reference, and based on the preset linear relationship and the positional relationship between the first sampling point and the second sampling point, the target calculation formula is obtained.

[0135] In one possible implementation, a reference data table is used as a reference, and based on a preset linear relationship such as formula (3), and the positional relationship between the first sampling point and the second sampling point, that is, the first sampling point and the second sampling point are located on the same plane (e.g. Figure 5 As shown in the figure, the formula for calculating the target can be derived.

[0136] The method for determining the electricity theft detection threshold proposed in this application, based on the original data table, obtains a preset linear relationship between the induced electrical parameters and magnetic parameters of the linear magnetic induction device under the action of the second sampling point; using a reference data table as a reference, and based on the preset linear relationship and the positional relationship between the first and second sampling points, the target calculation formula is obtained. Therefore, based on the preset linear relationship between the induced electrical parameters and magnetic parameters of the linear magnetic induction device under the action of the second sampling point, and the positional relationship between the first and second sampling points, this application can derive the target calculation formula, thereby increasing the accuracy of the target calculation formula.

[0137] The method for determining the electricity theft detection threshold provided in the above embodiments of this application will be explained and described in detail below with reference to the accompanying drawings. Figure 10 Example flow of a method for determining an electricity theft detection threshold provided in this application embodiment Figure 4 .like Figure 10 As shown, the above method uses a reference data table as a reference, and obtains the target calculation formula based on a preset linear relationship and the positional relationship between the first sampling point and the second sampling point. This formula may include:

[0138] S501. Using the reference data table as a reference, and based on the preset linear relationship and the positional relationship between the first sampling point and the second sampling point, obtain the first calculation formula between the magnetic parameters sensed by the linear magnetic induction device at the first sampling point and the second sampling point.

[0139] In one possible implementation, using a reference data table as a reference, and based on the preset linear relationship shown in the above formula (3), the positional relationship between the first sampling point and the second sampling point can be obtained by using the following formula (4) to obtain the first calculation formula between the magnetic parameters sensed by the linear magnetic induction device at the first sampling point and the second sampling point.

[0140] T3=Xdif * T1 formula (4)

[0141] According to the above formula (4), the output induced magnetic force parameter T3 of the linear magnetic induction device at the first sampling point A can be set by collecting the value of the output induced magnetic force parameter T1 of the linear magnetic induction device at the second sampling point B.

[0142] S502. Based on the first linear relationship, the second calculation formula for the induced electrical parameters of the linear magnetic induction device and the magnetic force parameters of the second sampling point is obtained.

[0143] In one possible implementation, the preset linear relationship between the induced electrical parameter Vx and the magnetic parameter Tknow of the linear magnetic induction device under the action of the second sampling point B can be obtained by using the following formula (5) based on the first linear relationship, i.e. the inherent characteristics of the linear magnetic induction device.

[0144] Vx=0.4+(Tknow+99) / 70 Formula (5)

[0145] S503. Based on the first calculation formula and the second calculation formula, the target calculation formula is obtained.

[0146] In one possible implementation, the target calculation formula can be derived based on formulas (4) and (5), and data verification can be performed based on the reference data table to increase the accuracy of the target calculation formula.

[0147] The method for determining the electricity theft detection threshold proposed in this application includes, using a reference data table as a reference, obtaining the target calculation formula based on a preset linear relationship and the positional relationship between the first and second sampling points. This includes: using the reference data table as a reference, obtaining a first calculation formula between the magnetic parameters sensed by the linear magnetic induction device at the first and second sampling points based on the preset linear relationship and the positional relationship between the first and second sampling points; obtaining a second calculation formula between the induced electrical parameters of the linear magnetic induction device and the magnetic parameters at the second sampling point based on the first linear relationship; and obtaining the target calculation formula based on the first and second calculation formulas. Therefore, this application can derive the target calculation formula based on the first and second calculation formulas and verify it using a reference data table, thus increasing the accuracy of the target calculation formula. Furthermore, when the target user discovers that the actual detection threshold for preventing strong magnetic theft deviates from the threshold originally requested, or when the usage scenario changes causing the detection threshold to change accordingly, there is no need to customize a new electricity meter. The target user can use the target calculation formula of this solution to enable the electricity meter to quickly match the new magnetic detection threshold, allowing the product to quickly adapt to the new usage scenario.

[0148] The method for determining the electricity theft detection threshold provided in the above embodiments of this application will be explained and described in detail below with reference to the accompanying drawings. Figure 11 Example flow of a method for determining an electricity theft detection threshold provided in this application embodiment Figure 5 .like Figure 11 As shown, the original data table for obtaining the induced electrical and magnetic parameters of the linear magnetic induction device based on the second sampling point in the above method may include:

[0149] S601. When a first preset standard magnet is placed at the second sampling point, the first induced electrical parameters of the linear magnetic induction device under the magnetic force of the first standard magnet are obtained.

[0150] In one possible implementation, based on Figure 5 When a first preset standard magnet is placed at the second sampling point B, the first induced electrical parameter of the linear magnetic induction device under the magnetic force of the first standard magnet can be obtained through the aforementioned preset calibration operation, which is the specific process in the first calibration operation. For example, if the first preset standard magnet is -120mT, then the first induced electrical parameter is 0.1V.

[0151] S602. Store the first preset magnetic force parameters and the first electrical parameters of the first standard magnet into the original data table.

[0152] In one possible implementation, the first preset magnetic force parameter and the first electrical parameter of the first standard magnet are stored in the original data table through a first preset method. The first preset method can be selected according to the actual situation. For example, the first preset method can be used to store the first preset magnetic force parameter and the first electrical parameter of the first standard magnet in the original data table by handwriting.

[0153] The method for determining the electricity theft detection threshold proposed in this application includes obtaining the original data table of induced electrical parameters and magnetic parameters of a linear magnetic induction device based on the action of a second sampling point. This may include: when a first preset standard magnet is placed at the second sampling point, obtaining the first induced electrical parameter of the linear magnetic induction device under the magnetic force of the first standard magnet; and storing the first preset magnetic parameter and the first electrical parameter of the first standard magnet in the original data table. Therefore, this application obtains the first induced electrical parameter of the linear magnetic induction device under the magnetic force of the first standard magnet when the first preset standard magnet is placed at the second sampling point, and stores this data in the original data table to provide a reference object.

[0154] The method for determining the electricity theft detection threshold provided in the above embodiments of this application will be explained and described in detail below with reference to the accompanying drawings. Figure 12 Example flow of a method for determining an electricity theft detection threshold provided in this application embodiment Figure 6 .like Figure 12 As shown, the reference data table for obtaining the induced electrical and magnetic parameters of the linear magnetic induction device based on the first sampling point in the above method may include:

[0155] S701. When a second standard magnet is placed at the first sampling point on the watch case, the second electrical parameter output by the linear magnetic induction device under the magnetic force of the second standard magnet is obtained.

[0156] In one possible implementation, based on Figure 5 When a second preset standard magnet is placed at the first sampling point A, the second induced electrical parameter of the linear magnetic induction device under the magnetic force of the second standard magnet can be obtained through the aforementioned preset calibration operation, which is a specific process in the first calibration operation. For example, if the second preset standard magnet is -120mT, then the second induced electrical parameter is 1.23V.

[0157] S702. Store the second magnetic force parameter and the second electrical parameter in the reference data table.

[0158] In one possible implementation, the second preset magnetic force parameter and the second electrical parameter of the second standard magnet are stored in the original data table through a second preset method. The second preset method can be selected according to the actual situation. For example, the second preset method can be used to store the second preset magnetic force parameter and the second electrical parameter of the second standard magnet in the reference data table by handwriting.

[0159] The method for determining the electricity theft detection threshold proposed in this application includes obtaining a reference data table of induced electrical and magnetic parameters of a linear magnetic induction device based on a first sampling point. This may involve: when a second standard magnet is placed at the first sampling point on the casing, obtaining the second electrical parameter output by the linear magnetic induction device under the magnetic force of the second standard magnet; and storing the second magnetic parameter and the second electrical parameter in the reference data table. Therefore, this application can obtain the second induced electrical parameter of the linear magnetic induction device under the magnetic force of the second standard magnet based on the placement of the second standard magnet at the first sampling point, and store this data in the reference data table to provide a reference object.

[0160] To facilitate understanding of the method for determining the electricity theft detection threshold described above, this application also provides a flowchart example of the method for determining the electricity theft detection threshold, which will be further described below with reference to the accompanying drawings. Figure 13 Example flow of a method for determining an electricity theft detection threshold provided in this application embodiment Figure 7 .like Figure 13 As shown in the illustration, the embodiments provided in this application provide... Figure 7 The preset calibration operation, designated as the first calibration operation, may include:

[0161] S801, Send the first calibration preset command.

[0162] Specifically, first, a preset standard magnet is placed at the second sampling point in a preset vertical direction (e.g., due south) according to a preset number (e.g., 4 times). Then, the controller transmits the signal to the near-infrared interface of the energy meter (e.g., ...). Figure 4 The first calibration preset command is sent from point C in the meter to indicate that the meter can begin the first calibration operation.

[0163] S802. According to the first calibration preset command, perform the first calibration operation of the preset standard magnet.

[0164] Specifically, according to the first calibration preset command, a preset standard magnet at the second sampling point is tested in the first test direction (e.g., due south). The LCD screen will start displaying "TP1 CHKING". After the test in the first test direction (e.g., due south) is completed, the LCD screen will start displaying "TP1 OK". The test process in the first test direction (e.g., due south) continues for a preset sampling time (e.g., 5 seconds). Then, the preset standard magnet is manually moved to a distance at least preset (80cm) from the meter casing. The preset standard magnet is then tested in the second test direction (e.g., due north). The LCD screen will start displaying "TP2 CHKING". After the test in the second test direction (e.g., due north) is completed, the LCD screen will start displaying "TP2 OK". The test process in the second test direction (e.g., due north) continues for a preset sampling time (e.g., 5 seconds). This cycle can be repeated a preset number of times (e.g., 4 times). Then, the maximum value of the test induced electrical parameter of the linear magnetic induction device corresponding to the preset standard magnet at the second sampling point is selected each time. The maximum value of the test induced electrical parameter is used as the magnetic induction electrical parameter of the linear magnetic induction device of the preset standard magnet and output.

[0165] S803. Determine whether the test induced electrical parameters of the linear magnetic induction device corresponding to the second sampling point of the preset standard magnet exceed the threshold range of the preset magnetic induction parameters; if not, proceed to step S804; if yes, proceed to step S805.

[0166] Specifically, based on the threshold range of the preset magnetic induction parameters, it is determined whether the test induced electrical parameters of the linear magnetic induction device corresponding to the second sampling point of the sampled preset standard magnet exceed the threshold range of the preset magnetic induction parameters. If not, step S804 is executed; if so, step S805 is executed.

[0167] S804. If not, the LCD screen on the electricity meter will display "CHK DONE".

[0168] Specifically, if the LCD screen on the electricity meter displays "CHK DONE", it indicates that the first calibration operation of the preset standard magnet was successful.

[0169] S805. If so, the LCD screen on the electricity meter will display "CHK ERR".

[0170] Specifically, if the LCD screen on the electricity meter displays "CHK ERR", it indicates that the first calibration operation of the preset standard magnet has failed.

[0171] To facilitate understanding of the method for determining the electricity theft detection threshold described above, this application also provides a flowchart example of the method for determining the electricity theft detection threshold, which will be further described below with reference to the accompanying drawings. Figure 14 Example flow of a method for determining an electricity theft detection threshold provided in this application embodiment Figure 8 .like Figure 14 As shown in the illustration, the embodiments provided in this application provide... Figure 8 The preset calibration operation is designated as the second calibration operation, which may include:

[0172] S901, Send the second calibration preset command.

[0173] Specifically, when the target user cannot find a preset standard magnet, a second calibration operation can be performed using a preset calibration operation, i.e., based on... Figure 4 The near-infrared interface at point C obtains the target magnetic force parameter Txneed as the magnetic induction electrical parameter through the second calibration preset command input by the terminal device (such as the host computer).

[0174] S902. Execute the second calibration operation according to the second calibration preset command.

[0175] Specifically, after receiving the second calibration preset command, the electricity meter extracts the target magnetic parameter Txneed to be set. It then uses the target magnetic parameter Txneed as the magnetic induction electrical parameter corresponding to the linear magnetic induction device at the second sampling point B.

[0176] S903. Determine whether the target magnetic force parameter exceeds the threshold range of the preset magnetic induction parameter; if yes, proceed to step S904; if no, proceed to step S905.

[0177] Specifically, based on the target magnetic force parameter Txneed, it is determined whether the target magnetic force parameter exceeds the threshold range of the preset magnetic induction parameter. If not, step S904 is executed; if so, step S905 is executed.

[0178] S904. If so, the LCD screen on the electricity meter will display "other reason".

[0179] Specifically, if the LCD screen on the electricity meter displays "other reason", it indicates that the second calibration operation of the preset standard magnet has failed.

[0180] S905. If not, the LCD screen on the electricity meter will display "success".

[0181] Specifically, if the LCD screen on the electricity meter displays "success", it indicates that the second calibration operation of the preset standard magnet was successful.

[0182] Based on the same inventive concept, this application also provides a device for determining the electricity theft detection threshold. Since the principle of the device in this application is similar to the method for determining the electricity theft detection threshold described above in this application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be described again.

[0183] Figure 15 This is a schematic diagram of a device for determining an electricity theft detection threshold, provided in an embodiment of this application. Figure 15 As shown, the controller applied to an electricity meter, the device 80 for determining the electricity theft detection threshold may include:

[0184] The acquisition module 81 is used to respond to a preset calibration operation for the electricity meter and acquire the magnetic induction parameters corresponding to the linear magnetic induction device in the electricity meter.

[0185] The calculation module 82 is used to calculate the target induced electrical parameters of the linear magnetic induction device based on the first sampling point on the casing of the energy meter according to the magnetic induction parameters and the target calculation formula corresponding to the preset first sampling point. The first sampling point is the preset position on the casing closest to the relay.

[0186] Configuration module 83 is used to configure the target induced electrical parameters as the electricity theft detection threshold of the electricity meter.

[0187] Optionally, in one optional implementation, the acquisition module 81 is specifically used to: if the preset calibration operation is the first calibration operation, acquire the induced electrical parameters of the linear magnetic induction device under the action of a preset standard magnet as the magnetic induction electrical parameters.

[0188] Optionally, in one optional implementation, the calculation module 82 is specifically used to: calculate the target induced electrical parameters based on the induced electrical parameters and the first target calculation formula, wherein the first target calculation formula is: the calculation formula between the induced electrical parameters and the target induced electrical parameters in a scenario where the magnetic parameters are unknown.

[0189] Optionally, in one optional implementation, the acquisition module 81 is specifically used to: if the preset calibration operation is a second calibration operation, acquire the target magnetic force parameter from the second calibration operation as the magnetic induction electrical parameter;

[0190] Optionally, in one optional implementation, the calculation module 82 is specifically used to: calculate the target induced electrical parameters based on the target magnetic force parameters and the second target calculation formula, wherein the second target calculation formula is: the calculation formula between the target magnetic force parameters and the target induced electrical parameters in a scenario where the induced electrical parameters are unknown.

[0191] Optionally, in one optional implementation, the calculation module 82 is specifically used to: obtain the original data table of the induced electrical parameters and magnetic parameters of the linear magnetic induction device based on the action of the second sampling point, wherein the second sampling point is the preset sampling point on the casing closest to the linear magnetic induction device; obtain the reference data table of the induced electrical parameters and magnetic parameters of the linear magnetic induction device based on the action of the first sampling point; and obtain the target calculation formula based on the original data table and the reference data table.

[0192] Optionally, in one optional implementation, the calculation module 82 is specifically used to: obtain a preset linear relationship between the induced electrical parameters and magnetic parameters of the linear magnetic induction device based on the original data table and the action of the second sampling point; and obtain the target calculation formula based on the preset linear relationship and the positional relationship between the first sampling point and the second sampling point, using the reference data table as a reference.

[0193] Optionally, in one optional implementation, the calculation module 82 is specifically used to: using a reference data table as a reference, and based on a preset linear relationship and the positional relationship between the first sampling point and the second sampling point, obtain a first calculation formula between the magnetic parameters sensed by the linear magnetic induction device at the first sampling point and the second sampling point; based on the first linear relationship, obtain a second calculation formula between the induced electrical parameters of the linear magnetic induction device and the magnetic parameters at the second sampling point; and based on the first calculation formula and the second calculation formula, obtain a target calculation formula.

[0194] Optionally, in one optional implementation, the calculation module 82 is specifically used to: when a first preset standard magnet is placed at the second sampling point, acquire the first induced electrical parameters of the linear magnetic induction device under the magnetic force of the first standard magnet; and store the first preset magnetic force parameters and the first electrical parameters of the first standard magnet into the original data table.

[0195] Optionally, in one optional implementation, the calculation module 82 is specifically used to: when a second standard magnet is placed at the first sampling point on the case, acquire the second electrical parameter output by the linear magnetic induction device under the magnetic force of the second standard magnet; and store the second magnetic parameter and the second electrical parameter in a reference data table.

[0196] It should be noted that for details not disclosed in the device for determining the electricity theft detection threshold in the embodiments of this application, please refer to the details disclosed in the method for determining the electricity theft detection threshold in the embodiments of this application, which will not be repeated here.

[0197] These modules can be one or more integrated circuits configured to implement the above methods, such as one or more Application Specific Integrated Circuits (ASICs), one or more microprocessors, or one or more Field Programmable Gate Arrays (FPGAs). Alternatively, when a module is implemented using processing element scheduler code, the processing element can be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. Furthermore, these modules can be integrated together as a system-on-a-chip (SoC).

[0198] Optionally, embodiments of this application also provide a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the processor performs the steps of the method for determining the electricity theft detection threshold of the removable storage medium in the above embodiments. The specific implementation and technical effects are similar and will not be described again here.

[0199] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0200] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0201] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in the form of hardware plus software functional units.

[0202] The integrated units implemented as software functional units described above can be stored in a computer-readable storage medium. These software functional units, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

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

Claims

1. A method for determining an electricity theft detection threshold, characterized in that, A controller applied to an electricity meter, wherein the method for determining the electricity theft detection threshold includes: In response to a preset calibration operation for the energy meter, the magnetic induction parameters corresponding to the linear magnetic induction device in the energy meter are obtained; Based on the magnetic induction parameters, the target induced electrical parameters of the linear magnetic induction device are calculated using the target calculation formula corresponding to the first sampling point on the casing of the energy meter, wherein the first sampling point is the preset position on the casing closest to the relay; Configure the target induced electrical parameters as the electricity theft detection threshold of the electricity meter; The target calculation formula is a formula obtained in advance using the following methods, including: Obtain the original data table of the induced electrical parameters and magnetic parameters of the linear magnetic induction device based on the second sampling point, wherein the second sampling point is the preset sampling point on the case closest to the linear magnetic induction device; Obtain a reference data table of the induced electrical and magnetic parameters of the linear magnetic induction device based on the first sampling point; Based on the original data table, a preset linear relationship between the induced electrical parameters and magnetic parameters of the linear magnetic induction device under the action of the second sampling point is obtained; Using the reference data table as a reference, and based on the preset linear relationship and the positional relationship between the first sampling point and the second sampling point, a first calculation formula is obtained between the magnetic parameters sensed by the linear magnetic induction device at the first sampling point and the second sampling point. Based on the first linear relationship, a second calculation formula is obtained for the induced electrical parameters of the linear magnetic induction device and the magnetic parameters of the second sampling point; The target calculation formula is obtained based on the first calculation formula and the second calculation formula.

2. The method for determining the electricity theft detection threshold according to claim 1, characterized in that, The response is in response to a preset calibration operation of the electricity meter, and obtains the magnetic induction parameters corresponding to the linear magnetic induction device in the electricity meter, including: If the preset calibration operation is the first calibration operation, the induced electrical parameters of the linear magnetic induction device under the action of a preset standard magnet are obtained as the magnetic induction electrical parameters. The step of calculating the target induced electrical parameters of the linear magnetic induction device based on the first sampling point on the casing of the energy meter, using a preset target calculation formula corresponding to the first sampling point and based on the magnetic induction parameters, includes: The target induced electrical parameter is calculated based on the induced electrical parameter and the first target calculation formula, wherein the first target calculation formula is the calculation formula between the induced electrical parameter and the target induced electrical parameter in a scenario where the magnetic force parameter is unknown.

3. The method for determining the electricity theft detection threshold according to claim 1, characterized in that, The response is in response to a preset calibration operation of the electricity meter, and obtains the magnetic induction parameters corresponding to the linear magnetic induction device in the electricity meter, including: If the preset calibration operation is the second calibration operation, the target magnetic force parameter is obtained from the second calibration operation as the magnetic induction electrical parameter; The step of calculating the target induced electrical parameters of the linear magnetic induction device based on the first sampling point on the casing of the energy meter, using a preset target calculation formula corresponding to the first sampling point and based on the magnetic induction parameters, includes: The target induced electrical parameter is calculated based on the target magnetic force parameter and the second target calculation formula, wherein the second target calculation formula is the calculation formula between the target magnetic force parameter and the target induced electrical parameter in the scenario where the induced electrical parameter is unknown.

4. The method for determining the electricity theft detection threshold according to claim 1, characterized in that, The process of obtaining the original data table of the induced electrical and magnetic parameters of the linear magnetic induction device based on the second sampling point includes: When a first preset standard magnet is placed at the second sampling point, the first induced electrical parameter of the linear magnetic induction device under the magnetic force of the first preset standard magnet is obtained. The first preset magnetic force parameter and the first induced electrical parameter of the first preset standard magnet are stored in the original data table.

5. The method for determining the electricity theft detection threshold according to claim 1, characterized in that, The reference data table for obtaining the induced electrical and magnetic parameters of the linear magnetic induction device based on the first sampling point includes: When a second standard magnet is placed at the first sampling point on the watch case, the second induced electrical parameter output by the linear magnetic induction device under the magnetic force of the second standard magnet is obtained. The second preset magnetic force parameter and the second induced electrical parameter are stored in the reference data table.

6. A device for determining the threshold for electricity theft detection, characterized in that, A controller applied to an electricity meter, the device for determining the electricity theft detection threshold includes: The acquisition module is used to respond to a preset calibration operation for the energy meter and acquire the magnetic induction parameters corresponding to the linear magnetic induction device in the energy meter. The calculation module is used to calculate the target induced electrical parameters of the linear magnetic induction device based on the first sampling point on the casing of the energy meter, according to the magnetic induction parameters and using the target calculation formula corresponding to the preset first sampling point, wherein the first sampling point is the preset position on the casing closest to the relay; The configuration module is used to configure the target induced electrical parameters as the electricity theft detection threshold of the electricity meter; The calculation module is specifically used to: obtain the original data table of the induced electrical parameters and magnetic parameters of the linear magnetic induction device based on the action of the second sampling point, wherein the second sampling point is the preset sampling point on the case that is closest to the linear magnetic induction device; Obtain a reference data table of the induced electrical and magnetic parameters of the linear magnetic induction device based on the first sampling point; Based on the original data table and the reference data table, the target calculation formula is obtained; The calculation module is specifically used to: obtain a preset linear relationship between the induced electrical parameters and magnetic parameters of the linear magnetic induction device based on the original data table and the second sampling point; Using the reference data table as a reference, the target calculation formula is obtained based on the preset linear relationship and the positional relationship between the first sampling point and the second sampling point; The calculation module is specifically used to: using the reference data table as a reference, and based on the preset linear relationship and the positional relationship between the first sampling point and the second sampling point, obtain a first calculation formula between the magnetic parameters sensed by the linear magnetic induction device at the first sampling point and the second sampling point; Based on the first linear relationship, a second calculation formula is obtained for the induced electrical parameters of the linear magnetic induction device and the magnetic parameters of the second sampling point; The target calculation formula is obtained based on the first calculation formula and the second calculation formula.

7. An electricity meter, characterized in that, The device includes a controller, a relay, and a linear magnetic induction device, wherein the controller is connected to the relay and the linear magnetic induction device respectively, and the controller is used to execute the method for determining the electricity theft detection threshold according to any one of claims 1-5.

Citation Information

Patent Citations

  • Electricity larceny detection method and device, electricity larceny prevention device and readable storage medium

    CN113075438A

  • Positioning method and system based on multiple magnetic sensors, electronic equipment and storage medium

    CN116086435A