[go: up one dir, main page]

CN201053976Y - Multi-loop electric energy metering device in low voltage distribution field - Google Patents

Multi-loop electric energy metering device in low voltage distribution field Download PDF

Info

Publication number
CN201053976Y
CN201053976Y CNU2007200687298U CN200720068729U CN201053976Y CN 201053976 Y CN201053976 Y CN 201053976Y CN U2007200687298 U CNU2007200687298 U CN U2007200687298U CN 200720068729 U CN200720068729 U CN 200720068729U CN 201053976 Y CN201053976 Y CN 201053976Y
Authority
CN
China
Prior art keywords
electric energy
energy metering
metering device
speed signal
switch
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.)
Expired - Lifetime
Application number
CNU2007200687298U
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.)
Acrel Co Ltd
Original Assignee
Shanghai Acrel 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 Shanghai Acrel Co Ltd filed Critical Shanghai Acrel Co Ltd
Priority to CNU2007200687298U priority Critical patent/CN201053976Y/en
Application granted granted Critical
Publication of CN201053976Y publication Critical patent/CN201053976Y/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Measurement Of Current Or Voltage (AREA)

Abstract

The utility model discloses a multiloop electrical energy gauging device used in a power distribution offtrack circuit with a simple monitoring request. The multiloop electrical energy gauging device comprises plural loop current input ends, plural high speed signal switches, an electrical energy measuring chip and a microprocessor. The utility model is characterized in that each loop current input end is connected with a signal input end of each high speed signal switch; a control pin of each high speed signal switch is connected with the control pin of the microprocessor; a signal output end of each high speed signal switch is connected with a current channel of the electrical energy measuring chip; busbar voltage enters into a voltage channel end of the electrical energy measuring chip; the electrical energy measuring chip is connected together with a SPI communication port of the microprocessor; the microprocessor controls the switching sequence of the plural high speed signal switches at certain time, thereby realizing the monitoring to the multiloop electric quantity such as the busbar voltage, the loop current, the power, etc. The utility model greatly simplifies the design of the system, reduces the equipment cost, and simplifies the user investment. In addition, the utility model has convenient use, examination and repair for the user.

Description

一种低压配电领域多回路电能计量装置 A multi-circuit electric energy metering device in the field of low-voltage power distribution

技术领域 technical field

本实用新型一般地涉及一种电能计量装置,特别地涉及一种低压配电领域多回路电能计量装置。The utility model generally relates to an electric energy metering device, in particular to a multi-circuit electric energy metering device in the field of low-voltage power distribution.

背景技术 Background technique

如图1所示,一种多回路电能计量装置,其采用1个多路切换开关、1个A/D转换芯片和一控制CPU,多路负载的电流信号经多路电子开关后流入A/D转换芯片,A/D转换后的信号流入CPU,由CPU对信号进行计算处理,算出各路负载的电参量。此方案的优点是成本较低;缺点是软件实现比较困难,开发周期长,不利于产品的快速投产运行。As shown in Figure 1, a multi-circuit electric energy metering device adopts a multi-way switch, an A/D conversion chip and a control CPU, and the current signals of multi-way loads flow into A/D after passing through multi-way electronic switches. D conversion chip, the signal after A/D conversion flows into the CPU, and the CPU calculates and processes the signal to calculate the electrical parameters of each load. The advantage of this solution is that the cost is low; the disadvantage is that the software implementation is difficult and the development cycle is long, which is not conducive to the rapid production and operation of the product.

如图2所示,另多回路电能计量装置,其采用多个A/D转换芯片和一控制CPU,多路负载的电流信号分别流入A/D转换芯片,A/D转换后的信号流入CPU,由CPU对信号进行计算处理,算出各路负载的电参量。此方案的优点是计量精度高;缺点是成本高,软件实现困难,开发周期长,同样不利于产品的快速投产运行。As shown in Figure 2, another multi-circuit electric energy metering device uses multiple A/D conversion chips and a control CPU. The current signals of multiple loads flow into the A/D conversion chips respectively, and the A/D converted signals flow into the CPU. , the signal is calculated and processed by the CPU, and the electrical parameters of each load are calculated. The advantage of this solution is high measurement accuracy; the disadvantages are high cost, difficult software implementation, and long development cycle, which is also unfavorable for rapid production and operation of products.

如图3所示,另多回路电能计量装置,其采用多个电能计量芯片和一控制CPU,多路负载的信号分别流入电能计量芯片,由电能芯片计算出各路负载的电参量,再传给CPU,由CPU对信号进行处理。此方案的优点是计量精度高,软件实现较易,开发周期较短;缺点是成本高,因此不利于大规模生产。As shown in Figure 3, another multi-circuit electric energy metering device adopts multiple electric energy metering chips and a control CPU. To the CPU, the signal is processed by the CPU. The advantage of this scheme is high measurement accuracy, easy software implementation, and short development cycle; the disadvantage is high cost, which is not conducive to mass production.

中国专利申请CN 02139693.0提供了一种智能电能计量控制集成电表,采用一个微处理器CPU和多个电子元器件,用塑料外壳包装,外壳上设计有面板,其特征在于多个用户回路的计量、控制器件高度集成,构成电能取样计数模块、中心微处理器(CPU)模块、串行数据读写存储器模块、串行通讯模块、拉合闸控制模块、工作电源模块、显示模块和按键电路模块;电能取样计数模块的大部分元器件集成在计数器板上,中心微处理器(CPU)模块、串行数据读写存储器模块、串行通讯模块集成在CPU板上,拉合闸控制模块集成在拉闸电路板上,工作电源模块集成在开关电源板上,显示模块和按键电路模块集成在显示板上;其工作过程是:集成电表初始化后,由电能取样计数模块采集用户的用电数据,用电数据送至CPU进行计算后保存到串行数据读写存储器模块,并通过串行通讯模块上报到供电局和抄表员,用户也可通过显示电路随时查看用电情况,同时设置拉合闸控制模块控制用户的超功率用电和欠费拉闸断电催交,这个过程可分为集成电表初始化、电能取样计数、用电数据存贮、超功率处理、报错处理、对外通讯、远程拉、合闸处理、显示和校表。但其并未解决通过单一模块式的装置实现对多个回路的电能计量。Chinese patent application CN 02139693.0 provides an integrated electric meter for intelligent electric energy measurement and control, which adopts a microprocessor CPU and multiple electronic components, and is packaged in a plastic shell with a panel designed on the shell, which is characterized in that the metering of multiple user circuits, The control device is highly integrated, which constitutes a power sampling and counting module, a central microprocessor (CPU) module, a serial data read-write memory module, a serial communication module, a switch control module, a working power module, a display module and a key circuit module; Most of the components of the power sampling and counting module are integrated on the counter board, the central microprocessor (CPU) module, the serial data read-write memory module, and the serial communication module are integrated on the CPU board, and the pull-on control module is integrated on the pull-off board. On the gate circuit board, the working power supply module is integrated on the switching power supply board, and the display module and the button circuit module are integrated on the display board; the working process is: after the integrated electric meter is initialized, the electric energy sampling and counting module collects the user's electricity consumption data, and uses The electrical data is sent to the CPU for calculation and then saved to the serial data read-write memory module, and reported to the power supply bureau and the meter reader through the serial communication module. The user can also check the power consumption situation at any time through the display circuit, and set the switch on and off The control module controls the user's over-power consumption and arrears switching off and prompting payment. This process can be divided into integrated meter initialization, power sampling and counting, power data storage, over-power processing, error processing, external communication, and remote pull. , Closing processing, display and calibration. However, it does not solve the problem of realizing the electric energy metering of multiple circuits through a single modular device.

实用新型内容Utility model content

本实用新型所要提供一种高性能、低成本、简洁实用的低压配电领域多回路电能计量装置,主要应用于监控要求较简单的配电出线回路中。The utility model aims to provide a high-performance, low-cost, simple and practical multi-circuit electric energy metering device in the field of low-voltage power distribution, which is mainly used in power distribution outlet circuits with relatively simple monitoring requirements.

