Batch calibration method for electric quantity metering circuits

文档序号:1648870 发布日期:2019-12-24 浏览:8次 中文

阅读说明:本技术 一种电量计量电路的批量校准方法 (Batch calibration method for electric quantity metering circuits ) 是由 刘银渊 安培 王胜抛 刘明超 于 2019-09-11 设计创作,主要内容包括:本发明公开了电量计量电路技术领域的一种电量计量电路的批量校准方法,包括校准热点判断和产测热点判断,首先正常启动,分别进行校准热点判断和产测热点判断,然后分别进行校准热点判断和产测热点判断,校准电路包括负载电阻、WiFi设备、电表和WiFi模块,负载电阻的正负极与WiFi设备的正负极电性连接,WiFi设备的正负极与电表的正负极电性连接,电表的正负极通过485连接与WiFi模块的正负极电性连接;本发明通过批量校准逻辑,批量采用同样的物料和工艺,可以采用批量校准方法,只需抽取一台校准后,将校准后的数值用串口或者其他方式写入同批次其他设备,达到校准目的,生产效率高,便于大批量生产。(The invention discloses a batch calibration method of an electric quantity metering circuit in the technical field of electric quantity metering circuits, which comprises calibration hotspot judgment and production heat measuring point judgment, wherein the calibration hotspot judgment and the production heat measuring point judgment are firstly carried out in normal starting, and then the calibration hotspot judgment and the production heat measuring point judgment are respectively carried out; the invention adopts the same materials and processes in batches through batch calibration logic, can adopt a batch calibration method, only needs to extract one calibration, and writes the calibrated value into other equipment in the same batch by a serial port or other modes to achieve the aim of calibration, has high production efficiency and is convenient for mass production.)

1. A batch calibration method of an electric quantity metering circuit comprises calibration hotspot judgment and production and measurement hotspot judgment, and is characterized by comprising the following specific steps:

first, start

Normally starting, and respectively carrying out calibration hot spot judgment and production heat measurement point judgment;

second, calibration hotspot determination

Stp1, if there is no calibration hot spot, restart until there is a calibration hot spot; if the calibration point exists, directly entering a calibration mode;

stp2, recording calibration data for standby after calibration is completed;

thirdly, judging the heat measuring point of the product

Stp1, if there is no hot spot, restart until there is hot spot; if the production testing hot spot exists, printing information through the serial port;

stp2, determining whether it is calibrated

If not, writing numerical values into the serial port, and printing calibration success information; if the calibration is finished, judging whether to recalibrate;

stp3, determining whether to recalibrate

If the calibration needs to be carried out again, the serial port writes a numerical value, prints calibration success information and then stops power supply; and if the recalibration is not needed, the direct power-off is finished.

2. The batch calibration method for the electric quantity metering circuit according to claim 1, characterized in that: and in the third step of serial port printing information, printing uncalibrated information in an uncalibrated mode and printing calibrated data in a calibrated mode.

3. The batch calibration method for the electric quantity metering circuit according to claim 1, characterized in that: the calibration comprises a load resistor, WiFi equipment, an ammeter and a WiFi module, wherein the positive and negative electrodes of the load resistor are electrically connected with the positive and negative electrodes of the WiFi equipment, the positive and negative electrodes of the WiFi equipment are electrically connected with the positive and negative electrodes of the ammeter, and the positive and negative electrodes of the ammeter are electrically connected with the positive and negative electrodes of the WiFi module through 485.

4. The batch calibration method for the electric quantity metering circuit according to claim 3, characterized in that: the positive and negative electrodes of the load resistor are electrically connected with the positive and negative electrodes of the WiFi equipment through the live wire L and the zero line N-1 respectively, and the positive and negative electrodes of the WiFi equipment are electrically connected with the positive and negative electrodes of the ammeter through the live wire L and the zero line N respectively.

5. The batch calibration method for the electric quantity metering circuit according to claim 4, characterized in that: the electricity meter comprises a 485 protocol electricity meter.

6. The batch calibration method for the electric quantity metering circuit according to claim 5, characterized in that: the WiFi equipment treats that the numerical value of calibration uses the ammeter as the standard, accurate numerical value is obtained from the ammeter through 485 agreements to the WiFi module, then sends WiFi equipment through WiFi in step, this group of numerical value of WiFi equipment record file is as accurate numerical value, and the calibration is accomplished.

