CN102523272A - Electric energy measuring, controlling and protecting system - Google Patents

Electric energy measuring, controlling and protecting system Download PDF

Info

Publication number
CN102523272A
CN102523272A CN2011104064390A CN201110406439A CN102523272A CN 102523272 A CN102523272 A CN 102523272A CN 2011104064390 A CN2011104064390 A CN 2011104064390A CN 201110406439 A CN201110406439 A CN 201110406439A CN 102523272 A CN102523272 A CN 102523272A
Authority
CN
China
Prior art keywords
wireless sensor
sensor node
module
data
upper computer
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.)
Granted
Application number
CN2011104064390A
Other languages
Chinese (zh)
Other versions
CN102523272B (en
Inventor
徐东
魏洪兴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beihang University
Original Assignee
Beihang University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beihang University filed Critical Beihang University
Priority to CN201110406439.0A priority Critical patent/CN102523272B/en
Publication of CN102523272A publication Critical patent/CN102523272A/en
Application granted granted Critical
Publication of CN102523272B publication Critical patent/CN102523272B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses an electric energy measuring, controlling and protecting system, which is applied to the field of electric energy control and telecommunication. The electric energy measuring, controlling and protecting system comprises an upper computer control module, an IPv6-ZigBee router and wireless sensor nodes; the upper computer control module is arranged on a remote PC (personal computer); and the wireless sensor nodes are arranged on a wiring device of equipment to be measured in a building. When the wireless sensor nodes are used for acquiring the electric energy information of the equipment to be measured, the wireless sensor nodes have sufficient acquisition precision; the electric energy measuring, controlling and protecting system realizes the measurement, the control and the protection of the electric energy and provides a reference for further providing an optimized electric energy use scheme; the global IP (internet protocol) address is combined with the peer-to-peer network during communication so that each wireless sensor node has one IPv6 address; the timely communication of the wireless sensor nodes and the upper computer control module is realized through the IPv6-ZigBee router; and a communication protocol is worked out to guarantee the rapid and stable data transmission.

Description

A kind of electric energy measurement, control and protection system
Technical field
The present invention relates to controlling electric energy and telecommunication field, specifically, be meant a kind of system that electric energy is measured, controlled and protects.
Background technology
Present environmental problem is the challenge that the whole mankind faces, and is an effective solution route through energy-conservation minimizing to environment damage.In the consumption of electric energy, occasion electricity consumptions such as resident, office occupy significant proportion, and there is important practical sense in a kind of system that can detect, control power consumption for saving energy consumption to these application scenario designs.The terminal of the distribution line in the building all is the form of terminal box mostly; Just utilize such installation environment in the prior art; In terminal box, install and measure node; Through the agreement of radio communication, Surveillance center is given in transmission measurement data and control information, realizes measurement, control and protection to the electric energy of whole solitary building through the monitoring center software of installing on the operation desktop computer.The realization of such electric energy measurement, control and protection system relates to multinomial contents such as wireless communication technology, procotol, microelectric technique, Monitoring and Controlling.
MEMS (Micro-Electro-Mechanism System; Abbreviation MEMS), SOC(system on a chip) (System on Chip; Abbreviation SoC), the develop rapidly of radio communication and low-power-consumption embedded technology; Be pregnant with wireless sensor network (Wireless Sensor Networks is called for short WSN).Wireless sensor network has brought the change in information perception field with its low-power consumption, low cost, advantage distributed and self-organizing, is considered to one of new and high technology with 21 century is had an immense impact on.
In the wireless measurement field, WiFi, bluetooth and ZigBee are present 3 kinds of common short-distance wireless communication technologies.The target that radio sensing network is used is the detection control system of low data rate, and this type used less demanding to real-time, and volume of transmitted data is less, does not need high bandwidth, often requires equipment that very low power consumption is arranged.In addition, these application network node numbers are more, form is changeable, require node can need not configuration, automatic network-building.Comprehensive above-mentioned requirements, ZigBee is a kind of radio sensing network realization technology with very high cognition degree.
The 6th generation procotol (Internet Protocol Version 6 IPv6) is the Internet engineering duty group (Internet Engineering Task Force, IETF) IP next generation protocol that is used for substituting current edition IP agreement (IPv4) of design.IPV6 has address size is 128 bits, and address space has increased 2 96 powers doubly; Simplified the header form, field has only 8, accelerates message and transmits, and has improved throughput; Support the more service type; Allow agreement to continue to develop, increase new many characteristics such as function, be fit to have multi-address network environment.
Reference paper 1 is 1658248 Chinese patent " wireless measurement device " for publication number; This document discloses a kind of wireless measurement device that is used for remote observation on August 24th, 2005; This device comprises wireless communication apparatus, first processor, second processor and transducer; To the programming of second processor, realize the wireless telecommunications of second processor and first processor, the information of receiving sensor.This reference paper 1 disclosed wireless measurement device can be applied to move the field that grades needs wireless measurement, but is applied in the fixed buildings of occasions such as the bigger resident of power consumption recited above, office also improper.
Summary of the invention
The present invention is directed to occasions such as the bigger resident of power consumption, office, electric weight is measured, controlled and protects, propose a kind of electric energy measurement, control and protection system.
The present invention proposes a kind of electric energy measurement, control and protection system, comprises upper computer control module, IPv6-ZigBee router and wireless sensor node.Upper computer control module is arranged on the PC; Be furnished with a wireless sensor node in the termination of each Devices to test under construction; Each wireless sensor node has independently IPv6 address; Support the peer-to-peer network layer protocol simultaneously, carry out wireless communication through the IPv6-ZigBee router between upper computer control module and the wireless sensor node.
Upper computer control module is provided with according to the user at initial operating stage the wireless sensor node in the whole building is set up tree-shaped logical construction; And distribute an independently IPv6 address for each wireless sensor node; The user is configured the setting of information to each wireless sensor node; Upper computer control module receives the energy information data that wireless sensor node is gathered in running, the energy information data is analyzed, and carried out controlling electric energy; Upper computer control module comprises configuration information and control command to the data that wireless sensor node sends; The data that wireless sensor node sends to upper computer control module comprise energy information data and warning message.Upper computer control module comprises three functional modules: network communication module, database communication module and user UI module.Described IPv6-ZigBee router is realized the conversion of different agreement data; And adopt the IPv6 agreement to communicate between the upper computer control module; And adopt the ZigBee wireless protocols between the wireless sensor node; Receive and resolve the data that upper computer control module is sent; And reorganize data with ZigBee wireless protocols form and to send to wireless sensor node, receive and also resolve the data that wireless sensor node sends, and reorganize data with the IPv6 protocol format and to send to upper computer control module; The neoblastic data of counterweight add up and verification through each packet being numbered in order and adding at the last frame of data, to guarantee reliability of data transmission.Described wireless sensor node is gathered the energy information data in real time according to the configuration information in the upper computer control module; And send the IPv6-ZigBee router to the ZigBee wireless communication protocol through the method for jump set; And being uploaded to upper computer control module, the order that the reception upper computer control module issues is controlled the electric energy of the equipment that wireless sensor node detected and is protected.Concrete each wireless sensor node comprises: voltage and current measurement module, Zigbee communication module, power transfer module, relay control module and microprocessor module.
Advantage of the present invention and good effect are: the wireless sensor node in (1) system of the present invention has enough acquisition precisions when gathering the energy information of equipment under test; (2) system of the present invention has realized electric energy ground in the fixed building is measured, controlled and protection, for further proposing to optimize the electric energy operational version foundation is provided; (3) in communication, adopt global ip address mode and peer-to-peer network mode to combine; Make each wireless sensor node have an IP address; Communicate by letter through IPv6-ZigBee router realization wireless sensor node and the timely of upper computer control module; And formulated communication protocol, guarantee the quick and stable of transfer of data.
Description of drawings
Fig. 1 is the sketch map of the whole electric energy measurement of the present invention, control and protection system;
Fig. 2 is the module diagram of wireless sensor node of the present invention;
Fig. 3 is the structural representation of voltage and current measurement module of the present invention;
Fig. 4 is the workflow diagram of the embedded software on the wireless sensor node of the present invention;
Fig. 5 be upper computer control module of the present invention the tree figure of the equipment that will detect;
Fig. 6 is the high-level schematic functional block diagram of upper computer control module of the present invention;
Fig. 7 a is the startup interface sketch map of upper computer control module of the present invention;
Fig. 7 b is the main interface sketch map of upper computer control module of the present invention;
Fig. 7 c is the configuration interface sketch map of upper computer control module of the present invention;
Fig. 7 d be upper computer control module of the present invention the sketch map of observation interface;
Fig. 8 a is exemplary plot of voltage of system acquisition of the present invention;
Fig. 8 b is exemplary plot of electric current of system acquisition of the present invention;
Fig. 8 c is exemplary plot of power of system acquisition of the present invention;
Fig. 9 a is the voltage sketch map that adopts computer of system monitoring of the present invention to gather;
Fig. 9 b is the current diagram that adopts computer of system monitoring of the present invention to gather;
Fig. 9 c is the power sketch map that adopts computer of system monitoring of the present invention to gather;
Figure 10 is the active power sketch map that adopts system monitoring multiple devices of the present invention to be gathered.
Embodiment
To combine accompanying drawing and embodiment that the present invention is done further detailed description below.
A kind of electric energy measurement, control and protection system, as shown in Figure 1, comprise upper computer control module 1, IPv6-ZigBee router two and wireless sensor node 3.As shown in Figure 1, upper computer control module 1 is arranged on the PC, is based on that the graphical interfaces environment of (SuSE) Linux OS realizes, has flexible net operation and drive development ability.Upper computer control module 1 brings into operation the initial stage to 3 intelligent networkings of the wireless sensor node in the whole building in system; According to the user to the equipment that will measure accomplish configuration to each wireless sensor node 3; The concrete configuration content comprises the absolute address` of distributing wireless sensor node, sets the sampling period of this node, the limits value of current protection etc.In system's running, upper computer control module 1 receives the energy information data of wireless sensor node 3 collections of IPv6-ZigBee router two transmission, the energy information data is analyzed, and carried out controlling electric energy, and transmitting order to lower levels is given wireless sensor node 3.Each wireless sensor node 3 is uploaded energy information data, detection protection in real time, periodic maintenance grid according to the configuration information that obtains.
In the resident or office occasion that use system of the present invention; In the termination of each Devices to test of building, be furnished with a wireless sensor node 3; Wireless sensor node 3 has a plurality of, and each wireless senser contact 3 has independently the IPv6 address and supports the peer-to-peer network layer protocol simultaneously.Pass through the transmission that the IPv6-ZigBee router two is realized data and order between wireless sensor node 3 and the upper computer control module 1.Wireless sensor node 3 is gathered the energy information data in real time, sends the method for the energy information data of gathering through jump set to the IPv6-ZigBee router two with the ZigBee wireless communication protocol, and is uploaded to upper computer control module 1.Upper computer control module 1 issues data through the IPv6-ZigBee router two and gives wireless sensor node 3 with order; The control and the protection of the electric energy of the equipment that the configuration information that wireless sensor node 3 is set according to upper computer control module 1 is realized wireless sensor node 3 is surveyed realize control and protection to the electric energy of whole building.
The data acquisition of system of the present invention is based on the design of protocol of IPv6, and the interface of wireless sensor node 3 and IPv6 network for ease is provided with the IPv6-ZigBee router two between the PC at upper computer control module 1 place and wireless sensor node 3.The conversion that the IPv6-ZigBee router two is realized the different agreement data has realized the IPv6 procotol on the ZigBee wireless protocols; Simultaneously, use the structure of this IPv6-ZigBee router two, also improved the transmission stability and the transmission range of network.
Be elaborated in the face of each module down.
As shown in Figure 2, wireless sensor node 3 is made up of voltage and current measurement module 31, Zigbee communication module 32, power transfer module 33, relay control module 34 and microprocessor module 35 several sections.The function of wireless sensor node 2 mainly is to measure following 7 kinds of energy information data: the instantaneous value of the effective value of voltage, electric current, voltage, electric current, active power, reactive power and apparent power, and a data based system communication protocol transmission of measuring of energy information is given upper computer control module 1.Simultaneously, wireless sensor node 3 receives from upper computer control module 1 control data, sets information such as sample frequency, data filtering, power supply control and protection restriction.Each module in the wireless sensor node 3 specifies below.
Voltage and current measurement module 31: as shown in Figure 3, adopting model is the voltage and current signal of the difference measurement chip measurement difference of ADE7753, and the electric current and voltage sample circuit of voltage and current measurement module 31 designs according to the differential measurement signals interface characteristic.1M Ohmic resistance Z is adopted in the collection of voltage signal 1With 1.2K Ohmic resistance Z 2The method of series connection dividing potential drop obtains the differential signal of alternating voltage.For the power that reduces resistance and improve sampling precision, the 1M Ohmic resistance is realized with the series connection of 100K Ohmic resistance.Current sample adopts the method for differential resistor, and the resistance Z of a milliohm level is wanted in series connection in live wire 3, through the conversion of output current at ohmically pressure drop realization voltage, electric current, the differential voltage signal of acquisition is as sampled signal.Among Fig. 3, AC representes ac voltage signal, and the differential voltage signal of acquisition has two-way, and one the tunnel is at 1.2K Ohmic resistance Z after the voltage signal process dividing potential drop 2On dividing potential drop, the one tunnel is that electric current is at resistance Z 3The pressure drop of last generation, the resistance of Z3 is 5 milliohms, two paths of signals is as sampled signal.
Zigbee communication module 32 mainly is made up of three parts: 50/100 an external impedance matching transformer, uneven 50 ohm of impedance conversions to 100 ohm of balances are provided, and realized the optimum load of circuit; A matching network of being made up of inductance and electric capacity has been optimized the performance of radiofrequency signal; A band pass filter is handled the conduction harmonic wave, satisfies the ETSI restriction of (European Telecommunications Standards Institute is called for short ETSI) simultaneously.The matching network of Zigbee communication module 32 is the impedance matchings for the power amplifier of realizing microprocessor module 35, has added by the change-over circuit of imbalance to balance, Zigbee communication module 32 is had better transmit and receive performance.Band pass filter is realized convenient, guarantees when filtering unwanted harmonic wave, to guarantee the impedance of match circuit.Zigbee communication module 32 and microprocessor module 35 two-way communications receive and send data.
Power transfer module 33: wireless sensor node 3 is used to measure the state of residential electricity consumption, and the voltage of power supply is alternating current 220V.The power supply that voltage and current measurement module 31 in the wireless sensor node 3 and microprocessor module 35 need direct current 5V and 3.3V respectively, method of supplying power to is to obtain needed DC power supply by alternating current 220V.Because switching power circuit is complicated, cost than higher, measuring circuit is had stronger electromagnetic interference, and therefore the alternating voltage fluctuation range of residential electricity consumption selects linear power supply as power supply in 10%.The stability of DC power supply the more important thing is the measurement accuracy of energy informations such as influencing voltage, electric current, power except the operation that influences microprocessor module 35.In the wireless sensor node 3 of the present invention, use the linear power supply circuit supply of 220V, and use the π filter, to guarantee the stable of DC power supply DC power supply filtering.The design of power transfer module 33 makes wireless sensor node 3 have the function of down Monitor Unit; In power transfer module 33, be designed with super capacitor, capacity is 1F, after the alternating current 220V outage; Power transfer module 33 still can be kept power supply output a period of time, greater than 1 hour.During this period, microprocessor module 35 is judged the voltage effective value data of gathering, and 0 the time of remaining when the voltage effective value data of gathering surpasses 10 minutes, thinks the alternating current 220V outage, and gives upper computer control module 1 this information uploading.
Relay control module 34: under the abnormity of power supply situation, report to the police, and switching on and off by power source for relay control.Because different electrical appliances has the different power requirement, so the limits value that the warning of each wireless sensor node 3 is measured and inequality specifically is configured on upper computer control module 1 by the user.For each wireless sensor node 3; When group-net communication, all received configuration information from upper computer control module 1; Set the power upper limit of this wireless sensor node 3, the limits value of just protecting, the protection limits value that sets is called alarm threshold value.The power consumption equipment that the power supply plug connects in the use generally can not change, so as long as when first the use, preestablish the protection limits value.When wireless sensor node 3 is tested active power above the alarm threshold value certain hour (this time can be set); Such as 5 seconds, just send warning message and according to the size of active power initiatively cut off the electricity supply or wait for control command after cut off the electricity supply again.The process that concrete wireless sensor node 3 is reported to the police: voltage and current measurement module 31 is issued microprocessor module 35 with the energy information data of gathering; Microprocessor module 35 compares the alarm threshold value of energy information data of receiving and setting; Need to judge whether to report to the police; For example: set two alarm threshold value Power1 and Power2, Power2 is greater than Power1, when the active power value of measuring surpasses 5s greater than time of Power1; Microprocessor module 35 sends to upper computer control module 1 through Zigbee communication module 32 with warning message, waits for the whether control command of powered-down of upper computer control module 1.When the active power value of measuring during greater than the Power2 certain hour, 5s for example, microprocessor module 35 control relay control modules 34 cut-off switch.Cause the situation of short circuit for the electricity consumption mistake, microprocessor module 35 judges that according to the current effective value of measuring control relay control module 34 is cut off the electricity supply and prevented accident, sends warning message simultaneously and gives upper computer control module 1.
The control of on/off needs a switch.Consider power supply power supply under the normal operating conditions, power supply just can cut off when having only the unusual condition of generation or upper computer control module 1 to send the operational order of cutting off the electricity supply; And for the detection and the control of resident's power supply, the operation of switch is not frequent.Therefore, selective relay can satisfy the requirement of system of the present invention as the switch of control among the present invention.Normal operating conditions, the transistor of control relay coil is in cut-off state, and relay does not power on, and normally-closed contact is in closure state, as the switch of power supply control.During the coil electricity of relay, the contact is broken off, power cut-off.
It is the chip realization of STM32W that microprocessor module 35 adopts model, and the bi-directional RF port of chip is to share differential interface, is connected internally to low noise amplifier and power amplifier.Microprocessor module 35 receives configuration information and the control command that upper computer control module 1 sends through Zigbee communication module 32; Send acquisition and give voltage and current measurement module 31; Receive the energy information data that voltage and current measurement module 31 is measured; And send to upper computer control module 1 through Zigbee communication module 32, according to control command control relay control module 34 mains switches of upper computer control module 1.
Designed a kind of grouping in the microprocessor module 35 and removed the change duration filtering method of extreme value, assurance is transferred to the accuracy of the energy information of upper computer control module 1.The implementation procedure of described change duration filtering method into: to each energy information data; Microprocessor module 35 control voltage and current measurement modules 31 are gathered these energy information data with fixing employing time t; Then in the sampling time T that 1 pair of wireless sensor node of upper computer control module 3 is provided with, collect n=T/t data, arrange according to the sequencing of sampling; Per 5 continuous energy information data are divided into one group; Be divided into group, 2 maximums and 2 minimum values in each group energy information data are removed, keep median for n/5; Obtain n/5 retention altogether, n/5 retention averaged sends to upper computer control module 1 as the sampled result in sampling time T.With the current effective value is example, and the sampling time of setting voltage current measurement module 31 is 5ms.According to the sampling time that 1 pair of wireless sensor node of upper computer control module 3 is provided with, be example with 1s, the current effective value that voltage and current measurement module 31 can be gathered in the sampling time of 1s is 200.200 sampled datas are arranged according to the sequencing of sampling, and per 5 continuous data are one group, if 200 data just have been divided into 40 groups.To each group data, remove 2 maximums and 2 minimum values, keep median; Such 40 groups of data have just obtained 40 retentions, these 40 retentions average the 1s that is provided with as upper computer control module 1 in the sampling time in the output result of image data.When the sampling time that upper computer control module 1 is set changed, the group that changes the data of this filtering was counted n, but does not change the data number of each group, and Calculation Method is constant.This filtering has obtained good effect, and data precision reaches in the one thousandth.The data of each group are made as 5, if (with 3 data time) do not reach filter effect less than 5, can bring bigger amount of calculation greater than 5 o'clock, thus set in this method 5 have good effect.Guaranteed that the data of calculating when a filtering are during greater than 10 groups by sampling time of voltage and current measurement module 31, precision reaches in the one thousandth, can satisfy the requirement of energy monitor fully.
On the micro treatment module 35 on the wireless sensor node 3 embedded software is installed, this embedded software is developed based on embedded OS Contiki.Embedded OS Contiki be one increase income, high transplantable, support the TCP/IP network, comprise the multiple task operating system of IPv6 etc.The Contiki system needs the RAM of 2Kb and the ROM of 40Kb, just can provide multitask environment with in build TCP/IP and support.Contiki has comprised an event driven kernel, therefore can when operation, dynamically be written into upper level applications.Use the process model of lightweight among the Contiki, Inter-Process Communication utilizes message to realize through incident, and coding style a kind of linearity, that be similar to thread can be provided on the event-driven kernel.Owing to have above-mentioned advantage, embedded OS Contiki is fit to be implanted in STM32W and goes up the application program on the exploitation wireless sensor node 3 very much.
The embedded software of wireless sensor node 3 has made full use of the support of operating system to the IPv6 procotol.Specifically realized following function: have the function of automatic search network and networking, can dynamically set up test network; Control voltage and current measurement module 31 pairs of electric energy are measured, and under the situation that possibly have external interference deal with data, for example adopt the method for removing mean filter after the extreme value to guarantee the accuracy of data; According to communication protocol, under the control of upper computer control module 1, realize gathering the transmission of energy information data, and realize the control of transmission state and the switch control of power supply according to the described host-host protocol of table 1 according to control command.
As shown in Figure 4, the power function and the workflow that mainly comprise for the embedded software on the wireless sensor node 3 are following:
(1) micro treatment module 35 self is provided with memory module, establishes database, is used to store the configuration information that upper computer control module 1 sends and the data such as energy information data of collection.Embedded software on the wireless sensor node 3 brings into operation; At first; Open the database of micro treatment module 35, the configuration information in the reading database disposes wireless sensor node 3 according to this configuration information; Get into data acquisition and store status then, the energy information data that real-time storage is gathered are also sent.The database of micro treatment module 35 has such function: because upper computer control module 1 is installed on the long-range PC; The user can not be long-term start continuously to the monitoring of electric energy; Therefore, the database of micro treatment module 35 can work under the state that does not have communication.After upper computer control module 1 shutdown, wireless sensor node 3 detects this running status, automatically switches to the energy information store status, stops the transmission of stored information, is set at per 5 minutes once sampling data, is stored in the database.The memory capacity assurance database of memory module can be stored the energy data more than 1 month.After communication instruction was sent in upper computer control module 1 work, wireless sensor node 3 at first sent stored history, got in real time the state of gathering, sending then.
(2) initialization operation.Initial in work; Carry out initialization function sensorInit (); Configuration information according to upper computer control module 1 is sent is accomplished the initialization operation to wireless sensor node 3; Comprise: distribute the absolute address` of wireless sensor node, set the limits value etc. of sampling period, alarm threshold value and the current protection of this node.Comprise initialization Function e mbInit7753 () among the initialization function sensorInit () to microprocessor module 35; Be used for initialization to voltage and current measurement module 31; Initialization operation comprises: setting voltage current measurement module 31 is twin-channel mode of operation; And be set at effective value, the instantaneous value of voltage, electric current, the multidata drainage pattern of active power, reactive power and apparent power.Accomplish in wireless sensor node 3 initialization, ready after, carry out the initialization Function e mbNetworkInit () of network, set up test network.
(3) set up the user data transmission agreement.After networking; Feedback according to network state Function e mbNetworkState (); Carry out transfer of data Function e mbSendData () and data parsing Function e mbReadData (), to energy information data, control command and the warning message of collection receive, transmission and protocol analysis.
(4) wireless sensor node 3 beginning execution works.Carry out utility function applicationTick (); Realize the application function of wireless sensor node 3; Mainly comprise: control voltage and current measurement module 31 is gathered the energy information data; The mains switch of control relay control module 34, the control command of system controlled by computer module 1 in the reception is uploaded energy information data etc.For example, utilize read operation function readOperation () and write operation function writeOperation () control electric current and voltage acquisition module 31 to measure the energy information data.
The stack architecture of ZigBee wireless protocols is made up of physical layer, media access control layer, network layer and application layer.Agreement on network layer and the application layer is formulated by ZigBee alliance, and physical layer and media access control layer adopt the IEEE802.15.4 standard.Because the network characteristic of IEEE802.15.4 has determined IPv6 can not directly be implemented on the IEEE802.15.4 network; Therefore when the IEEE802.15.4 that realizes based on IPv6, there is a series of problem, and the network communication protocol problem to be solved that this also is among the present invention to be adopted.
The wireless sensing node 3 that adopts the ZigBee wireless protocols to carry out transfer of data inserts the IPv6 network has two kinds of methods, global ip address mode and peer-to-peer network mode.
The global ip address mode is a kind of seamless combination mode between wireless sensor node 3 and the IPv6 network, has utilized the new features of IPv6 fully.This mode requires each wireless sensor node 3 all to support the IPv6 agreement, realizes the network interconnection.Adopting the global ip address mode is that the network integration provides convenience; The novel relatively networking technology of IP networking technology is understood by people more easily and is accepted; The global ip address mode is connected to the IPv6 network through cable network or wireless network with some wireless sensor nodes 3, realizes interconnectedly, is mode the most simply and easily.The global ip address mode is to be the center with the address; For major function is the wireless sensor node 3 that carries out data acquisition according to the instruction of upper computer control module 1; Adopt the global ip address mode to solve communication issue operating efficiency will be reduced, increased the power consumption of wireless sensor node 3 communications.But, should be each wireless sensor node 3 configuration global ip address if under the situation about individually each wireless sensor node 3 being conducted interviews; When the user visited with some special wireless sensor node 3 of control separately, these special wireless sensor nodes 3 also should have global ip address.Therefore, global ip address is highly suitable for the visit of independent wireless sensor node 3 and control, provides powerful support for for whole communication protocol framework provides, and very ripe in addition perfect various IP technology have certain improvement development space and potential advantages.
The peer-to-peer network mode is carried out protocol conversion through specific router is set between the same protocol layer of wireless sensor node 3 and IPv6, realize interconnected between the internal-external network.Router must be supported the Ipv6 agreement under this mode.According to the difference of gateway task hierarchy, can be divided into ALG and Net-work address translation (NAT) gateway dual mode.The core methed of ALG mode is to carry out protocol conversion by the gateway that is arranged between WSN and the Internet in application layer, realizes the data forwarding function.Defective is that the user transparent degree is low, and difficulty is used in the various services that WSN provides, and procotol is inconsistent.The core mode of NAT gateway mode is to carry out the conversion of address and agreement by the NAT gateway in network layer, and it is the procotol at center that initial condition must adopt in WSN with the address, adopts the Ipv6 procotol at outer net, realizes data forwarding.
The design of IPv6-ZigBee router two and wireless sensor node 3 has realized the fusion of global ip address mode and peer-to-peer network mode dual mode; The method that realizes: the data that upper computer control module 1 is sent are the IPv6 data format; Its data organization is according to the agreement of application layer, and the elaboration agreement of data is followed the IPv6 protocol format.The IPv6-ZigBee router two is supported the IPv6 agreement; Receive the data of upper computer control module 1 transmission and resolve this data; And reorganize data with ZigBee wireless protocols form, the reliability through dual mode assurance data in the data of reorganization: 1, each packet is numbered in order; 2, data frame interpolation in the end adds up and verification.The IPv6-ZigBee router two sends data to wireless sensor node 3 through wireless mode; Wireless sensor node 3 receives data through the ZigBee wireless mode; And resolve the data received, utilize packet get serial number and and the mode of verification guarantee data correctness.3 pairs of data that received of wireless sensor node reorganize according to the IPv6 protocol format, the absolute address` information and the application protocol that obtain comprising in the data.Process from data to upper computer control module 1 and said process that wireless sensor node 3 sends are opposite.Equally, the IPv6-ZigBee router two in the data that reorganize also to each packet according to satisfactory numbering, and add at the last frame of data and to add up and verification, to guarantee the correctness of transfer of data.
The IPv6-ZigBee router two that adopts among the present invention has merged described global ip address mode and peer-to-peer network mode, and wireless sensor node 3 is all supported the IPv6 agreement, has solved the restriction of the transmission range of ZigBee simultaneously with router two.Wireless sensor node 3 is sent to the IPv6-ZigBee router two with the energy information data that collect through single-hop or multi-hop.The IPv6-ZigBee router two is realized the temporary and forwarding of data as the interface of WSN internal network and user terminal.Because wireless sensor node 3 is supported the IPv6 agreement, for user terminal, each wireless sensor node 3 all has independent address, has the good transparency.
The IPv6-ZigBee router two needs to collect the data of WSN as convergent point maximum among the WSN, and protocol conversion module carries out correct processing or forwarding after obtaining these data messages and additional information.Router two logically becomes a node in the Ethernet simultaneously, and capable and long-range upper computer control module 1 communicates, and receives the IPv6 output packet and also handles.It is the chip of S3C2410 that microprocessor in the IPv6-ZigBee router two of the present invention adopts model; Adopting model is the radio frequency chip of CC2420; Support the IEEE802.15.4 standard, the working band scope is 2.4GHz~2.483 5GHz, and transmission rate reaches 250Kb/s.Another interface is used for being connected with WLAN, and the realization of employing WLAN interface is communicated by letter with IPv6 network and user terminal.
The communication data form of the communication protocol that is adopted in the system of the present invention is divided into three kinds: command frame, Frame and status frames, and as shown in table 1.Command frame is used to realize the order setting of 1 pair of sensing network node 3 of upper computer control module, and the CMD of frame format has partly realized the different commands function.The effect of Frame is that sensor network nodes 3 sends the energy information data of measuring to upper computer control module 1, and through adding up and verification.It is mutual that status frames is used for the communications status of upper computer control module 1 and wireless sensing node 3.Upper computer control module 1 is passed through command frame to wireless sensor node 3 transmitting control commands, and relevant configured parameter is set.Wireless sensor node 3 is according to command context recoil state frame or Frame.
The communication data form of table 1 system communication agreement
Figure BDA0000117369430000091
Because wireless sensor node 3 is installed in the building walls, consistent with original 86 box socket profiles, so in upper computer control module 1, to consider not chummery and the multi-zone supervision of socket in a building, main level content is following:
To a building: the electric energy operating position that can check whole building; Can check the electric energy operating position in each room; Can contrast and analyze the electric energy operating position in each room; Can carry out the control of Switching Power Supply generally to the room.
To a room: can check the whole power consumption situation in room; Can check the electric energy operating position of each equipment under test; Can control the electric energy of each equipment under test; The electric energy that can compare each equipment under test uses information.
To an equipment under test: can check the electric energy operating position; Can control and be provided with the electric energy of equipment under test.
Therefore with building, room and monitoring equipment from being designed to a kind of tree in logic, be root with the building, carry out multi-zone supervision.Form is as shown in Figure 5.
Adopt the IPv6 wireless network communication between upper computer control module 1 and the wireless sensor node 3; With respect to the ZigBee wireless protocols; Use the IPv6 wireless network more simple in control, can realize the global ip address visit of wireless sensor node 3 through the IPv6-ZigBee router two.Upper computer control module 1 adopts Qt open source software storehouse to write realization.Qt is a GUI shape library famous under the Linux platform, has abundant interface function and stable system configuration.
As shown in Figure 6, upper computer control module 1 is divided into following several functional module:
Network communication module 11: be responsible for wireless sensor node 3 between set up the IPv6 network communication through the IPv6-ZigBee router two, the work of carrying out package and unpacking according to the user definition data protocol.
Database communication module 12: be responsible for the store operational of database, will preserve from the energy information data that the wireless sensor node 3 that network communication module 11 sends is gathered, so that do statistics and analysis work.In database communication module 12 to each wireless sensor node 3; According to this IP addresses of nodes and acquisition time two-dimensional signal energy information data, and set up each grade index successively according to the tree-shaped logical construction that the user is provided with as the index stores corresponding node.
User UI (User Interface, user interface) module 13: the nucleus module of system, be responsible for and user interactions and other modules between data communication.User UI module 13 is mainly used in: tree-shaped logical construction is set up according to the wireless sensor node 3 that the user is arranged in the whole building in (1); And be that each wireless sensor node 3 distributes an independently IPv6 address; Receive the configuration information of user's input; And send configuration information to corresponding wireless sensor node 3 through network communication module 11, according to user's setting, send the data acquisition control order to wireless sensor node 3.(2) sending control commands corresponding to wireless sensor node 3 works with control wireless sensor node 3: the closure of the mains switch of the equipment that control wireless sensor node 3 is detected; The operating state of inquiry wireless sensor node 3; The mode of operation of wireless sensor node 3 is set, adopts automatic sampling work pattern or manual sampling work pattern; 3 sampling periods of wireless sensor node are set; The alarm threshold value and the alarm mode of wireless sensor node 3 are set.(3) from database communication module 12, read the energy information data of wireless sensor node 3; The electric energy total flow of statistics equipment under test; Add up the electric energy total flow of whole room or whole building; And the electric energy usage ratio in each equipment under test or each room, the information of adding up is shown to the user checks.When carrying out statistical analysis, any one of 7 kinds of data that the user can select to measure or multiple, selected data area and the time span that needs statistical analysis as objects of statistics.For example: selection be all power consumption equipments in apartment 1 among Fig. 5, the timing statistics scope is on January 31,2011 1 day to 2011 January in, selecting objects of statistics is active power and current effective value.Upper computer control module 1 reads corresponding energy information data from database communication module 12; All power consumption equipments to apartment 1 comprises are made statistical analysis at the active power and the current effective value on January 31st, 1 day 1 January in 2011, and the result that will obtain then provides with the form of data form or the form of block diagram.(4) according to user's setting, the electric energy use amount of equipment under test or room or building is controlled.For example, it is M that one day use amount of certain electrical equipment is set, and has surpassed M if upper computer control module 1 was added up the use amount of this electrical equipment in one day, then sends the control command of the mains switch that breaks off this electrical equipment and gives wireless sensor node 3.(5), issue the control command of the mains switch of 3 measurement equipments of control wireless sensor node according to the processing decision of user to the warning message that receives.The startup interface of the human-computer interaction interface that upper computer control module of the present invention 1 is set shown in Fig. 7 a, main interface shown in Fig. 7 b, configuration interface shown in Fig. 7 c and observation interface shown in Fig. 7 d.
Upper computer control module 1 connects the Internet through a computer; Be connected through the Internet IPv6-ZigBee router two with upper computer control module 1; If monitor a plurality of rooms or whole solitary building, need a plurality of IPv6-ZigBee router twos be installed according to the transmission range of wireless sensor node 3.Wireless sensor node 3 is installed in the mounting box in the wall, can not bring any influence to power utilization environment.Wireless sensor node 3 connects router two through the Zigbee wireless network, and after wireless sensor node 3 installations and energising operation, it can automatic dynamic add network to, and obtains the IP address that an independence is confirmed.After all wireless sensor nodes 3 were installed and moved, corresponding relationship was also set up in upper computer control module 1 their IP address of record.Then, be connected to the electricity consumption box that wireless sensor node 3 has been installed to the power consumption equipment that will monitor, this annexation no longer changes in testing process.The power consumption equipment that each wireless sensor node 3 of mark is connected in upper computer control module 1, the real time data monitoring just can be realized in the operation back.
A basic premise of system of the present invention operate as normal is that the wireless transmission of ZigBee is stable in the network.Because operational environment is more single, the disturbing factor that receives is less, and stopping of transmission range and barrier is the main factor that influences system works stability.Of the present inventionly preferably be set to: under the condition that fixes up an aerial wire, when there not being barrier, the maximum transmission distance of wireless sensor node 3 and IPv6-ZigBee router two is no more than 70 meters; When barrier exists, distance between the wireless sensor node 3, wireless sensor node 3 and IPv6-ZigBee router two be no more than communicate by letter under 20 meters the situation comparatively reliable.Receive the restriction of installing space, if do not use antenna, internodal reliable transmission distance is 10 meters.Under the situation that has guaranteed transmission range, the IPv6-ZigBee router two can be good at realizing the Control on Communication to each wireless sensor node 3, guarantees the real-time that wireless sensor node 3 is communicated by letter with upper computer control module 1.Because the communication delay of system is very short, is tens microseconds generally, can be good at satisfying measurement requirement.
Design of the present invention is at instantaneous value, the effective value of voltage, electric current, and all there is very high precision the certainty of measurement of active power, reactive power and apparent power and linearity aspect.With the electric current is example, and the adjustment operating current is got 0A, 2.5A, 5A, 7.5A, 10A respectively, and shown in Fig. 8 a, data acquisition time is 1s at interval, and measurement result has excellent precision shown in Fig. 8 a.The discreteness of measurement data when Fig. 8 b has provided operating current 5A can be seen data between 4.98A to 5.04A, and data fluctuations is very little.Fig. 8 c has provided the linearity of operating current image data, has demonstrated each time data measured and has had the good linearity, and abscissa is represented the number of times measured.The deviation of presentation of results wireless sensor node 3 data acquisitions is in 8/1000ths, and upper computer control module 1 is handled the dateout precision and is higher than one thousandth.
Adopting system provided by the present invention to after the electricity consumption data of the room of power consumption equipment, building or whole solitary building are gathered and analyzed, can and then make the scheme of energy savings to the electricity consumption situation.
To certain student experimenting chamber, adopt system of the present invention to carry out the statistics and analysis of electricity consumption situation below.30 wireless sensor nodes 3 have been installed, power consumption equipment of each wireless sensor node 3 monitoring in the use in the student experimenting chamber.These power consumption equipments comprise computer, projecting apparatus, oscilloscope, signal generator, flatiron, motor test platform etc.Wireless sensor node work in 3 one days 24 hours, the power consumption situation of the power consumption equipment that monitoring and transmission are kept watch on.With 30 wireless sensor nodes 3 in this laboratory through setting up network service between an IPv6-ZigBee router two and the upper computer control module 1.
Fig. 9 a-9c is the statistics sketch map to the voltage effective value of a computer, current effective value and active power.Can find out among Fig. 9 a that breadboard voltage is stabilized in about 220V, some fluctuations are arranged when power consumption equipment is opened or closed.The consumed power of computer is 220W among Fig. 9 c.When booting computer, close display, the power that can see sensor node is 170W, shown in sunk place among Fig. 9 c, and the power of display consumes the chances are 50W then.If forget after the experiment and close display power supply, the electric energy of waste in 24 hours is exactly 1.2 kilowatt hours.
Figure 10 is the sketch map of active power that projecting apparatus, flatiron and three power consumption equipments of oscilloscope are measured.The power that projecting apparatus consumes in power consumption equipment is bigger, and measurement result is about 310W.When using in the laboratory, the teacher forgets that after use closing projecting apparatus can waste more electric energy.The general 80W of oscillographic power consumption, the power of flatiron is 30W.In this laboratory, can accomplish in the use of flatiron to turn off power supply obsolete the time, and oscilloscope can be worked the long time in whole process on class.

Claims (9)

1. an electric energy measurement, control and protection system; Comprise upper computer control module (1), IPv6-ZigBee router (2) and wireless sensor node (3); It is characterized in that; Upper computer control module (1) is arranged on the PC, is furnished with a wireless sensor node (3) in the termination of each Devices to test under construction, and each wireless sensor node (3) has independently IPv6 address; Support the peer-to-peer network layer protocol simultaneously, carry out wireless communication through IPv6-ZigBee router (2) between upper computer control module (1) and the wireless sensor node (3);
Described upper computer control module (1) is provided with according to the user at initial operating stage the wireless sensor node in the whole building (3) is set up tree-shaped logical construction; And be that each wireless sensor node (3) distributes an independently IPv6 address; The user is configured the setting of information to each wireless sensor node (3); Upper computer control module in running (1) receives the energy information data that wireless sensor node (3) is gathered, and the energy information data is analyzed, and carried out controlling electric energy; The data that upper computer control module (1) sends for wireless sensor node (3) comprise configuration information and control command; The data that wireless sensor node (3) sends for upper computer control module (1) comprise energy information data and warning message;
Described IPv6-ZigBee router (2) is realized the conversion of different agreement data; And adopt the IPv6 agreement to communicate between the upper computer control module (1); And adopt the ZigBee wireless protocols between the wireless sensor node (3); Receive and resolve the data that upper computer control module (1) is sent; And reorganize data with ZigBee wireless protocols form and to send to wireless sensor node (3), receive and also resolve the data that wireless sensor node (3) sends, and reorganize data with the IPv6 protocol format and to send to upper computer control module (1); The neoblastic data of counterweight add up and verification through each packet being numbered in order and adding at the last frame of data, to guarantee reliability of data transmission;
The configuration information that described wireless sensor node (3) sends according to upper computer control module (1) is gathered the energy information data in real time; And send IPv6-ZigBee router (2) to the ZigBee wireless protocols through the method for jump set; And being uploaded to upper computer control module (1), the electric energy that receives the equipment that control command that upper computer control module (1) issues detected wireless sensor node (3) is controlled and is protected; Concrete each wireless sensor node (3) comprising: voltage and current measurement module (31), Zigbee communication module (32), power transfer module (33), relay control module (34) and microprocessor module (35);
It is the voltage and current signal of the difference measurement chip measurement difference of ADE7753 that described voltage and current measurement module (31) adopts model, and 1M Ohmic resistance Z is adopted in the collection of voltage signal 1With 1.2K Ohmic resistance Z 2The method of series connection dividing potential drop obtains the differential signal of alternating voltage, and current sample adopts the method for differential resistor, the resistance Z of a milliohm level of series connection in live wire 3The voltage signal of sampling and current signal be input difference measured chip after wave filter carries out filtering earlier; Measure the energy information data of current time by the difference measurement chip, comprising: the effective value of voltage, electric current, the instantaneous value of voltage, electric current; Active power, reactive power and apparent power;
Described Zigbee communication module (32) comprises three parts: 50/100 an external impedance matching transformer is used to provide uneven 50 ohm of impedance conversions to 100 ohm of balances; A matching network of being made up of inductance and electric capacity is used to optimize the performance of radiofrequency signal; A band pass filter is used for handling the conduction harmonic wave;
Described power transfer module (33) adopts the linear power supply power supply of 220V; And use the π filter to DC power supply filtering; For each module in the wireless sensor node (3) provides power supply; Wherein, the linear power supply of power supply 220V is changed, for voltage and current measurement module (31) and microprocessor module (35) being provided the power supply of direct current 5V and 3.3V respectively;
Described relay control module (34) receives the control command of microprocessor module (35), the switch of control relay;
It is the chip realization of STM32W that described microprocessor module (35) adopts model; The bi-directional RF port of chip is to share differential interface; Be connected internally to low noise amplifier and power amplifier; Microprocessor module (35) receives configuration information and the control command that upper computer control module (1) sends through Zigbee communication module (32); Control voltage and current measurement module (31) is gathered the energy information data, and the energy information data are sent to upper computer control module (1) through Zigbee communication module (32); Microprocessor module (35) also need to judge whether to report to the police to the data based alarm threshold value of gathering of energy information; When meritorious power surpasses the alarm threshold value certain hour; When perhaps finding that according to measured current effective value the electricity consumption mistake causes short circuit; Send warning message, send to upper computer control module (1) through Zigbee communication module (32), cut off the electricity supply simultaneously initiatively or wait for the control command of the powered-down that upper computer control module (1) is sent after cut off the electricity supply.
2. a kind of electric energy measurement according to claim 1, control and protection system is characterized in that, the 1M Ohmic resistance Z in the described voltage and current measurement module (31) 1Realize with the series connection of 100K Ohmic resistance.
3. a kind of electric energy measurement according to claim 1, control and protection system is characterized in that, described power transfer module also is designed with super capacitor in (33); Capacity is 1F; Make wireless sensor node (3) have the function of down Monitor Unit, after the alternating current 220V outage, power transfer module (33) still can be kept power supply output a period of time; In this time period; The voltage effective value data that microprocessor module (35) judge to be gathered when the voltage effective value data of gathering 0 the time of remaining surpasses 10 minutes, are uploaded the information of alternating current 220V outage and are given upper computer control module (1).
4. a kind of electric energy measurement according to claim 1, control and protection system; It is characterized in that described microprocessor module (35) adopts and divides into groups to go the energy information data of the change duration filtering method of extreme value into upper computer control module (1) output collection, specifically: to each energy information data; Microprocessor module (35) control voltage and current measurement module (31) is gathered these energy information data with fixing employing time t; Then in the sampling time T that upper computer control module (1) is provided with wireless sensor node (3), collect n=T/t data, arrange according to the sequencing of sampling; Per 5 continuous energy information data are divided into one group; Be divided into group, 2 maximums and 2 minimum values in each group energy information data are removed, keep median for n/5; Obtain n/5 retention altogether, n/5 retention averaged sends to upper computer control module (1).
5. a kind of electric energy measurement according to claim 1, control and protection system; It is characterized in that described microprocessor module (35) is equipped with embedded software, this embedded software is developed based on embedded OS Contiki; Support the IPv6 procotol, specifically realize following function:
(a) open the database of micro treatment module (35); Configuration information in the reading database; To wireless sensor node (3) configuration, get into data acquisition and store status according to this configuration information then, the energy information data of real-time storage collection also send to Zigbee communication module (32);
(b) wireless sensor node (3) is carried out initialization operation; Comprise: the absolute address`, setting sampling period and the alarm threshold value that distribute wireless sensor node; Also comprise the initialization operation to voltage and current measurement module 31 in the initialization operation: setting voltage current measurement module (31) is twin-channel mode of operation; And be set at effective value, the instantaneous value of voltage, electric current, the multidata drainage pattern of active power, reactive power and apparent power; After wireless sensor node (3) initialization is accomplished, carry out the initialization Function e mbNetworkInit () of network, set up test network;
(c) set up the user data transmission agreement; After networking; Feedback according to network state Function e mbNetworkState (); Carry out transfer of data Function e mbSendData () and data parsing Function e mbReadData (), to energy information data, control command and the warning message of collection receive, transmission and protocol analysis;
(d) control wireless sensor node (3) execution work; Carry out utility function applicationTick (); Realize the application function of wireless sensor node (3); Mainly comprise: control voltage and current measurement module (31) is gathered the energy information data, the mains switch of control relay control module (34), the control command of system controlled by computer module (1) and upload the energy information data in the reception.
6. a kind of electric energy measurement according to claim 1, control and protection system; It is characterized in that; It is the chip of S3C2410 that microprocessor in the described IPv6-ZigBee router (2) adopts model, and it is the chip of CC2420 that radio frequency chip adopts model, supports the IEEE802.15.4 standard; The working band scope is 2.4GHz~2.483 5GHz, and transmission rate reaches 250Kb/s.
7. a kind of electric energy measurement according to claim 1, control and protection system is characterized in that, described upper computer control module (1) comprises three functional modules: network communication module (11), database communication module (12) and user UI module (13);
Network communication module (11) is used for setting up IPv6 network service with IPv6-ZigBee router (2), according to communication protocol data is carried out package and the work of unpacking;
Database communication module (12) is used for the energy information data that wireless sensor node (3) that storage sends from network communication module (11) is gathered; In database communication module (12) to each wireless sensor node (3); As the corresponding energy information data of index stores, and set up each grade index successively according to this IP addresses of nodes and acquisition time two-dimensional signal according to the tree-shaped logical construction that the user is provided with;
User UI module (13) is mainly used in: (one) is provided with according to the user wireless sensor node in the whole building (3) is set up tree-shaped logical construction; And be that each wireless sensor node (3) distributes an independently IPv6 address; Receive the configuration information of user's input; And send configuration information to corresponding wireless sensor node (3) through network communication module (11), according to user's setting, send the data acquisition control order to wireless sensor node (3); (2) sending control commands corresponding to wireless sensor node (3) works with control wireless sensor node (3): the switch of the power supply of control wireless sensor node (3) institute checkout equipment; The operating state of inquiry wireless sensor node (3); The mode of operation of wireless sensor node (3) is set, and mode of operation is divided into automatic sampling and manually sampling; The sampling period of wireless sensor node (3) is set; The alarm threshold value and the alarm mode of wireless sensor node (3) are set; (3) from database communication module (12), read the energy information data of wireless sensor node (3); The electric energy total flow of statistics equipment under test; Add up the electric energy total flow of whole room or whole building, and the electric energy usage ratio in each equipment under test or each room, be shown to the user and check; (4) according to user's setting, the electric energy use amount of equipment under test or room or building is controlled; (5), issue the control command of the mains switch of control wireless sensor node (3) institute measurement equipment according to the processing of user to the warning message that receives.
8. a kind of electric energy measurement according to claim 1, control and protection system; It is characterized in that; Between described IPv6-ZigBee router (2) and the upper computer control module (1), and the communication data form of the communication protocol that adopts between the wireless sensor node (3) is divided into three kinds: command frame, Frame and status frames;
The form of described command frame comprises three parts: first is a flag of frame, is used for representing identifier word, and form is a unsigned int, is defaulted as 5214H; Second portion is a command type, is used for representing order, and content is the various affirmation states that need in the communication process, and form is the byte type; Third part is an order data, is used for representing the data of specific instructions, is unsigned int;
The form of described Frame comprises five parts: first is a flag of frame, is used for representing identifier word, and form is a unsigned int, is defaulted as 6215H; Second portion is a warning message, is used for representing data type, 0 expression normal data, and 1 expression warning message, form is the byte type; Third part is a data type, is used for representing the type of valid data, and form is the byte type; The 4th part is the energy information data, and form is a unsigned int; The 5th part be verification with, be adding up and verification of adding, be used for guaranteeing reliability of data transmission, form is a unsigned int;
The form of described status frames comprises two parts: first is a flag of frame, is used for representing identifier word, and form is a unsigned int, is defaulted as 7216H; Second portion is the communication state sign, is used for representing the various affirmation states of needs in the communication process, and form is the byte type.
9. a kind of electric energy measurement according to claim 1, control and protection system is characterized in that, the transmission range of described wireless sensor node (3) and IPv6-ZigBee router (2); When antenna being installed and not having had barrier; Transmission range is no more than 70 meters, and when antenna being installed and have barrier to exist, transmission range is no more than 20 meters; When not using antenna, transmission range is no more than 10 meters.
CN201110406439.0A 2011-12-08 2011-12-08 Electric energy measuring, controlling and protecting system Expired - Fee Related CN102523272B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110406439.0A CN102523272B (en) 2011-12-08 2011-12-08 Electric energy measuring, controlling and protecting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110406439.0A CN102523272B (en) 2011-12-08 2011-12-08 Electric energy measuring, controlling and protecting system

Publications (2)

Publication Number Publication Date
CN102523272A true CN102523272A (en) 2012-06-27
CN102523272B CN102523272B (en) 2014-07-16

Family

ID=46294061

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110406439.0A Expired - Fee Related CN102523272B (en) 2011-12-08 2011-12-08 Electric energy measuring, controlling and protecting system

Country Status (1)

Country Link
CN (1) CN102523272B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200706A (en) * 2013-03-05 2013-07-10 福建格通电子信息科技有限公司 System and method for management based on composite ZigBee module and communication method
CN103913619A (en) * 2012-12-30 2014-07-09 航天信息股份有限公司 Current monitoring system and method based on wireless sensor network
CN104168331A (en) * 2014-08-29 2014-11-26 河海大学常州校区 Remote power quality monitoring system based on wireless sensor network
CN105549485A (en) * 2015-12-16 2016-05-04 华南理工大学 Household intelligent power utilization control terminal based on DSP
CN106441444A (en) * 2016-10-28 2017-02-22 贵州电网有限责任公司贵阳供电局 ZigBee-based electric energy collecting and environment sensing node and data transmission method
CN107062142A (en) * 2017-04-18 2017-08-18 上海工程技术大学 A kind of solar street light intelligence control system
CN107421063A (en) * 2017-07-12 2017-12-01 广东美的制冷设备有限公司 Air conditioning control method, control device, air conditioner, system and storage medium
CN107421064A (en) * 2017-07-13 2017-12-01 广东美的制冷设备有限公司 Control method, control device, air conditioner, system and the storage medium of air conditioner
CN109213032A (en) * 2018-08-17 2019-01-15 湖北三好电子有限公司 Equipment monitoring energy-saving control system
CN109218463A (en) * 2018-09-19 2019-01-15 郑州云海信息技术有限公司 A kind of acquisition system maintaining method and a kind of acquisition system
WO2019101219A1 (en) * 2017-11-21 2019-05-31 珠海格力电器股份有限公司 Distributed system inside electric cabinet, and design method therefor
CN110794203A (en) * 2019-11-08 2020-02-14 国网电子商务有限公司 Method and equipment for measuring power consumption information of single production equipment in factory
CN114979106A (en) * 2022-04-19 2022-08-30 惠州高盛达科技有限公司 Router detection method based on maintenance matrix

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008097453A1 (en) * 2007-02-02 2008-08-14 Silver Spring Networks, Inc. Method and system of providing ip-based packet communications with in-premise devices in a utility network
US20080224892A1 (en) * 2007-03-16 2008-09-18 I-Conserve, Llc System and method for monitoring and estimating energy resource consumption
CN101931435A (en) * 2010-07-30 2010-12-29 北京航空航天大学 Low-voltage power line bandwidth carrier concentrator
CN102065456A (en) * 2010-12-14 2011-05-18 广州市香港科大霍英东研究院 Electrical energy management method of wireless sensor node

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008097453A1 (en) * 2007-02-02 2008-08-14 Silver Spring Networks, Inc. Method and system of providing ip-based packet communications with in-premise devices in a utility network
US20080224892A1 (en) * 2007-03-16 2008-09-18 I-Conserve, Llc System and method for monitoring and estimating energy resource consumption
CN101931435A (en) * 2010-07-30 2010-12-29 北京航空航天大学 Low-voltage power line bandwidth carrier concentrator
CN102065456A (en) * 2010-12-14 2011-05-18 广州市香港科大霍英东研究院 Electrical energy management method of wireless sensor node

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
NORMAN C.F.TSE等: "《Zigbee Based Smart Metering Network for Monitoring Building Integrated Electric Vehicle Charging Circuits》", 《POWER AND ENERGY SOCIETY GENERAL MEETING, 2010 IEEE 》 *
TANMOY MAITY等: "《Intelligent 0nline Measurement and Management of Energy Meter Data Through Advanced Wireless Network》", 《IEEE 2011 INTERNATIONAL CONFERENCE ON DEVICES AND COMMUNICATIONS》 *
王安宁等: "《一种新型三相多功能电能测量系统设计》", 《电力自动化设备》 *

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103913619A (en) * 2012-12-30 2014-07-09 航天信息股份有限公司 Current monitoring system and method based on wireless sensor network
CN103913619B (en) * 2012-12-30 2016-05-18 航天信息股份有限公司 Based on the current monitoring method of wireless sensor network
CN106131105B (en) * 2013-03-05 2019-06-18 福建格通电子信息科技有限公司 The communication means of management system based on composite ZigBee module
CN103200706B (en) * 2013-03-05 2016-06-15 福建格通电子信息科技有限公司 Based on the management system of composite ZigBee module, method and communication method
CN106131105A (en) * 2013-03-05 2016-11-16 福建格通电子信息科技有限公司 The communication means of management system based on composite ZigBee module
CN103200706A (en) * 2013-03-05 2013-07-10 福建格通电子信息科技有限公司 System and method for management based on composite ZigBee module and communication method
CN104168331A (en) * 2014-08-29 2014-11-26 河海大学常州校区 Remote power quality monitoring system based on wireless sensor network
CN105549485A (en) * 2015-12-16 2016-05-04 华南理工大学 Household intelligent power utilization control terminal based on DSP
CN106441444A (en) * 2016-10-28 2017-02-22 贵州电网有限责任公司贵阳供电局 ZigBee-based electric energy collecting and environment sensing node and data transmission method
CN107062142A (en) * 2017-04-18 2017-08-18 上海工程技术大学 A kind of solar street light intelligence control system
CN107421063A (en) * 2017-07-12 2017-12-01 广东美的制冷设备有限公司 Air conditioning control method, control device, air conditioner, system and storage medium
CN107421064A (en) * 2017-07-13 2017-12-01 广东美的制冷设备有限公司 Control method, control device, air conditioner, system and the storage medium of air conditioner
CN107421064B (en) * 2017-07-13 2020-10-09 广东美的制冷设备有限公司 Control method and control device of air conditioner, system and storage medium
WO2019101219A1 (en) * 2017-11-21 2019-05-31 珠海格力电器股份有限公司 Distributed system inside electric cabinet, and design method therefor
CN109213032A (en) * 2018-08-17 2019-01-15 湖北三好电子有限公司 Equipment monitoring energy-saving control system
CN109218463A (en) * 2018-09-19 2019-01-15 郑州云海信息技术有限公司 A kind of acquisition system maintaining method and a kind of acquisition system
CN109218463B (en) * 2018-09-19 2021-09-17 郑州云海信息技术有限公司 Acquisition system maintenance method and acquisition system
CN110794203A (en) * 2019-11-08 2020-02-14 国网电子商务有限公司 Method and equipment for measuring power consumption information of single production equipment in factory
CN114979106A (en) * 2022-04-19 2022-08-30 惠州高盛达科技有限公司 Router detection method based on maintenance matrix

Also Published As

Publication number Publication date
CN102523272B (en) 2014-07-16

Similar Documents

Publication Publication Date Title
CN102523272B (en) Electric energy measuring, controlling and protecting system
CN208850076U (en) NB-IoT-based indoor environment monitoring system
Adhya et al. An IoT based smart solar photovoltaic remote monitoring and control unit
CN101893662B (en) Nuclear phase method for digital transformer substation
Reddy Design of remote monitoring and control system with automatic irrigation system using GSM-bluetooth
CN211043537U (en) Substation equipment state monitoring system based on ubiquitous power internet of things
CN104935489B (en) A kind of information collection networking method and power information acquire network
CN211149228U (en) Building energy consumption collection system based on crowd's intelligence
CN102789219A (en) Energy management system
CN102721435B (en) Forest environment Benefit Monitoring system based on wireless sensor network
Hsu Constructing transmitting interface of running parameters of small-scaled wind-power electricity generator with WSN modules
Liu et al. An XBee-Pro based energy monitoring system
Govindarajan et al. Performance Analysis of Smart Energy Monitoring Systems in Real-time
CN107948917A (en) Antenna system and its wireless communications method
CN103400490A (en) Wi-Fi-based environmental monitoring system and method
KR101211906B1 (en) Apparatus for connecting networks
CN102469624A (en) Wireless intelligent ad hoc network data transmission technology and equipment based on frequency band within 1.0GHz
CN202975732U (en) Remote interaction real-time household energy intelligent management system
Pašalić et al. ZigBee-based data transmission and monitoring wireless smart sensor network integrated with the Internet
CN116828412A (en) New energy automobile fills and trades electric box and becomes rack wireless communication system
CN109714741A (en) Bluetooth repeaters, smart lock, intelligent lock system and network-building method
KR20190095583A (en) LoRa Gateway system based on renewable energy for orchard
Gomes et al. Microgrid demonstration gateway for players communication and load monitoring and management
Singh et al. Distribution Transformer Monitoring for smart grid in India
Shang et al. Greenhouse wireless monitoring system based on the zigbee

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140716

Termination date: 20141208

EXPY Termination of patent right or utility model