CN103941078A - High-precision multi-path alternating current true virtual value detection circuit - Google Patents

High-precision multi-path alternating current true virtual value detection circuit Download PDF

Info

Publication number
CN103941078A
CN103941078A CN201410130300.1A CN201410130300A CN103941078A CN 103941078 A CN103941078 A CN 103941078A CN 201410130300 A CN201410130300 A CN 201410130300A CN 103941078 A CN103941078 A CN 103941078A
Authority
CN
China
Prior art keywords
current
electric energy
chip
channel
energy metering
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
CN201410130300.1A
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.)
Kunming Huaao Hangxing Electric Co Ltd
Yunnan University YNU
Kunming University of Science and Technology
Original Assignee
Kunming Huaao Hangxing Electric Co Ltd
Yunnan University YNU
Kunming University of Science and Technology
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 Kunming Huaao Hangxing Electric Co Ltd, Yunnan University YNU, Kunming University of Science and Technology filed Critical Kunming Huaao Hangxing Electric Co Ltd
Priority to CN201410130300.1A priority Critical patent/CN103941078A/en
Publication of CN103941078A publication Critical patent/CN103941078A/en
Pending legal-status Critical Current

Links

Landscapes

  • Measurement Of Current Or Voltage (AREA)

Abstract

本发明公开了一种高精度多路交流电流真有效值检测电路,包括1至7路电流互感器、1至7路取样电阻、1至7路抗混叠滤波电路、1片三相电能计量芯片ATT7022x以及1片单片机;电流互感器与采样电阻相连接,采样电阻与抗混叠滤波电路相连接,抗混叠滤波电路与三相电能计量芯片ATT7022x的电流通道或电压通道相连接,三相电能计量芯片ATT7022x通过SPI接口与单片机相连接;单片机通过SPI接口从三相电能计量芯片的真有效值寄存器中直接读取所检测各路交流电流对应真有效值数字结果。本发明能够以每增加1片三相电能计量芯片ATT7022x而增加7路交流电流真有效值检测的能力进行扩展。

The invention discloses a high-precision multi-channel alternating current true effective value detection circuit, including 1 to 7 current transformers, 1 to 7 sampling resistors, 1 to 7 anti-aliasing filter circuits, and a three-phase electric energy meter Chip ATT7022x and 1 single-chip microcomputer; the current transformer is connected to the sampling resistor, the sampling resistor is connected to the anti-aliasing filter circuit, and the anti-aliasing filter circuit is connected to the current channel or voltage channel of the three-phase electric energy metering chip ATT7022x, three-phase The electric energy metering chip ATT7022x is connected to the single-chip microcomputer through the SPI interface; the single-chip microcomputer directly reads the true effective value digital results corresponding to the detected AC currents from the true effective value register of the three-phase electric energy metering chip through the SPI interface. The present invention can be expanded by adding 7 channels of alternating current true effective value detection capabilities for each addition of a three-phase electric energy metering chip ATT7022x.

Description

高精度多路交流电流真有效值检测电路High-precision multi-channel AC current true RMS detection circuit

技术领域 technical field

本发明涉及一种高精度多路交流电流真有效值检测电路,属于电力电子检测技术领域。 The invention relates to a high-precision multi-channel alternating current true effective value detection circuit, which belongs to the technical field of power electronic detection.

背景技术 Background technique

在电力自动化领域的电力系统应用中,众多的工业现场和民用供配电现场需要监测各供电回路的负荷情况,因此需要进行大量的交流电流真有效值的检测与数据采集。目前,对于多路交流电流真有效值的检测与数据采集通常采用两种方式,第一种方式是每个回路采用一块单相或三相电流表进行交流电流真有效值的检测和采集,第二种方式是采用多路交流电流采集仪表对多路交流电流真有效值进行检测和采集。对于第一种方式,随着需检测和采集回路数的增加,需要较高的总体成本;而第二种方式采用的市售多路交流电流采集仪表,由于单价较为昂贵,所以总体成本也比较高。 In the power system application in the field of power automation, many industrial sites and civil power supply and distribution sites need to monitor the load conditions of each power supply circuit, so a large number of detection and data acquisition of the true effective value of AC current are required. At present, two methods are usually used for the detection and data acquisition of the true RMS value of multi-channel AC current. The first method is to use a single-phase or three-phase ammeter for each circuit to detect and collect the true RMS value of the AC current. The first way is to use multi-channel AC current acquisition instrument to detect and collect the true RMS value of multi-channel AC current. For the first method, as the number of circuits to be detected and collected increases, a higher overall cost is required; while the second method adopts a commercially available multi-channel AC current acquisition instrument, because the unit price is relatively expensive, the overall cost is also relatively high. high.

在现有技术中,交流电流的真有效值检测主要采用两种方法。第一种方法是通过交流互感器获取交流电流信号,经取样电阻转换为交流电压,通过滤波和放大电路进行滤波与放大后,进入AD转换器,经AD转换后,通过单片机对AD转换结果进行读取,并采用软件方法计算得到交流电流真有效值。第二种方法是通过交流互感器获取交流电流信号,经取样电阻转换为交流电压,进入RMS-DC变换芯片,输出表征交流电流真有效值的直流电压信号,之后在通过放大电路进行放大后,进入AD转换器,经AD转换后,通过单片机对AD转换结果进行读取,得到交流电流真有效值。对于多路交流电流真有效值的检测,通常是在电路中加入多路模拟开关,并通过单片机控制切换多路模拟开关的选通,分时进行多路交流电流信号的检测与处理。虽然以上两种方法均能够实现多路交流电流真有效值的检测,但由于电路环节多,结构复杂,检测精度难以提高,且总体成本均较高。第一种方法是通过软件计算得到真有效值,一方面是检测精度受限,另一方面对单片机的性能要求较高,特别是进行多路检测时更为突出。第二种方法采用RMS-DC变换芯片,可直接得到交流电流的真有效值,但受限于这类芯片需要较长的建立时间,对于多路交流电流检测,每一路交流电流检测都需要一片这样的RMS-DC变换芯片,而RMS-DC变换芯片价格较高,使多路交流电流采集仪表总体成本也较高。 In the prior art, two methods are mainly used for detecting the true effective value of the alternating current. The first method is to obtain an AC current signal through an AC transformer, convert it into an AC voltage through a sampling resistor, filter and amplify it through a filter and amplifying circuit, and enter the AD converter. After AD conversion, the AD conversion result is processed by a single-chip computer Read, and use the software method to calculate the true RMS value of the AC current. The second method is to obtain the AC current signal through the AC transformer, convert it into AC voltage through the sampling resistor, enter the RMS-DC conversion chip, and output the DC voltage signal representing the true effective value of the AC current, and then amplify it through the amplifier circuit. Enter the AD converter, after the AD conversion, the AD conversion result is read through the single chip microcomputer, and the true effective value of the AC current is obtained. For the detection of the true RMS value of multiple AC currents, multiple analog switches are usually added to the circuit, and the gating of the multiple analog switches is controlled by a single-chip microcomputer to detect and process multiple AC current signals in time. Although the above two methods can realize the detection of the true RMS value of multiple AC currents, due to many circuit links and complex structures, it is difficult to improve the detection accuracy, and the overall cost is high. The first method is to obtain the true RMS value through software calculation. On the one hand, the detection accuracy is limited, and on the other hand, the performance requirements of the single-chip microcomputer are relatively high, especially when multi-channel detection is performed. The second method uses the RMS-DC conversion chip, which can directly obtain the true effective value of the AC current, but is limited by the long settling time of this type of chip. For multi-channel AC current detection, each channel of AC current detection requires a chip. Such an RMS-DC conversion chip, and the price of the RMS-DC conversion chip is relatively high, so that the overall cost of the multi-channel AC current acquisition instrument is also relatively high.

发明内容 Contents of the invention

本发明的目的在于克服现有技术之不足,面向电力自动化领域需求,提供一种低成本、结构简单、检测精度高、易于校准、易于扩展、稳定可靠,基于三相电能计量芯片的数字输出多路交流电流真有效值的检测电路,最高检测精度可达0.2%。 The purpose of the present invention is to overcome the deficiencies of the existing technology, and to meet the needs of the electric power automation field, provide a low-cost, simple structure, high detection accuracy, easy calibration, easy expansion, stable and reliable digital output multiple One-way AC current true RMS detection circuit, the highest detection accuracy can reach 0.2%.

本发明采用如下技术方案实现发明目的: The present invention adopts following technical scheme to realize the object of the invention:

一种高精度多路交流电流真有效值检测电路,由1至7路电流互感器、1至7路取样电阻、1至7路抗混叠滤波电路、1片三相电能计量芯片ATT7022x以及1片单片机构成。其中:电流互感器与采样电阻相连接,采样电阻与抗混叠滤波电路相连接,抗混叠滤波电路与三相电能计量芯片ATT7022x的电流通道或电压通道相连接,三相电能计量芯片ATT7022x通过SPI接口与单片机相连接。与三相电能计量芯片电压通道相连接的取样电阻阻值为与三相电能计量芯片电流通道相连接的取样电阻阻值的5倍,使输入至三相电能计量芯片ATT7022x电流通道和电压通道的信号电平满足三相电能计量芯片ATT7022x的特性要求,并保证检测精度。 A high-precision multi-channel AC current true RMS detection circuit consists of 1 to 7 current transformers, 1 to 7 sampling resistors, 1 to 7 anti-aliasing filter circuits, a three-phase electric energy metering chip ATT7022x and 1 single-chip microcomputer. Among them: the current transformer is connected to the sampling resistor, the sampling resistor is connected to the anti-aliasing filter circuit, the anti-aliasing filter circuit is connected to the current channel or voltage channel of the three-phase electric energy metering chip ATT7022x, and the three-phase electric energy metering chip ATT7022x passes through The SPI interface is connected with the microcontroller. The resistance value of the sampling resistor connected to the voltage channel of the three-phase electric energy metering chip is 5 times of the resistance value of the sampling resistor connected to the current channel of the three-phase electric energy metering chip, so that the current channel and voltage channel input to the three-phase electric energy metering chip ATT7022x The signal level meets the characteristic requirements of the three-phase electric energy metering chip ATT7022x, and ensures the detection accuracy.