一种低压配电领域多回路电能计量装置,包括复数个回路电流输入端、复数个高速信号切换开关、电能计量芯片和微处理器,其特征在于:所述回路电流输入端连接高速信号切换开关的信号输入端,高速信号切换开关的控制脚连接微处理器的控制脚,其信号输出端与电能计量芯片的电流通道相连,母线电压进入电能计量芯片的电压通道端,电能计量芯片和微处理器的SPI通讯端口连接在一起。A multi-loop electric energy metering device in the field of low-voltage power distribution, including a plurality of loop current input terminals, a plurality of high-speed signal switching switches, an electric energy measurement chip and a microprocessor, characterized in that: the loop current input terminals are connected to high-speed signal switching switches The signal input terminal of the high-speed signal switching switch is connected to the control pin of the microprocessor, and its signal output terminal is connected to the current channel of the electric energy metering chip, and the bus voltage enters the voltage channel end of the electric energy metering chip, and the electric energy metering chip and the microprocessor The SPI communication port of the device is connected together.

本实用新型中,所述低压配电领域多回路电能计量装置设有一路开关量可编程越限报警输出接口,使用者可自由设置,对电网和负载中一些异常情况进行监测并可报警输出。In the utility model, the multi-circuit electric energy metering device in the field of low-voltage power distribution is provided with a programmable limit alarm output interface of a switching value, which can be freely set by the user to monitor some abnormal conditions in the power grid and loads and output an alarm.

所述低压配电领域多回路电能计量装置还有对多个回路开关状态的监测功能。The multi-circuit electric energy metering device in the field of low-voltage power distribution also has the function of monitoring the switch states of multiple circuits.

所述低压配电领域多回路电能计量装置具有标准RS485接口,采用MODBUS-RTU协议,完成配电回路中智能“遥测”、“遥信”、“遥控”功能和故障报警输出的智能配电管理要求。The multi-circuit electric energy metering device in the low-voltage power distribution field has a standard RS485 interface, adopts the MODBUS-RTU protocol, and completes intelligent "telemetry", "remote signaling", "remote control" functions and intelligent power distribution management of fault alarm output in the power distribution circuit Require.

本实用新型中,所述回路电流输入端包括一个电流互感器、两个取样电阻和RC滤波电路,电流互感器的信号输出端通过取样电阻和RC滤波后接高速信号切换开关的信号输入端。In the utility model, the loop current input terminal includes a current transformer, two sampling resistors and an RC filter circuit, and the signal output terminal of the current transformer is connected to the signal input terminal of the high-speed signal switching switch after being filtered by the sampling resistor and RC.

本实用新型中,母线电压通过电流型电压互感器、取样电阻和RC滤波电路接入电能计量芯片的电压监测端。In the utility model, the bus voltage is connected to the voltage monitoring terminal of the electric energy metering chip through a current-type voltage transformer, a sampling resistor and an RC filter circuit.

本实用新型的低压配电领域多回路电能计量装置可监控母线电压和多个配出回路中的回路电流,同时还可以对配出回路的功率、电能进行测量,实现电能计量管理,配出回路中的开关状态信号也可以输入到该监控制装置中,并可本地监测和远程遥信负载回路的开关信号,将众多配出回路的测量、计量、开关状态监测、控制和数字通讯等功能集于一体,大大简化了系统的设计、降低了设备成本、减少了使用者投资,方便了使用者的使用和检修,必将引领国内外智能配电领域的发展方向,成为智能配电中出线回路监控系统的发展主流。The multi-circuit electric energy metering device in the low-voltage power distribution field of the utility model can monitor the bus voltage and the circuit current in multiple distribution circuits, and can also measure the power and electric energy of the distribution circuits to realize electric energy measurement management and distribution circuits. The switch status signal in the control device can also be input into the monitoring device, and the switch signal of the load circuit can be monitored locally and remotely, and the functions of measurement, metering, switch status monitoring, control and digital communication of many distribution circuits can be integrated. In one, it greatly simplifies the design of the system, reduces the cost of equipment, reduces the investment of users, and facilitates the use and maintenance of users. It will definitely lead the development direction of the field of intelligent power distribution at home and abroad, and become the outlet circuit The mainstream of monitoring system development.

附图说明 Description of drawings

图1为现有技术的一种多回路电能计量装置的原理图。Fig. 1 is a schematic diagram of a multi-circuit electric energy metering device in the prior art.

图2为现有技术的另一种多回路电能计量装置的原理图。Fig. 2 is a schematic diagram of another multi-circuit electric energy metering device in the prior art.

图3为现有技术的另一种多回路电能计量装置的原理图。Fig. 3 is a schematic diagram of another multi-circuit electric energy metering device in the prior art.

图4为本实用新型多回路电能计量装置的原理图。Fig. 4 is a schematic diagram of the multi-circuit electric energy metering device of the present invention.

图5为本实用新型实施例1的接线图。Fig. 5 is a wiring diagram of Embodiment 1 of the present utility model.

图6为本实用新型实施例1的电路原理图。FIG. 6 is a schematic circuit diagram of Embodiment 1 of the present utility model.

图7为高速信号切换开关CD4052的原理图。Figure 7 is a schematic diagram of the high-speed signal changeover switch CD4052.

图8为开关量输入原理图。Figure 8 is a schematic diagram of switch input.

图9为开关量越限输出原理图。Figure 9 is a schematic diagram of the output of the switching value exceeding the limit.

图10为本实用新型实施例1的采样过程图。Fig. 10 is a diagram of the sampling process of Embodiment 1 of the present utility model.

图11为本实用新型实施例2的接线图。Fig. 11 is a wiring diagram of Embodiment 2 of the present utility model.

图12为本实用新型实施例2的电路原理图。Fig. 12 is a schematic circuit diagram of Embodiment 2 of the present utility model.

图13为本实用新型实施例2的采样过程图。Fig. 13 is a diagram of the sampling process of Embodiment 2 of the present invention.

具体实施方式 Detailed ways

为了使本实用新型实现的技术手段、创作特征、达成目的与功效易于明白了解,下面结合具体图示,进一步阐述本实用新型。In order to make the technical means, creative features, goals and effects achieved by the utility model easy to understand, the utility model will be further elaborated below in conjunction with specific illustrations.

实施例1Example 1

如图4所示,本实用新型为实现多回路电能计量采用了多个电子切换开关、一个电能计量芯片和一个控制CPU,多路负载的电流信号流入电子开关,电子开关在CPU的控制下,按顺序控制导通,信号流入电能芯片,由电能芯片计算出各路负载的电参量,再传给CPU,由CPU对信号进行处理。本实用新型相比背景技术中的3种实现方案,解决了成本高和软件开发周期长的缺点;并保证了相当的计量精度,特别适合对计量精度要求不高,实时性要求不高的一般配电出线回路。下面结合附图,详细阐述本实用新型。As shown in Figure 4, the utility model adopts a plurality of electronic switching switches, an electric energy metering chip and a control CPU in order to realize the multi-circuit electric energy measurement, the current signal of the multi-path load flows into the electronic switch, and the electronic switch is under the control of the CPU. The conduction is controlled in sequence, the signal flows into the power chip, the power chip calculates the electrical parameters of each load, and then transmits it to the CPU, and the CPU processes the signal. Compared with the three implementation schemes in the background technology, the utility model solves the shortcomings of high cost and long software development cycle; and ensures considerable measurement accuracy, and is especially suitable for general applications that do not require high measurement accuracy and real-time performance. Distribution outlet circuit. Below in conjunction with accompanying drawing, set forth the utility model in detail.

如图6所示,一种低压配电领域多回路电能计量装置,本实施例为三相多回路电能计量装置,其中设有9个回路电流输入端,因此可以监测三相母线UA、UB、UC和3个三相回路的9个电流,本监控装置还设有标准RS485接口,可采用MODBUS-RTU协议,完成配电回路中智能“遥测”、“遥信”、“遥控”功能和故障报警输出的智能配电管理;设置开关量输入和开关量输出接口,对9个回路开关状态进行监测。As shown in Figure 6, a multi-circuit electric energy metering device in the field of low-voltage power distribution, this embodiment is a three-phase multi-circuit electric energy metering device, in which there are 9 loop current input terminals, so it can monitor the three-phase buses UA, UB, UC and 9 currents of 3 three-phase circuits. This monitoring device is also equipped with a standard RS485 interface, which can use the MODBUS-RTU protocol to complete the intelligent "telemetry", "remote signaling", "remote control" functions and faults in the power distribution circuit. Intelligent power distribution management for alarm output; set switch input and switch output interfaces to monitor the switch status of 9 circuits.

