CN109379367A - A kind of means of communication of electric energy meter and communication module - Google Patents
A kind of means of communication of electric energy meter and communication module Download PDFInfo
- Publication number
- CN109379367A CN109379367A CN201811299126.8A CN201811299126A CN109379367A CN 109379367 A CN109379367 A CN 109379367A CN 201811299126 A CN201811299126 A CN 201811299126A CN 109379367 A CN109379367 A CN 109379367A
- Authority
- CN
- China
- Prior art keywords
- communication module
- electric energy
- energy meter
- communication
- response
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/18—Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R22/00—Arrangements for measuring time integral of electric power or current, e.g. electricity meters
- G01R22/06—Arrangements for measuring time integral of electric power or current, e.g. electricity meters by electronic methods
- G01R22/061—Details of electronic electricity meters
- G01R22/063—Details of electronic electricity meters related to remote communication
Abstract
The present invention provides the means of communication of a kind of electric energy meter and communication module, comprising the following steps: type information collection, the communication module communications protocol collection of communication module are built-in in S1, electric energy meter;Electric energy meter sends to communication module and reads data command;If S2, communication module do not reply reading data command, enter S7;If communication module response, enter in next step;S3, judge whether the general data frame format of communication module response is legal;If it is illegal, then enter S7;If legal, then enter in next step;S4, judge whether the type of communication module is legal;If it is illegal, then enter S7;If legal, then enter in next step;S5, judge whether the communications protocol of communication module is legal, if it is illegal, then enter S7;It is legal, then enter in next step;S6, communication module and electric energy meter match, into S8;S7, communication module and electric energy meter mismatch, and terminate;S8, end.The present invention improves the suitability between communication module and electric energy meter, versatility.
Description
Technical field
The present invention relates to intelligent electric meter technical field more particularly to the means of communication of a kind of electric energy meter and communication module.
Background technique
With the promotion of electric energy meter technology, the requirement for human-computer interaction is higher and higher, wherein the communication part of most critical
Seem especially prominent, communication module needs are communicated with the master controller in electric energy meter, and can when the communication of existing electric energy meter
With the communication module of use, there are many type, communications protocol, there are many types, but a kind of communication module is generally only capable of using one
Kind communications protocol is communicated with master controller, therefore different communication module and master controller is caused to need change to lead when communicating
Control program in controller, or while being updated to original communications protocol, are also required to the control journey in change master controller
Sequence, and the control program for changing master controller then needs reheating to enter code just to be achieved, the process complexity is cumbersome, is modified to
This is higher, therefore the communication of existing electric energy meter, communication module is poor, and suitability between the two is poor.
Summary of the invention
The present invention provides the means of communication of a kind of electric energy meter and communication module, the electric energy meter in this method can match more
The different types of communication module of kind, a variety of different types of communications protocol mention so that electric energy meter, communication module is general higher
High suitability therebetween.
The technical scheme adopted by the invention is that the means of communication of a kind of electric energy meter and communication module, comprising the following steps:
S1, beginning are built-in with type information collection, the communication module communications protocol collection of communication module in electric energy meter;It is described
Electric energy meter to communication module send read data command, the reading data command using general data frame format transmission;
Type information, the communications protocol of communication module are built-in in S2, the communication module;If communication module is not replied
Data command is read, then enters S7;If data command is read in communication module response, enter in next step, the communication module
Reading data command described in response uses the response of general data frame format;
After S3, electric energy meter receive the reply data of communication module, the general data frame of communication module response is first determined whether
Whether format is legal;If the general data frame format of response is illegal, enter S7;If the general data frame format of response is closed
Method then enters in next step;
S4, electric energy meter continue to judge whether the type of communication module is legal;If the type of communication module is illegal, enter
S7;If the type of communication module is legal, enter in next step;
S5, electric energy meter finally judge whether the communications protocol of communication module is legal, if communications protocol is illegal, enters
S7;If communications protocol is legal, enter in next step;
S6, communication module and electric energy meter match, into S8;
S7, communication module and electric energy meter mismatch, and electric energy meter alarms and records abnormal data, into next step;
S8, end.
After the above technical solution is adopted, compared with the prior art, the present invention has the following advantages:
Type information collection, communication module communications protocol collection of the present invention by communication module built-in in electric energy meter, so that
Electric energy meter can match a variety of different types of communication modules, a variety of different communications protocol, lead to for different clients are different
News module, communications protocol can be applicable in, and without configuring again to master controller in electric energy meter, reduce electric energy meter
Production cost, while also substantially increasing the suitability between communication module and electric energy meter, versatility.
As an improvement, the method that data command is read in the communication module response are as follows: the first step starts, communication module
Receive reading data command transmitted by electric energy meter;Second step judges the general data for reading data command and sending
Whether frame format and the general data frame format that it is used for response are identical, if they are the same, then reply the type and agreement of communication module
Version is to electric energy meter;If not identical, terminate, prejudging electric energy meter and general data frame format used in communication module is
It is no consistent, directly terminate to communicate when inconsistent, facilitates reduction electric energy meter and judge the communication module whether matched time.
As an improvement, the general data frame format is, frame head+control word+length+data+verification+postamble is described
Data in include communication module type and communications protocol, general data frame format is relatively simple.
As an improvement, reading the general data frame format that data command is sent described in judgement is used for response with communication module
The whether identical mode of general data frame format be that will read frame included in general data frame transmitted by data command
Frame head, control word, verification included in the general data frame of head, control word, verification and postamble and communication module for response
Identification judgement is carried out correspondingly respectively with postamble, accuracy of judgement, precisely.
As an improvement, the verification uses Crc16 check addition, it is accurate to examine.
As an improvement, the type of the communication module includes RF, SP300, PRIME, G3,2G, 3G, 4G, 5G, NB-
LOT, ZIGBEE, BLUETOOTH, M-bus, MODBUS, 485, reserved communication module, the type of every kind of communication module are corresponding a kind of
The type information of communication module, type is more, covers the type of conventional communication module, while being equipped with reserved communication module, has
Scalability, avoiding the occurrence of new communication module can not be adapted to electric energy meter, use convenient for selecting.
As an improvement, the communication module type information concentrate include RF, SP300, PRIME, G3,2G, 3G, 4G,
5G, NB-LOT, ZIGBEE, BLUETOOTH, M-bus, MODBUS, 485, the class of communication module corresponding to reserved communication module
Type information, covering scope are wide.
As an improvement, it includes reserved communications protocol that the communication module communications protocol, which is concentrated, there is scalability, avoid
New agreement electric energy meter and communication module occur can not normal communication.
Detailed description of the invention
Fig. 1 is flow chart of the invention
Fig. 2 is the method flow diagram that data command is read in communication module response
Specific embodiment
As shown in Figure 1, the means of communication of a kind of electric energy meter and communication module, comprising the following steps:
S1, beginning are built-in with type information collection, the communication module communications protocol collection of communication module in electric energy meter;Electric energy
Table sends to communication module and reads data command, reads data command and is transmitted using general data frame format;
Type information, the communications protocol of communication module, the type information Ji Bao of communication module are built-in in S2, communication module
The type information of multiple communication modules is included, the communications protocol collection of communication module includes the type information of multiple communications protocol;If logical
News module does not reply reading data command always, then enters S7;If data command is read in communication module response in 10S, into
Enter in next step, communication module response uses the response of general data frame format when reading data command;
After S3, electric energy meter receive the reply data of communication module, the general data frame of communication module response is first determined whether
Whether format is legal;If the general data frame format of response is illegal, enter S7;If the general data frame format of response is closed
Method then enters in next step;
The type information that S4, electric energy meter continue through communication module judges whether the type of communication module is legal, judges to mark
It is legal that standard is that the type information collection of communication module that the type information of communication module belongs in electric energy meter is, and vice versa;
If the type of communication module is illegal, enter S7;If the type of communication module is legal, enter in next step;
S5, electric energy meter finally judge whether the communications protocol of communication module is legal, and judgment criteria is the communication of communication module
Agreement belong to the communication module communications protocol collection in electric energy meter be it is legal, vice versa;If communications protocol is illegal, enter
S7;If communications protocol is legal, enter in next step;
S6, communication module and electric energy meter match, into S8;
S7, communication module and electric energy meter mismatch, which cannot be used for the electric energy meter, which alarms and remember
Abnormal data is recorded, into next step;
S8, end.
In above-mentioned steps, the method for communication module response reading data command are as follows: as shown in Fig. 2, the first step, starts, lead to
News module receives reading data command transmitted by electric energy meter;Second step judges to read the general data that data command is sent
Whether frame format and the general data frame format that it is used for response are identical, if they are the same, then reply the type and agreement of communication module
Version is to electric energy meter;If not identical, terminate.The general data frame format that data command is sent is read to be used to answer with communication module
The general data frame format answered is frame head+control word+length+data+verification+postamble, includes the class of communication module in data
Type and communications protocol;The general data frame format that data command is sent is read in judgement and communication module is used for the general data of response
The whether identical mode of frame format is, will read frame head included in general data frame transmitted by data command, control word,
Frame head, control word, verification and postamble included in the general data frame of verification and postamble and communication module for response are distinguished
Identification judgement is carried out correspondingly, wherein verification uses Crc16 check addition.
In the present invention, the type of communication module can choose RF, SP300, PRIME, G3,2G, 3G, 4G, 5G, NB-LOT,
Any one of ZIGBEE, BLUETOOTH, M-bus, MODBUS, 485;The type of each communication module is correspondingly provided with one
The type information of communication module, for example, the type information that the type information of PF module can be set to 01, SP300 module can be with
Be set as 02, the type information of communication module concentrate include represent RF, SP300, PRIME, G3,2G, 3G, 4G, 5G, NB-LOT,
ZIGBEE, BLUETOOTH, M-bus, MODBUS, 485 and reserved communication module multiple type informations, the communication of communication module
Protocol suite includes the type information of multiple communications protocol corresponding to V01, V02, V03 ... V06 and reservation types.
The typonym of communication module type information corresponding with its is as shown in table 1 below;
Table 1
The protocol version and type information of communications protocol are as shown in table 2 below:
Serial number | The version number of communications protocol | The type information (hexadecimal) of communications protocol |
1 | V01 | 01 |
2 | V02 | 02 |
3 | V03 | 03 |
4 | V04 | 04 |
5 | V05 | 05 |
6 | V06 | 06 |
7 | The version number of reserved communications protocol | 07-ff |
Table 2
The identifier word of each section and effect are as shown in table 3 below in general data frame:
Table 3
Such as 0202020101Crc1616 is a general data frame, represents communication module response electric energy meter, the communication
The type of module is RF, and the version number of communications protocol is V01.
The present invention judges automatically whether a certain communication module matches with it by electric energy meter, easy to use, and built in it
Type information collection, the communication module communications protocol collection of communication module can adapt to a variety of different types of communication modules and it is a variety of not
With communications protocol, may be implemented to make same communication module using different types of communications protocol, also may be implemented it is a variety of not
The communication module of same type uses same communications protocol, and the suitability between electric energy meter and communication module is greatly improved,
The different demands that can satisfy client simultaneously, reduce the production cost of electric energy meter.
The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations.Although with reference to the foregoing embodiments
Invention is explained in detail, those skilled in the art should understand that, it still can be to implementation above-mentioned
Technical solution documented by example is modified, or is equivalently replaced to wherein each section technical characteristic, and these modifications or
Person's replacement, the range for technical solution of the embodiment of the present invention that it does not separate the essence of the corresponding technical solution.
Claims (8)
1. the means of communication of a kind of electric energy meter and communication module, which comprises the following steps:
S1, beginning are built-in with type information collection, the communication module communications protocol collection of communication module in electric energy meter;The electricity
Energy table is sent to communication module reads data command, and the reading data command is transmitted using general data frame format;
Type information, the communications protocol of communication module are built-in in S2, the communication module;If communication module does not reply reading
Data command then enters S7;If data command is read in communication module response, enter the communication module response in next step
The reading data command uses the response of general data frame format;
After S3, electric energy meter receive the reply data of communication module, the general data frame format of communication module response is first determined whether
It is whether legal;If the general data frame format of response is illegal, enter S7;If the general data frame format of response is legal,
Into in next step;
S4, electric energy meter continue to judge whether the type of communication module is legal;If the type of communication module is illegal, enter S7;
If the type of communication module is legal, enter in next step;
S5, electric energy meter finally judge whether the communications protocol of communication module is legal, if communications protocol is illegal, enter S7;If
Communications protocol is legal, then enters in next step;
S6, communication module and electric energy meter match, into S8;
S7, communication module and electric energy meter mismatch, and electric energy meter alarms and records abnormal data, into next step;
S8, end.
2. the means of communication of a kind of electric energy meter and communication module according to claim 1, which is characterized in that the communication
The method of module response reading data command are as follows: the first step starts, and communication module receives reading data transmitted by electric energy meter
Order;Second step judges that the general data frame format of the reading data command transmission is used for the general data of response with it
Whether frame format is identical, and if they are the same, then the type and protocol version for replying communication module are to electric energy meter;If not identical, terminate.
3. the means of communication of a kind of electric energy meter and communication module according to claim 2, which is characterized in that described is general
Data frame format is frame head+control word+length+data+verification+postamble, in the data including communication module type and
Communications protocol information.
4. the means of communication of a kind of electric energy meter and communication module according to claim 3, which is characterized in that described in judging
Whether identical read general data frame format of the general data frame format of data command transmission with communication module for response
Mode is that will read frame head, control word, verification and postamble and communication included in general data frame transmitted by data command
Frame head, control word, verification and postamble included in general data frame of the module for response are known correspondingly respectively
Do not judge.
5. the means of communication of a kind of electric energy meter and communication module according to claim 3, which is characterized in that the verification
Using Crc16 check addition.
6. the means of communication of a kind of electric energy meter and communication module according to claim 1, which is characterized in that the communication
The type of module include RF, SP300, PRIME, G3,2G, 3G, 4G, 5G, NB-LOT, ZIGBEE, BLUETOOTH, M-bus,
MODBUS, 485, reserved communication module, the type of every kind of communication module correspond to a kind of type information of communication module.
7. the means of communication of a kind of electric energy meter and communication module according to claim 6, which is characterized in that the communication
The type information of module concentrate include RF, SP300, PRIME, G3,2G, 3G, 4G, 5G, NB-LOT, ZIGBEE, BLUETOOTH,
M-bus, MODBUS, 485, the type information of communication module corresponding to reserved communication module.
8. the means of communication of a kind of electric energy meter and communication module according to claim 1, which is characterized in that the communication
It include reserved communications protocol in module communication protocol suite.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2018108412807 | 2018-07-27 | ||
CN201810841280 | 2018-07-27 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109379367A true CN109379367A (en) | 2019-02-22 |
Family
ID=65396834
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811299126.8A Pending CN109379367A (en) | 2018-07-27 | 2018-11-02 | A kind of means of communication of electric energy meter and communication module |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109379367A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111833578A (en) * | 2019-04-22 | 2020-10-27 | 河南许继仪表有限公司 | Electricity consumption information acquisition system, NB-IoT communication module and communication method thereof |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102014118A (en) * | 2010-08-13 | 2011-04-13 | 深圳市科陆电子科技股份有限公司 | Method for reading multiple electric energy meters generally |
CN102065087A (en) * | 2010-12-21 | 2011-05-18 | 哈尔滨电工仪表研究所 | Intelligent self-reorganization communication protocol and communication mode conversion module |
CN202421242U (en) * | 2011-12-13 | 2012-09-05 | 宁夏隆基宁光仪表有限公司 | Electric energy meter self-adaptive to various pluggable communication modules |
CN103716329A (en) * | 2014-01-06 | 2014-04-09 | 深圳市兴源智能仪表科技有限公司 | Method for achieving master-slave multiple communication protocols |
CN103795680A (en) * | 2012-10-29 | 2014-05-14 | 苏州工业园区新宏博通讯科技有限公司 | Communication method supporting multiple communication protocols, and electric energy meter |
US20150172076A1 (en) * | 2004-10-12 | 2015-06-18 | Electro Industries/Gauge Tech | System and method for simultaneous communication on modbus and dnp 3.0 over ethernet for electronic power meter |
CN107070589A (en) * | 2016-12-30 | 2017-08-18 | 国网浙江省电力公司电力科学研究院 | A kind of electric energy meter adaptive approach, device and electric energy meter based on object-oriented agreement and legacy protocol |
-
2018
- 2018-11-02 CN CN201811299126.8A patent/CN109379367A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150172076A1 (en) * | 2004-10-12 | 2015-06-18 | Electro Industries/Gauge Tech | System and method for simultaneous communication on modbus and dnp 3.0 over ethernet for electronic power meter |
CN102014118A (en) * | 2010-08-13 | 2011-04-13 | 深圳市科陆电子科技股份有限公司 | Method for reading multiple electric energy meters generally |
CN102065087A (en) * | 2010-12-21 | 2011-05-18 | 哈尔滨电工仪表研究所 | Intelligent self-reorganization communication protocol and communication mode conversion module |
CN202421242U (en) * | 2011-12-13 | 2012-09-05 | 宁夏隆基宁光仪表有限公司 | Electric energy meter self-adaptive to various pluggable communication modules |
CN103795680A (en) * | 2012-10-29 | 2014-05-14 | 苏州工业园区新宏博通讯科技有限公司 | Communication method supporting multiple communication protocols, and electric energy meter |
CN103716329A (en) * | 2014-01-06 | 2014-04-09 | 深圳市兴源智能仪表科技有限公司 | Method for achieving master-slave multiple communication protocols |
CN107070589A (en) * | 2016-12-30 | 2017-08-18 | 国网浙江省电力公司电力科学研究院 | A kind of electric energy meter adaptive approach, device and electric energy meter based on object-oriented agreement and legacy protocol |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111833578A (en) * | 2019-04-22 | 2020-10-27 | 河南许继仪表有限公司 | Electricity consumption information acquisition system, NB-IoT communication module and communication method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101222388B (en) | Method and system for confirming existence of broadcast/multicast caching frame at access point | |
CN102209303B (en) | Method and system for determining presence of broadcast/multicast cache frame at access point | |
CN110474756B (en) | Intelligent power grid electricity utilization information acquisition method | |
CN108880619A (en) | A kind of automatic meter reading method using bandwidth carrier communication module | |
US8982859B2 (en) | Wireless device and method of short MAC frame indication | |
CN1123168C (en) | Communication method for internal transmission network of measuring and control equipoment | |
CN106888443B (en) | Communication resource status monitoring method and system | |
CN105379068A (en) | Wireless charging apparatus and terminal, wireless charging system comprising same, method for controlling wireless charging system and recording medium having computer program recorded thereon | |
CN109525448A (en) | Log data acquisition system and method | |
CN109379367A (en) | A kind of means of communication of electric energy meter and communication module | |
CN114422289A (en) | Transmission method and device for CAN (controller area network) message of electric vehicle | |
CN104698962B (en) | PLC man-machine communication's method and system | |
US8391496B2 (en) | Smart energy network configuration using an auxiliary gateway | |
CN112822174B (en) | Data acquisition intelligent module, data acquisition box and data acquisition method | |
CN110474828A (en) | A kind of MBUS bus communication and system | |
CN105761003A (en) | CMDB-based automatic registration asset system and implementation method thereof | |
CN106330397B (en) | method and device for realizing data interaction by ZigBee and Modbus RTU (remote terminal Unit) protocols | |
CN109698813A (en) | A kind of intelligent meter data recording system and method | |
CN210781189U (en) | Hardware equipment for collecting load identification data of user electric meter | |
CN106846781A (en) | A kind of method and system of the communication module of automatic identification centralized automatic meter-reading collector | |
CN107592411A (en) | A kind of communication interface and communication means | |
CN101702540A (en) | Electrical energy real time monitoring and line loss analysis system based on wireless mesh ad hoc network | |
CN109218996A (en) | Cross-system group communication method, device, equipment and storage medium | |
CN102149219B (en) | A kind of system and method for the type of service of distinguishing different types of terminals | |
CN206350107U (en) | A kind of set top box of the composite aircraft certification based on WIFI |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190222 |
|
RJ01 | Rejection of invention patent application after publication |