电路工作过程为:电流互感器的交流电流信号经采样电阻后,转换为交流电压信号,再经抗混叠滤波电路进行滤波,输入至三相电能计量芯片ATT7022x的电流通道或电压通道,三相电能计量芯片ATT7022x对来自电流通道或电压通道的交流电压信号进行采集与处理,将交流电流的真有效值采样结果存储于对应通道的内部真有效值寄存器中;与三相电能计量芯片ATT7022x相连接的单片机通过SPI接口,能够从三相电能计量芯片ATT7022x的对应通道内部真有效值寄存器中读取交流电流真有效值数据。对应于三相电能计量芯片ATT7022x电流通道的真有效值寄存器码值,将补码转换成原码,即得到对应电流通道的交流电流真有效值检测结果;对应于三相电能计量芯片ATT7022x电压通道的真有效值寄存器码值,在将补码转换成原码后,再缩小5倍,即得到对应电压通道的交流电流真有效值检测结果。 The working process of the circuit is: the AC current signal of the current transformer is converted into an AC voltage signal after being passed through the sampling resistor, and then filtered by the anti-aliasing filter circuit, and then input to the current channel or voltage channel of the three-phase electric energy metering chip ATT7022x, three-phase The electric energy metering chip ATT7022x collects and processes the AC voltage signal from the current channel or voltage channel, and stores the true RMS sampling result of the AC current in the internal true RMS register of the corresponding channel; it is connected with the three-phase electric energy metering chip ATT7022x Through the SPI interface, the single-chip microcomputer can read the AC current true RMS data from the corresponding channel internal true RMS register of the three-phase electric energy metering chip ATT7022x. Corresponding to the true effective value register code value of the current channel of the three-phase electric energy metering chip ATT7022x, convert the complementary code into the original code, that is, the detection result of the true effective value of the AC current corresponding to the current channel is obtained; corresponding to the voltage channel of the three-phase electric energy metering chip ATT7022x After converting the complementary code into the original code, the value of the true RMS register code value is reduced by 5 times, and the detection result of the true RMS value of the AC current corresponding to the voltage channel is obtained.

与现有技术相比,本发明的优点和有益效果是: Compared with prior art, advantage and beneficial effect of the present invention are:

(1)    本发明采用三相电能计量芯片ATT7022x实现交流电流真有效值检测,一片芯片能够完成1至7路的交流电流真有效值的检测; (1) The present invention uses the three-phase electric energy metering chip ATT7022x to realize the detection of the true effective value of the alternating current, and one chip can complete the detection of the true effective value of the alternating current of channels 1 to 7;

(2)    本发明具有较高的检测精度,交流电流真有效值检测精度可达0.2%; (2) The present invention has high detection accuracy, and the detection accuracy of the true effective value of AC current can reach 0.2%;

(3)    本发明采用的三相电能计量芯片ATT7022x价格低廉,能够有效降低大数量交流电流真有效值检测仪表的总体成本; (3) The three-phase electric energy metering chip ATT7022x used in the present invention is cheap and can effectively reduce the overall cost of a large number of AC current true effective value detection instruments;

(4)    根据实际需要,通过增加前端电路的路数和三相电能计量芯片ATT7022x的芯片数量,能够以每增加1片三相电能计量芯片扩展7路交流电流真有效值检测的能力进行扩展。 (4) According to actual needs, by increasing the number of front-end circuits and the number of chips of the three-phase electric energy metering chip ATT7022x, it is possible to expand the ability to detect the true RMS value of 7 channels of AC current by adding one three-phase electric energy metering chip.

本发明结构简单、检测精度高、易于校准、易于扩展,作为多路交流电流真有效值检测电路的参考设计,能够广泛应用于电力自动化领域的智能仪表应用领域。 The invention has the advantages of simple structure, high detection precision, easy calibration, and easy expansion, and can be widely used in the application field of intelligent instruments in the field of electric power automation as a reference design of a multi-channel alternating current true effective value detection circuit.

附图说明:Description of drawings:

图1是本发明的组成结构示意图。 Fig. 1 is a schematic diagram of the composition and structure of the present invention.

图2是本发明的实施例1主要部分电原理图。 Fig. 2 is an electrical schematic diagram of main parts of Embodiment 1 of the present invention.

图3是本发明的实施例2主要部分电原理图。 Fig. 3 is an electrical schematic diagram of main parts of Embodiment 2 of the present invention.

具体实施方式:Detailed ways:

实施例1:Example 1:

适用于3.3V供电,交流电流真有效值测量精度优于0.2%,三相电能计量芯片为ATT7022E,单片机为STC15L2KxxS2的电路。 It is suitable for 3.3V power supply, and the measurement accuracy of the true effective value of AC current is better than 0.2%.