参见图6,回路电流输入端包含电流互感器,监测的回路电流通过电流互感器、取样电阻和RC滤波网络进入监测装置,电流互感器、两个取样电阻和两个滤波电容为常规接法。Referring to Figure 6, the loop current input terminal includes a current transformer, and the monitored loop current enters the monitoring device through the current transformer, sampling resistor and RC filter network. The current transformer, two sampling resistors and two filter capacitors are conventionally connected.

本实施例中,如图7所示,高速信号切换开关IC3、IC4、IC5采用CD4502,该电子开关为双四选一,即输入有4个双路信号(12、1脚为第1路输入,14、5脚为第2路输入,15、2脚为第3路输入,11、4脚为第4路输入),输出为1个双路(13、3脚为输出),其由微处理器来控制其通道的导通和关闭(10、9脚为控制脚),控制时序见表如下所示:In this embodiment, as shown in Figure 7, the high-speed signal switching switches IC3, IC4, and IC5 adopt CD4502, and this electronic switch is a dual-four selection one, that is, the input has 4 dual-way signals (pin 12 and 1 are the first road input , 14, 5 pins are the 2nd input, 15, 2 pins are the 3rd input, 11, 4 pins are the 4th input), the output is a dual (13, 3 pins are output), which is controlled by the micro The processor controls the on and off of its channel (pins 10 and 9 are control pins), and the control timing is shown in the table below:

    BB     AA  CD4052BCD4052B     00110011     01010101   0X,0Y1X,1Y2X,2Y3X,3Y0X, 0Y1X, 1Y2X, 2Y3X, 3Y

当A、B两个脚都为低电平时,13、3脚输出的信号为12、1脚输入的信号;当A脚为高电平,B脚为低电平时,13、3脚输出的信号为14、5脚输入的信号;当A脚为低电平,B脚为高电平时,13、3脚输出的信号为15、2脚输入的信号;当A、B两个脚都为高电平时,13、3脚输出的信号为11、4脚输入的信号。When both pins A and B are at low level, the signals output by pins 13 and 3 are the signals input by pins 12 and 1; when pin A is high and pin B is low, the signals output by pins 13 and 3 are The signal is the signal input by pin 14 and 5; when pin A is low level and pin B is high level, the signal output by pin 13 and pin 3 is the signal input by pin 15 and pin 2; when pin A and B are both When the level is high, the signals output by pins 13 and 3 are the signals input by pins 11 and 4.

配合3个回路的9个电流,设置了3个高速信号切换开关IC3、IC4和IC5,9个电流输入端分别与高速信号切换开关的输入端连接在一起。9个电流输入端(为标识清晰,9个电流分为A、B、C三组,每组3路),自上而下分别为第1个三相负载的A相电流IA1+、IA1-分别流入高速信号切换开关IC3的Y0、X0脚,第1个三相负载的B相电流IB1+、IB1-分别流入高速信号切换开关IC4的Y0、X0脚,第1个三相负载的C相电流IC1+、IC1-分别流入高速信号切换开关IC5的Y0、X0脚;第2个三相负载的A相电流IA2+、IA2-分别流入高速信号切换开关IC3的Y1、X1脚,第2个三相负载的B相电流IB2+、IB2-分别流入高速信号切换开关IC4的Y1、X1脚,第2个三相负载的C相电流IC2+、IC2-分别流入高速信号切换开关IC5的Y1、X1脚;第3个三相负载的A相电流IA3+、IA3-分别流入高速信号切换开关IC3的Y2、X2脚,第3个三相负载B相电流IB3+、IB3-分别流入高速信号切换开关IC4的Y2、X2脚,第3个三相负载的C相电流IC3+、IC3-分别流入高速信号切换开关IC5的Y2、X2脚。Cooperating with the 9 currents of the 3 loops, 3 high-speed signal switching switches IC3, IC4 and IC5 are set, and the 9 current input terminals are respectively connected with the input terminals of the high-speed signal switching switch. 9 current input terminals (for clear identification, the 9 currents are divided into three groups of A, B and C, each group has 3 circuits), from top to bottom are the A-phase current IA 1+ and IA of the first three-phase load 1- Flow into the Y0 and X0 pins of the high-speed signal switch IC3 respectively, and the B-phase current IB 1+ and IB 1 of the first three-phase load flow into the Y0 and X0 pins of the high-speed signal switch IC4 respectively, and the first three-phase load The C-phase current IC 1+ and IC 1- of the load flow into the Y0 and X0 pins of the high-speed signal switching switch IC5 respectively; the A-phase current IA 2+ and IA 2- of the second three-phase load flow into the high-speed signal switching switch IC3 respectively Y1, X1 pins, the B-phase current IB 2+ , IB 2- of the second three-phase load flow into the Y1, X1 pins of the high-speed signal switch IC4 respectively, and the C-phase current IC 2+ , IC of the second three-phase load 2- Flow into the Y1 and X1 pins of the high-speed signal switch IC5 respectively; the A-phase current IA 3+ and IA 3- of the third three-phase load flow into the Y2 and X2 pins of the high-speed signal switch IC3 respectively, and the third three-phase load The load B-phase current IB 3+ , IB 3- flows into the Y2 and X2 pins of the high-speed signal switch IC4 respectively, and the C-phase current IC 3+ and IC 3- of the third three-phase load flow into the Y2 of the high-speed signal switch IC5 respectively , X2 feet.

高速信号切换开关IC3、IC4、IC5开关控制脚A连接在一起并与微控制器IC6/MC9S08AW32的IO口PTC2口相连、控制脚B连接在一起并与微控制器IC6/MC9S08AW32的IO口PTC4口相连,高速信号切换开关IC3的输出口YOUT、XOUT分别与电能计量芯片IC1/ADE7758的IAP、IAN口连接,高速信号切换开关IC4的输出口YOUT、XOUT分别与电能计量芯片IC1/ADE7758的IBP、IBN口连接,高速信号切换开关IC5的输出口YOUT、XOUT分别与电能计量芯片IC1/ADE7758的ICP、ICN口连接。The high-speed signal switching switch IC3, IC4, IC5 switch control pin A is connected together and connected with the IO port PTC2 of the microcontroller IC6/MC9S08AW32, and the control pin B is connected together and connected with the IO port PTC4 of the microcontroller IC6/MC9S08AW32 The output ports YOUT and XOUT of the high-speed signal switching switch IC3 are respectively connected to the IAP and IAN ports of the energy metering chip IC1/ADE7758, and the output ports YOUT and XOUT of the high-speed signal switching switch IC4 are respectively connected to the IBP, IBP, and The IBN port is connected, and the output ports YOUT and XOUT of the high-speed signal switching switch IC5 are respectively connected to the ICP and ICN ports of the electric energy metering chip IC1/ADE7758.

电能计量芯片IC1/ADE7758是一种高精确度三相电能测量IC,集成了数字积分、参考基准电压源、温度敏感元件等,有可用于有功功率、复功率、视在功率、有效值的测量以及以数字方式校正系统误差(增益、相位和失调等)所必须的信号处理电路。该芯片适用于各种三相电路(不论三线制或者四线制)中测量有功功率、复功率、视在功率。其中电流通道由三对差分电压输入,分别是IAP脚、IAN脚,IBP脚、IBN脚,ICP脚、ICN脚。电压通道具有三路单端电压输入通道,分别为VAP脚、VBP脚、VCP脚、VN脚。DOUT脚、SCLK脚、DIN脚、CS脚为SPI通讯管脚,用于和微处理器通讯传输数据。The electric energy measurement chip IC1/ADE7758 is a high-precision three-phase electric energy measurement IC, which integrates digital integration, reference voltage source, temperature sensitive components, etc., and can be used for the measurement of active power, complex power, apparent power and effective value And the signal processing circuitry necessary to digitally correct system errors (gain, phase, offset, etc.). The chip is suitable for measuring active power, complex power and apparent power in various three-phase circuits (regardless of three-wire system or four-wire system). Among them, the current channel is input by three pairs of differential voltages, which are IAP pin, IAN pin, IBP pin, IBN pin, ICP pin, and ICN pin. The voltage channel has three single-ended voltage input channels, which are VAP pin, VBP pin, VCP pin, and VN pin. The DOUT pin, the SCLK pin, the DIN pin, and the CS pin are SPI communication pins, which are used to communicate with the microprocessor to transmit data.

