Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention are described in further detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
As shown in fig. 1, the energy consumption metering system supporting bidirectional communication according to the embodiment of the present invention includes: the power supply electric energy is input through the bidirectional communication electric energy meter 101 and is generated by external common power generation equipment (such as hydroelectric equipment or thermal power equipment), or is generated by environment-friendly power generation equipment 105 (such as solar equipment or wind energy equipment); five bidirectional metering sockets (102a, 102b, 102c, 102d and 102e) in the user's home are connected with the electric energy meter 101, wherein the bidirectional metering socket 102e receives the power supply electric energy provided by the environment-friendly power generation equipment 105 and meters the power supply amount of the environment-friendly power generation equipment 105; the bidirectional metering socket 102a is connected with the air conditioner 106 and used for providing electric energy for the air conditioner 106 and metering the power consumption of the air conditioner 106; the bidirectional metering socket 102b is connected with the ice chest 107 and is used for supplying electric energy to the ice chest 107 and metering the electric consumption of the ice chest 107; the bidirectional metering socket 102c is connected with the computer 108 and is used for providing electric energy for the computer 108 and metering the power consumption of the computer 108; the bidirectional metering socket 102d is connected to the television 109 for supplying power to the television 109 and metering the power consumption of the television 109.
The bidirectional metering receptacle 102e in fig. 1, when receiving the supply power supplied from the environment-friendly power generation device 105, simultaneously receives the power generation amount information transmitted from the environment-friendly power generation device 105 via the power line carrier, and supplies the received power generation amount information to the user.
The display terminal 103 inquires the current data of the bidirectional metering socket, and each bidirectional metering socket has a unique address, so that after the bidirectional metering socket is installed in a home, the display terminal can copy the relevant data of the bidirectional metering socket through the wireless communication module only by sending the data according to the unique address. For example, the display terminal sends a current query instruction to the bidirectional metering socket and receives information including current data fed back by the bidirectional metering socket. The display terminal 103 writes the value of the load power to the bidirectional metering socket. For example, the display terminal 103 sends a power control command including the write-back check power to the bidirectional metering socket and receives information of write correctness or write error fed back by the bidirectional metering socket. The display terminal 103 transmits broadcast information to the bidirectional metering outlet. The display terminal 103 stores and wirelessly outputs the electric energy metering information acquired from the bidirectional metering socket, and receives and stores the water consumption metering information transmitted from the external water meter communication module, the heat metering information transmitted from the external heat communication module, and the gas metering information transmitted from the external gas communication module. The display terminal 103 transmits the electric energy metering information, the water consumption metering information, the heat metering information and the gas metering information to the two-way communication electric energy meter 101 in a short-distance wireless mode.
The bidirectional communication electric energy meter 101 measures electric energy consumption to generate total electric energy consumption information; and wirelessly receives the power consumption amount information, the power supply amount information, the water consumption amount information, the heat power amount information, and the gas amount information from the display terminal 103, displays the total power energy consumption information, and wirelessly outputs the total power energy consumption information, the power consumption amount information, the water consumption amount information, the heat power amount information, and the gas amount information.
The handheld terminal 104 is in wireless communication connection with the bidirectional communication electric energy meter 101 and is used for acquiring total power energy consumption information, power consumption information and power supply amount information output by the bidirectional communication electric energy meter 101; and setting parameters of the bidirectional communication electric energy meter 101; and wirelessly outputting the collected total power energy consumption information, power consumption information and power supply amount information.
As shown in fig. 2, the bidirectional communication electric energy meter of the present embodiment includes: the main control CPU204 and the data acquisition unit 201 are used for acquiring voltage signals and current signals from the power line; a storage unit 202; the display unit 203 is used for displaying the voltage quality information and the electric energy metering information; the remote communication device interface 205 is used to connect with a communication device; a plurality of communication devices (206a, 206b, 206c, 206d) having different communication systems, one of the communication devices having different communication systems being connected to the remote communication device interface 205, for transmitting the voltage quality information and the electric energy measurement information to a remote end; the main control CPU204 controls the operations of the data acquisition unit 201, the display unit 203, the remote communication device interface 205, and the communication device connected to the communication device interface 205.
The electric energy meter of the present embodiment further includes: the optoelectronic isolation circuit 207 and the remote communication device interface 205 are connected to the main control CPU204 through the optoelectronic isolation circuit 207.
The electric energy meter of the present embodiment further includes: the event sensor 210 is configured to detect an event signal local to the electric energy meter, transmit the event signal to the data processing unit 202 to generate event alarm information, and transmit the event alarm information to a remote end by the communication device. The event sensor 210 includes: the device comprises an electric energy meter cover opening sensing circuit, an electric energy meter battery under-voltage sensing circuit and/or an electric energy meter temperature sensor.
The electric energy meter of the present embodiment further includes: a switch control unit 209, the switch control unit 209 comprising: a relay and a zero-crossing detection circuit; the zero-crossing detection circuit collects a fault signal and an operation state signal from the power line and transmits the fault signal and the operation state signal to the main control CPU204, and the main control CPU204 controls the relay to act according to the fault signal and the operation state signal.
The electric energy meter of the present embodiment further includes: the local communication unit 212 is configured to send the voltage quality information and the power metering information to the near-end communication device. The local communication unit includes: the device comprises an infrared communication module, an RS485 communication module, an M-BUS communication module or a ZigBee communication module.
The electric energy meter of the present embodiment further includes: a keypad 208 and a purchase card interface 211.
The communication device interface of the electric energy meter of the embodiment supports hot plug, and the electric energy meter can simultaneously support communication systems such as GPRS, 3G, carrier wave and short-distance wireless communication. Because the carrier wave is partially different from the communication interfaces of GPRS and 3G, the electric energy meter is designed with an electric interface which can be compatible with 4 modules at the same time.
As shown in fig. 3, which is an external schematic view of a single-phase electric energy meter 300 supporting bidirectional communication according to an embodiment of the present invention, the single-phase electric energy meter 300 includes: the display 301, the communication device slot 302, the communication device interface (302a and 302b), the communication device interface 302a is a data line interface, the communication device interface 302b is a power line interface, and the communication device interfaces 302a and 302b may be combined into one interface.
In fig. 3, the communication apparatus is of a modular design, and can simultaneously support GPRS, broadband wireless (McWiLL), low-voltage power line carrier, short-distance micro-power wireless, and the like, by using a general interface definition. The transmission data adopts a transparent forwarding mode, data analysis and framing are carried out on the communication unit of the electric energy meter body according to a specific communication protocol, and the communication device is only responsible for forwarding the communication frames according to the corresponding communication mode, so that more communication modes can be seamlessly accessed into an uplink channel of the electric energy meter in the future. The communication apparatus includes: GPRS communication means 303a, 3G communication means 303b, carrier communication means 303c and short-range wireless communication means 303 d. An available communication device is selected among the GPRS communication device 303a, the 3G communication device 303b, the carrier communication device 303c, and the short-range wireless communication device 303d to be connected to the communication device interfaces 302a and 302b according to a communication environment in which the power meter is currently located.
As shown in fig. 4, the communication apparatus includes: a CPU402, a serial interface 403, an LED indicator 406, a watchdog circuit 404, a memory 405, and McWiLL module 401a, GPRS communication module 401b, 3G communication module 401c, and short-range wireless communication module 401 d. A communication module selected for use among the McWiLL module 401a, the GPRS communication module 401b, the 3G communication module 401c, and the short-range wireless communication module 401d is connected to the CPU 402.
As shown in fig. 5, the electric energy meter of the present embodiment further includes: and the event sensor is used for detecting a local event signal of the electric energy meter, transmitting the event signal to the data processing unit to generate event alarm information, and transmitting the event alarm information to a remote end by the communication device. The event sensor includes: the device comprises an electric energy meter cover opening sensing circuit, an electric energy meter battery under-voltage sensing circuit and/or an electric energy meter temperature sensor.
The communication system power of single-phase electric energy meter among this technical scheme can satisfy the requirement of zero shut down, and power module possesses the function of hot plug and satisfies the requirement of zero shut down. Hot plug requirements also aim to prevent system errors. However, because different modules have different characteristics, the technology meets the following hardware requirements: 1) when hot plugging is carried out, the hardware can bear the influence of impulse voltage and surge current generated instantly, and sparks generated between the sockets are eliminated. 2) After hot plug, the load of the hardware system of the single-phase electric energy meter takes over smoothly to prevent the output voltage from being influenced by sudden transition. The specific hardware design comprises definition of a module interface, interface circuit design of the electric energy meter communication module and communication part design.
According to the embodiment of the invention, software and hardware of the single-phase electric energy meter are compatible with various communication modules simultaneously; the various communication modules can be hot-plugged; the electric energy meter can actively report events; the electric energy meter is used as a communication medium to transmit information such as messages, data, voice and the like. The embodiment of the invention supports a plurality of communication modes, and can be compatible with four channels of low-voltage power line carrier, GPRS, short-range wireless communication and broadband wireless communication (McWiLL) at the same time. When the communication module is replaced, the single-phase electric energy meter does not need to be powered off, any software and hardware design does not need to be changed, and the construction requirement of a future smart power grid is met. Through the bidirectional communication of the electric energy meter, the electric energy meter can actively report events in real time, and can also provide the functions of transmitting data such as short messages, voice, video and the like through a communication medium.
Short-range wireless communication, which is faster, less costly, and consumes less power than third generation cellular devices, defines all wireless network technologies with transmission ranges equal to or less than those specified by the IEEE 802.11 and 802.15 standards as short-range wireless technologies.
As shown in fig. 6, the bidirectional metering receptacle includes: a plug 501 for connecting to a power line; the jack 510 is used for being connected with an external electric appliance or external environment-friendly power generation equipment; the relay 509 is used for disconnecting or connecting the power line to an external electrical appliance or an external environment-friendly power generation device.
The function button 508 controls the on and off of the relay. The bidirectional metering unit 503 is used for metering the power consumption of an external electric appliance or reversely metering the generated energy of the external environment-friendly power generation equipment; the power line carrier communication unit 502 is configured to receive power supply information transmitted by an external environmental protection power generation device through a power line, and the power line carrier communication unit 502 may receive power generation amount information transmitted by an inverter by using a power line channel between the inverter and a bidirectional metering socket, for example: the information such as the power generation power of the distributed energy, the estimated duration and the like is provided for the user to refer to; the central processing unit 504 is configured to process the power supply amount, the power consumption amount, and the power supply information to generate power consumption metering information; the wireless communication unit 505 is configured to wirelessly output the electricity consumption metering information. The plug 501 is a three-phase power plug and can be plugged into an electrical socket on a user wall; the jack 510 is a three-phase power jack and can be inserted by a plug of an electrical appliance or an environmental protection power generation device. The display unit 506 is used for displaying the electricity consumption metering information. The storage unit 507 is used for storing the electricity consumption metering information.
As shown in fig. 7, the bidirectional metering unit includes: voltage input module 601 b: line voltage channelV with over-resistance voltage divider or transformer output connected to metering chipIN+And VIN-And inputting a pin. Current input module 601 a: the output of the current divider or transformer being connected to I of the metering chipIN+And IIN-And inputting a pin. The voltage-current signal processing module 602 converts the analog signal input into a digital signal by using a 2-step delta sigma modulator for the voltage and current channels, and calculates the effective value and the instantaneous value of the voltage and the current by passing the data of the voltage and the current measurement through a high-low pass filter. The power direction module 603 multiplies the sampling data of the transient voltage and the current to obtain the transient power. And averagely calculating the active power by the N instantaneous powers. The apparent power is obtained by multiplying the voltage by the effective value of the current. The power factor is the active power divided by the apparent power. And calculating the power direction according to the included angle between the voltage and the current, wherein if the included angle is larger than 90 degrees, the power direction is reverse, and the environment-friendly power generation equipment generates power at the moment. If the reverse active power is detected, the power direction module 603 outputs a low signal to the metering MCU606, and the metering MCU606 knows that the environment-friendly power generation equipment of the user is generating power; otherwise, if the included angle between the voltage and the current is smaller than 90 degrees, the metering MCU606 knows that the electrical appliance of the user is using electricity.
As shown in fig. 8, the main control MCU selects an ADI-7566 chip. The wireless module selects RF905+ TI430 to form a transparent transmission module, the communication speed of the module and the MCU is 1200BPS, 8-bit data is not verified, a stop bit is arranged, and the wireless module and the MCU are connected in a serial port connection mode (receiving, transmitting and grounding) with a 3-wire system. The linear power supply forms 9V voltage through a power shaping circuit consisting of a linear transformer and 4 diodes, and generates 5V stable direct current power supply through a three-terminal voltage stabilizing IC-7805. Memory selection ATMEL EEPROM 24C08-3V, chip selection 3V, can be when losing alternating current, store data through battery power supply, and the IC address begins with 0.
As shown in fig. 9, this section is a key circuit which detects the operation state of the key control magnetic latching relay according to I/0. As shown in fig. 10, the rate indicating circuit includes: five indicator lights, the order of instruction is: the device comprises a power supply, a tip rate indicator lamp, a peak rate indicator lamp, a flat rate indicator lamp and a valley rate indicator lamp. And indicating the current rate numbers which are four rates such as peak, average and valley and the like. As shown in fig. 8, the relay section uses a pulse control relay, and uses a magnetic latching relay to reduce overall power consumption.
As shown in fig. 9, an external view of a bidirectional metering socket is provided with a power input plug 701, a control button 702, indicator lights 703 (device power indicator light, tip rate indicator light, peak rate indicator light, flat rate indicator light, valley rate indicator light) and a power output jack 704.
As shown in fig. 10, an external view of a bidirectional metering socket is provided with a power input plug 801, a control button 802, an indicator lamp 804 (a device power indicator lamp, a tip rate indicator lamp, a peak rate indicator lamp, a flat rate indicator lamp, a valley rate indicator lamp), a power output jack 805, and a display 803.
As shown in fig. 11, the display terminal includes: the system comprises a PXA300CPU, a 128MB internal memory, a 1GB FLASH (a larger storage space can be expanded through an SD card and a USB port), RS485 and RS232, various communication modules including a far infrared module, an uplink and downlink small wireless module, RFID and the like, a storage expansion interface including USB, SD and the like, a large-size color display screen, a touch screen, an audio speaker, a battery and a charging circuit.
The intelligent display terminal communicates with the electric energy meter through an RS485 or uplink short-distance wireless communication mode (the communication protocol adopts IEC 62056), the obtained electric quantity and the electric charge information are stored in a local FLASH, the electricity consumption data are subjected to statistical analysis, and intelligent suggestions and reminders are provided for power users in the form of voice or messages according to various preset conditions.
The intelligent display terminal communicates with an intelligent home, an intelligent socket, wireless water, gas and heat through a downlink small wireless communication mode (the communication protocol adopts EN-13757), the read data is stored in a local FLASH, the historical data stored in the local FLASH in real time or in the local FLASH can be inquired according to different combination conditions input by a user through a touch screen, and the historical data is displayed on a color display screen of the intelligent display terminal in the forms of curves, histograms, tables and the like. The user can set the opening and closing time of the intelligent socket according to the inquired electricity consumption data of the intelligent socket, and the intelligent socket can be opened and closed in real time.
The communication process of the bidirectional metering socket and the display terminal comprises the following steps: the wireless communication module transmits data in a short-distance micro-power wireless mode, and can be combined with other equipment to form a network for use without cable connection; the operating frequency is the international universal open (ISM) frequency band: 433MHz, the wireless module adopts an integrated single chip transceiver, and chips of Manchester coding, GFSK modulation and CRC check are embedded. High anti-interference and low error rate of communication are ensured. The bidirectional metering socket can adopt a half-duplex passive query mode communication mode, the display terminal sends query/write data, the bidirectional metering socket responds to the data, and the bidirectional metering socket cannot actively report information.
As shown in fig. 12, the communication process between the display terminal, the bidirectional metering socket and the bidirectional electric energy meter is as follows:
the display terminal inquires the current data of the bidirectional metering socket, and each bidirectional metering socket has a unique address, so that after the bidirectional metering socket is installed in a family, the display terminal can copy the relevant data of the bidirectional metering socket through the wireless communication module only by sending the data according to the unique address. For example, the display terminal sends a current query instruction to the bidirectional metering socket and receives information including current data fed back by the bidirectional metering socket.
And displaying the value of the load power written by the terminal to the bidirectional metering socket. For example, the display terminal sends a power control command including the write-back check power to the bidirectional metering socket and receives the information of write correctness or write error fed back by the bidirectional metering socket.
And the display terminal transmits broadcast information to the bidirectional metering socket.
The display terminal receives the query request of the bidirectional electric energy meter and sends electric energy metering information, water consumption metering information, gas metering information and heat metering information to the bidirectional electric energy meter.
The bidirectional electric energy meter sends electric energy metering information, water consumption metering information, gas metering information and heat metering information to the remote master station.
The bidirectional metering socket of the embodiment can collect the electricity consumption data of a user, receive the electricity generation information of external power generation equipment, particularly environment-friendly power generation equipment, and perform bidirectional metering on the power supply quantity and the electricity consumption quantity, so that the electricity consumption data, the electricity generation information and the metering data are transmitted to a power grid control center or a household display terminal through a wireless network, the power grid control center or the household display terminal can adjust and control the operation of a power grid through the information, the safety of the power grid is ensured, and the operation efficiency of the power grid can be improved.
As shown in fig. 13, the hand-held terminal includes: the system comprises an ARM processor and peripheral circuits thereof, a large-size color display screen, a touch screen, an audio speaker, GSM/GPRS, GPS, RS485, far and near infrared, PSAM, an RFID card reading module, a battery, a charging circuit and the like, wherein software adopts a WINCE 6.0 operating system.
The handheld terminal adopts an Intel corporation PXA300 as a CPU, the PXA300 is a 624Mhz arm chip, the handheld terminal has the characteristics of high performance and low power consumption, the intelligent handheld terminal is provided with a 128MB memory and a 1GB FLASH, and a larger storage space can be expanded through an SD card and a USB port.
The handheld terminal adopts a WINCE operating system, and WinCE can be compatible with most Win32 APIs, so that the development of application programs is convenient, and developers with the programming experience under a PC can quickly get on the hand.
The hand-held terminal supports various communication modes such as RS485, RS232, far and near infrared, GSM/GPRS, RFID, GPS and the like, and also has storage expansion interfaces such as USB, SD and the like, and various functions can be expanded for the intelligent hand-held terminal through the interfaces to adapt to different application modes.
As shown in fig. 14, the data of the reading smart meter is divided into three categories: reading fault events of the intelligent display terminal according to basic data, basic parameters and event data; the field electricity selling operation controlled by the remote master station can be realized; the time setting operation of the single-phase electric energy meter is realized; the power supply and interruption control of the single-phase electric energy meter is realized; fault diagnosis of the prepayment single-phase electric energy meter is realized; the electric energy meter can be installed, updated and managed, and the schedule and flow of the operator can be managed.
As shown in fig. 15, the handheld terminal communicates with the far-near infrared and single-phase electric energy meter through RS485 (the communication protocol adopts IEC 62056), stores the acquired electric quantity and electric charge information in the local FLASH, performs statistical analysis on the electric power consumption data, and provides intelligent suggestions and reminders for electric power field workers in the form of voice or messages according to various preset conditions. The intelligent handheld terminal can also display the electric quantity and the electric charge information inquired in real time or stored by the intelligent handheld terminal in the forms of curves, histograms, tables and the like according to different combination conditions input by the power field staff through the touch screen.
The handheld terminal reads data of a prepayment card (a non-contact CPU card) of a power user through the RFID module, transmits the data to the single-phase electric energy meter through RS485 and communication of far-near infrared and the single-phase electric energy meter (the communication protocol adopts IEC 62056), and completes the online recharging function of the prepayment of the electric energy meter under the control of an ESAM module of the single-phase electric energy meter.
The handheld terminal reads data of a prepayment card (a non-contact CPU card) of a power user through the RFID module, communicates with the main station software through GPRS, and completes the field electricity selling service of electricity meter prepayment under the control of the main station software and the local PSAM module, so that the field electricity selling safety is enhanced.
The communication between the handheld terminal and the master station adopts an IEC62056 communication protocol for the first time, and the communication between the handheld terminal and the electricity meter adopts the IEC62056 communication protocol for the first time. The method comprises the steps of reading load curve data of the single-phase electric energy meter, reading demand information of the single-phase electric energy meter, controlling the switching-on and switching-off of the electric energy meter, paying the amount of money to be recharged by a customer, submitting electricity selling application and safety certification to a master station prepayment electricity selling management system through a remote communication mode by the handheld terminal, and realizing a mobile electricity selling function through a mode of reading and writing an intelligent electricity selling card (radio frequency card) by the handheld terminal. The dependence of the system on the security is transferred from the dependence key and the single device to the dependence key, the MAC check algorithm and the multiple devices, so that the security level of the whole system is improved.
Under the emergency condition, the handheld terminal provides settable overdraft limit for the user at one time through RS485 or infrared communication, and the overdraft limit is set by a power company in advance. When the overdraft limit is transferred to the electric meter once, the user can continue to use electricity in the overdraft state, and after the allowed overdraft limit is used, the intelligent electric meter stops the user from continuing to use electricity. The operation of each intelligent electric meter can be only used once, and if the intelligent electric meters do not purchase electricity and recharge after the operation, the handheld terminal cannot set a new overdraft amount.
The control operation with the single-phase electric energy meter can be realized through an IEC62056 protocol, and the power failure and transmission control is realized.
The fault diagnosis technology of the handheld terminal to the display terminal is communicated with the display terminal in an RS485 communication mode, and the fault type of the display terminal can be analyzed: reading occurrence and ending moments of unsuccessful data query of the display terminal; reading occurrence and ending moments of unsuccessful data uploading of the display terminal; reading failure of the water-gas-heat meter, reading failure of the distributed power supply, and occurrence and ending time of reading failure events of the intelligent socket; and reading fault information such as clock fault of the display terminal, CPU reset overrun and the like, and occurrence and ending time.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.