如图2所示,电路中: As shown in Figure 2, in the circuit:

5A/5MA的交流互感器CT1的两端连接至串接的20欧姆取样电阻Rs1_1和Rs1_1的两端,再连接至由1.2K电阻R1_1和R2_1以及0.01uF电容C1_1和C2_1组成的抗混叠滤波电路的输入端,取样电阻Rs1_1和Rs1_1的中心点与C1_1、C2_1的中心点连接后接模拟地;抗混叠滤波电路的输出端连接至三相电能计量芯片ATT7022E的电流通道1信号管脚V1P和V1N,构成对应于三相电能计量芯片ATT7022E电流通道1的前端电路。按照同样方式,可以构造出对应于三相电能计量芯片ATT7022E另外 3个电流通道V3P和V3N、V5P和V5N、V0P和V0N的前端电路。 The two ends of the 5A/5MA AC transformer CT1 are connected to the two ends of the 20-ohm sampling resistors Rs1_1 and Rs1_1 connected in series, and then connected to the anti-aliasing filter composed of 1.2K resistors R1_1 and R2_1 and 0.01uF capacitors C1_1 and C2_1 At the input end of the circuit, the center points of the sampling resistors Rs1_1 and Rs1_1 are connected to the center points of C1_1 and C2_1 and then connected to the analog ground; the output end of the anti-aliasing filter circuit is connected to the current channel 1 signal pin V1P of the three-phase electric energy metering chip ATT7022E and V1N constitute the front-end circuit corresponding to the current channel 1 of the three-phase electric energy metering chip ATT7022E. In the same way, front-end circuits corresponding to the other three current channels V3P and V3N, V5P and V5N, V0P and V0N of the three-phase electric energy metering chip ATT7022E can be constructed.

5A/5MA的交流互感器CT5的两端连接至串接的100欧姆取样电阻Rs1_5和Rs2_5的两端,再连接至由1.2K电阻R1_5和R2_5以及0.01uF电容C1_5和C2_5组成的抗混叠滤波电路的输入端,取样电阻Rs1_5和Rs1_5的中心点与C1_5、C2_5的中心点连接后接模拟地;抗混叠滤波电路的输出端连接至三相电能计量芯片ATT7022E的电压通道1信号管脚V2P和V2N,构成对应于三相电能计量芯片ATT7022E电压通道1的前端电路;按照同样方式,可以构造出对应于三相电能计量芯片ATT7022E另外2个电压通道V4P和V4N、V6P和V6N的前端电路。 The two ends of the 5A/5MA AC transformer CT5 are connected to the two ends of the 100-ohm sampling resistors Rs1_5 and Rs2_5 connected in series, and then connected to the anti-aliasing filter composed of 1.2K resistors R1_5 and R2_5 and 0.01uF capacitors C1_5 and C2_5 The input end of the circuit, the center point of the sampling resistor Rs1_5 and Rs1_5 is connected to the center point of C1_5, C2_5 and then connected to the analog ground; the output end of the anti-aliasing filter circuit is connected to the voltage channel 1 signal pin V2P of the three-phase electric energy metering chip ATT7022E and V2N constitute the front-end circuit corresponding to the voltage channel 1 of the three-phase electric energy metering chip ATT7022E; in the same way, the front-end circuits corresponding to the other two voltage channels V4P and V4N, V6P and V6N of the three-phase electric energy metering chip ATT7022E can be constructed.

对应三相电能计量芯片ATT7022E电流通道与电压通道的前端电路的差别是取样电阻取值的不同,对应电压通道的取样电阻阻值是对应电流通道的取样电阻阻值的5倍。 The difference between the front-end circuits corresponding to the three-phase electric energy metering chip ATT7022E current channel and voltage channel is the difference in the value of the sampling resistor, and the resistance value of the sampling resistor corresponding to the voltage channel is 5 times that of the sampling resistor corresponding to the current channel.

三相电能计量芯片ATT7022E的工作时钟通过5.5296MHz的晶振Y1提供。 The working clock of the three-phase electric energy metering chip ATT7022E is provided by the crystal oscillator Y1 of 5.5296MHz.

三相电能计量芯片ATT7022E的SPI接口信号DOUT、DIN、SCLK、CS分别与单片机STC15L2KxxS2的SPI接口信号MISO、MOSI、SCLK以及GPIO信号P2.0相连接。如果再扩展1片三相电能计量芯片ATT7022E,则该片芯片的SPI接口信号CS连接至单片机STC15L2KxxS2的GPIO信号P2.1,依此类推。 The SPI interface signals DOUT, DIN, SCLK, and CS of the three-phase electric energy metering chip ATT7022E are respectively connected with the SPI interface signals MISO, MOSI, SCLK and GPIO signal P2.0 of the single-chip microcomputer STC15L2KxxS2. If another three-phase electric energy metering chip ATT7022E is expanded, the SPI interface signal CS of this chip is connected to the GPIO signal P2.1 of the single-chip microcomputer STC15L2KxxS2, and so on.