三相母线电压UA、UB、UC通过电压互感器、取样电阻和RC滤波电路采样分别进入电能计量芯片IC1/ADE7758的VAP脚、VBP脚、VCP脚和VN脚;电能计量芯片IC1/ADE7758的IQR脚、CS脚、DIN脚、SCK脚和DOUT脚接成总线连接微处理器MC9S08AW32的PTE5/MISO脚、PTE6/MOSI脚和PTE7/SPSCK脚进行数据通讯。The three-phase bus voltages UA, UB, and UC are sampled through voltage transformers, sampling resistors, and RC filter circuits and enter the VAP pin, VBP pin, VCP pin, and VN pin of the electric energy metering chip IC1/ADE7758; the IQR of the electric energy metering chip IC1/ADE7758 Pin, CS pin, DIN pin, SCK pin and DOUT pin are connected to the bus to connect the PTE5/MISO pin, PTE6/MOSI pin and PTE7/SPSCK pin of the microprocessor MC9S08AW32 for data communication.

微处理器IC6/MC9S08AW32的PTC1/SDA脚和PTC0/SCL脚连接非易失性铁电随机存储器IC2/FM24C16A,进行数据存储。PTC1/SDA pin and PTC0/SCL pin of microprocessor IC6/MC9S08AW32 are connected with non-volatile ferroelectric RAM IC2/FM24C16A for data storage.

参见图8,以U2那一路为例,输入端为DI-1,即外部的开关量信号由DI-1输入。当外部的开关信号为合闸,则DI-1与地连通,电流信号经限流电阻R4(R22为分流电阻)后流入光耦U2,此时光耦内部的A、K脚导通发光,使光耦内部的C、E脚也导通,使输入DI1为低电平,DI1与微处理器IC6/MC9S08AW32的开关量输入接口相连,微处理器IC6/MC98S08AW32通过读取DI1的低电平来判断输入开关量为合闸状态。Referring to Figure 8, taking U2 as an example, the input terminal is DI-1, that is, the external switching signal is input through DI-1. When the external switch signal is closed, DI-1 is connected to the ground, and the current signal flows into the optocoupler U2 after passing through the current limiting resistor R4 (R22 is a shunt resistor). The C and E pins inside the optocoupler are also turned on, so that the input DI1 is low level, and DI1 is connected to the digital input interface of the microprocessor IC6/MC9S08AW32, and the microprocessor IC6/MC98S08AW32 reads the low level of DI1 to Judging that the input switch is in the closing state.

若当外部的开关信号为分闸,则DI-1与地不连通,光耦内部也未导通,则DI1为高电平,单片机通过读取DI1的高电平来判断输入开关量为分闸状态。微处理器IC6/MC9S08AW32上的PTD0/AD8脚、PTD1/AD9脚、PTD2/KBI5脚、PTD3/KBI6脚、PTD4/AD12脚、PTD5/AD13脚、PTD6/AD14脚、PTD7/KBI7/AD15脚、PTF0/TP12脚、PTF1/TP13脚、PTF2/TP14脚、PTF3/TP15脚、PTF4/TP20脚、PTF5/TP21脚、PTF6脚、PTF7脚、PTE3/TP11脚、PTE2/TP10脚皆为开关量输入接口。If the external switch signal is open, DI-1 is not connected to the ground, and the inside of the optocoupler is not turned on, then DI1 is at high level, and the single-chip microcomputer judges that the input switch value is open by reading the high level of DI1. gate status. PTD0/AD8 pins, PTD1/AD9 pins, PTD2/KBI5 pins, PTD3/KBI6 pins, PTD4/AD12 pins, PTD5/AD13 pins, PTD6/AD14 pins, PTD7/KBI7/AD15 pins on the microprocessor IC6/MC9S08AW32 PTF0/TP12, PTF1/TP13, PTF2/TP14, PTF3/TP15, PTF4/TP20, PTF5/TP21, PTF6, PTF7, PTE3/TP11, PTE2/TP10 are switch input interface.

微处理器IC6/MC9S08AW32的PTG4/KBI4为可编程越限报警输出接口,进行开关量输出;其原理如图9所示。当检测到外部某种设定的信号超过允许范围时,微处理器IC6/MC9S08AW32输出一个高电平信号,此高电平信号经DO1传给三极管Q1,此时三极管Q1导通,继电器U1内部线圈有电流经过,使触点吸合,由DO1+、DO1-输出一个报警的信号。当外部未超限,则DO1输出低电平信号,继电器U1断开,没有报警信号输出。The PTG4/KBI4 of the microprocessor IC6/MC9S08AW32 is a programmable limit alarm output interface for switching output; its principle is shown in Figure 9. When it is detected that some external set signal exceeds the allowable range, the microprocessor IC6/MC9S08AW32 outputs a high-level signal, and the high-level signal is transmitted to the transistor Q1 through DO1. At this time, the transistor Q1 is turned on, and the internal relay U1 A current flows through the coil to make the contacts close, and DO1+ and DO1- output an alarm signal. When the external limit is not exceeded, DO1 outputs a low-level signal, the relay U1 is disconnected, and there is no alarm signal output.

微处理器IC6/MC9S08AW32的PTE1/RXD1和PTE0/TXD1脚为RS485通信接口,可对外进行数据通讯。The PTE1/RXD1 and PTE0/TXD1 pins of the microprocessor IC6/MC9S08AW32 are RS485 communication interfaces, which can communicate with the outside world.

微处理器IC6/MC9S08AW32分时切换选择高速信号切换开关IC3、IC4和IC5的输入信号,使不同回路的电流分时切换的输入到电能计量芯片IC1/ADE7758的电流输入端,这样电能计量芯片IC1/ADE7758监测的电压、电流、功率和电能就是对应的母线电压、开关选择的回路电流、功率和电能,微处理器IC6/MC9S08AW32不断切换不同回路的电流就可以实现监测所有的不同回路的多电量参数,具体过程如下所述。Microprocessor IC6/MC9S08AW32 time-division switching selects the input signals of high-speed signal switching switches IC3, IC4 and IC5, so that the current of different circuits is time-division switched and input to the current input terminal of the electric energy metering chip IC1/ADE7758, so that the electric energy metering chip IC1 The voltage, current, power and electric energy monitored by /ADE7758 are the corresponding bus voltage, the circuit current, power and electric energy selected by the switch, and the microprocessor IC6/MC9S08AW32 can continuously switch the current of different circuits to monitor the multi-power of all different circuits Parameters, the specific process is as follows.

系统上电后,初始化电能计量芯片IC1/ADE7758,将电能计量芯片IC1/ADE7758定义为周期计量,采用中断方式。程序定义一个变量loop=1,2,3(loop=1则表示计量的为第1路三相负载,loop=2则表示计量的为第2路三相负载,loop=3则表示计量的为第3路三相负载)。微处理器IC6/MC9S08AW32开始工作,对电子开关进行控制,当外部中断到来时,微处理器IC6/MC9S08AW32对电能计量芯片IC1/ADE7758读取上个loop的电流,电压、功率、电能值,并将电子开关切换到下路通道。After the system is powered on, initialize the electric energy metering chip IC1/ADE7758, define the electric energy metering chip IC1/ADE7758 as periodic metering, and use the interrupt method. The program defines a variable loop=1, 2, 3 (loop=1 means that the metering is the first three-phase load, loop=2 means that the metering is the second three-phase load, loop=3 means the metering is 3rd three-phase load). The microprocessor IC6/MC9S08AW32 starts to work and controls the electronic switch. When the external interrupt arrives, the microprocessor IC6/MC9S08AW32 reads the current, voltage, power and electric energy value of the last loop from the electric energy metering chip IC1/ADE7758, and Switch the electronic switch to the lower channel.

整个采样过程见图10。在一个完整的采样计量周期T内,分为3个相同的时间段t1、t2、t3,分别对应loop1、loop2、loop3。在loop1的时间段内,微处理器IC6/MC9S08AW32控制电子开关导通第1路三相负载的A、B、C三相电流I1,使电能计量芯片IC1/ADE7758对第1路三相负载进行电参量的测量,并将电能计量芯片IC1/ADE7758测得的电参量传给微处理器IC6/MC98S08AW32,让微处理器IC6/MC98S08AW32对loop1时间段内的电参量进行处理,在loop2的时间段内,微处理器IC6/MC98S08AW32控制电子开关导通第2路三相负载的A、B、C三相电流I2,使电能计量芯片IC1/ADE7758对第2路三相负载进行电参量的测量,并将电能计量芯片IC1/ADE7758测得的电参量传给微处理器IC6/MC9S08AW32,让微处理器IC6/MC9S08AW32对loop2时间段内的电参量进行处理,在loop3的时间段内,微处理器IC6/MC9S08AW32控制电子开关导通第3路三相负载的A、B、C三相电流I3,使电能计量芯片IC1/ADE7758对第3路三相负载进行电参量的测量,并将电能计量芯片IC1/ADE7758测得的电参量传给微处理器IC6/MC9S08AW32,让微处理器IC6/MC9S08AW32对loop3时间段内的电参量进行处理。这样,在整个采样周期T内,分别有1/3的时间对每路三相负载进行测量。由图10可以看出在整个采样周期T中,对于3路负载中的每路来说,有效的采样计量时间为T/3,其余2T/3的时间段内是空白的,即未对电流信号采样。故在计量电能时,整个周期T内,3路负载每路只是计量了T/3时间内的电能,因此要计量每路负载在总的周期T内的电能值,我们采用将T/3时间内计量得到的电能值乘以3倍,即第1路三相负载在T时间内总的电能为∑P1×t1×3,第2路三相负载在T时间内总的电能为∑P2×t2×3,第3路三相负载在T时间内总的电能为∑P3×t3×3,t1=t2=t3。每个周期T内,每路的电能都按照以上方式计量,然后再将各个周期T内的电能累加,则可以得到每路负载长时间的电能值。The whole sampling process is shown in Figure 10. In a complete sampling measurement cycle T, it is divided into three identical time periods t1, t2, and t3, corresponding to loop1, loop2, and loop3 respectively. During the time period of loop1, the microprocessor IC6/MC9S08AW32 controls the electronic switch to turn on the A, B, and C three-phase current I1 of the first three-phase load, so that the electric energy metering chip IC1/ADE7758 can control the first three-phase load. Measure the electrical parameters, and pass the electrical parameters measured by the electric energy metering chip IC1/ADE7758 to the microprocessor IC6/MC98S08AW32, so that the microprocessor IC6/MC98S08AW32 can process the electrical parameters in the loop1 time period, and in the loop2 time period Inside, the microprocessor IC6/MC98S08AW32 controls the electronic switch to conduct the A, B, C three-phase current I2 of the second three-phase load, so that the electric energy metering chip IC1/ADE7758 can measure the electrical parameters of the second three-phase load, And pass the electrical parameters measured by the electric energy metering chip IC1/ADE7758 to the microprocessor IC6/MC9S08AW32, let the microprocessor IC6/MC9S08AW32 process the electrical parameters in the loop2 time period, and in the loop3 time period, the microprocessor IC6/MC9S08AW32 controls the electronic switch to turn on the A, B, C three-phase current I3 of the third three-phase load, so that the electric energy metering chip IC1/ADE7758 can measure the electric parameters of the third three-phase load, and the electric energy metering chip The electrical parameters measured by IC1/ADE7758 are transmitted to the microprocessor IC6/MC9S08AW32, so that the microprocessor IC6/MC9S08AW32 can process the electrical parameters in the loop3 time period. In this way, within the entire sampling period T, each three-phase load is measured for 1/3 of the time. It can be seen from Figure 10 that in the entire sampling period T, for each of the three loads, the effective sampling and measurement time is T/3, and the remaining 2T/3 time period is blank, that is, the current is not adjusted Signal sampling. Therefore, when measuring electric energy, in the entire period T, each of the three loads only measures the electric energy within T/3 time, so to measure the electric energy value of each load within the total period T, we use T/3 time The electric energy value obtained by internal measurement is multiplied by 3 times, that is, the total electric energy of the first three-phase load within T time is ∑P1×t1×3, and the total electric energy of the second three-phase load within T time is ∑P2× t2×3, the total electric energy of the third three-phase load within T time is ΣP3×t3×3, t1=t2=t3. In each period T, the electric energy of each circuit is measured according to the above method, and then the electric energy in each period T is accumulated, and the long-term electric energy value of each load can be obtained.

实施例2Example 2

本实施例为单相多回路电能计量装置,其中设有9个回路电流输入端,因此可以监测母线电压UL和9个回路电流,本监控装置还设有标准RS485接口,可采用MODBUS-RTU协议,完成配电回路中智能“遥测”、“遥信”、“遥控”功能和故障报警输出的智能配电管理;设置开关量输入和开关量输出接口,对9个回路开关状态进行监测。This embodiment is a single-phase multi-loop electric energy metering device, which is equipped with 9 loop current input terminals, so it can monitor the bus voltage UL and 9 loop currents. This monitoring device is also equipped with a standard RS485 interface, which can adopt the MODBUS-RTU protocol , to complete the intelligent "telemetry", "remote signaling", "remote control" functions and intelligent power distribution management of fault alarm output in the power distribution circuit; set the switch input and switch output interfaces, and monitor the switch status of 9 circuits.

参见图12,回路电流输入端包含电流互感器,监测的回路电流通过电流互感器、取样电阻和RC滤波网络进入监测装置,电流互感器、两个取样电阻和两个滤波电容为常规接法。Referring to Figure 12, the loop current input terminal includes a current transformer, and the monitored loop current enters the monitoring device through the current transformer, sampling resistor and RC filter network. The current transformer, two sampling resistors and two filter capacitors are conventionally connected.

本实施例中,如图7所示,高速信号切换开关IC3′、IC4′、IC5′采用CD4502,其工作原理与实施例1中所述是相同的,在此不再累述。In this embodiment, as shown in FIG. 7 , the high-speed signal switching switches IC3', IC4', and IC5' adopt CD4502, and its working principle is the same as that described in Embodiment 1, so it will not be repeated here.

配合单相回路的9个电流,设置了3个高速信号切换开关IC3′、IC4′和IC5′,9个电流输入端分别与高速信号切换开关的输入端连接在一起。9个电流输入端(为标识清晰,9个电流分为A、B、C三组,每组3路,A组为第1、4、7路单相负载,B组为第2、5、8路单相负载,C组为第3、6、9路单相负载),自上而下分别为第1路单相负载的电流IA1+、IA1-分别流入高速信号切换开关IC3′的Y0、X0脚,第4路单相负载的电流IB1+、IB1-分别流入高速信号切换开关IC4′的Y0、X0脚,第7路单相负载的电流IC1+、IC1-分别流入高速信号切换开关IC5′的Y0、X0脚;第2路单相负载的电流IA2+、IA2-分别流入高速信号切换开关IC3′的Y1、X1脚,第5路单相负载的电流IB2+、IB2-分别流入高速信号切换开关IC4′的Y1、X1脚,第8路单相负载的电流IC2+、IC2-分别流入高速信号切换开关IC5′的Y1、X1脚;第3路单相负载的电流IA3+、IA3-分别流入高速信号切换开关IC3′的Y2、X2脚,第6路单相负载的电流IB3+、IB3-分别流入高速信号切换开关IC4′的Y2、X2脚,第9路单相负载的电流IC3+、IC3-分别流入高速信号切换开关IC5′的Y2、X2脚。Cooperating with the 9 currents of the single-phase circuit, 3 high-speed signal switching switches IC3', IC4' and IC5' are set, and the 9 current input terminals are respectively connected with the input terminals of the high-speed signal switching switch. 9 current input terminals (for clear identification, the 9 currents are divided into three groups A, B, and C, each group has 3 circuits, group A is the 1st, 4th, and 7th single-phase load, and group B is the 2nd, 5th, and 7th single-phase loads. 8 single-phase loads, group C is the 3rd, 6th and 9th single-phase loads), from top to bottom, the current IA 1+ and IA 1- of the first single-phase load respectively flow into the high-speed signal switch IC3′ The Y0 and X0 pins of the fourth single-phase load, the current IB 1+ and IB 1- of the fourth single-phase load respectively flow into the Y0 and X0 pins of the high-speed signal switching switch IC4′, and the currents of the seventh single-phase load IC 1+ and IC 1- respectively flow into the Y0 and X0 pins of the high-speed signal switching switch IC5′; the current IA 2+ and IA 2- of the second single-phase load respectively flow into the Y1 and X1 pins of the high-speed signal switching switch IC3′, and the current of the fifth single-phase load The currents IB 2+ and IB 2- respectively flow into the Y1 and X1 pins of the high-speed signal switching switch IC4′, and the current IC 2+ and IC 2- of the eighth single-phase load respectively flow into the Y1 and X1 pins of the high-speed signal switching switch IC5′ ; The current IA 3+ and IA 3- of the third single-phase load flow into the Y2 and X2 pins of the high-speed signal switching switch IC3′ respectively, and the current IB 3+ and IB 3- of the sixth single-phase load respectively flow into the high-speed signal switching The Y2 and X2 pins of the switch IC4', the currents IC 3+ and IC 3- of the ninth single-phase load respectively flow into the Y2 and X2 pins of the high-speed signal switching switch IC5'.

高速信号切换开关IC3′、IC4′、IC5′开关控制脚A连接在一起并与微处理器IC6′/MC9S08AW32的IO口PTC2口相连、控制脚B连接在一起并与微处理器IC6′/MC9S08AW32的IO口PTC4口相连,高速信号切换开关IC3′的输出口YOUT、XOUT分别与电能计量芯片IC1′/ADE7758的IAP、IAN口连接,高速信号切换开关IC4′的输出口YOUT、XOUT分别与电能计量芯片IC1′/ADE7758的IBP、IBN口连接,高速信号切换开关IC5′的输出口YOUT、XOUT分别与电能计量芯片IC1′/ADE7758的ICP、ICN口连接。为提高测量精度,在本实例中采用三相电能芯片来计量单相负载的电参量,在每个采样时间段内,可同时测量三路单相负载的电参量。High-speed signal switching switch IC3', IC4', IC5' switch control pin A is connected together and connected with the IO port PTC2 of the microprocessor IC6'/MC9S08AW32, and the control pin B is connected together and connected with the microprocessor IC6'/MC9S08AW32 The IO port of the high-speed signal switching switch IC3' is connected to the PTC4 port, the output ports YOUT and XOUT of the high-speed signal switching switch IC3' are respectively connected to the IAP and IAN ports of the electric energy metering chip IC1'/ADE7758, and the output ports YOUT and XOUT of the high-speed signal switching switch IC4' are respectively connected to the electric energy metering chip IC1'/ADE7758 The IBP and IBN ports of the metering chip IC1'/ADE7758 are connected, and the output ports YOUT and XOUT of the high-speed signal switching switch IC5' are respectively connected with the ICP and ICN ports of the electric energy metering chip IC1'/ADE7758. In order to improve measurement accuracy, in this example, a three-phase power chip is used to measure the electrical parameters of single-phase loads. In each sampling period, the electrical parameters of three single-phase loads can be measured simultaneously.

电能计量芯片IC1′/ADE7758的工作原理与实施例1中所述是相同的,在此也不再累述。单相母线电压UL、UN通过电压互感器、取样电阻和RC滤波电路采样进入电能计量芯片IC1′/ADE7758的VAP脚、VN脚,VBP脚、VCP脚与VAP脚连一起;电能计量芯片IC1′/ADE7758的IQR脚、CS脚、DIN脚、SCK脚和DOUT脚接成总线连接微处理器IC6′/MC9S08AW32的PTE5/MISO脚、PTE6/MOSI脚和PTE7/SPSCK脚进行数据通讯。The working principle of the electric energy metering chip IC1'/ADE7758 is the same as that described in Embodiment 1, and will not be repeated here. The single-phase bus voltage UL and UN are sampled through the voltage transformer, sampling resistor and RC filter circuit and enter the VAP pin, VN pin, VBP pin, VCP pin and VAP pin of the electric energy metering chip IC1′/ADE7758; the electric energy metering chip IC1′ /ADE7758's IQR pin, CS pin, DIN pin, SCK pin and DOUT pin are connected into a bus to connect the PTE5/MISO pin, PTE6/MOSI pin and PTE7/SPSCK pin of the microprocessor IC6'/MC9S08AW32 for data communication.

微处理器IC6′/MC9S08AW32的PTC1′/SDA脚和PTC0/SCL脚连接非易失性铁电随机存储器IC2′/FM24C16A,进行数据存储。PTC1'/SDA pin and PTC0/SCL pin of microprocessor IC6'/MC9S08AW32 are connected with non-volatile ferroelectric RAM IC2'/FM24C16A for data storage.

本实施例中,开关量的输入输出原理同实施例1,在此不再累述。In this embodiment, the principle of the input and output of the switching value is the same as that of Embodiment 1, and will not be repeated here.

微处理器IC6′/MC9S08AW32的PTC1/SDA脚和PTC0/SCL脚连接非易失性铁电随机存储器IC2′/FM24C16A,进行数据存储。PTC1/SDA pin and PTC0/SCL pin of microprocessor IC6'/MC9S08AW32 are connected with non-volatile ferroelectric RAM IC2'/FM24C16A for data storage.

工作时,微处理器IC6′/MC9S08AW32同时控制高速信号切换开关IC3′、IC4′、IC5′的输入信号,使不同回路的电流分时切换输入到电能计量芯片IC1′/ADE7758的电流通道,这样电能计量芯片IC1′/ADE7758监测的电压、电流、功率和电能就是对应的母线电压、开关选择的回路电流、功率和电能,微处理器IC6′/MC9S08AW32不断切换不同回路的电流就可以实现监测所有的不同回路的多电量参数,具体过程如下所述。When working, the microprocessor IC6'/MC9S08AW32 controls the input signals of the high-speed signal switching switches IC3', IC4', and IC5' at the same time, so that the current of different circuits is time-divided and switched to the current channel of the electric energy metering chip IC1'/ADE7758, so that The voltage, current, power and electric energy monitored by the electric energy metering chip IC1′/ADE7758 are the corresponding bus voltage, the circuit current, power and electric energy selected by the switch, and the microprocessor IC6′/MC9S08AW32 continuously switches the current of different circuits to monitor all The multi-power parameters of different circuits, the specific process is as follows.

系统上电后,初始化电能计量芯片IC1′/ADE7758,将电能计量芯片IC1′/ADE7758定义为周期计量,采用中断方式。程序定义一个变量loop=1,2,3(loop=1表示计量的为第1、2、3路单相负载,loop=2表示计量的为第4、5、6路单相负载,loop=3表示计量的为第7、8、9路单相负载)。微处理器IC6′/MC9S08AW32开始工作,对电子开关进行控制,当外部中断到来时,微处理器IC6′/MC9S08AW32对电能计量芯片IC1′/ADE7758读取上个loop的电流,电压、功率、电能值,并将电子开关切换到下路通道。After the system is powered on, initialize the electric energy metering chip IC1'/ADE7758, define the electric energy metering chip IC1'/ADE7758 as periodic metering, and use the interrupt method. The program defines a variable loop=1, 2, 3 (loop=1 means that the metering is the 1st, 2nd, and 3rd single-phase load, loop=2 means that the metering is the 4th, 5th, and 6th single-phase load, loop= 3 means that the metering is the 7th, 8th, and 9th single-phase load). The microprocessor IC6'/MC9S08AW32 starts to work and controls the electronic switch. When the external interrupt arrives, the microprocessor IC6'/MC9S08AW32 reads the current, voltage, power and electric energy of the last loop from the electric energy metering chip IC1'/ADE7758 value, and switch the electronic switch to the next channel.

整个采样过程见图13。在一个完整的采样计量周期T内,分为3个相同的时间段t1、t2、t3,分别对应loop1、loop2、loop3。在loop1的时间段内,CPU控制电子开关导通第1、2、3路单相负载的电流I1、I2、I3,使电能计量芯片IC1′/ADE7758对第1、2、3路单相负载进行电参量的测量,并将电能计量芯片IC1′/ADE7758测得的电参量传给微处理器IC6′/MC9S08AW32,让微处理器IC6′/MC9S08AW32对loop1时间段内的电参量进行处理,在loop2的时间段内,微处理器IC6′/MC9S08AW32控制电子开关导通第4、5、6路单相负载的电流I4、I5、I6,使电能计量芯片IC1′/ADE7758对第4、5、6路单相负载进行电参量的测量,并将电能计量芯片IC1′/ADE7758测得的电参量传给微处理器IC6′/MC9S08AW32,让微处理器IC6′/MC9S08AW32对loop2时间段内的电参量进行处理,在loop3的时间段内,微处理器IC6′/MC9S08AW32控制电子开关导通第7、8、9路单相负载电流I7、I8、I9,使电能计量芯片IC1′/ADE7758对第7、8、9路单相负载进行电参量的测量,并将电能计量芯片IC1′/ADE7758测得的电参量传给微处理器IC6′/MC9S08AW32,让微处理器IC6′/MC9S08AW32对loop3时间段内的电参量进行处理。这样,在整个采样周期T内,分别有1/3的时间对每路负载测量。由图13可以看出在整个采样周期T中,对于9路负载中的每路来说,有效的采样计量时间为T/3,其余2T/3的时间段内是空白的,即未对电流信号采样。故在计量电能时,整个周期T内,9路负载每路只是计量了T/3时间内的电能,因此要计量每路负载在总的周期T内的电能值,我们采用将T/3时间内计量得到的电能值乘以3倍,即第1路负载在T时间内总的电能为∑P1×t1×3,第2路负载在T时间内总的电能为∑P2×t1×3,第3路负载在T时间内总的电能为∑P3×t1×3,第4路负载在T时间内总的电能为∑P4×t2×3,第5路负载在T时间内总的电能为∑P5×t2×3,第6路负载在T时间内总的电能为∑P6×t2×3,7路负载在T时间内总的电能为∑P7×t3×3,第8路负载在T时间内总的电能为∑P8×t3×3,第9路负载在T时间内总的电能为∑P9×t3×3。每个周期T内,每路的电能都按照以上方式计量,然后再将各个周期T内的电能累加,则可以得到每路负载长时间的电能值。The whole sampling process is shown in Figure 13. In a complete sampling measurement cycle T, it is divided into three identical time periods t1, t2, and t3, corresponding to loop1, loop2, and loop3 respectively. During the period of loop1, the CPU controls the electronic switch to turn on the currents I1, I2, and I3 of the first, second, and third single-phase loads, so that the electric energy metering chip IC1′/ADE7758 controls the first, second, and third single-phase loads Carry out the measurement of electrical parameters, and transmit the electrical parameters measured by the electric energy metering chip IC1'/ADE7758 to the microprocessor IC6'/MC9S08AW32, and let the microprocessor IC6'/MC9S08AW32 process the electrical parameters in the loop1 time period, During the period of loop2, the microprocessor IC6'/MC9S08AW32 controls the electronic switch to turn on the currents I4, I5, and I6 of the 4th, 5th, and 6th single-phase loads, so that the electric energy metering chip IC1'/ADE7758 can control the currents of the 4th, 5th, and 6th single-phase loads. The 6-way single-phase load measures the electrical parameters, and transmits the electrical parameters measured by the energy metering chip IC1′/ADE7758 to the microprocessor IC6′/MC9S08AW32, so that the microprocessor IC6′/MC9S08AW32 can measure the electrical parameters in the loop2 time period The parameters are processed. During the time period of loop3, the microprocessor IC6'/MC9S08AW32 controls the electronic switch to turn on the 7th, 8th, and 9th single-phase load currents I7, I8, and I9, so that the electric energy metering chip IC1'/ADE7758 7, 8, and 9 single-phase loads measure the electrical parameters, and transmit the electrical parameters measured by the electric energy metering chip IC1′/ADE7758 to the microprocessor IC6′/MC9S08AW32, so that the microprocessor IC6′/MC9S08AW32 can compare the loop3 time The electrical parameters in the segment are processed. In this way, in the entire sampling period T, each load is measured for 1/3 of the time. It can be seen from Figure 13 that in the entire sampling period T, for each of the 9 loads, the effective sampling and measurement time is T/3, and the remaining 2T/3 time period is blank, that is, the current is not adjusted Signal sampling. Therefore, when measuring electric energy, in the whole period T, each of the 9 loads only measures the electric energy within T/3 time, so to measure the electric energy value of each load within the total period T, we use T/3 time The electric energy value obtained by internal measurement is multiplied by 3 times, that is, the total electric energy of the first load within T time is ΣP1×t1×3, and the total electric energy of the second load within T time is ΣP2×t1×3, The total electric energy of the third load within T time is ∑P3×t1×3, the total electric energy of the fourth load within T time is ∑P4×t2×3, and the total electric energy of the fifth load within T time is ∑P5×t2×3, the total electric energy of the 6th load within T time is ∑P6×t2×3, the total electric energy of the 7th load within T time is ∑P7×t3×3, the 8th load is at T The total electric energy within the time is ΣP8×t3×3, and the total electric energy of the ninth load within the time T is ΣP9×t3×3. In each cycle T, the electric energy of each circuit is measured according to the above method, and then the electric energy in each cycle T is accumulated, and the long-term electric energy value of each load can be obtained.

以上显示和描述了本实用新型的基本原理和主要特征和本实用新型的优点。本行业的技术人员应该了解,本实用新型不受上述实施例的限制,上述实施例和说明书中描述的只是说明本实用新型的原理,在不脱离本实用新型精神和范围的前提下,本实用新型还会有各种变化和改进,这些变化和改进都落入要求保护的本实用新型范围内。本实用新型要求保护范围由所附的权利要求书及其等效物界定。The basic principles and main features of the present utility model and the advantages of the present utility model have been shown and described above. Those skilled in the art should understand that the utility model is not limited by the above-mentioned embodiments. The above-mentioned embodiments and descriptions only illustrate the principle of the utility model. Without departing from the spirit and scope of the utility model, the utility model The new model also has various changes and improvements, and these changes and improvements all fall within the scope of the claimed utility model. The scope of protection required by the utility model is defined by the appended claims and their equivalents.

Claims (9)

1.一种低压配电领域多回路电能计量装置,包括复数个回路电流输入端、复数个高速信号切换开关、电能计量芯片和微处理器,其特征在于:所述回路电流输入端连接高速信号切换开关的信号输入端,高速信号切换开关的控制脚连接微处理器的控制脚,其信号输出端与电能计量芯片的电流通道相连,母线电压进入电能计量芯片的电压通道端,电能计量芯片和微处理器的SPI通讯端口连接在一起。1. A multi-loop electric energy metering device in the field of low-voltage power distribution, comprising a plurality of loop current input terminals, a plurality of high-speed signal switching switches, an electric energy metering chip and a microprocessor, characterized in that: the loop current input terminals are connected to high-speed signal The signal input end of the switch, the control pin of the high-speed signal switch is connected to the control pin of the microprocessor, the signal output end is connected to the current channel of the electric energy metering chip, the bus voltage enters the voltage channel end of the electric energy metering chip, the electric energy metering chip and The SPI communication ports of the microprocessors are connected together. 2.根据权利要求1所述的多回路电能计量装置,其特征在于:包括三相多回路电能计量装置和单相多回路电能计量装置。2. The multi-circuit electric energy metering device according to claim 1, characterized in that it comprises a three-phase multi-circuit electric energy metering device and a single-phase multi-circuit electric energy metering device. 3.根据权利要求1或2所述的多回路电能计量装置,其特征在于,电能计量装置设有监测开关状态的开关状态输入接口。3. The multi-circuit electric energy metering device according to claim 1 or 2, characterized in that the electric energy metering device is provided with a switch state input interface for monitoring the switch state. 4.根据权利要求1或2所述的多回路电能计量装置,其特征在于,电能计量装置设有一路开关量可编程越限报警输出接口。4. The multi-circuit electric energy metering device according to claim 1 or 2, characterized in that, the electric energy metering device is provided with an output interface for a programmable switching value exceeding a limit. 5.根据权利要求1或2所述的多回路电能计量装置,其特征在于,电能计量装置具有标准RS485接口,采用MODBUS-RTU协议对外进行数据通讯。5. The multi-circuit electric energy metering device according to claim 1 or 2, characterized in that the electric energy metering device has a standard RS485 interface, and uses the MODBUS-RTU protocol for external data communication. 6.根据权利要求1或2所述的多回路电能计量装置,其特征在于,电能计量装置设有保证存储安全的非易失性铁电随机存储器。6. The multi-circuit electric energy metering device according to claim 1 or 2, characterized in that the electric energy metering device is provided with a non-volatile ferroelectric random access memory to ensure safe storage. 7.根据权利要求1或2所述的多回路电能计量装置,其特征在于,所述回路电流输入端包括一个电流互感器、两个取样电阻和RC滤波电路,电流互感器的信号输出端通过取样电阻和RC滤波后接高速信号切换开关的信号输入端。7. The multi-loop electric energy metering device according to claim 1 or 2, wherein the loop current input terminal comprises a current transformer, two sampling resistors and an RC filter circuit, and the signal output terminal of the current transformer passes through The sampling resistor and RC filter are then connected to the signal input end of the high-speed signal switching switch. 8.根据权利要求1或2所述的多回路电能计量装置,其特征在于,母线电压通过电流型电压互感器、取样电阻和RC滤波电路接入电能计量芯片的电压监测端。8. The multi-circuit electric energy metering device according to claim 1 or 2, wherein the bus voltage is connected to the voltage monitoring terminal of the electric energy metering chip through a current-type voltage transformer, a sampling resistor and an RC filter circuit. 9.如权利要求1或2所述的多回路电能计量装置,其特征在于:所述高速信号切换开关的输出端连接成总线连接电能计量芯片的电流通道。9. The multi-circuit electric energy metering device according to claim 1 or 2, characterized in that: the output end of the high-speed signal switching switch is connected as a bus to connect the current channel of the electric energy metering chip.
CNU2007200687298U 2007-04-06 2007-04-06 Multi-loop electric energy metering device in low voltage distribution field Expired - Lifetime CN201053976Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNU2007200687298U CN201053976Y (en) 2007-04-06 2007-04-06 Multi-loop electric energy metering device in low voltage distribution field

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNU2007200687298U CN201053976Y (en) 2007-04-06 2007-04-06 Multi-loop electric energy metering device in low voltage distribution field

Publications (1)

Publication Number Publication Date
CN201053976Y true CN201053976Y (en) 2008-04-30

Family

ID=39393638

Family Applications (1)

Application Number Title Priority Date Filing Date
CNU2007200687298U Expired - Lifetime CN201053976Y (en) 2007-04-06 2007-04-06 Multi-loop electric energy metering device in low voltage distribution field

Country Status (1)

Country Link
CN (1) CN201053976Y (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103063912A (en) * 2013-01-06 2013-04-24 四川省电力公司达州电业局 Electric energy metering device
CN103728493A (en) * 2012-10-12 2014-04-16 苏州工业园区新宏博通讯科技有限公司 Multi-path single-phase and three-phase mixed electric energy metering device and method
TWI449922B (en) * 2011-12-20 2014-08-21 Inst Information Industry Electric power monitor device
CN104678166A (en) * 2015-03-26 2015-06-03 南京秦之邦科技有限公司 System for realizing multiple time-sharing electric energy calculation based on measurement chip
CN106199122A (en) * 2016-06-30 2016-12-07 广东雅达电子股份有限公司 A kind of electric quantity data combined method
CN106443552A (en) * 2016-07-27 2017-02-22 国网重庆市电力公司电力科学研究院 Line and method for simulating operation environment of metering box to switch power supply phases

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI449922B (en) * 2011-12-20 2014-08-21 Inst Information Industry Electric power monitor device
CN103728493A (en) * 2012-10-12 2014-04-16 苏州工业园区新宏博通讯科技有限公司 Multi-path single-phase and three-phase mixed electric energy metering device and method
CN103728493B (en) * 2012-10-12 2016-09-14 苏州新宏博智能科技股份有限公司 Multichannel list three-phase uses electric energy gauging method with
CN103063912A (en) * 2013-01-06 2013-04-24 四川省电力公司达州电业局 Electric energy metering device
CN104678166A (en) * 2015-03-26 2015-06-03 南京秦之邦科技有限公司 System for realizing multiple time-sharing electric energy calculation based on measurement chip
CN106199122A (en) * 2016-06-30 2016-12-07 广东雅达电子股份有限公司 A kind of electric quantity data combined method
CN106199122B (en) * 2016-06-30 2019-01-18 广东雅达电子股份有限公司 A kind of electricity data combined method
CN106443552A (en) * 2016-07-27 2017-02-22 国网重庆市电力公司电力科学研究院 Line and method for simulating operation environment of metering box to switch power supply phases
CN106443552B (en) * 2016-07-27 2019-03-01 国网重庆市电力公司电力科学研究院 A kind of analog metering box operating environment to switch circuit and method of electricity phase

Similar Documents

Publication Publication Date Title
CN201053976Y (en) Multi-loop electric energy metering device in low voltage distribution field
CN103149546B (en) The field integrated tester of a kind of portable electric energy measuring terminal
CN204166050U (en) Can the anti-electricity-theft intelligent power gauging table of remote meter reading
CN102435838A (en) A basic power type energy efficiency data acquisition terminal
CN203216988U (en) Multifunctional electric power meter
CN104991482A (en) Dual transformation ratio metering intelligent controlling device and control mode thereof
CN102436733A (en) A thermal power type energy efficiency data acquisition terminal
CN204992761U (en) Electric energy quality is synthesized and is observed and controled appearance
CN106531269B (en) Modular digitizes core measuring device
CN103777046A (en) Intelligent control device for multi-transformation ratio current transformer
CN207339416U (en) A kind of energy management complexes
CN206638708U (en) A kind of three-phase power parameter real time monitoring system
CN202373130U (en) Thermal electric quantity type energy efficiency data acquisition terminal
CN102506932A (en) Thermodynamic type energy-efficiency data acquisition terminal
CN207069550U (en) A kind of Digital Relay Protection Appliance
CN203433041U (en) An electric energy meter provided with a communication function
CN206490426U (en) A kind of digital line protection measure and control device
CN101109774A (en) Three-phase multiple loop monitoring device and implementing method thereof
CN212159933U (en) Ammeter based on RS485 data routing sharing
Yuan et al. Research of bi-directional smart metering system for EV charging station based on ZigBee communication
CN104502772A (en) Electrical parameter monitoring device and intelligent switch cabinet
CN207664628U (en) A kind of multi-machine parallel connection coupling device of Static Var Compensator
CN204439736U (en) A kind of electrical quantity monitoring equipment and intelligent switchboard
CN206906475U (en) Three ammeters of expandable type
CN107611793A (en) A kind of Intelligent lower voltage switch cabinet

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: SHANHAI ANKERUI ELECTRIC INC.

Free format text: FORMER NAME: SHANGHAI ACREL CO., LTD.

CP03 Change of name, title or address

Address after: 201801 Jiading District Green Road, No. 253, Shanghai

Patentee after: Shanghai Acrel Electric Co., Ltd.

Address before: Jiading District Industrial Park brown square bridge hund 201801 Shanghai City No. 99

Patentee before: Shanghai Acrel Co., Ltd.

C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: 201801 Jiading District Green Road, No. 253, Shanghai

Patentee after: ACREL CO., LTD.

Address before: 201801 Jiading District Green Road, No. 253, Shanghai

Patentee before: Shanghai Acrel Electric Co., Ltd.

CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20080430