Technical Field

The invention relates to the technical field of electric quantity metering circuits, in particular to a batch calibration method of an electric quantity metering circuit.

Background

The wrong wiring of the electric energy metering device restricts the safe operation of a power grid and the smooth development of electric energy settlement work. The normal operation of the electric energy metering device is the primary content in the electric energy metering work, determines the technical level of personnel of an electric power unit, also influences the safe operation of a power grid and the smooth development of electric energy settlement work, and further determines the relationship between the electric power unit and users thereof and the future sustainable development of an electric power enterprise. Considering the possible negligence of the installation personnel in the usual work, the technical level and other factors, the problem of wrong wiring of the electric energy metering device is inevitable. Whether the electric energy metering device is correctly installed can be judged by checking whether the circuit is qualified through an electric energy metering and identifying mechanism, and the electric energy metering device is calibrated through the calculation of the amount of the returned electricity. However, most of the calibration methods in the market at present are one-by-one calibration of single equipment, so that the production efficiency is low, and the mass production is not convenient. Based on this, the invention designs a batch calibration method of an electric quantity metering circuit to solve the above problems.

Disclosure of Invention

The present invention is directed to a batch calibration method for an electricity metering circuit, so as to solve the problems mentioned in the background art.

In order to achieve the purpose, the invention provides the following technical scheme: a batch calibration method of an electric quantity metering circuit comprises calibration hotspot judgment and production and measurement hotspot judgment, and specifically comprises the following steps:

first, start

Normally starting, and respectively carrying out calibration hot spot judgment and production heat measurement point judgment;

second, calibration hotspot determination

Stp1, if there is no calibration hot spot, restart until there is a calibration hot spot; if the calibration point exists, directly entering a calibration mode;

stp2, recording calibration data for standby after calibration is completed;

thirdly, judging the heat measuring point of the product

Stp1, if there is no hot spot, restart until there is hot spot; if the production testing hot spot exists, printing information through the serial port;

stp2, determining whether it is calibrated

If not, writing numerical values into the serial port, and printing calibration success information; if the calibration is finished, judging whether to recalibrate;

stp3, determining whether to recalibrate

If the calibration needs to be carried out again, the serial port writes a numerical value, prints calibration success information and then stops power supply; and if the recalibration is not needed, the direct power-off is finished.

Preferably, in the serial port printing information in the third step, the printing of the uncalibrated information is uncalibrated, and the printing of the calibrated data is calibrated.

Preferably, the calibration comprises a load resistor, a WiFi device, an ammeter and a WiFi module, wherein the positive and negative electrodes of the load resistor are electrically connected with the positive and negative electrodes of the WiFi device, the positive and negative electrodes of the WiFi device are electrically connected with the positive and negative electrodes of the ammeter, and the positive and negative electrodes of the ammeter are electrically connected with the positive and negative electrodes of the WiFi module through 485.

Preferably, the positive electrode and the negative electrode of the load resistor are electrically connected with the positive electrode and the negative electrode of the WiFi equipment through the live wire L and the zero line N-1 respectively, and the positive electrode and the negative electrode of the WiFi equipment are electrically connected with the positive electrode and the negative electrode of the ammeter through the live wire L and the zero line N respectively.

Preferably, the electricity meter comprises a 485 protocol electricity meter.

Preferably, the value that the wiFi equipment waited to calibrate uses the ammeter as the standard, the accurate numerical value is obtained from the ammeter through 485 agreements to the wiFi module, then sends the wiFi equipment to in step through WiFi, this group of numerical value of wiFi equipment record file is as accurate numerical value, and the calibration is accomplished.

Compared with the prior art, the invention has the beneficial effects that: the invention adopts the same materials and processes in batches through batch calibration logic, can adopt a batch calibration method, only needs to extract one calibration, and writes the calibrated value into other equipment in the same batch by a serial port or other modes to achieve the aim of calibration, has high production efficiency and is convenient for mass production.

Drawings

In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.

FIG. 1 is a flow chart of the present invention.