三相电能计量芯片ATT7022E和单片机STC15L2KxxS2采用3.3V供电。三相电能计量芯片ATT7022E的模拟电源和数字电源通过磁珠L1进行连接,模拟地和数字地直接连接。 The three-phase electric energy metering chip ATT7022E and the single-chip microcomputer STC15L2KxxS2 are powered by 3.3V. The analog power supply and digital power supply of the three-phase electric energy metering chip ATT7022E are connected through the magnetic bead L1, and the analog ground and digital ground are directly connected.

单片机STC15L2KxxS2的GPIO口P2.6连接至三相电能计量芯片ATT7022E的RESET管脚,由单片机STC15L2KxxS2控制对三相电能计量芯片ATT7022E进行复位。 The GPIO port P2.6 of the single-chip microcomputer STC15L2KxxS2 is connected to the RESET pin of the three-phase electric energy metering chip ATT7022E, and the three-phase electric energy metering chip ATT7022E is reset by the control of the single-chip microcomputer STC15L2KxxS2.

单片机STC15L2KxxS2通过SPI接口,从三相电能计量芯片ATT7022E地址为的0DH-12H及29H共7个内部真有效值寄存器中读取所检测的7路交流电流的真有效值的补码。其中,从地址为10H-12H和29H共4个寄存器中读出的补码值分别对应三相电能计量芯片ATT7022E的4路电流通道的交流电流真有效值,将补码转换为原码,即得到对应电流通道的交流电流真有效值检测结果。从地址为0DH-0FH共3个寄存器中读出的补码值分别对应三相电能计量芯片ATT7022E的3路电压通道的交流电流真有效值,将补码转换为原码后,再缩小5倍,即得到对应电压通道的交流电流真有效值检测结果。 The STC15L2KxxS2 microcontroller STC15L2KxxS2 reads the complement code of the true RMS value of the detected 7-way AC current from the 7 internal true RMS registers of the three-phase electric energy metering chip ATT7022E whose address is 0DH-12H and 29H through the SPI interface. Among them, the complementary code values read from the 4 registers with addresses 10H-12H and 29H respectively correspond to the true RMS values of the AC currents of the 4 current channels of the three-phase electric energy metering chip ATT7022E, and the complementary codes are converted into original codes, namely The detection result of the true RMS value of the alternating current of the corresponding current channel is obtained. The complementary code values read from the 3 registers with address 0DH-0FH respectively correspond to the true RMS value of the AC current of the 3 voltage channels of the three-phase electric energy metering chip ATT7022E. , that is, the detection result of the true RMS value of the AC current corresponding to the voltage channel is obtained.

实施例2:Example 2:

适用于5V供电,交流电流真有效值测量精度优于0.5%,三相电能计量芯片为ATT7022B,单片机为STC15F2KxxS2的电路。 It is suitable for 5V power supply, and the measurement accuracy of the true effective value of AC current is better than 0.5%.

如图3所示,电路中: As shown in Figure 3, in the circuit:

5A/5MA的交流互感器CT1的两端连接至20欧姆取样电阻Rs_1的两端,再连接至由1.2K电阻R1_1和R2_1以及0.01uF电容C1_1和C2_1组成的抗混叠滤波电路的输入端, C1_1、C2_1的中心点连接后接模拟地;抗混叠滤波电路的输出端分别连接10K电阻R3_1和R4_1, R3_1和R4_1的另一端并接后接至三相电能计量芯片ATT7022B的参考电压输出端REFOUT;同时,抗混叠滤波电路的输出端连接至三相电能计量芯片ATT7022B的电流通道1信号管脚V1P和V1N,构成对应于三相电能计量芯片ATT7022B电流通道1的前端电路。按照同样方式,可以构造出对应于三相电能计量芯片ATT7022B另外3个电流通道V3P和V3N、V5P和V5N、V0P和V0N的前端电路。 The two ends of the 5A/5MA AC transformer CT1 are connected to the two ends of the 20 ohm sampling resistor Rs_1, and then connected to the input end of the anti-aliasing filter circuit composed of 1.2K resistors R1_1 and R2_1 and 0.01uF capacitors C1_1 and C2_1. The central points of C1_1 and C2_1 are connected to the analog ground; the output terminals of the anti-aliasing filter circuit are respectively connected to 10K resistors R3_1 and R4_1, and the other ends of R3_1 and R4_1 are connected to the reference voltage output terminal of the three-phase electric energy metering chip ATT7022B REFOUT; at the same time, the output of the anti-aliasing filter circuit is connected to the current channel 1 signal pins V1P and V1N of the three-phase electric energy metering chip ATT7022B, forming a front-end circuit corresponding to the current channel 1 of the three-phase electric energy metering chip ATT7022B. In the same way, front-end circuits corresponding to the other three current channels V3P and V3N, V5P and V5N, V0P and V0N of the three-phase electric energy metering chip ATT7022B can be constructed.

