CN112834859A - A device and method for simulating parameter variation of components of a metering device - Google Patents

A device and method for simulating parameter variation of components of a metering device Download PDF

Info

Publication number
CN112834859A
CN112834859A CN202110192556.5A CN202110192556A CN112834859A CN 112834859 A CN112834859 A CN 112834859A CN 202110192556 A CN202110192556 A CN 202110192556A CN 112834859 A CN112834859 A CN 112834859A
Authority
CN
China
Prior art keywords
metering
module
chip
unit
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110192556.5A
Other languages
Chinese (zh)
Inventor
周玉
邵雪松
易永仙
崔高颖
蔡奇新
季欣荣
李悦
高雨翔
宋瑞鹏
支亚薇
潘超
褚兴旺
徐鸣飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Jiangsu Electric Power Co ltd Marketing Service Center
State Grid Corp of China SGCC
State Grid Jiangsu Electric Power Co Ltd
Original Assignee
State Grid Jiangsu Electric Power Co ltd Marketing Service Center
State Grid Corp of China SGCC
State Grid Jiangsu Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Jiangsu Electric Power Co ltd Marketing Service Center, State Grid Corp of China SGCC, State Grid Jiangsu Electric Power Co Ltd filed Critical State Grid Jiangsu Electric Power Co ltd Marketing Service Center
Priority to CN202110192556.5A priority Critical patent/CN112834859A/en
Publication of CN112834859A publication Critical patent/CN112834859A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

A metering device component parameter variation simulation device and method comprises a core CPU processing unit, a relay matrix module, a resistance conversion module, a capacitance conversion module and a storage control unit, wherein the relay matrix module, the resistance conversion module, the capacitance conversion module and the storage control unit are respectively connected with the core CPU processing unit, the relay matrix module is connected with a metering chip port line and used for controlling a reset pin, a power supply port line and SPI communication of the metering chip; the resistance conversion module is connected with a sampling resistor, a series resistor and a grounding resistor in the metering loop; the capacitance conversion module is connected with a decoupling capacitor and a filter capacitor in the metering loop and controls and changes related capacitance parameters; the storage control unit is connected with the metering device storage chip FLASH and FARM. The invention can simulate the electricity stealing mode of the metering loop of the metering device at the component level, has strong functions, is simple and convenient to operate, effectively reproduces and researches various high-tech electricity stealing modes on site, and has good application prospect.

Description

