Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing the embodiment of the invention is described in further details.At this, illustrative examples of the present invention and explanation thereof are used for explanation the present invention, but not as a limitation of the invention.
As shown in Figure 1, in the energy consumption measure system of the support two-way communication of the specific embodiment of the invention, comprise: by the power supply electric energy that sends from the common generating set in outside (as: hydroelectric facility or thermal power generating equipment) of two-way communication electric energy meter 101 input, or the power supply electric energy that sends by environmental protection generating set 105 (as solar facilities or wind energy plant); Five bidirectional measuring sockets in the user family (102a, 102b, 102c, 102d and 102e) are connected with electric energy meter 101, and wherein bidirectional measuring socket 102e receives the power supply electric energy that environmental protection generating set 105 provides and the delivery that measures environmental protection generating set 105; Bidirectional measuring socket 102a is connected with air-conditioning 106, is used to air-conditioning 106 that electric energy is provided and measures the power consumption of air-conditioning 106; Bidirectional measuring socket 102b is connected with refrigerator-freezer 107, is used to refrigerator-freezer 107 that electric energy is provided and measures the power consumption of refrigerator-freezer 107; Bidirectional measuring socket 102c is connected with computer 108, is used to computer 108 that electric energy is provided and measures the power consumption of computer 108; Bidirectional measuring socket 102d is connected with televisor 109, is used to televisor 109 that electric energy is provided and measures the power consumption of televisor 109.
Bidirectional measuring socket 102e among Fig. 1 receives the generated energy information that environmental protection generating set 105 transmits by power line carrier simultaneously, and the generated energy information that receives is offered the user when the power supply electric energy that reception environmental protection generating set 105 provides.
The current data of display terminal 103 inquiry bidirectional measuring sockets, each bidirectional measuring socket address is unique, so after the bidirectional measuring socket was installed to family, display terminal only need send data according to unique address, just can copy the related data of bidirectional measuring socket by wireless communication module.As, display terminal sends the electric current query statement to the bidirectional measuring socket, and receives the information that comprises current data of bidirectional measuring socket feedback.103 pairs of bidirectional measuring sockets of display terminal are write the value of load power.As, display terminal 103 comprises to the transmission of bidirectional measuring socket writes the power control instruction of checking power, and receives the information of writing correct or write error of bidirectional measuring socket feedback.103 pairs of bidirectional measuring sockets of display terminal carry out broadcast message and send.Display terminal 103 will be stored and wireless output from the electric energy metrical information that the bidirectional measuring socket obtains, and the gas metering information that the water metering information that outside water meter communication module is transmitted, heating power metrical information that outside heating power communication module transmits and outside combustion gas communication module transmit receives and stores.Display terminal 103 sends electric energy metrical information, water metering information, heating power metrical information and gas metering information to two-way communication electric energy meter 101 by the short-distance wireless mode.
101 pairs of electric power energy consumptions of two-way communication electric energy meter are measured, and generate the total electricity consumption information; And from display terminal 103 wireless receiving power consumption information, delivery information, water metering information, heating power metrical information and gas metering information, and the total electricity consumption information shown, total electricity consumption information, power consumption information, delivery information, water metering information, heating power metrical information and gas metering information are carried out wireless output.
For radio communication is connected, be used for gathering total electricity consumption information, power consumption information and the delivery information of two-way communication electric energy meter 101 outputs between handheld terminal 104 and the two-way communication electric energy meter 101; And the parameter of two-way communication electric energy meter 101 arranged; And total electricity consumption information, power consumption information and the delivery information of gathering carried out wireless output.
As shown in Figure 2, the two-way communication electric energy meter of present embodiment comprises: master cpu 204, and data acquisition unit 201 is used for gathering voltage signal and current signal from line of electric force; Storage unit 202; Display unit 203 is used for quality of voltage information and electric energy metrical information are shown; Remote communication devices interface 205 is used for being connected with a communicator; Communicator (the 206a that a plurality of communication standards differ from one another, 206b, 206c, 206d), in the communicator that a plurality of communication standards differ from one another, select one and be connected with remote communication devices interface 205, be used for quality of voltage information and electric energy metrical information are sent to far-end; The work of master cpu 204 control data acquisition units 201, display unit 203, remote communication devices interface 205 and the communicator that is connected with communicator interface 205.
The electric energy meter of present embodiment also comprises: photoelectric isolating circuit 207, remote communication devices interface 205 is connected with master cpu 204 by photoelectric isolating circuit 207.
The electric energy meter of present embodiment also comprises: case sensor 210 is used for the event signal of electric energy meter this locality is detected, and sends event signal to data processing unit 202 generation affair alarm information, by communicator affair alarm information is sent to far-end.Case sensor 210 comprises: electric energy meter uncap sensing circuit, the under-voltage sensing circuit of electric energy meter battery and/or power meter temperature sensor.
The electric energy meter of present embodiment also comprises: switch control unit 209, and this switch control unit 209 comprises: relay and zero cross detection circuit; Wherein, zero cross detection circuit is gathered fault-signal and operating state signal from described line of electric force, and sends fault-signal and operating state signal to master cpu 204, and master cpu 204 is according to fault-signal and the action of operating state signal pilot relay.
The electric energy meter of present embodiment also comprises: local communication unit 212 is used for quality of voltage information and electric energy metrical information are sent to near-end communication device.Local communication unit comprises: infrared communication module, RS485 communication module, M-BUS communication module or ZigBee communication module.
The electric energy meter of present embodiment also comprises: keyboard 208 and purchase electric clamping mouth 211.
The communicator interface of present embodiment electric energy meter is supported hot plug, and electric energy meter can be supported communication standards such as GPRS, 3G, carrier wave and short-distance wireless communication simultaneously.Because the communication interface of the same GPRS of carrier wave, 3G has the part difference, electric energy meter has designed the electric interfaces of 4 kinds of modules of compatibility simultaneously.
As shown in Figure 3, schematic appearance for the single-phase electric energy meter 300 of the support two-way communication of the specific embodiment of the invention, single-phase electric energy meter 300 comprises: display screen 301, communicator slot 302, communicator interface (302a and 302b), communicator interface 302a is data line interface, and communicator interface 302b is electric source line interface, and communicator interface 302a and 302b also can merge into an interface.
In Fig. 3, communicator is modular design, utilizes general interface definition, can support GPRS, broadband wireless (McWiLL), low voltage power line carrier and short distance micropower wireless etc. simultaneously.The mode of transmission The data transparent forwarding, on the communication unit of electric energy meter body, carry out parsing and the framing of data according to the specific communications stipulations, communicator only is responsible for communication frame is transmitted by corresponding communication mode, thereby following more multi-communication mode all can seamlessly be linked in the up channel of electric energy meter.Communicator comprises: GPRS communicator 303a, 3G communicator 303b, carrier communication apparatus 303c and short-distance wireless communication device 303d.According to electric energy meter present located communication environment, in GPRS communicator 303a, 3G communicator 303b, carrier communication apparatus 303c and short-distance wireless communication device 303d, select an available communicator to be connected with 302b with communicator interface 302a.
As shown in Figure 4, communicator comprises: CPU402, serial line interface 403, LED light 406, watchdog circuit 404, storer 405 and McWiLL module 401a, GPRS communication module 401b, 3G communication module 401c and short-distance wireless communication module 401d.In McWiLL module 401a, GPRS communication module 401b, 3G communication module 401c and short-distance wireless communication module 401d, select the communication module of a use to be connected with CPU402.
As shown in Figure 5, the electric energy meter of present embodiment also comprises: case sensor, be used for the event signal of electric energy meter this locality is detected, and send event signal to data processing unit generation affair alarm information, by communicator affair alarm information is sent to far-end.Case sensor comprises: electric energy meter uncap sensing circuit, the under-voltage sensing circuit of electric energy meter battery and/or power meter temperature sensor.
The communication system power supply of the single-phase electric energy meter in the technical program can satisfy zero requirement of shutting down, and the function that power module possesses hot plug satisfies zero shutdown requirement.Hot plug requires also to be to prevent system mistake.But because disparate modules has different qualities, so present technique has satisfied following hardware requirement: when 1) carrying out hot plug, hardware can bear the surge voltage of moment generation and the influence of surge current, eliminates between socket and produces spark.2) after the hot plug, the load of the hardware system of single-phase electric energy meter is taken over along sliding, to prevent because changing the adjusting that influences output voltage suddenly.Concrete hardware design comprises the definition to module interface, interface circuit design and the communications portion design of electric energy meter communication module.
The embodiment of the invention makes single-phase electric energy meter software and hardware compatible multiple communication module simultaneously; And multiple communication module is hot-swappable; Electric energy meter is reported event initiatively; Electric energy meter transmits information such as message, data, voice as communication media.The embodiment of the invention is supported multiple communication mode, simultaneously compatible low voltage power line carrier, GPRS, short-distance wireless communication and four kinds of channels of broadband wireless communications (McWiLL).When replacing communication module, single-phase electric energy meter need not outage, need not to change any design of hardware and software, satisfies the construction needs of following intelligent grid.By the two-way communication of electric energy meter, electric energy meter is the active reported event in real time, and transmit data functionality such as telecommunication media transmission note, voice and video can also be provided.
Short-distance wireless communication technology, the radio network technique that all transmission ranges is equal to or less than IEEE 802.11 and 802.15 prescribed by standard scopes all is defined as short-range wireless technology, and short-distance wireless communication is faster than the transmission of third generation cellular device wireless data, cost is lower, power consumption is littler.
As shown in Figure 6, the bidirectional measuring socket comprises: plug 501 is used for being connected with line of electric force; Jack 510 is used for being connected with outside electrical appliance or outside environmental protection generating set; Relay 509 is used for disconnecting or being connected of conducting line of electric force and outside electrical appliance or outside environmental protection generating set.
Conducting and the disconnection of function button 508 pilot relays.Bidirectional measuring unit 503 is used for the power consumption of the outside electrical appliance of metering, or oppositely measures the generated energy of outside environmental protection generating set; Power line carrier communication unit 502 is used for receiving the power supply information that outside environmental protection generating set transmits by line of electric force, power line carrier communication unit 502 utilizes the line of electric force passage between inverter and the bidirectional measuring socket, can receive the generated energy information that inverter is sent, for example: information such as distributed energy generated output, expectation duration are for reference; CPU (central processing unit) 504 is used for described delivery, power consumption and power supply information are handled, and generates the electricity consumption metrical information; Wireless communication unit 505 is used for the wireless output of electricity consumption metrical information.Plug 501 is the three-phase electric energy plug, can be inserted on the electrical socket on user's wall; Jack 510 is the three-phase electric energy jack, can be inserted by the plug of electrical appliance or environmental protection generating set.Display unit 506 is used for described electricity consumption metrical information is shown.Storage unit 507 is used for described electricity consumption metrical information is stored.
As shown in Figure 7, the bidirectional measuring unit comprises: voltage load module 601b: line voltage is connected to the V of computation chip through resitstance voltage divider or transformer output
IN+And V
IN-Input pin.Electric current load module 601a: the output of current diverter or mutual inductor is connected to the I of computation chip
IN+And I
IN-Input pin.Voltage and current signal processing module 602 with 2 rank Δ ∑ modulators, is converted into digital signal with the simulating signal input with the voltage and current passage, and with the data process high-pass and low-pass filter that voltage and current is measured, calculates effective value and the instantaneous value of electric current and voltage.Wherein, power direction module 603 multiplies each other the sampled data of transient voltage and electric current, obtains instantaneous power.N instantaneous power average computation goes out active power.Applied power is taken advantage of in current effective value by voltage and is obtained.Power factor is that active power obtains divided by applied power.Angle according to voltage and electric current calculates power direction, and greater than 90 degree, namely power direction be reverse as angle, illustrates that environmental protection generating set at this moment generates electricity.If detect reverse active power, then power direction module 603 is to metering MCU606 output low signal, then measures MCU606 and knows that user's environmental protection generating set generates electricity; Otherwise if the electric current and voltage angle then measures MCU606 and knows that the user power utilization device is just in electricity consumption less than 90 degree.
As shown in Figure 8, main control MCU is selected the ADI-7566 chip for use.Wireless module selects for use RF905+TI430 to be combined into a transparent transmission, and the communication speed of this module and MCU is 1200BPS, 8 bit data, serial ports connected mode by 3 line systems of no parity check, a position of rest, wireless module and MCU (sending and receiving) be connected.Linear power supply forms the 9V voltages by the power supply shaping circuit of linear transformer and 4 diode compositions, and produces 5V galvanic current source by a three-terminal voltage-stabilizing IC-7805.Storer is selected ATMEL EEPROM 24C08-3V, and this chip is selected 3V, can store data by powered battery when losing alternating current, and this IC address is 0 beginning.
As shown in Figure 9, be key circuit, this part detects the operating state of pressing the key control magnetic latching relay according to I/0.As shown in figure 10, the rate indicating circuit comprises: five pilot lamp, the order of indication is: device power supply (DPS), point, peak, flat, paddy rate pilot lamp.Indicating current rate number, is respectively four rates such as spike Pinggu.As shown in Figure 8, relay partly uses the pulse pilot relay, and uses magnetic latching relay to reduce Overall Power Consumption.
As shown in Figure 9, a kind of outside drawing for the bidirectional measuring socket, it has electric energy input plug 701, control button 702, pilot lamp 703 (device power supply (DPS) pilot lamp, sharp rate pilot lamp, peak rate pilot lamp, flat rate pilot lamp, paddy rate pilot lamp) and electric energy output plughole 704.
As shown in figure 10, a kind of outside drawing for the bidirectional measuring socket, it has electric energy input plug 801, control button 802, pilot lamp 804 (device power supply (DPS) pilot lamp, sharp rate pilot lamp, peak rate pilot lamp, flat rate pilot lamp, paddy rate pilot lamp), electric energy output plughole 805 and display screen 803.
As shown in figure 11, display terminal comprises: the FLASH of PXA300CPU, 128MB internal memory, 1GB (can expand bigger storage space by SD card and USB mouth), RS485, RS232 and the multiple communication module that comprises far infrared module, up-downgoing small wireless module, RFID etc. also comprise storage expansion interface, large scale colorful display screen, touch-screen, audio tweeter, battery and charging circuits such as USB and SD.
Intelligent display terminal passes through RS485 or up short-distance wireless communication mode is communicated by letter with electric energy meter (communication protocol adopts IEC 62056), electric weight and the electricity charge information got are saved among this machine FLASH, and the electricity consumption data are carried out statistical study, according to various default situations power consumer with the form of sound or message intelligentized suggestion and prompting is proposed.
Intelligent display terminal communicates (communication protocol adopts EN-13757) by descending small wireless communication mode and Smart Home, smart jack, wireless water, gas, heat, the data that read are saved among this machine FLASH, according to the various combination condition of user by the touch-screen input, can inquire about historical data real-time or that this organizational security is deposited, and be presented on the colorful display screen of intelligent display terminal with forms such as curve, histogram, forms.The user can arrange the folding time of smart jack, and can open/close smart jack in real time according to the smart jack electricity consumption data that inquire.
The communication process of bidirectional measuring socket and display terminal comprises: wireless communication module adopts short distance micropower wireless mode transmission data, need not connect by cable, can form network in conjunction with other equipment and use; Frequency of operation is international opening (ISM) frequency range: 433MHz, and wireless module adopts the integrated monolithic transceiver, embeds chip Manchester coding and GFSK modulation and CRC check.Guaranteed the high anti-interference and low error rate of communication.The bidirectional measuring socket can adopt half-duplex passive query mode communication modes, reaches the display terminal transmission and inquires about/write data, and the bidirectional measuring socket is response data, and the bidirectional measuring socket is reporting information initiatively.
As shown in figure 12, communication process is as follows between display terminal, bidirectional measuring socket and the two-way electric energy meter:
The current data of display terminal inquiry bidirectional measuring socket, each bidirectional measuring socket address is unique, so after the bidirectional measuring socket was installed to family, display terminal only need send data according to unique address, just can copy the related data of bidirectional measuring socket by wireless communication module.As, display terminal sends the electric current query statement to the bidirectional measuring socket, and receives the information that comprises current data of bidirectional measuring socket feedback.
Display terminal is write the value of load power to the bidirectional measuring socket.As, display terminal comprises to the transmission of bidirectional measuring socket writes the power control instruction of checking power, and receives the information of writing correct or write error of bidirectional measuring socket feedback.
Display terminal carries out broadcast message to the bidirectional measuring socket and sends.
Display terminal receives the query requests of two-way electric energy meter, and sends electric energy metrical information, water metering information, gas metering information and heating power metrical information to two-way electric energy meter.
Two-way electric energy meter sends electric energy metrical information, water metering information, gas metering information and heating power metrical information to the far-end main website.
The bidirectional measuring socket of present embodiment, can gather the user power utilization data, to outside generating set, the generating information of particularly environmental protection generating set receives, and delivery and power consumption carried out bidirectional measuring, make electricity consumption data, generating information and continuous data arrive grid control centre or family expenses display terminal by wireless network transmissions, make grid control centre or family expenses display terminal regulate the control operation of power networks by these information, guarantee the security of electrical network, and can improve the operational efficiency of electrical network.
As shown in figure 13, handheld terminal comprises: compositions such as arm processor and peripheral circuit thereof, large scale colorful display screen, touch-screen, audio tweeter, GSM/GPRS, GPS, RS485, far and near infrared, PSAM, RFID card reading module, battery and charging circuit, software adopts WINCE 6.0 operating systems.
Handheld terminal adopts the PXA300 of Intel Company as CPU, PXA300 is the arm chip of a 624Mhz, have high-performance, low in power consumption, intelligent handheld terminal has been equipped with the FLASH of 128MB internal memory and 1GB, can also expand bigger storage space by SD card and USB mouth.
Handheld terminal adopts WINCE operating system, and WinCE can compatible most Win32API, and the exploitation of application programs is more convenient like this, has the developer of the experience of programming under the PC can very fast left-hand seat.
Handheld terminal is supported multiple communication modes such as RS485, RS232, far and near infrared, GSM/GPRS, RFID, GPS, storage expansion interfaces such as USB, SD are also arranged, can expand multiple function for intelligent handheld terminal by these interfaces and adapt to different application models.
As shown in figure 14, copy reading intelligent electric meter data are divided three classes: master data, basic parameter and event data, copy reading intelligent display terminal event of failure; Can realize being subjected to the on-the-spot sale of electricity of long-range main website control to operate; Realization to single-phase electric energy meter to time operation; Realization is to the electric control of forfeiting of single-phase electric energy meter; Realization is to the fault diagnosis of pre-payment single-phase electric energy meter; Realization is to electric energy meter field installation, more new management and operator's schedule, workflow management etc.
As shown in figure 15, handheld terminal is by RS485 and far and near infrared communicate by letter with single-phase electric energy meter (communication protocol adopts IEC 62056), electric weight and the electricity charge information got are saved among this machine FLASH, and the electricity consumption data are carried out statistical study, according to various default situations the electric power field personnel with the form of sound or message intelligentized suggestion and prompting is proposed.The intelligence handheld terminal also can be presented at electric weight and the electricity charge information of inquiring about in real time or this organizational security is deposited on the colorful display screen of intelligent handheld terminal with forms such as curve, histogram, forms according to the various combination condition of electric power field personnel by the touch-screen input.
Handheld terminal reads prepaid card (the contactless CPU card) data of power consumer by the RFID module, by RS485 and far and near infrared communicate by letter with single-phase electric energy meter (communication protocol adopts IEC 62056), data are sent to single-phase electric energy meter, under the control of the ESAM of single-phase electric energy meter module, finish the online function of supplementing with money of ammeter pre-payment.
Handheld terminal reads prepaid card (the contactless CPU card) data of power consumer by the RFID module, by GPRS and main website software communication, under the control of main website software and this machine PSAM module, finish the on-the-spot sale of electricity business of ammeter pre-payment, strengthened the security of on-the-spot sale of electricity.
Handheld terminal and master station communication adopt IEC62056 communication protocol first, and handheld terminal recording electric energy meter communication first adopts IEC62056 communication protocol.Realization is to the copy reading of single-phase electric energy meter load curve data, realization is to the copy reading of single-phase electric energy meter requirement information, realization is to the drawing lock control of electric energy meter, realize that the client pays required recharge amount, handheld terminal proposes sale of electricity application and safety certification by the telecommunication mode to main website prepaid electricity selling management system, and handheld terminal is realized the movable electricity-selling function by the mode of read-write intelligent electricity selling card (radio-frequency card).System goes by relying on key and single equipment to transfer in dependence key, MAC checking algorithm and a plurality of equipment the dependence of security, has improved the level of security of whole system with this.
Under emergency condition, handheld terminal is disposable for the user provides the limit of overdrawn account that can set by RS485 or infrared communication, and the limit of overdrawn account is set by Utilities Electric Co. in advance.When the limit of overdrawn account was once transferred in the ammeter, the user can continue electricity consumption under the overdraw state, and after using the limit of overdrawn account that allows, intelligent electric meter will stop the user and continue electricity consumption.This operation to every intelligent electric meter can only be used once, does not supplement with money if intelligent electric meter is purchased electricity in this operation back, and handheld terminal can not carry out the new overdraw amount of money and set.
Can realize and the control operation of single-phase electric energy meter by the IEC62056 agreement, realize forfeiting electric control.
Handheld terminal is communicated by letter with display terminal by the RS485 communication mode to the fault diagnosis technology of display terminal, by analyzing the display terminal fault type: the unsuccessful generation of copy reading display terminal data query, the finish time; Generation, the finish time of the unsuccessful event of copy reading display terminal data upload; The failure of checking meter of copy reading aqueous vapor hotlist, the distributed power source failure of checking meter, generation, the finish time of smart jack copy reading turkey; Copy reading display terminal clock failure, cpu reset failure message such as transfinite takes place, the finish time.
Above-described specific embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is specific embodiments of the invention; and be not intended to limit the scope of the invention; within the spirit and principles in the present invention all, any modification of making, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.