5A/5MA的交流互感器CT5的两端连接至100欧姆取样电阻Rs_5的两端,再连接至由1.2K电阻R1_5和R2_5以及0.01uF电容C1_5和C2_5组成的抗混叠滤波电路的输入端, C1_5、C2_5的中心点连接后接模拟地;抗混叠滤波电路的输出端分别连接10K电阻R3_5和R4_5, R3_5和R4_5的另一端并接后接至三相电能计量芯片ATT7022B的参考电压输出端REFOUT;同时,抗混叠滤波电路的输出端连接至三相电能计量芯片ATT7022B的电压通道1信号管脚V2P和V2N,构成对应于三相电能计量芯片ATT7022B电压通道1的前端电路;按照同样方式,可以构造出对应于三相电能计量芯片ATT7022B另外2个电压通道V4P和V4N、V6P和V6N的前端电路。 The two ends of the 5A/5MA AC transformer CT5 are connected to the two ends of the 100 ohm sampling resistor Rs_5, and then connected to the input end of the anti-aliasing filter circuit composed of 1.2K resistors R1_5 and R2_5 and 0.01uF capacitors C1_5 and C2_5. The central points of C1_5 and C2_5 are connected to the analog ground; the output terminals of the anti-aliasing filter circuit are respectively connected to 10K resistors R3_5 and R4_5, and the other ends of R3_5 and R4_5 are connected to the reference voltage output terminal of the three-phase electric energy metering chip ATT7022B REFOUT; at the same time, the output of the anti-aliasing filter circuit is connected to the voltage channel 1 signal pins V2P and V2N of the three-phase electric energy metering chip ATT7022B to form a front-end circuit corresponding to the voltage channel 1 of the three-phase electric energy metering chip ATT7022B; in the same way , can construct the front-end circuit corresponding to the other two voltage channels V4P and V4N, V6P and V6N of the three-phase electric energy metering chip ATT7022B.

对应三相电能计量芯片ATT7022B电流通道与电压通道的前端电路的差别是取样电阻取值的不同,对应电压通道的取样电阻阻值是对应电流通道的取样电阻阻值的5倍。 The difference between the front-end circuits corresponding to the three-phase electric energy metering chip ATT7022B current channel and voltage channel is the value of the sampling resistor, and the resistance value of the sampling resistor corresponding to the voltage channel is 5 times that of the sampling resistor corresponding to the current channel.

三相电能计量芯片ATT7022B的工作时钟通过24.576MHz的晶振Y1提供。 The working clock of the three-phase electric energy metering chip ATT7022B is provided by the crystal oscillator Y1 of 24.576MHz.

三相电能计量芯片ATT7022B的SPI接口信号DOUT、DIN、SCLK、CS分别与单片机STC15F2KxxS2的SPI接口信号MISO、MOSI、SCLK以及GPIO信号P2.0相连接。如果再扩展1片三相电能计量芯片ATT7022B,则该片芯片的SPI接口信号CS连接至单片机STC15F2KxxS2的GPIO信号P2.1,依此类推。 The SPI interface signals DOUT, DIN, SCLK, and CS of the three-phase electric energy metering chip ATT7022B are respectively connected with the SPI interface signals MISO, MOSI, SCLK and GPIO signal P2.0 of the single-chip microcomputer STC15F2KxxS2. If another three-phase electric energy metering chip ATT7022B is expanded, the SPI interface signal CS of this chip is connected to the GPIO signal P2.1 of the single-chip microcomputer STC15F2KxxS2, and so on.

三相电能计量芯片ATT7022B和单片机STC15F2KxxS2采用5V供电。其中,三相电能计量芯片ATT7022B的模拟电源和数字电源通过磁珠L1进行连接,模拟地和数字地直接连接。 The three-phase electric energy metering chip ATT7022B and the single-chip microcomputer STC15F2KxxS2 are powered by 5V. Among them, the analog power supply and digital power supply of the three-phase electric energy metering chip ATT7022B are connected through the magnetic bead L1, and the analog ground and the digital ground are directly connected.

单片机STC15F2KxxS2的GPIO口P2.6连接至三相电能计量芯片ATT7022B的RESET管脚,由单片机STC15F2KxxS2控制对三相电能计量芯片ATT7022B进行复位。 The GPIO port P2.6 of the single-chip microcomputer STC15F2KxxS2 is connected to the RESET pin of the three-phase electric energy metering chip ATT7022B, and the three-phase electric energy metering chip ATT7022B is reset by the control of the single-chip microcomputer STC15F2KxxS2.

单片机STC15F2KxxS2通过SPI接口,从三相电能计量芯片ATT7022B地址为的0DH-12H及29H共7个内部真有效值寄存器中读取所检测的7路交流电流的真有效值的补码。其中,从地址为10H-12H和29H共4个寄存器中读出的补码值分别对应三相电能计量芯片ATT7022B的4路电流通道的交流电流真有效值,将补码转换为原码,即得到对应电流通道的交流电流真有效值检测结果。从地址为0DH-0FH共3个寄存器中读出的补码值分别对应三相电能计量芯片ATT7022B的3路电压通道的交流电流真有效值,将补码转换为原码后,再缩小5倍,即得到对应电压通道的交流电流真有效值检测结果。 The STC15F2KxxS2 microcontroller STC15F2KxxS2 reads the complement code of the true RMS value of the detected 7 AC currents from the 7 internal true RMS registers of the three-phase electric energy metering chip ATT7022B address 0DH-12H and 29H through the SPI interface. Among them, the complementary code values read from the 4 registers with addresses 10H-12H and 29H respectively correspond to the true RMS values of the AC currents of the 4 current channels of the three-phase electric energy metering chip ATT7022B, and the complementary codes are converted into original codes, namely The detection result of the true RMS value of the alternating current of the corresponding current channel is obtained. The complementary code values read from the 3 registers with addresses 0DH-0FH respectively correspond to the true RMS values of the AC currents of the 3 voltage channels of the three-phase electric energy metering chip ATT7022B. , that is, the detection result of the true RMS value of the AC current corresponding to the voltage channel is obtained.

上述说明并非对本发明的限制,本发明也不仅限于上述实施例,本技术领域专业技术人员在本发明实质范围内所做出的变化、改型、添加或替换,也属于本发明的保护范围。 The above description does not limit the present invention, and the present invention is not limited to the above-mentioned embodiments, and the changes, modifications, additions or substitutions made by those skilled in the art within the scope of the present invention also belong to the protection scope of the present invention.

Claims (4)

1. a high precision multichannel AC electric current real effective testing circuit, is characterized in that circuit is to be made up of 1 to No. 7 current transformer, 1 to 7 road sample resistance, 1 to 7 road Anti-aliasing Filter Circuits, 1 three-phase electrical energy computation chip and 1 single-chip microcomputer; Wherein, current transformer is connected with sampling resistor, sampling resistor is connected with Anti-aliasing Filter Circuits, Anti-aliasing Filter Circuits is connected with current channel or the voltage channel of three-phase electrical energy computation chip, and the SPI interface of three-phase electrical energy computation chip is connected with the SPI interface of single-chip microcomputer or GPIO mouth; Single-chip microcomputer directly reads the corresponding real effective numeric results of detected each road alternating current from the real effective register of three-phase electrical energy computation chip by SPI interface.
2. high precision multichannel AC electric current real effective testing circuit claimed in claim 1, is characterized in that described circuit can increase with 1 three-phase electrical energy computation chip of every increase and respective front ends circuit the ability that 7 road alternating current real effectives detect and expand.
3. high precision multichannel AC electric current real effective testing circuit claimed in claim 1, is characterized in that the sample resistance resistance being connected with three-phase electrical energy computation chip voltage channel is 5 times of the sample resistance resistance that is connected with three-phase electrical energy computation chip current channel.
4. high precision multichannel AC electric current real effective testing circuit claimed in claim 1, is characterized in that described three-phase electrical energy computation chip is the high precision three-phase electrical energy computation chip ATT7022x with 4 current channels and 3 voltage channels.
CN201410130300.1A 2014-04-02 2014-04-02 High-precision multi-path alternating current true virtual value detection circuit Pending CN103941078A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410130300.1A CN103941078A (en) 2014-04-02 2014-04-02 High-precision multi-path alternating current true virtual value detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410130300.1A CN103941078A (en) 2014-04-02 2014-04-02 High-precision multi-path alternating current true virtual value detection circuit

Publications (1)

Publication Number Publication Date
CN103941078A true CN103941078A (en) 2014-07-23

Family

ID=51188827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410130300.1A Pending CN103941078A (en) 2014-04-02 2014-04-02 High-precision multi-path alternating current true virtual value detection circuit

Country Status (1)

Country Link
CN (1) CN103941078A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105182210A (en) * 2015-09-29 2015-12-23 中国电力科学研究院 General interface of metering chip measurement device and implementation method of general interface
CN105319428A (en) * 2015-07-30 2016-02-10 成都华立达电力信息系统有限公司 Voltage and current alternative sampling circuit
CN105738725A (en) * 2016-01-29 2016-07-06 山东鲁能智能技术有限公司 Multipath alternating current split-phase synchronous sampling method and circuit
CN106707012A (en) * 2017-01-19 2017-05-24 深圳市泛海三江电子股份有限公司 AC signal acquisition circuit
CN108828367A (en) * 2018-07-13 2018-11-16 深圳友讯达科技股份有限公司 Dynamic configuration plug and play technique for distribution automation line loss acquisition device
CN110333383A (en) * 2019-08-15 2019-10-15 杭州电子科技大学 Single-phase AC voltage high-precision quick detection circuit based on mutual inductor
CN110376420A (en) * 2019-08-15 2019-10-25 杭州电子科技大学 Single-phase alternating current high-precision quick detection circuit based on mutual inductor
CN110672959A (en) * 2019-09-29 2020-01-10 北京科东电力控制系统有限责任公司 A single-phase multi-channel low-voltage user-side power failure monitoring device
CN112486237A (en) * 2020-12-17 2021-03-12 三门核电有限公司 Multi-channel high-precision micro-current source for nuclear power reactor core nuclear measurement system
CN113884945A (en) * 2020-07-02 2022-01-04 杭州普安科技有限公司 Three-phase alternating current small signal meter circuit for passive secondary circuit check meter

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201637773U (en) * 2010-04-13 2010-11-17 浙江容大电力设备制造有限公司 A Multi-channel AC Signal True RMS Acquisition Circuit
CN103018543A (en) * 2012-12-18 2013-04-03 天津光电通信技术有限公司 High-accuracy multichannel alternating voltage and current detection device
CN203909130U (en) * 2014-04-02 2014-10-29 云南大学 High precision multipath AC current true virtual value detection circuit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201637773U (en) * 2010-04-13 2010-11-17 浙江容大电力设备制造有限公司 A Multi-channel AC Signal True RMS Acquisition Circuit
CN103018543A (en) * 2012-12-18 2013-04-03 天津光电通信技术有限公司 High-accuracy multichannel alternating voltage and current detection device
CN203909130U (en) * 2014-04-02 2014-10-29 云南大学 High precision multipath AC current true virtual value detection circuit

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郭洪刚: "低压电网多参数数显仪的开发研究", 《中国优秀硕士学位论文全文数据库 工程科技II辑》, no. 5, 15 May 2012 (2012-05-15), pages 042 - 828 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105319428A (en) * 2015-07-30 2016-02-10 成都华立达电力信息系统有限公司 Voltage and current alternative sampling circuit
CN105182210A (en) * 2015-09-29 2015-12-23 中国电力科学研究院 General interface of metering chip measurement device and implementation method of general interface
CN105738725A (en) * 2016-01-29 2016-07-06 山东鲁能智能技术有限公司 Multipath alternating current split-phase synchronous sampling method and circuit
CN105738725B (en) * 2016-01-29 2018-11-13 山东鲁能智能技术有限公司 Multichannel AC split-phase synchronous sampling method and circuit
CN106707012A (en) * 2017-01-19 2017-05-24 深圳市泛海三江电子股份有限公司 AC signal acquisition circuit
CN108828367A (en) * 2018-07-13 2018-11-16 深圳友讯达科技股份有限公司 Dynamic configuration plug and play technique for distribution automation line loss acquisition device
CN110333383A (en) * 2019-08-15 2019-10-15 杭州电子科技大学 Single-phase AC voltage high-precision quick detection circuit based on mutual inductor
CN110376420A (en) * 2019-08-15 2019-10-25 杭州电子科技大学 Single-phase alternating current high-precision quick detection circuit based on mutual inductor
CN110333383B (en) * 2019-08-15 2021-06-22 杭州电子科技大学 High precision and fast detection circuit of single-phase AC voltage based on transformer
CN110376420B (en) * 2019-08-15 2021-06-22 杭州电子科技大学 High precision and fast detection circuit of single-phase AC current based on transformer
CN110672959A (en) * 2019-09-29 2020-01-10 北京科东电力控制系统有限责任公司 A single-phase multi-channel low-voltage user-side power failure monitoring device
CN113884945A (en) * 2020-07-02 2022-01-04 杭州普安科技有限公司 Three-phase alternating current small signal meter circuit for passive secondary circuit check meter
CN112486237A (en) * 2020-12-17 2021-03-12 三门核电有限公司 Multi-channel high-precision micro-current source for nuclear power reactor core nuclear measurement system

Similar Documents

Publication Publication Date Title
CN203376467U (en) Multi-mode electronic transformer calibrator
CN101320070A (en) Distribution network line short circuit and ground fault indication method and indication device
CN201637773U (en) A Multi-channel AC Signal True RMS Acquisition Circuit
CN104297565B (en) Electricity digitizer based on FPGA and magnetic balance type Hall sensor
CN203287421U (en) Three-phase AC voltage and current measurement circuit
CN203909130U (en) High precision multipath AC current true virtual value detection circuit
CN206331038U (en) Electric energy metering circuit of single-phase intelligent electric meter
CN205246757U (en) Electric energy meter signal acquisition metering modules
CN106950407A (en) A kind of three-phase isolation detection circuit
CN216926912U (en) Intelligent gateway with current and voltage detection function
CN209070006U (en) A kind of current sensor
CN201285409Y (en) Phase voltage detection circuit
CN205861836U (en) The voltage dip synchronous monitoring system of multistage power grid
CN204945235U (en) A kind of AC voltage sampling circuit
CN204154808U (en) bidirectional intelligent ammeter
CN201885822U (en) Acquisition module for configurable thermal resistance
CN203825100U (en) Transformer transformation ratio tester
CN207946514U (en) A kind of more acquisition channel testers of electronic mutual inductor
CN207069550U (en) A kind of Digital Relay Protection Appliance
CN118759241A (en) A method for detecting power line current in a floating environment
CN206096239U (en) Reference voltage sample module, signal processing device and converter
CN203630178U (en) Current sampler of single-phase smart meter
CN203012011U (en) Power measuring device
CN203825065U (en) Circuit used for amplifying input signal of intelligent controller
CN204374297U (en) Three-phase three-wire system voltage detecting circuit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140723