Summary of the invention
The present invention is intended to the defect solving prior art existence, designs a kind of intelligent electric energy meter and installs centralized automatic meter-reading (AMR) system of this intelligent electric energy meter, eliminate data acquisition equipment and concentrator that in prior art, AMR system must use.In a preferred embodiment of the invention, using the equipment of intelligent electric energy meter as a server or client class, it directly can be set up with external data collection management terminal and effectively be connected reliably in real time, eliminate the process that data send and sorting processes, avoid data transmission may produced problem and power consumption simultaneously, simultaneously can not because having installed multiple assembly the cost of increase table meter and volume weight.
In another preferred embodiment of the present invention, by the mode of M-BUS bus, multiple utility meter (such as water meter, gas meter or hotlist) is connected to intelligent electric energy meter of the present invention, copies technology in the data connection realizing multiple table.Similarly, by mode setting data collecting device in an effective coverage of bus, obtain the data message of other instrument (comprising electric energy meter), data acquisition of the prior art and sorting function device can be substituted like this, also eliminate the puzzlement of field wiring.
In order to realize above-mentioned purpose of design, technical scheme 1 of the present invention, design a kind of intelligent electric energy meter, be equiped with intercouple processor together and controller wherein, processor is used for receiving and process electric power energy consumption data information, and receiving the data command of controller transmission, simultaneous processor can control again the data message that described controller obtains external source, or external device terminal sends data command.
In order to realize above-mentioned purpose of design, technical scheme 2 of the present invention, is designed a kind of utility meter kilowatt meter reading-out system system, which includes the utility meter of aforesaid intelligent electric energy meter and other types, connected by bus mode.
Technical scheme 1: a kind of intelligent electric energy meter, it is arranged between electric network power line and power grid user load, comprising: signal gathering unit, for accessing electric network power line, obtaining further its electric current and voltage signal and converting electric power digital signal value to; Signal processing unit, for receiving these electric power digital signal values and carrying out calculating and data processing; Communication terminal, for receiving communication request or sending data; Comprise further: control module, obtain the external data information of described intelligent electric energy meter for controlling and send data, described control module is connected with signal processing unit and communication terminal by several interfaces.
Further, in a preferred embodiment of the invention, comprise transformer PT and the power-supply device of the operating voltage for providing intelligent electric energy meter intraware, for line voltage and electric current being converted into the operating voltage of 5V and 15V needed for signal processing unit and control module.
Further, in a preferred embodiment of the invention, set a power control terminal in a control unit, for the communication voltage of communication control end, because the frequency needed for dissimilar communication is different with power consumption, so need to judge communication type in advance by control module, carry out PORT COM setting subsequently, then Communication Control is carried out to communication terminal.
Further, in a preferred embodiment of the invention, comprise the LCD display for showing electric energy consumption consumption and external data information, it and control module are electrically connected to each other.
Further, in a preferred embodiment of the invention, respectively UART interface is set on signal processing unit and control module, for mutual transmission and the reception of data message between the two.In a FLASH unit or RAM of signal processing unit, setting data gathers module and interface class, setting data process module and interface class order in FLASH or RAM of control module.
In a preferred embodiment of the invention, when electric energy meter normally works, signal processing unit sends data acquisition command CHECK_M to control module, or communication interface class order SMS_PROMPT, to control control module, data acquisition is carried out to external unit, such as carry out electric quantity data to other electric energy meters in an effective communication region to gather, make intelligent electric energy meter of the present invention realize the function of a data acquisition equipment with this.
In another preferred embodiment of the present invention, when electric energy meter normally works, control module sends data processing command STAT_M to signal processing unit, makes electric energy meter of the present invention as a data concentrator devices, realize the sorting to electric power energy consumption data and process using this.
Technical scheme 2: a kind of utility meter kilowatt meter reading-out system, it comprises terminal system, and comprises foregoing intelligent electric energy meter, comprises water meter, gas meter and hotlist further.Wherein, described intelligent electric energy meter and water meter, gas meter and hotlist be by M-BUS bus in addition communication be connected, described intelligent electric energy meter is by carrying out communication between wireless network and terminal system.
Further, in a preferred embodiment of the invention, be equiped with for receiving and the response unit of reply data information in described water meter, gas meter and hotlist, described intelligent electric energy meter obtains public commodity consumption data message, in this, as a data acquisition equipment by M-BUS bus to water meter, gas meter and hotlist.
Further, in a preferred embodiment of the invention, described intelligent electric energy meter is that control module by wherein arranging sends data message to water meter, gas meter and hotlist and obtains order.
Further, in a preferred embodiment of the invention, described intelligent electric energy meter is by being connected with WLAN, WIFI, 3G or ADSL wireless mode between its communication terminal with terminal system.
The preferred embodiments of the present invention have abandoned the power information data acquisition equipment and data concentrator equipment that current kilowatt meter reading-out system must use, and are connected in M-BUS bus by different utility meters.1) the public commodity consumption data message of other utility meters is obtained by installing special integrated unit in ammeter, in this, as a data acquisition equipment.2) by the communication module of ammeter inside installing, can make it directly to carry out effective communication with terminal main station system and (such as pass through the networks such as GSM, 3G, WIFI, or the simplest PLC communication), and utilize the sorting function of inside chip realization to data, the function of a data concentrator devices is instead of with this.3) in the order of table meter inner setting, abandon in routine techniques and needed timed sending heartbeat frame to obtain response message, ensure telecommunication network table meter consistently online, and utilize bus power line to power, power consumption is lower, and communication robust, the present invention is simple for structure, reduce cost, there is significant social and economic benefits.
Embodiment
Fig. 1 schematically shows the preferred embodiment of intelligent electric energy meter of the present invention, and it is arranged between electric network power line SPL and power grid user load LD, comprising:
Signal gathering unit 10, it is for accessing electric network power line SPL, obtains further its electric current I and voltage U signal and converts electric current I to
xand voltage U
xdigital signal value;
Signal processing unit 11, be preferably a CPU or dsp chip, it is for receiving these electric power digital signal values I
xand U
xand carry out calculating and data processing, by formula P=∑ I
xu
xform tire out multiplied go out the power consumption of power grid user, and show that electric energy consumption consumption and other administration of power networks terminals need the data message obtained by an integrator, such as reactive power, volt-ampere characteristic etc., these need the operation of CPU intraware function to draw;
Communication terminal 12, for receiving communication request or sending data, preferably includes an antenna element and communication chip;
Control module 13, is preferably a system-level MCU chip, obtains, or the data of inter-process are sent to external unit for controlling to the external data information of intelligent electric energy meter of the present invention.Control module 13 is connected with signal processing unit 11 and communication terminal 12 by several interfaces 131.
Further, in a preferred embodiment of the invention, comprise transformer PT and the power supply 15 of the operating voltage for providing intelligent electric energy meter intraware, for line voltage and electric current being converted into the operating voltage of 5V and 15V needed for dsp chip 11 and MCU chip 13.
Further, in a preferred embodiment of the invention, a power control terminal 132 is set in MCU chip 13, for the communication voltage of communication control end 12, because the frequency needed for dissimilar communication is different with power consumption, so need to judge communication type in advance by MCU chip 13, carry out PORT COM setting subsequently, then Communication Control is carried out to communication terminal 12.
Further, in a preferred embodiment of the invention, comprise the display 16 for showing electric energy consumption consumption and external data information, it and MCU chip 13 are electrically connected to each other.
Further, in a preferred embodiment of the invention, respectively UART interface is set on dsp chip 11 and MCU chip 13, for mutual transmission and the reception of data message between the two.In a FLASH unit or RAM of dsp chip 11, setting data gathers module and interface class, setting data process module and interface class in FLASH or RAM of MCU chip 13.
Such as, in a preferred embodiment of the invention, when electric energy meter normally works, dsp chip 11 sends data acquisition command CHECK_M to MCU chip 13, or communication interface class order SMS_PROMPT, carry out data acquisition to control MCU chip 13 pairs of external units, such as, electric quantity data is carried out to other electric energy meters in an effective communication region and gather, make electric energy meter of the present invention realize the function of a data acquisition equipment with this.
Such as, in another preferred embodiment of the present invention, when electric energy meter normally works, MCU chip 13 sends data processing command STAT_M to dsp chip 11, make electric energy meter of the present invention as a data concentrator devices using this, realize the sorting to electric power energy consumption data and process.
Fig. 2 schematically shows a kind of utility meter kilowatt meter reading-out system, and it comprises terminal system 5, and comprises foregoing intelligent electric energy meter 1, comprises water meter 2, gas meter 3 and hotlist 4 further.Wherein, intelligent electric energy meter 1 and water meter 2, gas meter 3 and hotlist 4 be by M-BUS bus form in addition communication be connected, intelligent electric energy meter 1 is by carrying out communication between wireless network and terminal system 5.
Further, in a preferred embodiment of the invention, be equiped with for receiving and the response unit 21,31,41 of reply data information in water meter 2, gas meter 3 and hotlist 4 respectively, intelligent electric energy meter 1 obtains public commodity consumption data message by M-BUS bus to water meter 2, gas meter 3 and hotlist 4, using as a data acquisition equipment.
Further, in a preferred embodiment of the invention, described intelligent electric energy meter 1 is that control module 13 by wherein arranging sends data message to water meter 2, gas meter 3 and hotlist 4 and obtains order.
Further, in a preferred embodiment of the invention, described intelligent electric energy meter 1 is by being connected with WLAN, WIFI, 3G or ADSL wireless mode between its communication terminal 12 with terminal system 5.
Further, in a preferred embodiment of the invention, M-BUS bus adopts wired or wireless mode, a kind of optional architectural can be provided simultaneously, increasing an encryption device at electric energy meter 1 and between water meter 2, gas meter 3 or hotlist 4, obtaining data in order to prevent system peripherals by improper means.
Under any circumstance, the communication baud rate of M-BUS bus is fixed as 2400, is set to even parity check, 8 data bit and 1 position of rest.
Further, in a preferred embodiment of the invention, AES-128 encryption mechanism is adopted or without encryption mechanism in communication process, the byte of encryption is only directed to application layer data content, wherein CRC check byte is not encrypted, if application layer data content is not the integral multiple of 16 bytes, then need to adopt frame byte to fill; Adopt two, CI territory label: the data adopting particular frame byte representation ammeter 1 to other types utility meter 2,3,4 are encryptions.
The equipment that M-BUS bus connects, except electric energy meter 1, all be provided with unique key, obtain key when equipment starts communication, such as, encipher interface class can be set as 0xyyH, wherein 0x represents the interface class order of encryption, and yy represents the data length of encryption, can set a minimum length value, initializing set is 00, needs system to edit out key value according to data header.
In a preferred embodiment of the invention, 1) ammeter 1 sends initialization operation frame to other types utility meter, such as gas meter 3, should unit 31 when receiving these Frames, need reply sheet byte frame E5H, need the communication state of initialization gas meter 3 simultaneously, prepare to start communication;
The Frame that ammeter sends is (wherein startcharacter represents frame head, and stopcharacter represents postamble):
FIELD |
start character |
C field |
A field |
CS |
stop character |
2) after the device initialize in bus completes, response unit 31 sends data message current for gas meter 3 to ammeter 1; Ammeter adopts request, and the request of data sent is:
start character |
C field |
A field |
CS |
stop character |
10 |
5B |
PAddress |
School Affairs |
16 |
When gas meter 3 is once receive this claim frame, need to reply, reply content fixes gas consumption+Current Temperatures uncompensated gas consumption+gas meter 3 valve state of 12 byte-header content+current temperature compensation, replys data content:
3) when gas meter 3 receives as above Frame, then replied by response unit 31, need the address data in DATA district being set to gas meter 3 equipment simultaneously, communication is carried out in this address of use and gas meter 3 by ammeter 1 afterwards.
4) valve of gas meter 3 needs to carry out Long-distance Control by the control module (MCU chip) 13 of ammeter 1, terminal system 5 controls ammeter 1 by the mode of transmission information, this information is sent to gas meter 3 by described ammeter 1 again, and to carry out Long-distance Control, ammeter 1 sends Frame and is:
Wherein the XX data setting in DATA district is 00-closing valve; 01-valve opening door; 02-keeps current state.
5) ammeter 1 is after system time changes, and needs to carry out time calibration, after gas meter 3 receives the new clock information of ammeter 1, if the mistiming exceeds 60s, then needs set clock error flag, and using the time of ammeter 1 as the new time.
6) after gas meter 3 is resetted by ammeter 1, then the address distributed before resets, and the key of encryption resets, and reverts to original state, now ammeter 1 transmission control frame (special long frame), and gas meter 3 replys the correct information received.
These are only the preferred embodiment of the present invention, being intended to embody outstanding technique effect of the present invention and advantage, is not the restriction to technical scheme of the present invention.Those skilled in the art will appreciate that all are based on the amendment done by the technology of the present invention content, change or substitute technology feature, all should be covered by the technology category of claims of the present invention opinion.