FIG. 2 is a diagram of a calibration circuit according to the present invention.

FIG. 3 is a circuit diagram according to an embodiment of the present invention.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

Referring to fig. 1-3, the present invention provides a technical solution: a batch calibration method of an electric quantity metering circuit comprises calibration hotspot judgment and production and measurement hotspot judgment, and specifically comprises the following steps:

first, start

Normally starting, and respectively carrying out calibration hot spot judgment and production heat measurement point judgment;

second, calibration hotspot determination

Stp1, if there is no calibration hot spot, restart until there is a calibration hot spot; if the calibration point exists, directly entering a calibration mode;

stp2, a load is connected to WiFi equipment to be calibrated, the WiFi equipment is connected to an ammeter, the positive and negative poles of a load resistor are electrically connected with the positive and negative poles of the WiFi equipment through a live line L and a zero line N-1 respectively, the positive and negative poles of the WiFi equipment are electrically connected with the positive and negative poles of the ammeter through the live line L and the zero line N respectively, the calibrated value is based on the high-precision ammeter, a WiFi module obtains an accurate value from the ammeter through a 485 protocol and then sends the accurate value to the WiFi equipment through WiFi synchronization, the WiFi equipment records and archives the group of values as accurate values, calibration is completed, calibration data is recorded and reserved after calibration is completed, and direct power failure;

thirdly, judging the heat measuring point of the product

Stp1, if there is no hot spot, restart until there is hot spot; if the production testing hot spot exists, printing information through the serial port, printing uncalibrated information in an uncalibrated mode, and printing calibrated data in a calibrated mode;

stp2, determining whether it is calibrated

If not, writing numerical values into the serial port, and printing calibration success information; if the calibration is finished, judging whether to recalibrate;

stp3, determining whether to recalibrate

If the calibration needs to be carried out again, the serial port writes a numerical value, prints calibration success information and then stops power supply; and if the recalibration is not needed, the direct power-off is finished.

One specific application of this embodiment is:

taking the metering chip BL0937 as an example, a first pin of the chip BL0937 is electrically connected to VCC-3.3V, a capacitor C16 and a capacitor C26 are connected in parallel to the first pin of the chip BL0937, cathodes of the capacitor C16 and the capacitor C26 are both grounded, a resistor R20 and a resistor R21 are respectively connected in series to a second pin and a third pin of the chip BL0937, a resistor R22 is connected in parallel between the resistor R20 and the resistor R21, the negative electrode of the resistor R22 is grounded, the positive electrode of the resistor R20 is connected in parallel with the capacitor C28, the negative electrode of the capacitor C28 is grounded, the positive electrode of the resistor R21 is connected in parallel with the capacitor C29, the negative electrode of the capacitor C29 is grounded, the fourth pin of the chip BL0937 is respectively connected in series with the resistor R15, the resistor R16, the resistor R17 and the resistor R18, the positive electrode of the resistor R18 is connected in parallel with the resistor R19 and the capacitor C25, the negative electrodes of the resistor R19 and the capacitor C25 are grounded, the fifth pin of the chip BL0937 is grounded, and the sixth pin and the seventh pin of the chip BL0937 are respectively connected in series with the resistor R9 and the resistor R10.

The L live wire input is divided by a resistor and then is supplied to a measuring chip to test voltage, and a sampling resistor is connected between the N zero line and the N-1 zero line output in series and is used for sampling the current of an actual load. The voltage, current and power information is given to the MCU (single chip microcomputer or other microcontrollers) through BL _ SEL/BL _ CF _ V/BL _ CF _ P.

The above is batch calibration logic, the same materials and processes are adopted in batches, a batch calibration method can be adopted, and after one calibration is extracted, the calibrated value is written into other equipment in the same batch by a serial port or other modes, so that the calibration purpose is achieved.

In the description herein, references to the description of "one embodiment," "an example," "a specific example" or the like are intended to mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

The preferred embodiments of the invention disclosed above are intended to be illustrative only. The preferred embodiments are not intended to be exhaustive or to limit the invention to the precise embodiments disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, to thereby enable others skilled in the art to best utilize the invention. The invention is limited only by the claims and their full scope and equivalents.

8页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种电能表检定用脉冲线放置架

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!