Device and method for simulating component parameter change of metering device
Technical Field
The invention belongs to the technical field of power systems, and relates to a device and a method for simulating component parameter change of a metering device.
Background
With the rapid development of economy, the power consumption of enterprises is continuously increased, and in order to reduce cost and improve benefits, some enterprises adopt illegal means to steal electricity, and steal electricity cases are continuously generated and gradually spread.
Due to the wide application of electricity stealing prevention products and the enhancement of the management of electricity stealing prevention of a power supply department, traditional electricity stealing users frequently become striking objects, more and more electricity stealing molecules adopt more concealed high-tech electricity stealing to escape the inspection of the electricity stealing prevention of the power supply department, for example, the electricity stealing is carried out by changing meter hardware parameters, and the means is more intelligent.
At present, the anti-electricity-stealing means lags behind the continuously emerging novel electricity-stealing mode, and aiming at the phenomenon, a set of device and method for simulating the novel electricity-stealing mode needs to be researched and developed, so that the device and method can be used for carrying out electricity-stealing training on-site electricity-stealing inspectors, and can be used as an anti-electricity-stealing research and analysis platform to carry out deep research on electricity stealing.
Disclosure of Invention
In order to solve the problems in the prior art, the invention aims to provide a device and a method for simulating the parameter change of components of a metering device, which are used for simulating and researching typical and high-tech electricity stealing modes.
The invention adopts the following technical scheme:
a device for simulating parameter variation of a component of a metering device comprises: a core CPU processing unit, a relay matrix module, a resistance conversion module, a capacitance conversion module and a storage control unit,
the relay matrix module, the resistance conversion module, the capacitance conversion module and the storage control unit are respectively connected with the core CPU processing unit,
the relay matrix module is connected with a metering chip port line of a metering device component,
the resistance conversion module is connected with a sampling resistor, a series resistor and a grounding resistor in a metering loop of a metering device component,
the capacitance conversion module is connected with a decoupling capacitor and a filter capacitor in a metering loop of a metering device component,
and the storage control unit is connected with the storage chips FLSAH and FRAM in the metering device components.
The core CPU processing unit is an ARM processor and receives a device change instruction sent by an upper computer in an Ethernet mode,
the device variation instruction includes: the analog metering chip is abnormal in metering, the metering loop is abnormal in resistance parameter, the metering loop is abnormal in capacitance parameter and the meter storage chip is abnormal,
the core CPU processing unit respectively sends the corresponding commands of relay switching, resistance value control and capacitance value control to the relay matrix module, the resistance conversion module and the capacitance conversion module,
the relay matrix module is a matrix mode synthesized by connecting a plurality of relay switches, is connected with a metering chip port line, and is used for performing abnormal electricity stealing simulation on the metering chip;
the resistance conversion module integrates a resistor and an MOS (metal oxide semiconductor) tube, is connected with the resistor of each node in the metering loop and is used for carrying out electricity stealing simulation on abnormal resistance parameter values;
the capacitance conversion module integrates a decoupling capacitor, a filter capacitor and a diode, is connected with the capacitor of each node in the metering loop, and is used for carrying out electricity stealing simulation on the abnormal capacitance parameter value;
the memory control unit is connected with a memory chip of the meter, and performs abnormal electricity stealing simulation on the memory by controlling a clock of the memory chip and reading high and low levels of a write-in port line.
The metering device component parameter variation simulation device further comprises a circuit synchronization mapping module which is used for synchronizing the changed component parameters in the metering loop to the test point circuit board in real time, and strong electricity is not connected into the test point circuit board.
The circuit synchronous mapping module comprises a metering chip unit, a resistance unit, a capacitance unit and a storage chip unit.
The metering chip unit comprises a metering chip;
the resistance unit comprises a voltage sampling resistor and a current sampling resistor;
the capacitance unit comprises a coupling capacitor and a filter capacitor;
the memory chip unit includes a memory chip.
After the relay matrix module responds to the instruction of the core CPU processing unit, a power supply pin, an SPI communication port line and a chip reset port line of a metering chip are controlled, so that the metering of the metering chip is abnormal, a circuit synchronous mapping module maps the high and low levels of the pin and the on-off of the port line to the metering chip unit in a test point in real time, the on-off of a test route is tested through an on-off gear of a universal meter, and the waveform of a chip data interface is checked through an oscilloscope;
after responding to the instruction of the core CPU processing unit, the resistance conversion module makes corresponding parameter change to the sampling resistance in the metering loop, so that voltage and current signals input to the metering chip are changed, and electricity stealing simulation of abnormal resistance parameter values is performed;
after the capacitance conversion module responds to the instruction of the core CPU processing unit, corresponding parameter change is carried out on a decoupling capacitor and a filter capacitor in a metering loop, a circuit synchronous mapping module maps a capacitance value to a capacitance unit in a test point in real time, and a capacitance measuring tool is used for measuring the capacitance value;
after the storage control unit responds to the instruction of the core CPU processing unit, corresponding parameter changes are made on the FLASH and FARM clocks and the read-write port lines of the storage chips, and the circuit synchronization mapping module synchronizes the FLASH and FARM states to the storage chip units in the test point in real time to perform state measurement of the specific storage chips.
The metering device component parameter variation simulation device also comprises a metering calibration unit, wherein the metering calibration unit is used for carrying out timing calibration on a metering loop, and a standard source module is contained in the unit;
the metering calibration unit sends a meter calibration parameter zero returning command to the metering device, and the meter calibration parameter zero returning command enables metering to be restored to a pre-calibration state through reading and writing operation of the register on the metering chip;
controlling a standard source module in a metering calibration unit to output specified parameters, controlling the voltage U to be 220V, I to be 1.5A and the power factor to be 1, waiting for the power module to output stable, reading the active power of a metering device and the active power of a standard source, and calibrating a first section of power gain coefficient;
controlling a standard source module in the metering calibration unit to output specified parameters, controlling the voltage U to be 220V, I to be 0.075A and the power factor to be 1, waiting for the power module to output stably, reading the active power of the metering device and the active power of the standard source, and calibrating the power gain coefficient of the second section;
controlling a standard source module in a metering calibration unit to output specified parameters, controlling voltage U to be 220V, I to be 0.075A and power factor to be 0.5, waiting for the power module to output stably, reading active power of a metering device and active power of a standard source, and performing first-stage, second-stage and third-stage phase calibration;
and controlling the output parameters of the standard source module to calibrate the voltage and current coefficients.
The metering device component parameter variation simulation device establishes a control system according to the working logic of each module,
the control system is divided into 3-level menus, and the first-level menu is a system main interface; the second-level menu is selected by a manufacturer of a metering mode and a scheme, and the metering mode can be selected from single-phase, three-phase three-wire and three-phase four-wire; the three-level menu is a control unit corresponding to each submodule of the device and is divided into a metering chip unit, a resistance unit, a capacitance unit and a storage chip unit.
The device parameter variation simulation device of the metering device also comprises a device abnormal electricity stealing model database module which is used for establishing an electricity stealing model database describing metering abnormality according to the variation characteristics of the metering parameter voltage, current, power factor and the like caused by various device abnormalities and according to the function P equal to UIcos theta and each corresponding time point of the metering abnormality,
the parameter P is active power, the parameter U is a voltage effective value, the parameter I is a current effective value, the parameter theta is an included angle of voltage and current, and the cos theta is a power factor.
A simulation method of a metering device component parameter variation simulation device comprises the following steps:
step S101, establishing a power stealing model database for describing the abnormity of the components through a function P (UIcos theta) according to the change characteristics of voltage, current and power factors caused by the change of the components;
wherein, the parameter P is active power, and the unit is kW; the parameter U is an effective voltage value and has the unit of kV; the parameter I is a current effective value and has a unit of A; the parameter theta is the included angle of the voltage and the current, and cos theta is a power factor;
step S102, a core CPU processing unit receives and analyzes a device change instruction issued by a console command, calls an instruction corresponding to a power stealing parameter from a power stealing model database, and respectively sends the instruction to a corresponding module to perform specific metering abnormity simulation;
step S103, the relay matrix module operates a reset pin, a power supply port line and SPI communication of the metering chip through actions of a relay matrix related to a relay according to an instruction sent by the core CPU processing unit, and abnormal electricity stealing simulation of the metering chip is completed;
step S104, the resistance conversion module makes voltage and current signals input to a metering chip change by adjusting the resistance values of a sampling resistor, a series resistor and a grounding resistor in a metering loop according to an instruction sent by a core CPU processing unit, and conducts electricity stealing simulation of a resistor component;
step S105, the capacitance conversion module conducts electricity stealing simulation on the capacitance component by adjusting parameter values of a decoupling capacitor and a filter capacitor in the metering loop according to an instruction sent by the core CPU processing unit;
step S106, the memory control unit carries out abnormal electricity stealing simulation on the memory chip by changing the clock frequency of the memory chip and the parameter values of the read-write port line according to the instruction sent by the core CPU processing unit;
the SPI is a serial peripheral interface.
In the step S102, the core CPU processing unit is connected to a front-end processor in the upper computer in an ethernet manner and deployed in the same lan, the core CPU processing unit sets a fixed IP address and a port as a server mode to wait for connection of the front-end processor, a user operates the metering chip parameter, the metering loop resistance parameter, the metering loop capacitance parameter, and the meter memory chip parameter through a web page, and issues the parameters to the core CPU processing unit through the front-end processor, and the processing unit converts the parameters into an instruction recognizable by a module in the device by calling a power stealing model database.
Compared with the prior art, the invention has the beneficial effects that:
the parameter change simulation method for the metering device component provided by the invention can be applied to the electric power department to carry out deep-level electric larceny mode training on electric larceny prevention inspectors, is close to field work from the practical service, and enhances the electric power department electric larceny prevention capability level. The device and the method provided by the invention process and analyze data by establishing a mathematical model of the influence of various components on metering and adopting an ARM high-performance chip, and carry out analog simulation of abnormal metering caused by component change on resident users, three-phase three-wire users and three-phase four-wire users. The electricity stealing cases found in the field can be simulated and reproduced on the device by using a method, and experimental basis is provided for field evidence collection and confirmation.
According to the device for simulating the parameter change of the components of the metering device, provided by the invention, part of circuits of a metering loop can be analyzed and researched aiming at typical loops of different mainstream meter manufacturers, the device adopts a modular design mode, and is provided with circuit board iteration and replacement interfaces, so that the device can be used for carrying out deep research aiming at a novel metering scheme in the follow-up process, and has great expandability.
The invention can simulate various components on the spot to change the electricity stealing mode, and the electric power department can increase the level and the strength of electricity stealing prevention by the invention, thereby having good application prospect.
Drawings
FIG. 1 is a schematic structural diagram of a device for simulating parameter variation of a component of a metering device;
FIG. 2 is a flow chart of a method for simulating parameter variations of components of a metering device;
FIG. 3 is a circuit synchronization mapping module component;
FIG. 4 is a flow chart of a metrology calibration unit calibrating a metrology loop;
FIG. 5 is a control system composition interface.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. The embodiments described herein are only some embodiments of the invention, and not all embodiments. All other embodiments obtained by a person skilled in the art without making any inventive step on the basis of the spirit of the present invention are within the scope of protection of the present invention.
Fig. 1 is a schematic structural diagram of a device for simulating parameter variation of a component of a metering device, and as shown in the figure, the device comprises: the device comprises a core CPU processing unit, a relay matrix module, a resistance conversion module, a capacitance conversion module and a storage control unit;
the core CPU processing unit 1 is a high-performance ARM and receives a device change instruction of an upper computer in an Ethernet mode, and the device change instruction comprises: the analog metering chip is abnormal in metering, the metering loop is abnormal in resistance parameter, the metering loop is abnormal in capacitance parameter, and the meter storage chip is abnormal, and the CPU processing unit sends corresponding instructions to the relay matrix module 2, the resistance conversion module 3, the capacitance conversion module 4 and the storage control unit 5 respectively.
The relay matrix module 2 is a matrix mode synthesized by connecting a plurality of relay switches, is connected with a metering chip port line, and is used for carrying out abnormal electricity stealing simulation of the metering chip according to the instruction of the core CPU processing unit 1.
The resistance conversion module 3 integrates resistors with various resistance values and MOS tubes, is connected with the resistors of various nodes in the metering loop, and is used for carrying out electricity stealing simulation of abnormal resistance parameter values according to instructions of the core CPU processing unit 1.
The capacitance conversion module 4 is integrally provided with various capacitors and diodes; and the power stealing simulation device is connected with the capacitor of each node in the metering loop and is used for carrying out power stealing simulation of the abnormal capacitance parameter value according to the instruction of the core CPU processing unit 1.
The memory control unit 5 is connected with a memory chip of the meter, and is used for simulating abnormal electricity stealing of the memory according to the instruction of the core CPU processing unit 1 by controlling the clock of the memory chip and reading the high and low levels of a write-in port line.
Correspondingly, the invention also provides a method for simulating the parameter change of the components of the metering device, which can be applied to the simulation device, and is specifically shown in fig. 2:
step S101, establishing a power stealing model database for describing the abnormity of the components through a function P (UIcos theta) according to the change characteristics of voltage, current and power factors caused by the change of the components; wherein the parameter P is active power and has a unit of kW; the parameter U is an effective voltage value and has the unit of kV; the parameter I is a current effective value and has a unit of A; the parameter theta is the included angle of the voltage and the current, and cos theta is the power factor.
From the basic metering principle and power (P ═ UIcos θ) of the electric energy meter, whether the electric energy meter can be metered correctly depends on the correctness of voltage, current, power factor, installation and wiring, and if any one condition is broken, the metering abnormality of the electric energy meter is caused. Under the condition that the power supply voltage and the load are stable, when the parameter of one component in the electric energy meter changes, the voltage signal or the current signal measured by the measuring loop changes correspondingly. Therefore, a power stealing model database for describing the parameter variation of the components can be established by combining the variation characteristics of voltage, current and power factor caused by the parameter variation of each component through the function of P (UIcos theta).
The electricity stealing model database can be newly added, deleted and modified according to the actual requirements according to continuous analysis and research.
And S102, a core CPU (central processing unit) receives device change parameters set by an upper computer, specifically, the core CPU is connected with a front-end processor in the upper computer in an Ethernet mode and deployed in the same local area network, and the CPU sets a fixed IP (Internet protocol) address and a fixed port as a server mode to wait for the connection of the front-end processor. The user operates the parameters of the metering chip, the resistance parameters of the metering loop, the capacitance parameters of the metering loop and the parameters of the meter memory chip through the webpage, the parameters are issued to the CPU through the front-end processor, and the processing unit converts various parameters into commands which can be recognized by the modules in the device by calling the electricity stealing model database.
And step S103, operating related port lines and parameters of the metering chip by the relay matrix module through actions of related relays of the relay matrix according to instructions sent by the core CPU processing unit.
And step S104, the resistance conversion module completes the abnormal electricity stealing simulation of the resistance parameters by adjusting the resistance values of the relevant resistors in the metering loop according to the instruction sent by the core CPU processing unit.
And step S105, the capacitance conversion module completes the capacitance parameter abnormal electricity stealing simulation by adjusting the size of the relevant capacitance in the metering loop according to the instruction sent by the core CPU processing unit.
And step S106, the memory control unit completes the abnormal electricity stealing simulation of the memory chip by changing the clock frequency and the read-write port line of the memory chip according to the instruction sent by the core CPU processing unit.
The device also comprises a circuit synchronization mapping module which is used for synchronizing the changed parameters of the components in the metering loop to the test point circuit board in real time, strong electricity is not accessed in the test point circuit board, and the accuracy and the safety of the measurement of the components are ensured.
As shown in fig. 3, the circuit synchronous mapping module is a component of the circuit synchronous mapping module, after the relay matrix module responds to the instruction, the power supply pin, the SPI communication port line and the chip reset port line of the metering chip are controlled, so that the metering chip is abnormal in metering, the circuit synchronous mapping module maps the high and low levels of the pin and the on-off of the port line to the metering chip area in the test point in real time, the on-off of the test route is tested through the on-off gear of the multimeter, and the waveform of the chip data interface is;
after the resistance conversion module responds to the instruction, corresponding parameter changes are made on a voltage sampling resistor, a current sampling resistor, a series resistor and a grounding resistor in the metering loop, the circuit synchronous mapping module maps the resistance value to a resistor area in the test point in real time, the resistance value is measured through a universal meter, and the size of an input current signal is checked through a current clamp;
after the capacitance conversion module responds to the instruction, corresponding parameter changes are carried out on a decoupling capacitor and a filter capacitor in the metering loop, the circuit synchronous mapping module maps the capacitance value to a capacitance area in the test point in real time, and a capacitance measuring tool is used for measuring the capacitance value;
after the storage control unit responds to the instruction, corresponding parameter changes are made on the FLASH and FARM clocks and the read-write port lines of the storage chips, and the circuit synchronization mapping module synchronizes the FLASH and FARM states to the storage chip area in the test point in real time to carry out state measurement on the specific storage chip.
The device also comprises a metering calibration unit, after the parameters of the components are continuously modified, the metering precision of the metering loop can be greatly influenced, so that the metering is inaccurate, the metering calibration unit is used for carrying out timing calibration on the metering loop, and the unit internally comprises a standard source module, so that the metering precision of the device before simulation is ensured.
Specifically, the flow of calibrating the metering loop by the metering calibration unit is as shown in fig. 4, the metering calibration unit sends a zero-returning command of the calibration parameter to the metering device, and the corresponding command can operate the metering chip through reading and writing of the register, so that the metering is restored to the pre-calibration state.
And controlling a standard source module in the metering calibration unit to output specified parameters, controlling the voltage U to be 220V, I to be 1.5A and the power factor to be 1, waiting for the power module to output stably, reading the active power of the metering device and the active power of the standard source, and calibrating the power gain coefficient of the first section.
And controlling a standard source module in the metering calibration unit to output specified parameters, controlling the voltage U to be 220V, I to be 0.075A, and obtaining a power factor of 1, waiting for the power module to output stably, reading the active power of the metering device and the active power of the standard source, and calibrating the power gain coefficient of the second section.
And controlling a standard source module in the metering calibration unit to output specified parameters, controlling the voltage U to be 220V, I to be 0.075A and the power factor to be 0.5L, waiting for the power module to output stably, reading the active power of the metering device and the active power of the standard source, and performing first-stage, second-stage and third-stage phase calibration.
And finally, controlling the output parameters of the standard source module to calibrate the voltage and current coefficients.
The device for simulating the component parameter change of the metering device provided by the invention develops a corresponding control system according to the working logic of each module and the established component electricity stealing model database, and realizes specific control based on the electricity stealing model database.
The control system composition interface is shown in fig. 5, and is divided into 3-level menus in total, and the one-level menu is a system main interface; the second-level menu is selected by a metering mode and a scheme manufacturer, the metering mode can be selected from single-phase, three-phase three-wire and three-phase four-wire, and the scheme manufacturer can select the metering loop schemes adopted by different manufacturers; the three-level menu is a control unit corresponding to each submodule of the device and is divided into a metering chip unit, a resistance unit, a capacitance unit and a storage chip unit;
finally, it should be noted that: the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting the same, and although the present invention is described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: modifications and equivalents may be made to the embodiments of the invention without departing from the spirit and scope of the invention, which is to be covered by the claims.

