CN206773040U - A kind of intelligent electric energy meter - Google Patents
A kind of intelligent electric energy meter Download PDFInfo
- Publication number
- CN206773040U CN206773040U CN201720536268.6U CN201720536268U CN206773040U CN 206773040 U CN206773040 U CN 206773040U CN 201720536268 U CN201720536268 U CN 201720536268U CN 206773040 U CN206773040 U CN 206773040U
- Authority
- CN
- China
- Prior art keywords
- pins
- circuit
- chip
- chip microcomputer
- pin
- 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 - Fee Related
Links
Landscapes
- Photometry And Measurement Of Optical Pulse Characteristics (AREA)
Abstract
Description
技术领域technical field
本实用新型涉及电子仪表技术领域,更为具体来说,本实用新型涉及一种智能电能表。The utility model relates to the technical field of electronic instruments, more specifically, the utility model relates to an intelligent electric energy meter.
背景技术Background technique
现有的电能表功能单一,供电公司在进行电量采集时,必须要到每家每户查看电表,这种传统方式极大地浪费了人力资源;当用户欠费时,也必须人工到用户家进行断电;用户交完电费之后,也必须人工到用户现场进行送电操作。换言之,传统电能表必须要依靠较大的人力投入才能完成电能表的计量结果获取、计费等功能,而且传统电能表自身工作的可靠性也难以保障。The existing electric energy meter has a single function. When the power supply company collects electricity, it must go to each household to check the electric meter. This traditional method greatly wastes human resources; Power outage; after the user pays the electricity bill, he must manually go to the user's site to perform the power transmission operation. In other words, the traditional electric energy meter must rely on a large amount of manpower to complete the functions of obtaining the metering results and billing of the electric energy meter, and the reliability of the traditional electric energy meter itself is difficult to guarantee.
因此,如何丰富电能表的功能、提高电能表的智能化水平、减少供电公司人工投入成本,已成为了本领域技术人员亟待解决的技术问题和始终研究的重点。Therefore, how to enrich the functions of the electric energy meter, improve the intelligence level of the electric energy meter, and reduce the labor input cost of the power supply company has become a technical problem to be solved urgently and the focus of research by those skilled in the art.
实用新型内容Utility model content
为解决现有电能表功能单一、智能化水平低、人工投入成本大等技术问题,本实用新型提供了一种智能电能表,通过科学、合理的智能芯片的搭接方式,使得本实用新型的电能表具有智能化水平高、功能丰富等突出优点,从而极大地降低了人工成本的投入。In order to solve the technical problems of the existing electric energy meter such as single function, low intelligence level, and high labor input cost, the utility model provides an intelligent electric energy meter. The energy meter has outstanding advantages such as high level of intelligence and rich functions, which greatly reduces the labor cost.
本实用新型公开了一种智能电能表,该电能表包括微处理器,该电能表还包括分别与所述微处理器连接的电源异常检测电路、液晶显示电路、RS485通信电路、载波通信电路、数据存储电路、电源电路、电能计量电路、红外通信电路、继电器控制电路、蜂鸣器电路、按键接口电路;所述电能计量电路包括电压采样电路和电流采样电路。The utility model discloses an intelligent electric energy meter, which includes a microprocessor, and the electric energy meter also includes a power supply abnormality detection circuit, a liquid crystal display circuit, an RS485 communication circuit, a carrier communication circuit, A data storage circuit, a power supply circuit, an electric energy metering circuit, an infrared communication circuit, a relay control circuit, a buzzer circuit, and a button interface circuit; the electric energy metering circuit includes a voltage sampling circuit and a current sampling circuit.
相对于传统电能表,本实用新型的智能电能表用于电网运行管理,具有电能采集、红外通信、RS485通信、载波通信、数据存储、异常检测等多种功能,用户或者电力公司可通过远程通信的方式获取电量使用情况,从而极大地降低了人力成本,本实用新型还提高了电能表自身工作的可靠性。Compared with the traditional electric energy meter, the smart electric energy meter of the utility model is used for power grid operation management, and has various functions such as electric energy collection, infrared communication, RS485 communication, carrier communication, data storage, abnormality detection, etc. The utility model also improves the reliability of the electric energy meter itself.
进一步地,所述微处理器包括型号为FM3318C的单片机,所述单片机具有80个管脚,所述单片机的Xin管脚和Xout管脚分别连接一个晶振的两端。Further, the microprocessor includes a single-chip microcomputer modeled as FM3318C, and the single-chip microcomputer has 80 pins, and the Xin pin and the Xout pin of the single-chip microcomputer are respectively connected to two ends of a crystal oscillator.
进一步地,所述电能计量电路包括型号为RN8209C的计量芯片,所述计量芯片的RX管脚串联一个反向设置的光电耦合器后连接所述单片机的TXD3/SEG5/exINT4/IO13管脚,所述计量芯片的TX管脚串联一个正向设置的光电耦合器后连接所述单片机的RXD3/SEG4/exINT3/IO12管脚;所述计量芯片的V3P管脚连接所述电压采集电路,所述电流采样电路包括第一电流采样电路和第二电流采样电路,所述计量芯片的V1P、V1N管脚连接第一电流采样电路,所述计量芯片的V2P、V2N管脚连接第二电流采样电路;所述计量芯片的OSCO管脚连接外部晶振电路。Further, the electric energy metering circuit includes a metering chip of the model RN8209C, the RX pin of the metering chip is connected in series with a photocoupler set in reverse and then connected to the TXD3/SEG5/exINT4/IO13 pin of the single-chip microcomputer, so The TX pin of the metering chip is connected to the RXD3/SEG4/exINT3/IO12 pin of the single-chip microcomputer in series with a positive photocoupler; the V3P pin of the metering chip is connected to the voltage acquisition circuit, and the current The sampling circuit includes a first current sampling circuit and a second current sampling circuit, the V1P and V1N pins of the metering chip are connected to the first current sampling circuit, and the V2P and V2N pins of the metering chip are connected to the second current sampling circuit; The OSCO pin of the metering chip is connected to an external crystal oscillator circuit.
本实用新型通过上述的计量芯片和单片机完成电能的采集、计量、电能信号转换和处理等功能。The utility model completes functions such as electric energy collection, measurement, electric energy signal conversion and processing through the above-mentioned metering chip and single-chip microcomputer.
进一步地,所述液晶显示电路包括具有29个管脚的LCD灯,所述LCD灯的29个管脚分别与所述单片机的EXOUT2/SEG16/P30/IO30管脚、SEG17/P31/IO31管脚、TM1/SEG18/P32/IO32管脚、TIMER0/SEG22/IO43管脚、TIMER1/SEG23/IO44管脚、AN2/TIMER0gate/SEG25/IO47管脚、AN/3TIMER1gate/SEG26/IO50管脚、SVS0/AN4/SEG27/IO51管脚、SVS1/AN5/SEG28/IO52管脚、AN6/SEG29/IO53管脚、AN7/SEG30/IO54管脚、AN8/SEG31/IO55管脚、AN10/SEG33/IO57管脚、AN11/SEG40/IO90管脚、SEG35/P27/IO87管脚、SEG34/P26/IO86管脚、FOUT/SEG37/IO71管脚、SEG3/INT1/IO11管脚、SEG6/exINT5/IO72管脚、SEG7/exINT6/IO73管脚、PCACOMP1/SEG11/P13/IO23管脚、EXIN4/SEG12/P14/IO24管脚、EXIN3/SEG13/P15/IO25管脚、COM0/IO00管脚、COM1/IO01管脚、COM2/IO02管脚、COM3/IO03管脚、COM4/SEG38/IO04管脚、CO5/SEG39/IO05管脚连接。Further, the liquid crystal display circuit includes an LCD light with 29 pins, and the 29 pins of the LCD light are respectively connected to the EXOUT2/SEG16/P30/IO30 pins and SEG17/P31/IO31 pins of the single-chip microcomputer. , TM1/SEG18/P32/IO32 pins, TIMER0/SEG22/IO43 pins, TIMER1/SEG23/IO44 pins, AN2/TIMER0gate/SEG25/IO47 pins, AN/3TIMER1gate/SEG26/IO50 pins, SVS0/AN4 /SEG27/IO51 pins, SVS1/AN5/SEG28/IO52 pins, AN6/SEG29/IO53 pins, AN7/SEG30/IO54 pins, AN8/SEG31/IO55 pins, AN10/SEG33/IO57 pins, AN11 /SEG40/IO90 pins, SEG35/P27/IO87 pins, SEG34/P26/IO86 pins, FOUT/SEG37/IO71 pins, SEG3/INT1/IO11 pins, SEG6/exINT5/IO72 pins, SEG7/exINT6 /IO73 pin, PCACOMP1/SEG11/P13/IO23 pin, EXIN4/SEG12/P14/IO24 pin, EXIN3/SEG13/P15/IO25 pin, COM0/IO00 pin, COM1/IO01 pin, COM2/IO02 Pin, COM3/IO03 pin, COM4/SEG38/IO04 pin, CO5/SEG39/IO05 pin connection.
基于上述连接方式,液晶显示电路与微处理器之间建立信息交换通道,用于显示电测量结果等数据,并可在此方案的基础上独立设计大屏幕LCD,从而达到可视范围宽、丰富显示内容等目的。Based on the above connection method, an information exchange channel is established between the liquid crystal display circuit and the microprocessor to display data such as electrical measurement results, and a large-screen LCD can be independently designed on the basis of this scheme, so as to achieve a wide visual range and rich For the purpose of displaying content, etc.
进一步地,所述数据存储电路包括型号为FM24C512的存储器,所述存储器的SCL管脚连接所述单片机的SCL/P06/IO16管脚,所述存储器的SDA管脚连接所述单片机的SDA/P07/IO17管脚。Further, the data storage circuit includes a memory model of FM24C512, the SCL pin of the memory is connected to the SCL/P06/IO16 pin of the single-chip microcomputer, and the SDA pin of the memory is connected to the SDA/P07 of the single-chip microcomputer /IO17 pin.
通过上述的存储器,本实用新型能够对结果数据和中间数据进行存储,方便用户或电力公司实时或后期的获取和调用。Through the above-mentioned memory, the utility model can store the result data and intermediate data, which is convenient for users or power companies to obtain and call in real time or later.
进一步地,所述RS485通信电路包括型号为ECH485NE的通讯芯片,所述通讯芯片的RE管脚和DE管脚相连,所述通讯芯片的RE管脚串联一个反向设置的光电耦合器后连接所述单片机的TDI/RXD1/IO62管脚,所述通讯芯片的RO管脚串联一个正向设置的光电耦合器后连接所述单片机的RXD1/SEG0/IO06管脚,所述通讯芯片的DI管脚串联一个反向设置的光电耦合器后连接所述单片机的TXD1/SEG1/IO07管脚。Further, the RS485 communication circuit includes a communication chip of the model ECH485NE, the RE pin of the communication chip is connected to the DE pin, and the RE pin of the communication chip is connected in series with a photocoupler arranged in reverse and then connected to the The TDI/RXD1/IO62 pin of the single-chip microcomputer, the RO pin of the communication chip is connected to the RXD1/SEG0/IO06 pin of the single-chip microcomputer in series with a positive photocoupler, and the DI pin of the communication chip A photocoupler set in reverse is connected in series to the TXD1/SEG1/IO07 pin of the single-chip microcomputer.
进一步地,所述电源电路包括依次串联的降压电路、整流电路、滤波电路及稳压电路,所述降压电路与220V交流电源连接,所述稳压电路与微处理器连接;所述电源异常检测电路包括一个光电耦合器,所述光电耦合器一端与220V交流电源的零线连接、另一端与两个并联电阻的公共端连接,两个并联电阻分别与所述单片机的OSCIN/IO60管脚和OSCOUT/IO61连接。Further, the power supply circuit includes a step-down circuit, a rectifier circuit, a filter circuit and a voltage stabilizing circuit connected in series in sequence, the step-down circuit is connected to a 220V AC power supply, and the voltage stabilizing circuit is connected to a microprocessor; the power supply The abnormal detection circuit includes a photocoupler, one end of the photocoupler is connected to the zero line of the 220V AC power supply, and the other end is connected to the common end of two parallel resistors, and the two parallel resistors are connected to the OSCIN/IO60 tube of the single chip microcomputer respectively. The pin is connected to OSCOUT/IO61.
本实用新型通过电源电路实现对单片机甚至整个电路进行供电,使整个智能电能表电路正常工作。The utility model realizes the power supply to the single chip microcomputer and even the whole circuit through the power supply circuit, so that the whole intelligent electric energy meter circuit can work normally.
进一步地,所述红外通信电路包括型号为HM238R的红外线接收器和型号为MMBT5401的三极管,所述红外线接收器的ROUT管脚连接所述单片机的RXD0/P04/IO14管脚,所述三极管的基极串联一个电阻后连接所述单片机的TXD0/P0/IO15管脚。Further, the infrared communication circuit includes an infrared receiver model HM238R and a triode model MMBT5401, the ROUT pin of the infrared receiver is connected to the RXD0/P04/IO14 pin of the single-chip microcomputer, and the base of the triode A resistor is connected in series with the TXD0/P0/IO15 pin of the single-chip microcomputer.
进一步地,所述载波通信电路包括型号为TCC082C的载波芯片,所述载波芯片的TXD管脚串联一个电阻后连接所述单片机的RXD2/P36/IO36管脚,所述载波芯片的RXD管脚串联一个电阻后连接所述单片机的TXD2/P37/IO37管脚,所述载波芯片的EVENTOUT管脚串联一个电阻后连接所述单片机的PCACOMP4/SEG21/P35/IO35管脚,所述载波芯片的RST管脚串联一个电阻后连接所述单片机的PCACOMP3/SEG20/P34/IO34管脚。Further, the carrier communication circuit includes a carrier chip of the model TCC082C, the TXD pin of the carrier chip is connected to the RXD2/P36/IO36 pin of the single-chip microcomputer after a resistor is connected in series, and the RXD pin of the carrier chip is connected in series After connecting a resistor to the TXD2/P37/IO37 pin of the single-chip microcomputer, the EVENTOUT pin of the carrier chip is connected in series with a resistor to the PCACOMP4/SEG21/P35/IO35 pin of the single-chip microcomputer, and the RST tube of the carrier chip The pin is connected to the PCACOMP3/SEG20/P34/IO34 pin of the single-chip microcomputer after a resistor is connected in series.
基于上述单片机和具有通信功能的芯片,本实用新型涉及的智能电能表具有包括载波通信、红外通信、RS485通信在内的多种双向数据通信功能,通过与微处理器建立的双向信息交换通道,完成电表数据信息的传输功能。Based on the above single-chip microcomputer and the chip with communication function, the smart energy meter involved in the utility model has multiple two-way data communication functions including carrier communication, infrared communication, and RS485 communication. Through the two-way information exchange channel established with the microprocessor, Complete the transmission function of the meter data information.
进一步地,所述按键接口电路包括第一按键和第二按键,所述第一按键一端接地、另一端串联一个电阻后连接所述单片机的AN0/I45管脚,所述第二按键串联一个电阻后连接所述单片机的AN1/SEG24/IO46管脚;通过按键接口电路完成键显及参数设置功能。所述蜂鸣器电路包括一个三极管和一个蜂鸣器,所述三极管的集电极连接蜂鸣器、基极串联一个电阻后连接所述单片机的PCACOMP2/SEG19/P33/IO33管脚,通过蜂鸣器实现对电能表工作状态的提醒;所述继电器控制电路包括型号为AL868的继电器驱动芯片,所述继电器驱动芯片的A管脚串联一个电阻后连接所述单片机的VDISP1/P21/IO81管脚,所述继电器驱动芯片的B管脚串联一个电阻后连接所述单片机的VDISP0/P20/IO80管脚,本实用新型通过继电器控制电路达到自动调节、安全保护、转换电路等目的。Further, the button interface circuit includes a first button and a second button, one end of the first button is grounded, the other end is connected to the ANO/I45 pin of the single-chip microcomputer after being connected in series with a resistor, and the second button is connected in series with a resistor Then connect the AN1/SEG24/IO46 pins of the single-chip microcomputer; complete the key display and parameter setting functions through the key interface circuit. The buzzer circuit includes a triode and a buzzer, the collector of the triode is connected to the buzzer, the base is connected to the PCACOMP2/SEG19/P33/IO33 pin of the single-chip microcomputer after a resistor is connected in series, and the buzzer The device realizes the reminder of the working state of the electric energy meter; the relay control circuit includes a relay driver chip with a model number of AL868, and the A pin of the relay driver chip is connected in series with a resistor to the VDISP1/P21/IO81 pin of the single-chip microcomputer, The B pin of the relay driver chip is connected in series with a resistor to the VDISP0/P20/IO80 pin of the single-chip microcomputer. The utility model achieves the purposes of automatic adjustment, safety protection, conversion circuit and the like through the relay control circuit.
本实用新型的有益效果为:本实用新型具有功能齐全、设计合理、结构紧凑、集成度高、精度高、功耗低、性能稳定等突出优点,从而极大地降低了人工投入,可广泛地用于电网运行和工业自动化管理。The beneficial effects of the utility model are: the utility model has outstanding advantages such as complete functions, reasonable design, compact structure, high integration, high precision, low power consumption, stable performance, etc., thereby greatly reducing labor input, and can be widely used in power grid operation and industrial automation management.
附图说明Description of drawings
图1为智能电能表工作原理示意图。Figure 1 is a schematic diagram of the working principle of the smart electric energy meter.
图2为微处理器结构示意图。Figure 2 is a schematic diagram of the structure of the microprocessor.
图3为电能计量电路结构示意图。Figure 3 is a schematic diagram of the electric energy metering circuit structure.
图4为液晶显示电路结构示意图。FIG. 4 is a schematic structural diagram of a liquid crystal display circuit.
图5为数据存储电路结构示意图。FIG. 5 is a schematic structural diagram of a data storage circuit.
图6为RS485通信电路结构示意图。Figure 6 is a schematic diagram of the structure of the RS485 communication circuit.
图7为电源电路结构示意图。Fig. 7 is a schematic diagram of the structure of the power supply circuit.
图8为电源异常检测电路结构示意图。FIG. 8 is a schematic structural diagram of a power supply abnormality detection circuit.
图9为红外通信电路结构示意图。FIG. 9 is a schematic structural diagram of an infrared communication circuit.
图10为载波通信电路结构示意图。Fig. 10 is a schematic structural diagram of a carrier communication circuit.
图11为按键接口电路结构示意图。Fig. 11 is a schematic structural diagram of the button interface circuit.
图12为蜂鸣器电路结构示意图。Figure 12 is a schematic structural diagram of the buzzer circuit.
图13为继电器控制电路结构示意图。Fig. 13 is a schematic diagram of the structure of the relay control circuit.
图中,In the figure,
1、电源异常检测电路;2、液晶显示电路;3、RS485通信电路;4、载波通信电路;5、微处理器;6、数据存储电路;7、电源电路;8、电能计量电路;9、红外通信电路;10、继电器控制电路;11、蜂鸣器电路;12、按键接口电路。1. Abnormal power supply detection circuit; 2. Liquid crystal display circuit; 3. RS485 communication circuit; 4. Carrier communication circuit; 5. Microprocessor; 6. Data storage circuit; 7. Power supply circuit; 8. Electric energy metering circuit; 9. Infrared communication circuit; 10. Relay control circuit; 11. Buzzer circuit; 12. Button interface circuit.
具体实施方式detailed description
下面结合说明书附图对本实用新型的结构进行详细的解释和说明。Below in conjunction with accompanying drawing, the structure of the present utility model is explained and illustrated in detail.
如图1-13所示,本实用新型公开了一种智能电能表,该电能表包括微处理器5,该电能表还包括分别与微处理器5连接的电源异常检测电路1、液晶显示电路2、RS485通信电路3、载波通信电路4、数据存储电路6、电源电路7、电能计量电路8、红外通信电路9、继电器控制电路10、蜂鸣器电路11、按键接口电路12;其中,电能计量电路8包括电压采样电路和电流采样电路。不仅如此,在电能表产品结构方面,目前的电能表通常使用锂电池,锂电池在运行一段时间后,部分锂电池内部电能消耗殆尽,导致电表时钟错误,对电量结算造成影响。本实用新型单独设计外置的电池盒,电池盒设于智能电能表壳体的电池仓内,将锂电池安装于外置电池盒中,当锂电池电能耗尽时,打开电能表透明盖板,可看到电池盒,向外拉出电池盒后,旋转电池盒盖后拆下锂电池,然后更换锂电池后旋转电池盒盖、完成锂电池的安装,再将电池盒推入至电池仓,关闭电能表透明盖板,完成对锂电池的更换。因而本实用新型可在不拆电能表的情况下,打开电能表盖板、更换电池,省去了现场更换电能表的时间。As shown in Figure 1-13, the utility model discloses a smart electric energy meter, which includes a microprocessor 5, and the electric energy meter also includes a power supply anomaly detection circuit 1 and a liquid crystal display circuit respectively connected to the microprocessor 5 2. RS485 communication circuit 3, carrier communication circuit 4, data storage circuit 6, power supply circuit 7, electric energy metering circuit 8, infrared communication circuit 9, relay control circuit 10, buzzer circuit 11, key interface circuit 12; The metering circuit 8 includes a voltage sampling circuit and a current sampling circuit. Not only that, in terms of product structure of electric energy meters, current electric energy meters usually use lithium batteries. After the lithium batteries have been running for a period of time, some of the internal power of the lithium batteries will be exhausted, resulting in an error in the clock of the electric meter, which will affect the power balance. The utility model separately designs an external battery box, the battery box is set in the battery compartment of the intelligent electric energy meter housing, and the lithium battery is installed in the external battery box, when the lithium battery power is exhausted, open the transparent cover of the electric energy meter , you can see the battery box, pull out the battery box, rotate the battery box cover and remove the lithium battery, then replace the lithium battery, rotate the battery box cover, complete the installation of the lithium battery, and then push the battery box into the battery compartment , close the transparent cover of the energy meter to complete the replacement of the lithium battery. Therefore, the utility model can open the cover plate of the electric energy meter and replace the battery without dismantling the electric energy meter, which saves the time for replacing the electric energy meter on site.
如图1-2所示,微处理器5包括型号为FM3318C的单片机,该单片机集成度高、资源丰富、具有80个管脚,该芯片具有16位增强型80251的处理器内核、128KB程序存储器、5KBRAM,且该芯片的内部集成LCD驱动、RTC实时时钟、ADC及UART、I2C、SPI、7816等通用外设接口,本实施例中,单片机的Xin管脚和Xout管脚分别连接一个晶振X1的两端,为单片机提供工作的时钟。该单片机通过UART通信接口连接电压采样电路和电流采样电路,通过I2C接口与数据存储电路6连接。As shown in Figure 1-2, the microprocessor 5 includes a single-chip microcomputer model FM3318C, which is highly integrated, rich in resources, and has 80 pins. The chip has a 16-bit enhanced 80251 processor core and a 128KB program memory. , 5KBRAM, and the internal integrated LCD driver, RTC real-time clock, ADC and UART, I 2 C, SPI, 7816 and other general peripheral interfaces of the chip, in this embodiment, the Xin pin and the Xout pin of the single-chip microcomputer are respectively connected to a The two ends of the crystal oscillator X1 provide the working clock for the microcontroller. The single chip microcomputer is connected to the voltage sampling circuit and the current sampling circuit through the UART communication interface, and is connected to the data storage circuit 6 through the I 2 C interface.
如图1-3所示,电能计量电路8包括型号为RN8209C的计量芯片,该计量芯片是一种高精度单相电能专用计量芯片,能够测量有功功率、无功功率、有功能量、无功能量,并能同时提供两路独立的有功功率、有效值、电压有效值、线频率、过零中断等计算功能,从而实现本实用新型的单相费控功能,本实施例中,如图3所示,电流采样电路主要由锰铜分流器、电容及电阻构成;电压采样电路由电阻分压网路和滤波电路组成;本实用新型首先通过对电压信号和电流信号进行高精度取样和放大,然后电流和电压的采样信号输出进入计量处理电路进行处理得到需要的数字信号,将数字信号送入至微处理器5、通过微处理器5进行电能累计处理得到需要的电测量值,从而完成数据的读取和数据显示等功能。更为具体地,计量芯片的RX管脚串联一个反向设置的光电耦合器U17后连接单片机的TXD3/SEG5/exINT4/IO13管脚,计量芯片的TX管脚串联一个正向设置的光电耦合器U23后连接单片机的RXD3/SEG4/exINT3/IO12管脚;计量芯片的V3P管脚连接电压采集电路,电流采样电路包括第一电流采样电路和第二电流采样电路,计量芯片的V1P、V1N管脚连接第一电流采样电路,计量芯片的V2P、V2N管脚连接第二电流采样电路;计量芯片的OSCO管脚连接外部晶振电路,外部晶振电路为计量芯片提供工作时钟。As shown in Figure 1-3, the electric energy metering circuit 8 includes a metering chip with a model number of RN8209C, which is a special metering chip for high-precision single-phase electric energy, capable of measuring active power, reactive power, active energy, and reactive power. , and can provide two independent active power, effective value, voltage effective value, line frequency, zero-crossing interruption and other calculation functions at the same time, so as to realize the single-phase cost control function of the utility model. In this embodiment, as shown in Figure 3 As shown, the current sampling circuit is mainly composed of manganin shunts, capacitors and resistors; the voltage sampling circuit is composed of a resistor divider network and a filter circuit; the utility model firstly performs high-precision sampling and amplification of voltage signals and current signals, Then the sampling signal output of current and voltage enters the metering processing circuit for processing to obtain the required digital signal, sends the digital signal to the microprocessor 5, and performs electric energy accumulation processing through the microprocessor 5 to obtain the required electrical measurement value, thereby completing the data functions such as reading and data display. More specifically, the RX pin of the metering chip is connected to the TXD3/SEG5/exINT4/IO13 pin of the microcontroller in series with a photocoupler U17 set in reverse, and the TX pin of the metering chip is connected in series with a photocoupler set in the forward direction U23 is connected to the RXD3/SEG4/exINT3/IO12 pin of the microcontroller; the V3P pin of the metering chip is connected to the voltage acquisition circuit, the current sampling circuit includes the first current sampling circuit and the second current sampling circuit, and the V1P and V1N pins of the metering chip Connect the first current sampling circuit, the V2P and V2N pins of the metering chip are connected to the second current sampling circuit; the OSCO pin of the metering chip is connected to the external crystal oscillator circuit, and the external crystal oscillator circuit provides the working clock for the metering chip.
如图1-4所示,液晶显示电路2包括具有29个管脚的LCD灯,该LCD灯的型号为DKE1326,更为具体地,本实施例中的LCD灯的29个管脚分别与单片机的EXOUT2/SEG16/P30/IO30管脚、SEG17/P31/IO31管脚、TM1/SEG18/P32/IO32管脚、TIMER0/SEG22/IO43管脚、TIMER1/SEG23/IO44管脚、AN2/TIMER0gate/SEG25/IO47管脚、AN/3TIMER1gate/SEG26/IO50管脚、SVS0/AN4/SEG27/IO51管脚、SVS1/AN5/SEG28/IO52管脚、AN6/SEG29/IO53管脚、AN7/SEG30/IO54管脚、AN8/SEG31/IO55管脚、AN10/SEG33/IO57(BUF4TST)管脚、AN11/SEG40/IO90管脚、SEG35/P27/IO87管脚、SEG34/P26/IO86管脚、FOUT/SEG37/IO71管脚、SEG3/INT1/IO11管脚、SEG6/exINT5/IO72管脚、SEG7/exINT6/IO73管脚、PCACOMP1/SEG11/P13/IO23管脚、EXIN4/SEG12/P14/IO24管脚、EXIN3/SEG13/P15/IO25管脚、COM0/IO00管脚、COM1/IO01管脚、COM2/IO02管脚、COM3/IO03管脚、COM4/SEG38/IO04管脚、CO5/SEG39/IO05管脚连接,从而实现通过LCD灯显示数据的目的。As shown in Figures 1-4, the liquid crystal display circuit 2 includes an LCD lamp with 29 pins, and the model of the LCD lamp is DKE1326. More specifically, the 29 pins of the LCD lamp in this embodiment are respectively connected to the microcontroller EXOUT2/SEG16/P30/IO30 pins, SEG17/P31/IO31 pins, TM1/SEG18/P32/IO32 pins, TIMER0/SEG22/IO43 pins, TIMER1/SEG23/IO44 pins, AN2/TIMER0gate/SEG25 /IO47 pin, AN/3TIMER1gate/SEG26/IO50 pin, SVS0/AN4/SEG27/IO51 pin, SVS1/AN5/SEG28/IO52 pin, AN6/SEG29/IO53 pin, AN7/SEG30/IO54 pin , AN8/SEG31/IO55 pins, AN10/SEG33/IO57 (BUF4TST) pins, AN11/SEG40/IO90 pins, SEG35/P27/IO87 pins, SEG34/P26/IO86 pins, FOUT/SEG37/IO71 tubes pin, SEG3/INT1/IO11 pin, SEG6/exINT5/IO72 pin, SEG7/exINT6/IO73 pin, PCACOMP1/SEG11/P13/IO23 pin, EXIN4/SEG12/P14/IO24 pin, EXIN3/SEG13/ P15/IO25 pins, COM0/IO00 pins, COM1/IO01 pins, COM2/IO02 pins, COM3/IO03 pins, COM4/SEG38/IO04 pins, CO5/SEG39/IO05 pins are connected, so as to realize through The LCD light shows the purpose of the data.
如图1-5所示,数据存储电路6包括型号为FM24C512的存储器,存储器的SCL管脚连接单片机的SCL/P06/IO16管脚,SCL管脚串联电阻R36后接单片机的VDDPI管脚,存储器的SDA管脚连接单片机的SDA/P07/IO17管脚,SDA管脚串联电阻R35后接单片机的VDDPI管脚,存储器的VCC管脚直接连接单片机的VDDPI管脚,存储器的VSS管脚、A0管脚、A1管脚、A2管脚、WP管脚接电源。本实用新型通过数据存储电路6对单片机处理后产生的电量累计等数据进行存储。As shown in Figure 1-5, the data storage circuit 6 includes a memory of the type FM24C512, the SCL pin of the memory is connected to the SCL/P06/IO16 pin of the microcontroller, and the SCL pin is connected to the VDDPI pin of the microcontroller in series with a resistor R36. The SDA pin of the SDA pin is connected to the SDA/P07/IO17 pin of the single-chip microcomputer, and the SDA pin is connected to the VDDPI pin of the single-chip microcomputer in series with a resistor R35. The VCC pin of the memory is directly connected to the VDDPI pin of the single-chip microcomputer, and the VSS pin of the memory Pin, A1 pin, A2 pin, WP pin are connected to the power supply. The utility model uses the data storage circuit 6 to store data such as power accumulation generated after processing by the single-chip microcomputer.
如图1-6所示,RS485通信电路3包括型号为ECH485NE的通讯芯片,通讯芯片的RE管脚和DE管脚相连,通讯芯片的RE管脚串联一个反向设置的光电耦合器D12后连接单片机的TDI/RXD1/IO62管脚,通讯芯片的RO管脚串联一个正向设置的光电耦合器D14后连接单片机的RXD1/SEG0/IO06管脚,通讯芯片的DI管脚串联一个反向设置的光电耦合器D13后连接单片机的TXD1/SEG1/IO07管脚。RS485通信电路3与单片机之间建立双向信息交换通道,单片机通过UART串行总线与RS485通信电路3之间进行数据交换,并通过RS485通信电路3将数据发送至主站。As shown in Figure 1-6, the RS485 communication circuit 3 includes a communication chip of the model ECH485NE, the RE pin of the communication chip is connected to the DE pin, and the RE pin of the communication chip is connected in series with a reversely set photocoupler D12. The TDI/RXD1/IO62 pin of the single-chip microcomputer, the RO pin of the communication chip is connected in series with a photocoupler D14 set in the forward direction, and then connected to the RXD1/SEG0/IO06 pin of the single-chip microcomputer, and the DI pin of the communication chip is connected in series with a reversely set photocoupler The photocoupler D13 is connected to the TXD1/SEG1/IO07 pin of the microcontroller. A two-way information exchange channel is established between the RS485 communication circuit 3 and the single-chip computer, and the single-chip computer performs data exchange with the RS485 communication circuit 3 through the UART serial bus, and sends the data to the master station through the RS485 communication circuit 3 .
如图1-8所示,具体地,如图2、7所示,电源电路7包括依次串联的降压电路、整流电路、滤波电路及稳压电路,降压电路包括用于降压的变压器,降压电路与220V交流电源连接,获得的电源经过整流、滤波、稳压处理,稳压电路与微处理器5连接,从而实现为整个电路的各个电源接口供电;如图2、8所示,电源异常检测电路1包括一个光电耦合器,光电耦合器一端与220V交流电源的零线连接、另一端与两个并联电阻R99、R100的公共端连接,两个并联电阻分别与单片机的OSCIN/IO60管脚和OSCOUT/IO61连接。As shown in Figures 1-8, specifically, as shown in Figures 2 and 7, the power supply circuit 7 includes a step-down circuit, a rectifier circuit, a filter circuit and a voltage stabilizing circuit connected in series in sequence, and the step-down circuit includes a transformer for step-down , the step-down circuit is connected with the 220V AC power supply, the obtained power supply is rectified, filtered, and stabilized, and the voltage stabilized circuit is connected with the microprocessor 5, so as to realize the power supply for each power interface of the entire circuit; as shown in Figure 2 and 8 The abnormal power supply detection circuit 1 includes a photocoupler, one end of the photocoupler is connected to the zero line of the 220V AC power supply, the other end is connected to the common end of two parallel resistors R99 and R100, and the two parallel resistors are respectively connected to the OSCIN/ The IO60 pin is connected to OSCOUT/IO61.
如图1-9所示,红外通信电路9包括型号为HM238R的红外线接收器和型号为MMBT5401的三极管,红外线接收器的ROUT管脚连接单片机的RXD0/P04/IO14管脚,三极管的基极串联一个电阻R78后连接单片机的TXD0/P0/IO15管脚。通过红外通信电路9与微处理器5之间建立信息交换通道,从而实现通过手持掌上电脑对电能表信息进行抄读和查询。As shown in Figure 1-9, the infrared communication circuit 9 includes an infrared receiver of the model HM238R and a triode of the model MMBT5401. The ROUT pin of the infrared receiver is connected to the RXD0/P04/IO14 pin of the microcontroller, and the bases of the triode are connected in series. A resistor R78 is connected to the TXD0/P0/IO15 pin of the microcontroller. An information exchange channel is established between the infrared communication circuit 9 and the microprocessor 5, so that reading and querying of the electric energy meter information can be realized through the handheld palm computer.
如图1-10所示,载波通信电路4包括型号为TCC082C的载波芯片,载波芯片的TXD管脚串联一个电阻R12后连接单片机的RXD2/P36/IO36管脚,载波芯片的RXD管脚串联一个电阻R29后连接单片机的TXD2/P37/IO37管脚,载波芯片的EVENTOUT管脚串联一个电阻R31后连接单片机的PCACOMP4/SEG21/P35/IO35管脚,载波芯片的RST管脚串联一个电阻R30后连接单片机的PCACOMP3/SEG20/P34/IO34管脚。通过载波通信电路4与微处理器5之间建立信息交换通道,从而实现通过低压电力载波通讯方式对智能电能表信息进行抄读和查询。As shown in Figure 1-10, the carrier communication circuit 4 includes a carrier chip of the model TCC082C. The TXD pin of the carrier chip is connected in series with a resistor R12 and then connected to the RXD2/P36/IO36 pin of the microcontroller. The RXD pin of the carrier chip is connected in series. Resistor R29 is connected to the TXD2/P37/IO37 pin of the microcontroller, the EVENTOUT pin of the carrier chip is connected in series with a resistor R31 and connected to the PCACOMP4/SEG21/P35/IO35 pin of the microcontroller, and the RST pin of the carrier chip is connected in series with a resistor R30 PCACOMP3/SEG20/P34/IO34 pins of the microcontroller. Through the establishment of an information exchange channel between the carrier communication circuit 4 and the microprocessor 5, reading and querying information of the smart energy meter can be realized through low-voltage power carrier communication.
如图1-13所示,按键接口电路12包括第一按键和第二按键,第一按键一端接地、另一端串联一个电阻R25后连接单片机的AN0/I45管脚,第二按键串联一个电阻R26后连接单片机的AN1/SEG24/IO46管脚,从而实现对整个电路各个参数的设置;蜂鸣器电路11包括一个三极管Q2和一个蜂鸣器BELL,三极管的集电极连接蜂鸣器、基极串联一个电阻R27后连接单片机的PCACOMP2/SEG19/P33/IO33管脚;继电器控制电路10包括型号为AL868的继电器驱动芯片,继电器驱动芯片的A管脚串联一个电阻后连接单片机的VDISP1/P21/IO81管脚,继电器驱动芯片的B管脚串联一个电阻后连接单片机的VDISP0/P20/IO80管脚。As shown in Figure 1-13, the button interface circuit 12 includes a first button and a second button. One end of the first button is grounded, and the other end is connected in series with a resistor R25 to the AN0/I45 pin of the microcontroller. The second button is connected in series with a resistor R26. Then connect the AN1/SEG24/IO46 pins of the single-chip microcomputer to realize the setting of various parameters of the entire circuit; the buzzer circuit 11 includes a triode Q2 and a buzzer BELL, the collector of the triode is connected to the buzzer, and the base is connected in series A resistor R27 is connected to the PCACOMP2/SEG19/P33/IO33 pin of the single-chip microcomputer; the relay control circuit 10 includes a relay driver chip of model AL868, and the A pin of the relay driver chip is connected in series with a resistor to the VDISP1/P21/IO81 tube of the single-chip microcomputer pin, the B pin of the relay driver chip is connected to the VDISP0/P20/IO80 pin of the microcontroller after connecting a resistor in series.
基于上述各芯片和各芯片的连接关系,本实用新型具有分时及多费率精确计量组合有功功能、正反向有功电能,还具有定时冻结、瞬时冻结、约定冻结、日冻结等多种电能数据冻结记录的功能,还具有编程、清零、校时、掉电、拉合闸及开盖等多种事件记录功能。本实用新型可实时监测电压、电流、视在功率及功率因素等多项动态参数;可通过红外、RS485、电力载波等通信方式响应外部有效通信命令,完成对电能表数据抄读。当用户剩余电费不足时,基于多种通信方式,本实用新型可通过主站下发报警命令,提示用户购电,当用户拖欠电费时,可发送远程断、送电命令对用户进行断、送电操作。当用户为重点用户,不宜实施断电,可以下发保电命令,用户处于欠费状态也可继续用电。Based on the above-mentioned chips and their connection relationship, the utility model has time-sharing and multi-rate accurate metering combined active power function, forward and reverse active power energy, and also has various electric power functions such as timing freezing, instantaneous freezing, agreed freezing, daily freezing, etc. The function of data freezing and recording also has various event recording functions such as programming, clearing, time adjustment, power failure, opening and closing, and opening the cover. The utility model can monitor multiple dynamic parameters such as voltage, current, apparent power and power factor in real time; it can respond to external effective communication commands through infrared, RS485, power carrier and other communication methods to complete the reading of the data of the electric energy meter. When the user's remaining electricity fee is insufficient, based on various communication methods, the utility model can issue an alarm command through the main station to prompt the user to purchase electricity. Electric operation. When the user is a key user, it is not advisable to implement a power cut, and a power guarantee order can be issued, and the user can continue to use electricity even if the user is in arrears.
本实用新型中,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”、“固定”等术语应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或成一体;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系,除非另有明确的限定。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本实用新型中的具体含义。In the present utility model, unless otherwise specified and limited, terms such as "installation", "connection", "connection" and "fixation" should be understood in a broad sense, for example, it can be a fixed connection or a detachable connection , or integrated; it may be mechanically connected or electrically connected; it may be directly connected or indirectly connected through an intermediary, and it may be the internal communication of two components or the interaction relationship between two components, unless otherwise specified limit. Those of ordinary skill in the art can understand the specific meanings of the above terms in the present utility model according to specific situations.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本实用新型的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include at least one of these features. In the description of the present utility model, "plurality" means at least two, such as two, three, etc., unless otherwise specifically defined.
以上所述仅为本实用新型的较佳实施例而已,并不用以限制本实用新型,凡在本实用新型实质内容上所作的任何修改、等同替换和简单改进等,均应包含在本实用新型的保护范围之内。The above descriptions are only preferred embodiments of the present utility model, and are not intended to limit the present utility model. Any modifications, equivalent replacements and simple improvements made on the essential content of the present utility model should be included in the scope of the present utility model. within the scope of protection.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201720536268.6U CN206773040U (en) | 2017-05-16 | 2017-05-16 | A kind of intelligent electric energy meter |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201720536268.6U CN206773040U (en) | 2017-05-16 | 2017-05-16 | A kind of intelligent electric energy meter |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN206773040U true CN206773040U (en) | 2017-12-19 |
Family
ID=60640034
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201720536268.6U Expired - Fee Related CN206773040U (en) | 2017-05-16 | 2017-05-16 | A kind of intelligent electric energy meter |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN206773040U (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108375712A (en) * | 2018-05-21 | 2018-08-07 | 潍坊五洲浩特电气有限公司 | Intelligent line inspection instrument |
| CN109030973A (en) * | 2018-05-15 | 2018-12-18 | 淮阴师范学院 | Smart grid non-intrusion type resident load observation circuit and system |
-
2017
- 2017-05-16 CN CN201720536268.6U patent/CN206773040U/en not_active Expired - Fee Related
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109030973A (en) * | 2018-05-15 | 2018-12-18 | 淮阴师范学院 | Smart grid non-intrusion type resident load observation circuit and system |
| CN108375712A (en) * | 2018-05-21 | 2018-08-07 | 潍坊五洲浩特电气有限公司 | Intelligent line inspection instrument |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107359487A (en) | Distributed remote control apparatus socket and management of power use method | |
| CN102436732B (en) | Electric energy quality type energy efficiency data acquisition terminal | |
| CN102081118A (en) | Real-time metering two-way communication intelligent ammeter | |
| CN105607535A (en) | Intelligent power meter based on CAN communication and ZigBee networking | |
| CN103646468A (en) | Measuring and billing system and electric energy measuring and billing method for wireless charging of electric vehicles | |
| CN103617720B (en) | One possesses multi-channel control multifunctional meter counter device | |
| CN106370926A (en) | Missing electric quantity recorder for electric energy meter changing work and using method thereof | |
| CN207832857U (en) | A kind of novel intelligent electric meter | |
| CN102435838A (en) | A basic power type energy efficiency data acquisition terminal | |
| CN201876483U (en) | Intelligent single-phase charge control electric energy meter | |
| CN206773040U (en) | A kind of intelligent electric energy meter | |
| CN202404153U (en) | Single-phase sampling type prepayment wide-range energy meter with manganin shunt | |
| CN102436733A (en) | A thermal power type energy efficiency data acquisition terminal | |
| CN203786168U (en) | Three-phase high-precision multifunctional electric energy meter | |
| CN107202919A (en) | Intelligent electric energy meter with communication interface | |
| CN202512665U (en) | Mixed charging type prepayment electric energy meter for electronic type tiered pricing for electricity, and time-sharing electricity price | |
| CN201886079U (en) | Real-time measurement two-way communication smart electricity meter | |
| CN205484555U (en) | Portable 240V direct current system insulation monitoring and warning device for communication | |
| CN201828608U (en) | Three-phase intelligent electric energy meter | |
| CN202434049U (en) | Water meter data acquirer | |
| CN203553956U (en) | Rural 10kV electric power circuit reactive power compensation controller | |
| CN206178407U (en) | Wireless IC -card gas table controller based on spread spectrum technic | |
| CN105091962A (en) | Low-power-consumption electromagnetic flow converter | |
| CN202373130U (en) | Thermal electric quantity type energy efficiency data acquisition terminal | |
| CN100535951C (en) | Loading control and multi-channel time-shared charge electric energy combined management system and its implementing method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20171219 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |