CN107612591A - A kind of wideband power is registered one's residence terminal system - Google Patents
A kind of wideband power is registered one's residence terminal system Download PDFInfo
- Publication number
- CN107612591A CN107612591A CN201710682284.0A CN201710682284A CN107612591A CN 107612591 A CN107612591 A CN 107612591A CN 201710682284 A CN201710682284 A CN 201710682284A CN 107612591 A CN107612591 A CN 107612591A
- Authority
- CN
- China
- Prior art keywords
- module
- power
- pin
- data
- mcu
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000005611 electricity Effects 0.000 claims abstract description 27
- 238000006243 chemical reaction Methods 0.000 claims abstract description 20
- 238000004891 communication Methods 0.000 claims description 13
- 241000282326 Felis catus Species 0.000 claims description 8
- 239000003990 capacitor Substances 0.000 claims description 7
- 230000002159 abnormal effect Effects 0.000 claims description 6
- 238000007599 discharging Methods 0.000 claims description 6
- 238000012545 processing Methods 0.000 claims description 6
- 230000005540 biological transmission Effects 0.000 claims description 5
- 238000004146 energy storage Methods 0.000 claims description 5
- 230000002093 peripheral effect Effects 0.000 claims description 4
- 230000003044 adaptive effect Effects 0.000 claims description 3
- 239000003086 colorant Substances 0.000 claims description 3
- 230000005674 electromagnetic induction Effects 0.000 claims description 2
- 238000002955 isolation Methods 0.000 claims description 2
- 238000012546 transfer Methods 0.000 claims 8
- 230000000087 stabilizing effect Effects 0.000 claims 4
- 239000003381 stabilizer Substances 0.000 claims 3
- 230000033228 biological regulation Effects 0.000 claims 2
- 230000002457 bidirectional effect Effects 0.000 claims 1
- 238000000205 computational method Methods 0.000 claims 1
- 230000006837 decompression Effects 0.000 claims 1
- 238000001914 filtration Methods 0.000 claims 1
- 238000005259 measurement Methods 0.000 claims 1
- 238000012795 verification Methods 0.000 claims 1
- 238000005516 engineering process Methods 0.000 abstract description 7
- 230000009977 dual effect Effects 0.000 abstract description 2
- 230000007935 neutral effect Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 10
- 238000000034 method Methods 0.000 description 4
- 230000005856 abnormality Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000013075 data extraction Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Landscapes
- Remote Monitoring And Control Of Power-Distribution Networks (AREA)
Abstract
本发明提供了一种电力宽带入户终端系统,由智能电表、电源转换模块、交换机模块、主控板模块、电力猫模块及相关线路组成。通过本终端系统,电网公司可远程获取用户用电的详细信息,在必要时可远程控制用户的供电情况。同时,本发明终端系统还将互联网宽带网络信号通过交换机模块和电力猫模块调制到电力线上,用户不需要另外进行网络部署即可通过原有的电力线上网。因此,本发明集合了智能电网技术和电力线上网技术的优点,实现了仅仅通过一个盒子即可上网和抄表的双重功能,降低了网络布线的复杂性,提高了用户的便利性,同时也降低了成本。
The invention provides a power broadband home terminal system, which is composed of a smart meter, a power conversion module, a switch module, a main control board module, a power modem module and related lines. Through this terminal system, the power grid company can remotely obtain the detailed information of the user's electricity consumption, and remotely control the user's power supply situation when necessary. At the same time, the terminal system of the present invention also modulates the Internet broadband network signal to the power line through the switch module and the power modem module, so that users can access the Internet through the original power line without additional network deployment. Therefore, the present invention combines the advantages of smart grid technology and power line Internet access technology, realizes the dual functions of Internet access and meter reading through only one box, reduces the complexity of network wiring, improves user convenience, and reduces costs.
Description
技术领域technical field
本发明涉及一种智能终端系统,具体是一种电力宽带入户终端系统,属于通讯设备技术领域。The invention relates to an intelligent terminal system, in particular to a power broadband home access terminal system, which belongs to the technical field of communication equipment.
背景技术Background technique
随着社会的发展,目前几乎家家户户都接入了互联网,而且每个家庭上网的设备往往不止一台,如台式计算机需要上网,智能手机需要上网,智能电视需要上网,在不远的将来家庭会进入物联网时代,到时候电冰箱、空调、电视机也都需要接入互联网。如果这些设备联网时都依赖网线,会造成线路布局凌乱,如果采用无线路由器进行联网,又会存在信号不稳定、干扰严重等问题。由于大部分需要联网的设备都通过电力线进行供电,如果利用电力线载波技术将入户的网络信号调制到家庭的入户电力线中,这样家中的所有智能设备既可以通过电力线供电,也可以通过电力线上网,从而很好地解决了以上问题。With the development of society, almost every household is now connected to the Internet, and each family often has more than one device connected to the Internet, such as desktop computers, smartphones, and smart TVs. In the near future, families will Entering the era of the Internet of Things, refrigerators, air conditioners, and televisions will also need to be connected to the Internet. If these devices rely on network cables for networking, the wiring layout will be messy. If wireless routers are used for networking, there will be problems such as unstable signals and serious interference. Since most of the devices that need to be connected to the Internet are powered by the power line, if the power line carrier technology is used to modulate the incoming network signal to the home's home power line, all smart devices in the home can be powered by the power line or connected to the Internet through the power line , thus solving the above problems well.
同时,在21世纪初,电网方面也提出了智能电网的概念。传统的电网监控需要依赖大量的人力进行电表抄表、设备检查、电路通短控制等操作,其运行效率低下,故障频发,人力成本高。因此市面上亟需相关的智能电网技术来替代人力,利用智能电网技术,即可实现远程抄表、远程故障检测、远程故障隔离、远程控制等多种功能。At the same time, at the beginning of the 21st century, the power grid also proposed the concept of smart grid. Traditional power grid monitoring requires a lot of manpower for meter reading, equipment inspection, and circuit short-circuit control. Its operation efficiency is low, failures occur frequently, and labor costs are high. Therefore, relevant smart grid technologies are urgently needed in the market to replace manpower. Using smart grid technologies, multiple functions such as remote meter reading, remote fault detection, remote fault isolation, and remote control can be realized.
发明内容Contents of the invention
本发明的目的是提供一种电力宽带入户终端系统,其在实现智能电网基本功能的同时,还能够如果将入户的网络信号调制到家庭的电力输出总线中,使用户家中的所有智能设备不需要另外进行网络部署,即可使用原有的电力线实现稳定上网。The purpose of the present invention is to provide a power broadband home terminal system. While realizing the basic functions of the smart grid, it can also make all the smart devices in the user's home No additional network deployment is required, and the original power line can be used to achieve stable Internet access.
本发明的具体技术方案如下:Concrete technical scheme of the present invention is as follows:
一种电力宽带入户终端系统,由智能电表、电源转换模块、交换机模块、主控板模块、电力猫模块及相关线路组成。A power broadband home access terminal system is composed of a smart meter, a power conversion module, a switch module, a main control board module, a power modem module and related circuits.
所述智能电表设有火线和零线的输入接口和输出接口以及RS485接口,智能电表的RS485接口通过RS485总线与主控板模块相连接以进行双向数据交换;智能电表实时测量并显示电量读数,通过RS485总线接收主控板模块的指令并将电量读数上传给主控板模块。The smart meter is provided with an input interface and an output interface of live wire and neutral line and an RS485 interface, and the RS485 interface of the smart meter is connected with the main control board module through the RS485 bus to perform two-way data exchange; the smart meter measures and displays the power reading in real time, Receive the command of the main control board module through the RS485 bus and upload the power reading to the main control board module.
所述电源转换模块的输入端设有火线和零线分别与智能电表的火线和零线的输出接口相连接,电源转换模块的输出端分别连接主控板模块和交换机模块为其供电。The input end of the power conversion module is provided with a live wire and a neutral wire respectively connected to the output interfaces of the live wire and the neutral wire of the smart meter, and the output end of the power conversion module is respectively connected to the main control board module and the switch module to supply power for it.
所述交换机模块采用一个3口千兆交换机模块进行构建,其具有3个10/100/1000Mbps自适应 RJ45端口,其中第一个RJ45端口连接外部网络,实现对外的网络通信功能;第二个RJ45端口连接电力猫模块,将外部网络通过电力猫模块进行转换,将上网的信道转移到电力线上;第三个RJ45 端口连接主控板模块,外部网络通过主控板模块与智能电表实现双向数据信息交换。The switch module is constructed with a 3-port Gigabit switch module, which has three 10/100/1000Mbps adaptive RJ45 ports, wherein the first RJ45 port is connected to the external network to realize external network communication functions; the second RJ45 port The port is connected to the power modem module, and the external network is converted through the power modem module, and the channel of the Internet is transferred to the power line; the third RJ45 port is connected to the main control board module, and the external network realizes two-way data information through the main control board module and the smart meter exchange.
所述电力猫模块采用常规电力猫内部模块进行构建,电力猫模块的火线和零线的接口分别设有火线和零线连接至智能电表的火线和零线的输出接口,电力猫模块的RJ45端口设有网线与交换机模块的第二个RJ45 端口相连接;电力猫模块将从交换机模块传输过来的外部网络信号调制到室内的电力线上。The power cat module adopts the internal module of the conventional power cat to construct, and the interface of the live wire and the neutral wire of the power cat module is provided with the output interface of the live wire and the neutral wire connected to the live wire and the neutral wire of the smart meter respectively, and the RJ45 port of the power cat module There is a network cable connected to the second RJ45 port of the switch module; the power modem module modulates the external network signal transmitted from the switch module to the indoor power line.
所述主控板模块集成了以太网模块、电源接口模块、指示灯模块、MCU模块;以太网模块采用USR-TCP232-E2嵌入式以太网模块,其内部集成了WEB服务器功能,其网络接口端设有网线连接交换机模块的第三个RJ45 端口,其信号端连接到MCU模块;电源接口模块承接电源转换模块的供电,进而转换成多种电压接口为主控板模块进行供电;指示灯模块设有2个工作指示灯和一组多彩指示灯,指示灯模块与MCU模块相连接并由工作指示灯对整个主控板模块的工作状态进行指示;MCU模块由STM32系列芯片及外围电路构成,其作为整个主控板模块的主控部分,其设有RS485接口并通过RS485总线与智能电表的RS485接口相连接。The main control board module integrates an Ethernet module, a power interface module, an indicator light module, and an MCU module; the Ethernet module adopts a USR-TCP232-E2 embedded Ethernet module, which integrates a WEB server function inside, and its network interface terminal There is a network cable connected to the third RJ45 port of the switch module, and its signal end is connected to the MCU module; the power interface module undertakes the power supply of the power conversion module, and then converts it into a variety of voltage interfaces to supply power to the main control board module; the indicator light module is set There are 2 working indicators and a group of colorful indicators. The indicator module is connected to the MCU module and the working indicator indicates the working status of the entire main control board module; the MCU module is composed of STM32 series chips and peripheral circuits. As the main control part of the entire main control board module, it is provided with an RS485 interface and is connected to the RS485 interface of the smart meter through the RS485 bus.
所述智能电表可采用三星智能公司的DDS862单相电子式电能表;所述电力猫模块可采用拆解的TP-LINK PA500电力猫内部模块进行构建。The smart meter can use the DDS862 single-phase electronic energy meter of Samsung Smart Company; the power cat module can be constructed by dismantling the internal module of the TP-LINK PA500 power cat.
本发明终端系统的智能电表、电源转换模块、交换机模块、主控板模块、电力猫模块用塑料外壳封装成一体,对外留有智能电表的火线和零线的输入和输出接口、交换机模块第一个RJ45端口,智能电表的电量读数部分和主控板模块的指示灯模块的指示灯从外壳壳体内显露出来。The smart meter, the power conversion module, the switch module, the main control board module, and the power modem module of the terminal system of the present invention are packaged into one body with a plastic casing, and the input and output interfaces of the hot wire and the neutral wire of the smart meter are left externally, and the switch module is the first A RJ45 port, the power reading part of the smart meter and the indicator light of the indicator light module of the main control board module are exposed from the shell shell.
本电力宽带入户终端系统在使用时,将其智能电表火线和零线的输入和输出接口对应串联接入家庭入户的火线和零线中,将外部网络的网线接入终端系统的交换机模块第一个RJ45端口接入外部网络。电网公司通过外部网络经交换机模块和主控板模块访问智能电表,通过这个方法,电网公司可远程实时监控用户的具体用电数据信息,同时电网公司也可以从公司通过外部网络向终端系统发送控制信息,控制信息经交换机模块进入到主控板模块,主控板模块经数据处理、协议解析等操作后,进而控制智能电表。这样当用户欠费或用户用电异常时,电网公司可在必要时远程切断用户的供电。另外,家庭用的互联网宽带可由外部网络经交换机模块和电力猫模块调制到家庭的入户电力线中,这样家中的所有智能设备即可以通过电力线上网。When the power broadband home terminal system is in use, the input and output interfaces of the live wire and neutral wire of the smart meter are connected in series to the live wire and neutral wire of the home, and the network cable of the external network is connected to the switch module of the terminal system The first RJ45 port is connected to the external network. The power grid company accesses the smart meter through the switch module and the main control board module through the external network. Through this method, the power grid company can remotely monitor the specific electricity consumption data information of the user in real time, and the power grid company can also send control information from the company to the terminal system through the external network. Information and control information enter the main control board module through the switch module, and the main control board module controls the smart meter after data processing and protocol analysis. In this way, when the user is in arrears or abnormal power consumption, the power grid company can remotely cut off the user's power supply when necessary. In addition, the Internet broadband for home can be modulated from the external network to the home power line through the switch module and the power modem module, so that all smart devices in the home can go online through the power line.
本发明的电力宽带入户终端系统由智能电表、电源转换模块、交换机模块、主控板模块、电力猫模块及相关线路组成。通过本终端系统,电网公司可远程获取用户用电的详细信息,在必要时可远程控制用户的供电情况。同时,本发明终端系统还将互联网宽带网络信号通过交换机模块和电力猫模块调制到电力线上,用户不需要另外进行网络部署即可通过原有的电力线上网。因此,本发明集合了智能电网技术和电力线上网技术的优点,实现了仅仅通过一个盒子即可上网和抄表的双重功能,降低了网络布线的复杂性,提高了用户的便利性,同时也降低了成本。The power broadband home terminal system of the present invention is composed of a smart meter, a power conversion module, a switch module, a main control board module, a power modem module and related circuits. Through this terminal system, the power grid company can remotely obtain the detailed information of the user's electricity consumption, and remotely control the user's power supply situation when necessary. At the same time, the terminal system of the present invention also modulates the Internet broadband network signal to the power line through the switch module and the power modem module, so that users can access the Internet through the original power line without additional network deployment. Therefore, the present invention combines the advantages of smart grid technology and power line Internet access technology, realizes the dual functions of Internet access and meter reading through only one box, reduces the complexity of network wiring, improves user convenience, and reduces costs.
附图说明Description of drawings
图1为本发明的电力宽带入户终端系统的硬件组成示意图。Fig. 1 is a schematic diagram of the hardware composition of the power broadband home terminal system of the present invention.
图2为主控板模块与智能电表的通信规约的字节格式。Figure 2 is the byte format of the communication protocol between the main control board module and the smart meter.
图3为主控板模块与智能电表的通信规约的帧格式。Figure 3 is the frame format of the communication protocol between the main control board module and the smart meter.
图4为电源转换模块的组成模块图。Fig. 4 is a block diagram of the power conversion module.
图5为主控板模块的MCU模块的电路图。Fig. 5 is a circuit diagram of the MCU module of the main control board module.
图6为MCU模块的RS485接口转换电路图。Figure 6 is the RS485 interface conversion circuit diagram of the MCU module.
图7为MCU模块与以太网模块的接口电路图。Fig. 7 is an interface circuit diagram of the MCU module and the Ethernet module.
图8为主控板模块的以太网模块的核心电路连接图。Fig. 8 is a connection diagram of the core circuit of the Ethernet module of the main control board module.
图9为主控板模块的电源接口模块的电路图。FIG. 9 is a circuit diagram of the power interface module of the main control board module.
图10为主控板模块的指示灯模块工作指示灯的电路图。Fig. 10 is a circuit diagram of the working indicator light of the indicator light module of the main control board module.
图11为主控板模块控制数据上行工作流程图。Figure 11 is a flow chart of the main control board module controlling data uplink.
图12为主控板模块控制数据下行工作流程图。Figure 12 is a flow chart of the main control board module controlling data downlink.
具体实施方式detailed description
下面结合附图对本发明做进一步的说明。The present invention will be further described below in conjunction with the accompanying drawings.
如图1所示,本电力宽带入户终端系统由智能电表、电源转换模块、交换机模块、主控板模块、电力猫模块及相关线路组成。As shown in Figure 1, this power broadband home terminal system consists of smart meters, power conversion modules, switch modules, main control board modules, power modem modules and related lines.
所述智能电表采用三星智能公司的DDS862单相电子式电能表,智能电表设有火线和零线的输入接口和输出接口以及RS485接口,智能电表的RS485接口通过RS485总线与主控板模块相连接以进行双向数据交换。智能电表实时测量并显示电量读数,通过RS485总线接收主控板模块的指令并将电量读数上传给主控板模块。主控板模块与智能电表的通信规约设置如下:The smart meter adopts the DDS862 single-phase electronic energy meter of Samsung Smart Company. The smart meter is provided with an input interface and an output interface of live wire and neutral line, and an RS485 interface. The RS485 interface of the smart meter is connected to the main control board module through the RS485 bus for two-way data exchange. The smart meter measures and displays the power readings in real time, receives instructions from the main control board module through the RS485 bus and uploads the power readings to the main control board module. The communication protocols between the main control board module and the smart meter are set as follows:
1)、字节格式1), byte format
每字节含8 位二进制码,传输时加上一个起始位(0)、一个偶校验位和一个停止位(1),共11 位。其传输序列如图2所示,D0 是字节的最低有效位,D7 是字节的最高有效位,先传低位,后传高位。Each byte contains 8-bit binary code, plus a start bit (0), an even parity bit and a stop bit (1) during transmission, a total of 11 bits. The transmission sequence is shown in Figure 2, D0 is the least significant bit of the byte, D7 is the most significant bit of the byte, the low bit is transmitted first, and the high bit is passed later.
2)、帧格式2), frame format
帧格式如图3所示。帧格式中的校验码部分按照以下算法生成:The frame format is shown in Figure 3. The check code part in the frame format is generated according to the following algorithm:
(1)将帧起始符的数据一直到帧数据域的全部数据按照0和1的二进制序列进行排列,形成一长串由0与1组成的序列,记为K;(1) Arrange the data from the frame start symbol to all the data in the frame data field according to the binary sequence of 0 and 1 to form a long sequence composed of 0 and 1, which is recorded as K;
(2)设置以下几组数:a、1011;b、1001 10;c、1101 0011;d、1101 0011 10;f、1011 11111101 ;g、1011 1110 0011 0101;(2) Set the following groups of numbers: a, 1011; b, 1001 10; c, 1101 0011; d, 1101 0011 10; f, 1011 11111101; g, 1011 1110 0011 0101;
(3)将序列K与a至f中的任意序列进行异或运算,具体选择哪一个序列根据实际通信速率、对错误的容忍度进行确定,然后在运算结果中再加入8bit的奇偶校验位,将整个总的需要序列放入校验位中作为整体校验数据。(3) XOR the sequence K with any sequence from a to f, which sequence to choose is determined according to the actual communication rate and error tolerance, and then add an 8-bit parity bit to the operation result , put the entire required sequence into the check digit as the overall check data.
3)、帧格式数据域部分3), frame format data domain part
为了进一步增加数据的容错性、让错误数据更容易被发现,在帧格式数据域的末尾,添加一个数字,这个数字为数据域所有数字的和。由于智能电表的数据变化在短时间能不会非常大,但是如果遇到雷击、大型电机启动等强干扰时,信号线路往往会满偏或者置零,这时候局部或整体数据的变换非常大,在服务器端,我们通过对这个数字进行求导,判断这个导数的平顺性,即可发现整个帧的数字是否靠谱,从而将不靠谱的数据丢弃。In order to further increase the error tolerance of the data and make it easier to find the wrong data, a number is added at the end of the frame format data field, which is the sum of all numbers in the data field. Since the data change of the smart meter may not be very large in a short period of time, but if it encounters strong interference such as lightning strikes and large-scale motor startup, the signal line will often be full-biased or set to zero. At this time, the local or overall data change is very large. On the server side, by deriving this number and judging the smoothness of the derivative, we can find out whether the number of the entire frame is reliable, and discard the unreliable data.
在这个数字的计算过程中,为了减少帧格式中数据域部分处理的时间复杂度,减少局部处理对整个帧格式的影响,计算方法为:调用主控板模块中MCU模块的N个加法单元,每个加法单元只把两个数相加,然后输出这两个数的和,再调用N/2个加法单元,将前述的数字和以两个为一组,进行相加,输出和,进而再调用N/4个加法单元,重复以上步骤,最后得出一个数字和。当帧格式数据域中的数据量比较大时,其局部处理延时不会有明显增加。In the calculation process of this number, in order to reduce the time complexity of processing the data domain in the frame format and reduce the impact of partial processing on the entire frame format, the calculation method is: call N addition units of the MCU module in the main control board module, Each addition unit only adds two numbers, and then outputs the sum of these two numbers, and then calls N/2 addition units to add the aforementioned numbers in groups of two, output the sum, and then Call N/4 addition units again, repeat the above steps, and finally get a digital sum. When the amount of data in the frame format data field is relatively large, the local processing delay will not increase significantly.
所述电源转换模块的输入端设有火线和零线分别与智能电表的火线和零线的输出接口相连接,电源转换模块的输出端分别连接主控板模块和交换机模块为其供电。进一步的,如图4所示,所述电源转换模块包括电流互感器、隔离器、桥式整流器、滤波器、稳压管、充放电控制器、储能电池;电流互感器挂在电力线上,利用电磁感应的原理从电力线取电;隔离器连接于电流互感器,进一步地隔绝强电干扰,保障安全;整流器连接于隔离器,实现交直流转换;滤波器连接于桥式整流器,用来消除桥式整流器的高次谐波干扰;稳压管连接于滤波器,用来给设备提供稳定电压;充放电控制器连接于稳压管,将稳压管的电压经过进一步滤波和稳压处理后从输出端向外输出12V电源,同时充放电控制器还给储能电池进行充电,当外部停电时,充放电控制器将切换至由储能电池提供电能向外输出12V电源,以保障主控板模块和交换机模块的供电。The input end of the power conversion module is provided with a live wire and a neutral wire respectively connected to the output interfaces of the live wire and the neutral wire of the smart meter, and the output end of the power conversion module is respectively connected to the main control board module and the switch module to supply power for it. Further, as shown in FIG. 4, the power conversion module includes a current transformer, an isolator, a bridge rectifier, a filter, a voltage regulator tube, a charging and discharging controller, and an energy storage battery; the current transformer is hung on the power line, The principle of electromagnetic induction is used to take power from the power line; the isolator is connected to the current transformer to further isolate strong electric interference and ensure safety; the rectifier is connected to the isolator to realize AC-DC conversion; the filter is connected to the bridge rectifier to eliminate The high-order harmonic interference of the bridge rectifier; the voltage regulator tube is connected to the filter to provide a stable voltage for the device; the charge and discharge controller is connected to the voltage regulator tube, and the voltage of the voltage regulator tube is further filtered and stabilized Output 12V power from the output terminal, and at the same time, the charging and discharging controller will charge the energy storage battery. Power supply for board modules and switch modules.
所述交换机模块采用一个3口千兆交换机模块进行构建,其具有3个10/100/1000Mbps自适应 RJ45端口,其中第一个RJ45端口连接外部网络,实现对外的网络通信功能;第二个RJ45端口连接电力猫模块,将外部网络通过电力猫模块进行转换,将上网的信道转移到电力线上,这样家中的所有智能设备即可以通过电力线上网;第三个RJ45 端口连接主控板模块,使外部网络通过主控板模块与智能电表实现双向数据信息交换,通过这个方法,电网公司可实时监控用户的具体用电数据信息。同时,电网公司也可以从公司通过外部网络向终端系统发送控制信息,控制信息经交换机模块进入到主控板模块,主控板模块经数据处理、协议解析等操作后,进而控制智能电表模块。这样当用户欠费或用户用电异常时,电网公司可在必要时远程切断用户的供电。The switch module is constructed with a 3-port Gigabit switch module, which has three 10/100/1000Mbps adaptive RJ45 ports, wherein the first RJ45 port is connected to the external network to realize external network communication functions; the second RJ45 port The port is connected to the power modem module, and the external network is converted through the power modem module, and the channel of the Internet is transferred to the power line, so that all smart devices in the home can access the Internet through the power line; the third RJ45 port is connected to the main control board module, so that the external The network realizes two-way data information exchange with the smart meter through the main control board module. Through this method, the power grid company can monitor the specific electricity consumption data information of users in real time. At the same time, the power grid company can also send control information from the company to the terminal system through the external network. The control information enters the main control board module through the switch module, and the main control board module controls the smart meter module after data processing and protocol analysis. In this way, when the user is in arrears or abnormal power consumption, the power grid company can remotely cut off the user's power supply when necessary.
所述电力猫模块采用拆解的TP-LINK PA500电力猫内部模块进行构建,电力猫模块的火线和零线的接口分别设有火线和零线连接至智能电表的火线和零线的输出接口,电力猫模块的RJ45 端口设有网线与交换机模块的第二个RJ45 端口相连接。电力猫模块将从交换机模块传输过来的外部网络信号调制到室内的电力线上,这样用户即可通过电力线上网,通过电源插座上网,省去了麻烦的网络布线,也解决了采用无线路由器信号不稳定,干扰严重的问题。The power cat module is constructed by dismantling the internal module of TP-LINK PA500 power cat. The interfaces of the live wire and the neutral wire of the power cat module are respectively provided with the output interfaces of the live wire and the neutral wire connected to the live wire and the neutral wire of the smart meter. The RJ45 port of the power modem module is connected with the second RJ45 port of the switch module with a network cable. The power modem module modulates the external network signal transmitted from the switch module to the indoor power line, so that users can access the Internet through the power line and the power socket, which saves troublesome network wiring and solves the problem of unstable signals when using a wireless router. , a serious problem of interference.
所述主控板模块集成了以太网模块、电源接口模块、指示灯模块、MCU模块。所述MCU模块由STM32F103芯片及外围电路构成,其作为整个主控板模块的主控部分;如图5所示,STM32F103芯片的68、69脚分别串接电阻R3、R41后分别作为信号接收端RXD和信号发送端TXD,STM32F103芯片的12和13脚接外部时钟电路,14脚接复位电路;VDD3.3V端接电感L1的一端,电感L1的另一端接电容C3和C4的一端,电容C3和C4的另一端接地,电感L1的另一端作为VDDA端接入STM32F103芯片的22脚;VDD5V端经REF3133芯片转换为标准3.3V电源,再串接电阻R12后输入STM32F103芯片的21脚作为基准正电压VREF+端,电阻R12的两端还分别串接电容C9、C10后接PGND端;STM32F103芯片的50、75、100、28、11脚接VDD3.3V端,VDD3.3V端接电容C13~C20的一端,电容C13~C20的另一端接地;所述MCU模块设有RS485总线接口并通过RS485总线与智能电表的RS485接口相连接,如图6所示,STM32F103芯片的47、48脚分别串接电阻R6、R40后接入RS485接口通讯芯片MAX485芯片的4脚和1脚,STM32F103芯片的52脚接MAX485芯片的2、3脚,MAX485芯片的8脚接VDD5V端,5脚接地,7脚和6脚分别接RS485转换接头J1的1脚和2脚,MAX485芯片的7脚和6脚之间还连接有电阻R2;所述MCU模块还通过超级网口USR-K3与以太网模块相连接,如图7所示,STM32F103芯片的信号接收端RXD和信号发送端TXD分别连接超级网口USR-K3的8脚和9脚。The main control board module integrates an Ethernet module, a power interface module, an indicator light module, and an MCU module. The MCU module is composed of an STM32F103 chip and peripheral circuits, which are used as the main control part of the entire main control board module; as shown in Figure 5, pins 68 and 69 of the STM32F103 chip are connected in series with resistors R3 and R41 respectively as signal receiving terminals RXD and signal sending terminal TXD, pins 12 and 13 of the STM32F103 chip are connected to the external clock circuit, pin 14 is connected to the reset circuit; VDD3.3V is connected to one end of the inductor L1, the other end of the inductor L1 is connected to one end of the capacitors C3 and C4, and the capacitor C3 and the other end of C4 are grounded, and the other end of the inductor L1 is connected to pin 22 of the STM32F103 chip as the VDDA end; the VDD5V end is converted into a standard 3.3V power supply by the REF3133 chip, and then connected in series with the resistor R12 and then input to the 21 pin of the STM32F103 chip as the reference positive The voltage VREF+ terminal, the two ends of the resistor R12 are connected in series with the capacitors C9 and C10 respectively, and then connected to the PGND terminal; pins 50, 75, 100, 28, and 11 of the STM32F103 chip are connected to the VDD3.3V terminal, and the VDD3.3V terminal is connected to the capacitor C13~C20 One end of the capacitors C13-C20 is grounded; the MCU module is provided with an RS485 bus interface and is connected to the RS485 interface of the smart meter through the RS485 bus. As shown in Figure 6, pins 47 and 48 of the STM32F103 chip are respectively connected in series Resistors R6 and R40 are connected to pin 4 and pin 1 of the RS485 interface communication chip MAX485 chip, pin 52 of the STM32F103 chip is connected to pin 2 and pin 3 of the MAX485 chip, pin 8 of the MAX485 chip is connected to the VDD5V terminal, pin 5 is grounded, pin 7 and The 6 pins are respectively connected to the 1 pin and 2 pin of the RS485 conversion connector J1, and the resistor R2 is also connected between the 7 pin and the 6 pin of the MAX485 chip; the MCU module is also connected to the Ethernet module through the super network port USR-K3, As shown in Figure 7, the signal receiving terminal RXD and the signal transmitting terminal TXD of the STM32F103 chip are respectively connected to pin 8 and pin 9 of the super network port USR-K3.
所述以太网模块采用USR-TCP232-E2嵌入式以太网模块,其用于将MCU模块的数据进行协议转换、数据提取、数据打包并上传至服务器,其内部还集成了WEB服务器功能。通过这个模块,家庭用户可以在自己家中的电脑浏览器上输入WEB服务器的地址,这样即可通过电脑看到智能电表的所有信息及电网公司回传的信息,包括用电量、剩余电费、用电功率、有功功率、无功功率、电能质量情况、谐波情况等。所述以太网模块的网络接口端设有网线连接交换机模块的第三个RJ45 端口,其信号端连接到MCU模块,其内部集成了TCP/IP 协议栈,利用这个模块可以将TCP网络数据包或UDP数据包与TTL串口数据实现透明传输,其核心电路连接图如8所示。The Ethernet module adopts a USR-TCP232-E2 embedded Ethernet module, which is used for protocol conversion, data extraction, data packaging and uploading to the server of the data of the MCU module, and the WEB server function is also integrated inside it. Through this module, home users can enter the address of the WEB server on the computer browser at home, so that they can see all the information of the smart meter and the information returned by the power grid company through the computer, including power consumption, remaining electricity charges, consumption Electric power, active power, reactive power, power quality conditions, harmonic conditions, etc. The network interface end of described Ethernet module is provided with the 3rd RJ45 port of network cable connection switch module, and its signal end is connected to MCU module, and TCP/IP protocol stack is integrated in it, utilize this module to be able to send TCP network packet or UDP data packets and TTL serial port data realize transparent transmission, and its core circuit connection diagram is shown in Figure 8.
所述电源接口模块承接电源转换模块的供电,进而转换成5V、3.3V等多种电压接口为主控板模块进行供电,电源接口模块的电路图如图9所示,电源转换模块传输过来的12V电源经熔断器FUSE1后形成输入电源VIN端,输入电源VIN端经可调稳压芯片LM2596-ADJ芯片调节后形成VCC6.5V端;VCC6.5V端经稳压芯片REG1117-3.3芯片降压后形成VDD3.3V端;VCC6.5V端经可调节稳压芯片LP3856-ADJ芯片调节后形成VDD5V端;VDD5V端连接电阻R26的一端,电阻R26的另一端串接电阻R28后接地,电阻R26的另一端还作为输出接STM32F103芯片的18脚AD_DCIN端;VCC6.5V端接TR5V L-S-Z继电器RELAY1线圈的一端和二级管D2的负极,继电器RELAY1线圈的另一端和二级管D2的正极共同连接NPN三极管Q3的集电极,三极管Q3的发射级接地,基极接电阻R25和R27的一端,电阻R25的另一端接STM32F103芯片的15脚JD_5V端,电阻R27的另一端接地,继电器RELAY1的动触点接VDD5V端,继电器RELAY1的常开静触点串接电阻R21后形成向外输出VCC5V端,使用时须保证输入STM32F103芯片的18脚AD_DCIN端的电压,才能使STM32F103芯片的15脚JD_5V端的电压加载到三极管Q3的基极,使三极管Q3导通,继电器RELAY1线圈得电吸合,继电器RELAY1的动触点连接常开静触点,VDD5V端向VCC5V端供电并向外输出。The power interface module accepts the power supply of the power conversion module, and then converts it into multiple voltage interfaces such as 5V and 3.3V to supply power to the main control board module. The circuit diagram of the power interface module is shown in Figure 9. The power supply passes through the fuse FUSE1 to form the VIN terminal of the input power supply, and the VIN terminal of the input power supply is adjusted by the adjustable voltage regulator chip LM2596-ADJ chip to form the VCC6.5V terminal; the VCC6.5V terminal is formed after being stepped down by the voltage regulator chip REG1117-3.3 chip The VDD3.3V terminal; the VCC6.5V terminal is adjusted by the adjustable voltage regulator chip LP3856-ADJ chip to form the VDD5V terminal; the VDD5V terminal is connected to one end of the resistor R26, the other end of the resistor R26 is connected in series with the resistor R28 and grounded, and the other end of the resistor R26 It is also used as an output to connect to the 18-pin AD_DCIN terminal of the STM32F103 chip; VCC6.5V is connected to one end of the TR5V L-S-Z relay RELAY1 coil and the negative pole of the diode D2, and the other end of the relay RELAY1 coil and the positive pole of the diode D2 are connected to the NPN transistor Q3 The collector of the transistor Q3 is grounded, the base is connected to one end of the resistors R25 and R27, the other end of the resistor R25 is connected to the 15-pin JD_5V end of the STM32F103 chip, the other end of the resistor R27 is grounded, and the moving contact of the relay RELAY1 is connected to VDD5V Terminal, the normally open static contact of the relay RELAY1 is connected in series with the resistor R21 to form an external output VCC5V terminal. When using it, the voltage of the 18-pin AD_DCIN terminal of the STM32F103 chip must be input to load the voltage of the 15-pin JD_5V terminal of the STM32F103 chip to the transistor Q3 The base of the transistor Q3 is turned on, the relay RELAY1 coil is energized and closed, the moving contact of the relay RELAY1 is connected to the normally open static contact, and the VDD5V terminal supplies power to the VCC5V terminal and outputs to the outside.
所述指示灯模块设有2个工作指示灯和一组多彩指示灯,指示灯模块与MCU模块相连接并由工作指示灯对整个主控板模块的工作状态进行指示,工作指示灯部分如图10所示,VDD5V端串接电阻R13后接指示灯Fault的正极,指示灯Fault的负极接NPN三极管Q1的集电极,STM32F103芯片的31脚串接电阻R18后接入三极管Q1的基极,三极管Q1的发射极接地,若工作异常,则由MCU模块控制指示灯Fault发光;VDD5V端串接电阻R14后接指示灯Run的正极,指示灯Run的负极接NPN三极管Q2的集电极,STM32F103芯片的32脚串接电阻R19后接入三极管Q2的基极,三极管Q2的发射极接地,若工作正常,则由MCU模块控制指示灯Run发光。The indicator light module is provided with two working indicator lights and a group of colorful indicator lights, the indicator light module is connected with the MCU module and the working status of the whole main control board module is indicated by the working indicator light, the part of the working indicator light is shown in the figure As shown in 10, the VDD5V terminal is connected in series with the resistor R13 and then connected to the positive pole of the indicator light Fault, and the negative pole of the indicator light Fault is connected to the collector of the NPN transistor Q1. The emitter of Q1 is grounded. If the work is abnormal, the indicator light Fault will be controlled by the MCU module to emit light; the VDD5V terminal is connected in series with the resistor R14 and then connected to the positive pole of the indicator Run, and the negative pole of the indicator Run is connected to the collector of the NPN transistor Q2, and the STM32F103 chip The 32-pin is connected in series with the resistor R19 and then connected to the base of the triode Q2, and the emitter of the triode Q2 is grounded. If it works normally, the MCU module will control the indicator Run to emit light.
如图11和图12所示,所述主控板模块的控制工作流程包括数据上行和数据下行两个部分,具体如下:As shown in Figure 11 and Figure 12, the control workflow of the main control board module includes two parts: data uplink and data downlink, specifically as follows:
(1)数据上行工作流程(1) Data upload workflow
a)各模块上电、初始化;a) Each module is powered on and initialized;
b)MCU模块检查智能电表模块、电源转换模块、交换机模块、电力猫模块、以太网模块是否正常,如果发现异常,指示灯模块指示故障;b) The MCU module checks whether the smart meter module, power conversion module, switch module, power modem module, and Ethernet module are normal, and if any abnormality is found, the indicator light module indicates a fault;
c)MCU模块通过RS485接口读取智能电表的数据信息,数据信息包括但不限于用电量、剩余电量、有功功率、无功功率、谐波情况、电能质量的信息,如果发现异常,指示灯模块指示故障;c) The MCU module reads the data information of the smart meter through the RS485 interface. The data information includes but not limited to power consumption, remaining power, active power, reactive power, harmonic conditions, and power quality information. If abnormalities are found, the indicator light The module indicates a fault;
d)MCU模块将得到的数据信息按照主控板模块与智能电表的通信规约的格式进行整合,并加入校验码,再上传至以太网模块,由以太网模块经交换机模块将数据上传到电网公司服务器和以太网模块内部指向的WEB服务器;d) The MCU module integrates the obtained data information according to the format of the communication protocol between the main control board module and the smart meter, and adds a check code, and then uploads it to the Ethernet module, and the Ethernet module uploads the data to the power grid through the switch module The WEB server pointed to by the company server and the Ethernet module;
e)电网公司可通过电网公司服务器远程读取智能电表采集的用户用电信息,同时用户可通过电脑在浏览器中输入WEB服务器地址,从网页查看智能电表采集的用户用电信息。e) The grid company can remotely read the user's electricity consumption information collected by the smart meter through the server of the grid company, and at the same time, the user can enter the WEB server address in the browser through the computer to view the user's electricity consumption information collected by the smart meter from the web page.
(2)数据下行工作流程(2) Data downlink workflow
a)各模块上电、初始化;a) Each module is powered on and initialized;
b)MCU模块检查智能电表模块、电源转换模块、交换机模块、电力猫模块、以太网模块是否正常,如果发现异常,指示灯模块指示故障;b) The MCU module checks whether the smart meter module, power conversion module, switch module, power modem module, and Ethernet module are normal, and if any abnormality is found, the indicator light module indicates a fault;
c)在MCU模块中设置侦听数据的IP地址和相应的端口号;c) Set the IP address and corresponding port number for listening data in the MCU module;
d)电网公司服务器发出指令数据经过交换机传入以太网模块,再由以太网模块将数据发送给MCU模块,MCU模块控制要侦听的数据,如果遇到需要侦听的数据,将其解析,分析其控制指令,并传输至智能电表和以太网模块内部指向的WEB服务器上,如MCU模块长时间侦听不到数据,指示灯模块指示故障;d) The power grid company server sends command data to the Ethernet module through the switch, and then the Ethernet module sends the data to the MCU module. The MCU module controls the data to be intercepted. If it encounters the data that needs to be intercepted, it parses it. Analyze its control commands and transmit them to the WEB server pointed to by the smart meter and the Ethernet module. If the MCU module cannot listen to the data for a long time, the indicator module will indicate a fault;
e)MCU模块通过RS485接口将控制指令传输至智能电表,智能电表执行控制指令,如断电等;用户可通过电脑在浏览器中输入WEB服务器地址,从网页查看电网公司传来的信息,如电价变换情况等。e) The MCU module transmits the control command to the smart meter through the RS485 interface, and the smart meter executes the control command, such as power off, etc.; the user can enter the WEB server address in the browser through the computer, and view the information from the power grid company from the web page, such as Price changes, etc.
在数据下行工作流程的步骤e)中,MCU模块还根据以太网模块接收到的电网公司发出的信息进行分析,将部分数据信息发送到WEB服务器上,用户通过电脑浏览器看到相应的信息,并通过浏览器输入几个数据参考值,MCU模块将用户输入的参考值进行存储并与电网公司发出的数据进行比较,计算出偏离的大小,MCU模块根据偏离值的大小控制指示灯模块的多彩指示灯用不同的颜色进行指示,同时将偏离值发送至WEB服务器上让用户看到。例如:用户可以通过电脑浏览器看到电网公司发送来的电价信息,并自行设定几个电价的参考值,MCU模块会将电网公司发布的电价与参考电价进行比较,计算出偏离的大小,MCU模块根据偏离值的大小控制指示灯模块的多彩指示灯用不同的颜色进行指示,同时将偏离值发送至WEB服务器上让用户看到。这样可以让用户直观地了解到当下的电价与心理预期的电价情况,从而进行合理用电。进而电网公司可根据用电负荷情况,对电价进行调整。通过这个设置,用户可以更加及时地了解到电价的变化情况,灵活调节自身的用电情况,既能节约电费,又能配合电网公司及时进行负荷调整。In step e) of the data downlink workflow, the MCU module also analyzes the information sent by the power grid company received by the Ethernet module, and sends part of the data information to the WEB server, and the user can see the corresponding information through the computer browser. And input several data reference values through the browser, the MCU module stores the reference value input by the user and compares it with the data sent by the power grid company, calculates the size of the deviation, and the MCU module controls the colorfulness of the indicator light module according to the size of the deviation value The indicator lights are indicated with different colors, and the deviation value is sent to the WEB server for users to see. For example: users can see the electricity price information sent by the grid company through a computer browser, and set several reference values of electricity prices by themselves. The MCU module will compare the electricity price issued by the grid company with the reference price, and calculate the size of the deviation. The MCU module controls the colorful indicator lights of the indicator light module to indicate with different colors according to the size of the deviation value, and at the same time sends the deviation value to the WEB server for the user to see. In this way, users can intuitively understand the current electricity price and the expected electricity price, so as to use electricity reasonably. In turn, the power grid company can adjust the electricity price according to the electricity load situation. Through this setting, users can learn more about changes in electricity prices in a timely manner, and flexibly adjust their own electricity consumption, which can not only save electricity costs, but also cooperate with the grid company to adjust loads in a timely manner.
上述图例仅为本发明的典型实施例,并不用于限制本发明,凡在本发明的精神和原则之内所作的任何修改或等同替换和改进等,均应包含在本发明的保护范围之内。The above illustrations are only typical embodiments of the present invention and are not intended to limit the present invention. Any modifications or equivalent replacements and improvements made within the spirit and principles of the present invention shall be included within the protection scope of the present invention .
Claims (8)
- The terminal system 1. a kind of wideband power is registered one's residence, it is characterized in that:By intelligent electric meter, power transfer module, switch module, master Control plate module, Homeplug module and line related composition;The intelligent electric meter is provided with the input interface and output interface and RS485 interfaces of live wire and zero line, intelligent electric meter RS485 interfaces are connected to carry out bidirectional data exchange by RS485 buses with master control plate module;Intelligent electric meter measurement in real time is simultaneously Electricity reading is shown, the instruction of master control plate module is received by RS485 buses and electricity reading is uploaded to master control plate module;The input of the power transfer module connects provided with the output of live wire and zero line respectively with the live wire and zero line of intelligent electric meter Mouth is connected, and the output end of power transfer module connects master control plate module and switch module and powered for it respectively;The switch module is built using 3 mouthfuls of gigabit switch modules, and it has 3 10/100/1000Mbps Adaptive RJ45 ports, wherein first RJ45 ports connection external network, realizes external network communicating function;Second RJ45 ports connect Homeplug module, and external network is changed by Homeplug module, by the channel transfer of online to electricity In the line of force;3rd RJ45 port connects master control plate module, and external network is realized two-way by master control plate module with intelligent electric meter Data information exchange;The Homeplug module is built using conventional electric power cat internal module, the live wire of Homeplug module and the interface of zero line It is respectively equipped with live wire and zero line is connected to the live wire of intelligent electric meter and the output interface of zero line, the RJ45 ports of Homeplug module It is connected provided with netting twine with second RJ45 port of switch module;Homeplug module will transmit from switch module External network signal modulation to interior power line on;The master control plate module is integrated with ethernet module, power supply interface module, indicating lamp module, MCU module;Ethernet module Using USR-TCP232-E2 embedded ethernet modules, it has been internally integrated WEB server function, and its network interface end is provided with Netting twine connects the 3rd RJ45 port of switch module, and its signal end is connected to MCU module;Power supply interface module accepts electricity The power supply of source modular converter, and then be converted into multiple voltage interface and be powered for master control plate module;Indicating lamp module is provided with 2 Relay indicating light and one group of colorful indicator lamp, indicating lamp module are connected with MCU module and by relay indicating light to whole master control The working condition of plate module is indicated;MCU module is made up of STM32 family chips and peripheral circuit, and it is as whole master control The main control part of plate module, it is provided with RS485 interfaces and is connected by RS485 buses with the RS485 interfaces of intelligent electric meter;The communication protocol of the master control plate module and intelligent electric meter is arranged to:1), byte formatContain 8 binary codes per byte, add a start bit during transmission(0), even parity bit and a stop position(1), Totally 11, D0 is the least significant bit of byte, and D7 is the highest significant position of byte, first passes low level, rear to pass a high position;2), frame formatCheck code part in frame format generates according to following algorithm:(1)By the data of start-of-frame until the total data in frame data domain is arranged according to the binary sequence of 0 and 1, The a lot of sequence being made up of 0 and 1 is formed, is designated as K;(2)Following groups number is set:a、1011;b、1001 10;c、1101 0011;d、1101 0011 10;f、1011 1111 1101 ;g、1011 1110 0011 0101;(3)Arbitrary sequence in sequence K and a to f is subjected to XOR, which specifically chosen sequence is according to practical communication speed Rate, the tolerance to mistake are determined, and 8bit parity check bit is then added in operation result, by whole total need Want sequence to be put into check bit and be used as overall verification data;3), frame format data field partAt the end of frame format data field, a numeral is added, this numeral is all digital sums of data field, computational methods For:N number of adder unit of MCU module in master control plate module is called, each adder unit is only added two numbers, then exports this The sum of two numbers, N/2 adder unit is recalled, be added by foregoing numeral and with two for one group, exported and enter And recall N/4 adder unit, repeat above step, finally draw a numeral and;The control workflow of the master control plate module includes two parts of data uplink and data downstream, specific as follows:(1)Data uplink workflowa)Electricity, initialization in each module;b)MCU module checks that intelligent ammeter module, power transfer module, switch module, Homeplug module, ethernet module are It is no normal, if it find that abnormal, indicating lamp module instruction failure;c)MCU module reads the data message of intelligent electric meter by RS485 interfaces, data message includes but be not limited to power consumption, Dump energy, active power, reactive power, harmonic wave situation, the information of the quality of power supply, if it find that abnormal, indicating lamp module refers to Show failure;d)MCU module carries out obtained data message according to the form of master control plate module and the communication protocol of intelligent electric meter whole Close, and add check code, then be uploaded to ethernet module, power network public affairs are upload the data to through switch module by ethernet module The WEB server that department's server and ethernet module are internally pointed to;e)Grid company can read the user power utilization information that intelligent electric meter gathers, while user by grid company Server remote WEB server address can be inputted in a browser by computer, the user power utilization information of intelligent electric meter collection is checked from webpage;(2)Data downstream workflowa)Electricity, initialization in each module;b)MCU module checks that intelligent ammeter module, power transfer module, switch module, Homeplug module, ethernet module are It is no normal, if it find that abnormal, indicating lamp module instruction failure;c)The IP address of interception data and corresponding port numbers are set in MCU module;d)Grid company server sends director data and is passed to ethernet module by interchanger, then by ethernet module by data MCU module is sent to, the data to be intercepted of MCU module control, if running into the data for needing to intercept, is parsed, analyzes it Control instruction, and transmit in the WEB server being internally pointed to intelligent electric meter and ethernet module, as MCU module is detectd for a long time It can't hear data, indicating lamp module instruction failure;e)Control instruction is transmitted to intelligent electric meter, intelligent electric meter and performs control instruction by MCU module by RS485 interfaces;User WEB server address can be inputted in a browser by computer, the information that grid company transmits is checked from webpage.
- 2. terminal system according to claim 1, it is characterized in that:In the step e of data downstream workflow)In, MCU moulds The information that block is sent always according to the grid company that ethernet module receives is analyzed, and same data message is sent into WEB On server, user sees corresponding information by computer browser, and inputs several data reference values, MCU by browser The reference value that user inputs is stored and compared with the data that grid company is sent by module, calculates the big of deviation Small, MCU module controls the colorful indicator lamp of indicating lamp module to be indicated with different colors according to the size of deviation value, simultaneously Will deviate from value transmission allows user to see to WEB server.
- 3. terminal system according to claim 1, it is characterized in that:The intelligent electric meter is using Samsung intelligence company DDS862 single-phase electronic energy meters;The Homeplug module is entered using the TP-LINK PA500 Homeplug internal modules disassembled Row structure.
- 4. terminal system according to claim 1, it is characterized in that:The intelligent electric meter, power transfer module, interchanger mould Block, master control plate module, Homeplug module encapsulated with plastic casing it is integral, externally leave intelligent electric meter live wire and zero line it is defeated Enter and output interface, first RJ45 port of switch module, the electricity reading part of intelligent electric meter and the finger of master control plate module Show that the indicator lamp of lamp module reveals out of case body.
- 5. terminal system according to claim 1, it is characterized in that:The power transfer module include current transformer, every From device, bridge rectifier, wave filter, voltage-stabiliser tube, charging-discharging controller, energy-storage battery;Current transformer is hung on power line, profit With the principle of electromagnetic induction from power line power taking;Isolator is connected to current transformer, isolation forceful electric power interference;Rectifier is connected to Isolator, realize AC-DC conversion;Wave filter is connected to bridge rectifier, eliminates the higher hamonic wave interference of bridge rectifier;Surely Pressure pipe is connected to wave filter, and burning voltage is provided to equipment;Charging-discharging controller is connected to voltage-stabiliser tube, and the voltage of voltage-stabiliser tube is passed through 12V power supplys are outwards exported from output end after crossing further filtering and voltage stabilizing processing, while charging-discharging controller returns energy-storage battery Charged, when outside has a power failure, charging-discharging controller, which will switch to, to be provided electric energy by energy-storage battery and outwards export 12V power supplys.
- 6. terminal system according to claim 1, it is characterized in that:The MCU module of the master control plate module is by STM32F103 Chip and peripheral circuit are formed, and are received after 68,69 pin difference series resistor R3, R41 of STM32F103 chips respectively as signal 12 and 13 pin of end RXD and signal sending end TXD, STM32F103 chip connect outer clock circuit, and 14 pin connect reset circuit; VDD3.3V termination inductance L1 one end, inductance L1 another termination capacitor C3 and C4 one end, electric capacity C3 and C4 another termination Ground, the inductance L1 other end terminate 22 pin into STM32F103 chips as VDDA;VDD5V ends are converted to through REF3133 chips Standard 3.3V power supplys, then 21 pin of STM32F103 chips are inputted after series resistor R12 as benchmark positive voltage VREF+ ends, resistance Also serial capacitance C9, C10 is followed by PGND ends respectively at R12 both ends;50,75,100,28,11 pin of STM32F103 chips connect VDD3.3V ends, VDD3.3V termination capacitors C13~C20 one end, electric capacity C13~C20 other end ground connection;The MCU module Provided with RS485 EBIs, RS485 interface communications are accessed after 47,48 pin difference series resistor R6, R40 of STM32F103 chips 4 pin and 1 pin of chip MAX485 chips, 52 pin of STM32F103 chips connect the 2 of MAX485 chips, 3 pin, and the 8 of MAX485 chips Pin connects VDD5V ends, 5 pin ground connection, and 7 pin and 6 pin connect RS485 crossover subs J1 1 pin and 2 pin respectively, 7 pin of MAX485 chips and Resistance R2 is also associated between 6 pin;The MCU module is also connected by super network interface USR-K3 with ethernet module, The signal receiving end RXD and signal sending end TXD of STM32F103 chips connect super network interface USR-K3 8 pin and 9 pin respectively.
- 7. terminal system according to claim 1, it is characterized in that:In the power supply interface module of the master control plate module, electricity The 12V power supplys that source modular converter transmits form input power VIN ends after fuse FUSE1, and input power VIN ends warp can VCC6.5V ends are formed after adjusting the regulation of voltage stabilizing chip LM2596-ADJ chips;VCC6.5V ends are through voltage stabilizing chip REG1117-3.3 cores VDD3.3V ends are formed after piece decompression;VCC6.5V ends form VDD5V after adjustable voltage stabilizing chip LP3856-ADJ chips regulation End;VDD5V ends connect resistance R26 one end, are grounded after resistance R26 other end series resistor R28, the resistance R26 other end 18 pin AD_DCIN ends of STM32F103 chips are also connect as output;VCC6.5V terminates TR5V L-S-Z relay RELAY1 lines One end of circle and diode D2 negative pole, the other end of relay RELAY1 coils and diode D2 positive pole connect NPN jointly Triode Q3 colelctor electrode, triode Q3 emitting stage ground connection, base stage connecting resistance R25 and R27 one end, resistance R25's is another 15 pin JD_5V ends of STM32F103 chips, resistance R27 other end ground connection are terminated, relay RELAY1 movable contact connects VDD5V ends, outwards output VCC5V ends are formed after relay RELAY1 normally opened stationary contact series resistor R21.
- 8. terminal system according to claim 1, it is characterized in that:Work in the indicating lamp module of the master control plate module Make indicator lamp part, VDD5V ends series resistor R13 is followed by indicator lamp Fault positive pole, and indicator lamp Fault negative pole meets NPN tri- Pole pipe Q1 colelctor electrode, triode Q1 base stage is accessed after 31 pin series resistor R18 of STM32F103 chips, triode Q1's Grounded emitter, if operation irregularity, lighted by MCU module control indicator lamp Fault;VDD5V ends series resistor R14 is followed by referring to Show lamp Run positive pole, indicator lamp Run negative pole connects NPN triode Q2 colelctor electrode, the 32 pin concatenation electricity of STM32F103 chips Triode Q2 base stage is accessed after resistance R19, triode Q2 grounded emitter, if working properly, controlled and indicated by MCU module Lamp Run lights.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710682284.0A CN107612591A (en) | 2017-08-10 | 2017-08-10 | A kind of wideband power is registered one's residence terminal system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710682284.0A CN107612591A (en) | 2017-08-10 | 2017-08-10 | A kind of wideband power is registered one's residence terminal system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN107612591A true CN107612591A (en) | 2018-01-19 |
Family
ID=61065278
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710682284.0A Pending CN107612591A (en) | 2017-08-10 | 2017-08-10 | A kind of wideband power is registered one's residence terminal system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107612591A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113571976A (en) * | 2021-05-31 | 2021-10-29 | 惠州高盛达科技有限公司 | Intelligent socket |
| CN115883412A (en) * | 2022-11-30 | 2023-03-31 | 一汽奔腾轿车有限公司 | Switch VLAN test method and system |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050102043A1 (en) * | 2003-11-07 | 2005-05-12 | Menas Gregory W. | Automatic sensing power systems and methods |
| CN101237362A (en) * | 2007-01-31 | 2008-08-06 | 司特维科技(北京)有限公司 | A remote intelligent power meter reading system for broadband network communication |
| CN102621921A (en) * | 2012-03-13 | 2012-08-01 | 江西省电力科学研究院 | Programmer for electric energy meters |
| CN203278396U (en) * | 2013-05-10 | 2013-11-06 | 杭州电子科技大学 | An Intelligent Low-Voltage Molded Case Circuit Breaker Controller Based on Ethernet Communication |
| CN104932417A (en) * | 2015-06-29 | 2015-09-23 | 李国印 | Industrial electricity utilization on-demand application data acquisition system |
-
2017
- 2017-08-10 CN CN201710682284.0A patent/CN107612591A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050102043A1 (en) * | 2003-11-07 | 2005-05-12 | Menas Gregory W. | Automatic sensing power systems and methods |
| CN101237362A (en) * | 2007-01-31 | 2008-08-06 | 司特维科技(北京)有限公司 | A remote intelligent power meter reading system for broadband network communication |
| CN102621921A (en) * | 2012-03-13 | 2012-08-01 | 江西省电力科学研究院 | Programmer for electric energy meters |
| CN203278396U (en) * | 2013-05-10 | 2013-11-06 | 杭州电子科技大学 | An Intelligent Low-Voltage Molded Case Circuit Breaker Controller Based on Ethernet Communication |
| CN104932417A (en) * | 2015-06-29 | 2015-09-23 | 李国印 | Industrial electricity utilization on-demand application data acquisition system |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113571976A (en) * | 2021-05-31 | 2021-10-29 | 惠州高盛达科技有限公司 | Intelligent socket |
| CN113571976B (en) * | 2021-05-31 | 2023-09-19 | 惠州高盛达科技有限公司 | Intelligent socket |
| CN115883412A (en) * | 2022-11-30 | 2023-03-31 | 一汽奔腾轿车有限公司 | Switch VLAN test method and system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN205899311U (en) | Intelligence power consumption gateway | |
| CN101902077A (en) | Operating data monitoring and alarming system of converting stations | |
| CN201522512U (en) | Electric energy collection device based on power line carrier communication | |
| CN102128977A (en) | Single-phase watt-hour meter supporting two-way communication | |
| CN102709949A (en) | Micro-grid coordinated control system | |
| CN201639593U (en) | PSE power supply module with two network ports | |
| CN107612591A (en) | A kind of wideband power is registered one's residence terminal system | |
| CN105933170A (en) | Profibus data acquisition system | |
| CN202548627U (en) | EtherCAT network control unit of power quality regulation device | |
| CN205754408U (en) | A kind of switch with forward and reverse function of supplying power | |
| CN205450158U (en) | BMS product aging and automatic checkout device | |
| CN104504537B (en) | A kind of transformer station's AC power monitoring system and method | |
| CN104460637B (en) | Central air conditioning control and management system | |
| CN208337692U (en) | Web camera and remote Ethernet Transmission system, storage system | |
| CN202903962U (en) | Photovoltaic component monitoring system | |
| CN110442096A (en) | A kind of data acquisition control work station and its data transmission method | |
| CN107465431A (en) | A kind of wideband power is registered one's residence terminal system | |
| CN201839076U (en) | Direct current power supply dynamic management system of digital transformer substation | |
| CN204407872U (en) | A kind of protective device supervisory control system of 6kV power supply unit | |
| CN208384520U (en) | Data collection station | |
| CN203086245U (en) | Plug-and-play type movable combiner box monitoring device | |
| CN202651896U (en) | Coordinated control system of micro power grid | |
| CN208285279U (en) | A kind of header box acquisition and emitter based on NBIOT | |
| CN214663926U (en) | Street lamp of Hi-POE power supply | |
| CN109539379A (en) | A kind of remote data monitoring device of heating plant |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180119 |
|
| RJ01 | Rejection of invention patent application after publication |