Claims (10)

1.一种计量装置元器件参数变动模拟装置,包括:核心CPU处理单元、继电器矩阵模块、电阻转换模块、电容变换模块和储存控制单元,其特征在于:1. A metering device component parameter variation simulation device, comprising: a core CPU processing unit, a relay matrix module, a resistance conversion module, a capacitance conversion module and a storage control unit, it is characterized in that: 所述继电器矩阵模块、电阻转换模块、电容变换模块、存储控制单元分别与核心CPU处理单元相连接,The relay matrix module, the resistance conversion module, the capacitance conversion module and the storage control unit are respectively connected with the core CPU processing unit, 所述继电器矩阵模块与计量装置元器件的计量芯片口线相连接,The relay matrix module is connected with the metering chip port line of the metering device component, 所述电阻转换模块与计量装置元器件的计量回路中的采样电阻、串联电阻、接地电阻相连接,The resistance conversion module is connected with the sampling resistance, the series resistance and the grounding resistance in the metering loop of the metering device components, 所述电容变换模块与计量装置元器件的计量回路中的去耦电容、滤波电容相连接,The capacitance conversion module is connected with the decoupling capacitor and the filter capacitor in the metering loop of the metering device components, 所述存储控制单元与计量装置元器件中存储芯片FLSAH、FRAM相连接。The storage control unit is connected with the storage chips FLSAH and FRAM in the components of the metering device. 2.根据权利要求1所述的一种计量装置元器件参数变动模拟装置,其特征在于:2. A kind of measurement device component parameter variation simulation device according to claim 1, is characterized in that: 所述核心CPU处理单元为ARM处理器,通过以太网方式接收上位机下发的器件变动指令,The core CPU processing unit is an ARM processor, and receives the device change instruction issued by the host computer through the Ethernet mode, 所述器件变动指令包括:模拟计量芯片计量异常、计量回路电阻参数异常、计量回路电容参数异常和表计存储芯片异常,The device change instruction includes: abnormal measurement of the analog metering chip, abnormal measurement loop resistance parameter, abnormal measurement loop capacitance parameter, and abnormal meter storage chip, 核心CPU处理单元将继电器切换、电阻值控制、电容值控制对应的指令分别发送给所述的继电器矩阵模块、电阻变换模块、电容变换模块,The core CPU processing unit sends instructions corresponding to relay switching, resistance value control, and capacitance value control to the relay matrix module, resistance transformation module, and capacitance transformation module, respectively, 所述继电器矩阵模块是由多个继电器开关连接而合成的矩阵模式,与计量芯片口线相连接,进行计量芯片异常的窃电模拟;The relay matrix module is a matrix mode formed by connecting a plurality of relay switches, and is connected with the metering chip port line to simulate the abnormal electricity stealing of the metering chip; 所述电阻转换模块集成电阻、MOS管,与计量回路中各节点的电阻相连接,进行电阻参数值异常的窃电模拟;The resistance conversion module integrates a resistance and a MOS tube, and is connected with the resistance of each node in the metering loop to simulate electricity stealing with abnormal resistance parameter values; 所述电容变换模块集成去耦电容、滤波电容和二极管,与计量回路中各节点的电容相连接,进行电容参数值异常的窃电模拟;The capacitance transformation module integrates a decoupling capacitor, a filter capacitor and a diode, and is connected to the capacitance of each node in the metering loop to simulate electricity stealing with abnormal capacitance parameter values; 所述存储控制单元与表计的存储芯片相连接,通过控制存储芯片的时钟、读取写入口线的高低电平,进行存储器异常的窃电模拟。The storage control unit is connected with the storage chip of the meter, and by controlling the clock of the storage chip and the high and low levels of the read and write port lines, the abnormal electricity stealing simulation of the storage is performed. 3.根据权利要求1所述的一种计量装置元器件参数变动模拟装置,其特征在于:3. A kind of measurement device component parameter variation simulation device according to claim 1, is characterized in that: 所述计量装置元器件参数变动模拟装置还包括电路同步映射模块,用于将计量回路中更改后的元器件参数实时同步至测试点电路板中。The device for simulating component parameter variation of the metering device further includes a circuit synchronization mapping module for synchronizing the changed component parameters in the metering loop to the test point circuit board in real time. 4.根据权利要求3所述的一种计量装置元器件参数变动模拟装置,其特征在于:4. A kind of metering device component parameter variation simulation device according to claim 3, is characterized in that: 所述电路同步映射模块包括计量芯片单元、电阻单元、电容单元和储存芯片单元,The circuit synchronous mapping module includes a metering chip unit, a resistance unit, a capacitor unit and a storage chip unit, 所述计量芯片单元包括计量芯片;The metering chip unit includes a metering chip; 所述电阻单元包括电压采样电阻和电流采样电阻;The resistance unit includes a voltage sampling resistor and a current sampling resistor; 所述电容单元包括耦电容和滤波电容;The capacitor unit includes a coupling capacitor and a filter capacitor; 所述存储芯片单元包括存储芯片。The memory chip unit includes a memory chip. 5.根据权利要求2或4所述的一种计量装置元器件参数变动模拟装置,其特征在于:5. The device for simulating parameter variation of a metering device component according to claim 2 or 4, characterized in that: 所述继电器矩阵模块响应核心CPU处理单元指令后,控制计量芯片供电引脚、SPI通信口线、芯片复位口线,使得计量芯片计量异常,电路同步映射模块实时将引脚高低电平、口线通断映射至测试点中的计量芯片单元,通过万用表通断档测试路线通断、通过示波器查看芯片数据接口波形;After the relay matrix module responds to the instructions of the core CPU processing unit, it controls the power supply pins of the metering chip, the SPI communication port line, and the chip reset port line, so that the metering chip is abnormally measured, and the circuit synchronous mapping module real-timely maps the pin high and low levels and the port line. The on-off is mapped to the metering chip unit in the test point, the on-off of the test route is tested through the on-off file of the multimeter, and the waveform of the chip data interface is viewed through the oscilloscope; 所述电阻转换模块响应核心CPU处理单元指令后,对计量回路中的采样电阻做相对应的参数变动,使得输入至计量芯片的电压、电流信号发生变化,进行电阻参数值异常的窃电模拟;After the resistance conversion module responds to the instruction of the core CPU processing unit, the sampling resistance in the metering loop is changed in corresponding parameters, so that the voltage and current signals input to the metering chip are changed, and the electricity stealing simulation with abnormal resistance parameter values is performed; 所述电容变换模块响应核心CPU处理单元指令后,对计量回路中的去耦电容、滤波电容做相对应的参数变动,电路同步映射模块实时将电容值映射至测试点中的电容单元,运用电容测量工具进行容值大小的测量;After the capacitance conversion module responds to the instructions of the core CPU processing unit, the corresponding parameter changes are made to the decoupling capacitors and filter capacitors in the metering loop. The circuit synchronous mapping module maps the capacitance values to the capacitance units in the test points in real time, and uses the capacitance The measuring tool is used to measure the capacity value; 所述存储控制单元响应核心CPU处理单元指令后,对存储芯片FLASH、FARM的时钟、读写口线做相应的参数变动,电路同步映射模块实时将FLASH、FARM状态同步至测试点中的存储芯片单元,进行具体存储芯片的状态测量。After the storage control unit responds to the instructions of the core CPU processing unit, it makes corresponding parameter changes to the clocks of the memory chips FLASH and FARM, and the read-write port lines, and the circuit synchronization mapping module synchronizes the FLASH and FARM states to the memory chips in the test point in real time. unit to measure the state of a specific memory chip. 6.根据权利要求1所述的一种计量装置元器件参数变动模拟装置,其特征在于:6. A metering device component parameter variation simulation device according to claim 1, characterized in that: 所述计量装置元器件参数变动模拟装置还包括计量校准单元,所述计量校准单元用于对计量回路进行定时校准,单元内部含有标准源模块;The metering device component parameter variation simulation device further includes a metering calibration unit, the metering calibration unit is used for timing calibration of the metering loop, and the unit contains a standard source module; 所述计量校准单元对计量装置发送校表参数回零命令,校表参数回零命令会通过寄存器读写操作计量芯片,使得计量恢复至校准前状态;The metering calibration unit sends a meter calibration parameter return command to the metering device, and the meter calibration parameter return command will operate the metering chip through the register read and write, so that the metering is restored to the state before calibration; 控制计量校准单元中的标准源模块输出指定的参数,控制电压U=220V,I=1.5A,功率因数为1,等待电源模块输出稳定,读取计量装置有功功率与标准源有功功率,进行第一段功率增益系数校准;Control the standard source module in the metering calibration unit to output the specified parameters, the control voltage U=220V, I=1.5A, the power factor is 1, wait for the output of the power supply module to stabilize, read the active power of the metering device and the active power of the standard source, and perform the first step. A power gain coefficient calibration; 控制计量校准单元中的标准源模块输出指定的参数,控制电压U=220V,I=0.075A,功率因数为1,等待电源模块输出稳定,读取计量装置有功功率与标准源有功功率,进行第二段功率增益系数校准;Control the standard source module in the metering calibration unit to output the specified parameters, the control voltage U=220V, I=0.075A, the power factor is 1, wait for the output of the power supply module to stabilize, read the active power of the metering device and the active power of the standard source, and perform the first step. Two-stage power gain coefficient calibration; 控制计量校准单元中的标准源模块输出指定的参数,控制电压U=220V,I=0.075A,功率因数为0.5,等待电源模块输出稳定,读取计量装置有功功率与标准源有功功率,进行第一、二、三段相位校准;Control the standard source module in the metering calibration unit to output the specified parameters, the control voltage U=220V, I=0.075A, the power factor is 0.5, wait for the output of the power module to stabilize, read the active power of the metering device and the active power of the standard source, and perform the first step. One, two, three phase calibration; 控制标准源模块输出参数进行电压、电流系数校准。Control the output parameters of the standard source module to calibrate the voltage and current coefficients. 7.根据权利要求1所述的一种计量装置元器件参数变动模拟装置,其特征在于:7. The device for simulating parameter variation of a metering device component according to claim 1, wherein: 所述计量装置元器件参数变动模拟装置根据各模块的工作逻辑建立控制系统,The component parameter variation simulation device of the metering device establishes a control system according to the working logic of each module, 控制系统分为3级菜单,一级菜单为系统主界面;二级菜单为计量方式及方案厂家选择,计量方式可以选择单相、三相三线、三相四线;三级菜单为装置各个子模块所对应的控制单元,分为计量芯片单元、电阻单元、电容单元、存储芯片单元。The control system is divided into 3-level menus, the first-level menu is the main interface of the system; the second-level menu is selected by the metering method and solution manufacturer, and the metering method can be selected from single-phase, three-phase three-wire, three-phase four-wire; The control unit corresponding to the module is divided into a metering chip unit, a resistance unit, a capacitor unit, and a memory chip unit. 8.根据权利要求1所述的一种计量装置元器件参数变动模拟装置,其特征在于:8. A metering device component parameter variation simulation device according to claim 1, characterized in that: 所述计量装置元器件参数变动模拟装置还包括器件异常窃电模型数据库模块,用于根据各种元器件异常导致计量参数电压、电流、功率因数等的变化特征,依据函数P=UIcosθ以及对应发生计量异常的各个时间点,建立描述计量异常的窃电模型数据库,The device for simulating component parameter changes of the metering device further includes a database module of a device abnormality stealing model, which is used for changing characteristics of metering parameters such as voltage, current, power factor, etc. caused by various component abnormalities, according to the function P=UIcosθ and corresponding occurrences. At each time point of abnormal measurement, establish a database of electricity stealing model describing abnormal measurement, 其中,参数P为有功功率,U为电压有效值,I为电流有效值,参数θ为电压电流的夹角,cosθ为功率因数。Among them, the parameter P is the active power, U is the rms value of the voltage, I is the rms value of the current, the parameter θ is the angle between the voltage and the current, and cosθ is the power factor. 9.一种利用权利要求1-8任一权利要求所述的一种计量装置元器件参数变动模拟装置的模拟方法,其特征在于,所述计量装置元器件参数变动模拟装置的模拟方法包括以下步骤:9. A method for simulating a device for simulating changes in parameters of components of a metering device according to any one of claims 1 to 8, wherein the method for simulating the device for simulating changes in parameters of components in a metering device comprises the following steps: step: 步骤S101,根据元器件变动引起电压、电流、功率因数的变化特征,通过函数P=UIcosθ建立描述元器件异常的窃电模型数据库;Step S101, according to the variation characteristics of voltage, current, and power factor caused by the variation of the components, establish a power theft model database describing the abnormality of the components through the function P=UIcosθ; 其中,参数P为有功功率,单位为kW;参数U为电压有效值,单位为kV;参数I为电流有效值,单位为A;参数θ为电压电流的夹角,cosθ为功率因数;Among them, the parameter P is the active power, the unit is kW; the parameter U is the voltage rms value, the unit is kV; the parameter I is the current rms value, the unit is A; the parameter θ is the angle between the voltage and the current, and cosθ is the power factor; 步骤S102,核心CPU处理单元接收控制台命令下发的器件变动指令并解析,从窃电模型数据库中调用窃电参数所对应的指令,分别发送至相应模块进行具体的计量异常模拟;Step S102, the core CPU processing unit receives and parses the device change instruction issued by the console command, calls the instruction corresponding to the power stealing parameter from the power stealing model database, and sends it to the corresponding module to perform a specific measurement abnormal simulation; 步骤S103,继电器矩阵模块根据核心CPU处理单元发送的指令,通过继电器矩阵相关继电器的动作,操作计量芯片的复位引脚、供电口线和SPI通信,完成计量芯片异常窃电模拟;Step S103, the relay matrix module operates the reset pin, the power supply port line and the SPI communication of the metering chip according to the instruction sent by the core CPU processing unit, through the action of the relevant relays of the relay matrix, and completes the abnormal electricity stealing simulation of the metering chip; 步骤S104,电阻转换模块根据核心CPU处理单元发送的指令,通过调整计量回路中采样电阻阻值,使得输入至计量芯片的电压、电流信号发生变化,进行电阻元器件的窃电模拟;In step S104, the resistance conversion module adjusts the resistance value of the sampling resistance in the metering loop according to the instruction sent by the core CPU processing unit, so that the voltage and current signals input to the metering chip change, and simulates electricity stealing of the resistance components; 步骤S105,电容变换模块根据核心CPU处理单元发送的指令,通过调整计量回路中去耦电容和滤波电容的参数值,进行电容元器件的窃电模拟;Step S105, the capacitance transformation module performs the electricity stealing simulation of the capacitive components by adjusting the parameter values of the decoupling capacitor and the filter capacitor in the metering loop according to the instruction sent by the core CPU processing unit; 步骤S106,存储控制单元根据核心CPU处理单元发送的指令,通过改变存储芯片的时钟频率、读写口线的参数值,进行存储芯片异常窃电模拟;Step S106, according to the instruction sent by the core CPU processing unit, the storage control unit performs the abnormal power stealing simulation of the storage chip by changing the clock frequency of the storage chip and the parameter value of the read-write port line; 其中,SPI为串行外设接口。Among them, SPI is the serial peripheral interface. 10.根据权利要求9所述的模拟方法,其特征在于:10. The simulation method according to claim 9, wherein: 所述步骤S102中,核心CPU处理单元与上位机中的前置机通过以太网方式相连接,部署在同一局域网中,核心CPU处理单元设置固定的IP地址和端口,作为服务器模式等待前置机的连接,使用人员通过网页页面操作计量芯片计参数、计量回路电阻参数、计量回路电容参数、表计存储芯片参数,通过前置机将参数下发至核心CPU处理单元中,处理单元通过调用窃电模型数据库将参数转换成装置中模块可识别的指令。In the step S102, the core CPU processing unit is connected to the front-end computer in the upper computer through Ethernet, and is deployed in the same local area network. The core CPU processing unit is set with a fixed IP address and port, and waits for the front-end computer as a server mode. The user operates the meter parameters of the metering chip, metering loop resistance parameters, metering circuit capacitance parameters, and meter storage chip parameters through the web page, and sends the parameters to the core CPU processing unit through the front-end computer. The electrical model database translates the parameters into instructions recognizable by the modules in the device.
CN202110192556.5A 2021-02-20 2021-02-20 A device and method for simulating parameter variation of components of a metering device Pending CN112834859A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110192556.5A CN112834859A (en) 2021-02-20 2021-02-20 A device and method for simulating parameter variation of components of a metering device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110192556.5A CN112834859A (en) 2021-02-20 2021-02-20 A device and method for simulating parameter variation of components of a metering device

Publications (1)

Publication Number Publication Date
CN112834859A true CN112834859A (en) 2021-05-25

Family

ID=75934026

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110192556.5A Pending CN112834859A (en) 2021-02-20 2021-02-20 A device and method for simulating parameter variation of components of a metering device

Country Status (1)

Country Link
CN (1) CN112834859A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114779065A (en) * 2022-04-21 2022-07-22 福建鑫博亿电力科技有限公司 A high-precision sampling method for low-voltage circuit breakers

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201060225Y (en) * 2007-04-16 2008-05-14 尚群柱 Pre-payment single-phase IC card carrier electrical energy meter
CN102854382A (en) * 2011-06-28 2013-01-02 苏州经贸职业技术学院 Numerical electricity stealing prevention electric energy detection system
CN204422616U (en) * 2015-03-20 2015-06-24 牡丹江电力工业学校 There is the electrical energy metering tank of anti-stealing electricity function
CN104977447A (en) * 2015-01-29 2015-10-14 深圳供电局有限公司 Electricity stealing analog simulation device and method
CN205229254U (en) * 2015-11-16 2016-05-11 三峡大学 Smart electric meter of electricity is stolen in anti - remote control
US20190056131A1 (en) * 2017-08-18 2019-02-21 Google Inc. Smart-home device switching circuitry with integrated power stealing control
CN109813960A (en) * 2019-03-29 2019-05-28 国网河南省电力公司漯河供电公司 One kind being based on the anti-electricity-theft intelligent kilowatt-hour meter of Internet of Things and monitoring system
CN211349837U (en) * 2020-01-06 2020-08-25 江苏益邦电力科技有限公司 Electricity stealing simulation device for changing internal devices of meter
CN214473668U (en) * 2021-02-20 2021-10-22 国网江苏省电力有限公司营销服务中心 A device for simulating parameter changes of components of a metering device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201060225Y (en) * 2007-04-16 2008-05-14 尚群柱 Pre-payment single-phase IC card carrier electrical energy meter
CN102854382A (en) * 2011-06-28 2013-01-02 苏州经贸职业技术学院 Numerical electricity stealing prevention electric energy detection system
CN104977447A (en) * 2015-01-29 2015-10-14 深圳供电局有限公司 Electricity stealing analog simulation device and method
CN204422616U (en) * 2015-03-20 2015-06-24 牡丹江电力工业学校 There is the electrical energy metering tank of anti-stealing electricity function
CN205229254U (en) * 2015-11-16 2016-05-11 三峡大学 Smart electric meter of electricity is stolen in anti - remote control
US20190056131A1 (en) * 2017-08-18 2019-02-21 Google Inc. Smart-home device switching circuitry with integrated power stealing control
CN109813960A (en) * 2019-03-29 2019-05-28 国网河南省电力公司漯河供电公司 One kind being based on the anti-electricity-theft intelligent kilowatt-hour meter of Internet of Things and monitoring system
CN211349837U (en) * 2020-01-06 2020-08-25 江苏益邦电力科技有限公司 Electricity stealing simulation device for changing internal devices of meter
CN214473668U (en) * 2021-02-20 2021-10-22 国网江苏省电力有限公司营销服务中心 A device for simulating parameter changes of components of a metering device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114779065A (en) * 2022-04-21 2022-07-22 福建鑫博亿电力科技有限公司 A high-precision sampling method for low-voltage circuit breakers

Similar Documents

Publication Publication Date Title
CN112165415B (en) 1553B bus control equipment, control system and control method
CN205992050U (en) A kind of insulation line monitoring device check system
CN104714129B (en) A kind of new electric parameters testing experimental system based on DSP
CN101149425A (en) An automatic system for debugging and calibrating electronic energy meters
CN102122139A (en) Distribution automation terminal and AC (Alternating Current) sampling channel expansion method thereof
CN107807323A (en) Circuit board health monitoring method, detection means and detecting system
CN114679132B (en) Photovoltaic inverter electric heating working condition simulation method and device and storage medium
CN107591186A (en) Voltage x current test automatic switch-over circuit, phase change cells test system and method
CN106707223A (en) Electric energy meter electromagnetic compatibility immunity automatic test system
CN108535602A (en) Automatic test platform of voltage sag
CN107479007A (en) A kind of power supply module test system and method
CN112834859A (en) A device and method for simulating parameter variation of components of a metering device
CN208092174U (en) Automatic test platform of voltage sag
CN205861836U (en) The voltage dip synchronous monitoring system of multistage power grid
CN107219492B (en) High-voltage integrated semi-physical simulation test device for medium-voltage grid electric energy metering
CN205982429U (en) Virtual instrument's laboratory impedance measuring device
CN205427070U (en) Based on many converters of labVIEW aging testing system
CN214473668U (en) A device for simulating parameter changes of components of a metering device
CN106850639A (en) For the protocol conversion system and method for converting protocol of standard electric energy meter calibrating
CN207181565U (en) Electric power terminal detector
CN102735978B (en) Computer on-line debugging method for grid-connected inverter
CN206557369U (en) On-line Monitoring System of High Voltage Electric Energy Metering Device Based on Carrier Communication
CN109814407A (en) A digital photovoltaic array simulator and its control method
CN112213553B (en) Device for measuring current
CN202103619U (en) Generator leading phase operation monitoring system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination