CN105207351B - The method that intelligent electric meter is broadcasted into row information - Google Patents

The method that intelligent electric meter is broadcasted into row information Download PDF

Info

Publication number
CN105207351B
CN105207351B CN201510521101.8A CN201510521101A CN105207351B CN 105207351 B CN105207351 B CN 105207351B CN 201510521101 A CN201510521101 A CN 201510521101A CN 105207351 B CN105207351 B CN 105207351B
Authority
CN
China
Prior art keywords
electric meter
frame
intelligent electric
information
character
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.)
Active
Application number
CN201510521101.8A
Other languages
Chinese (zh)
Other versions
CN105207351A (en
Inventor
潘道昌
王卫
董泽新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Zhongwang Electric Power Equipment Engineering Co Ltd
Original Assignee
Wuhan Zhongwang Electric Power Equipment Engineering Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Zhongwang Electric Power Equipment Engineering Co Ltd filed Critical Wuhan Zhongwang Electric Power Equipment Engineering Co Ltd
Priority to CN201510521101.8A priority Critical patent/CN105207351B/en
Publication of CN105207351A publication Critical patent/CN105207351A/en
Application granted granted Critical
Publication of CN105207351B publication Critical patent/CN105207351B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of methods broadcasted into row information intelligent electric meter, including:With station address and data information to be broadcast, information frame is established, information frame includes address character, command character and data symbols;Power grid host, sends information frame in a broadcast mode;Intelligent electric meter receives the address character in information frame and comparison information frame;After the address character for determining information frame is consistent with the preset address character of intelligent electric meter, the command character of information frame is read;After intelligent electric meter identifies the digital display instruction of command character, the data information and digital display data information in data symbols are read according to preset mapping table.The present invention intends on the hardware foundation based on intelligent electric meter and power grid host communication, establish the method that power grid host carries out intelligent communication to intelligent electric meter;So power grid host can broadcast intelligent electric meter by the above method, and the data information that digital display is broadcasted on the liquid crystal display of intelligent surface, be checked convenient for user.

Description

The method that intelligent electric meter is broadcasted into row information
Technical field
The present invention relates to the intelligent electric meter communications fields, more particularly to a kind of side broadcasted into row information intelligent electric meter Method.
Background technology
Intelligent electric meter is the intelligent terminal in smart electric grid system, already no longer belongs to traditional electric energy meter.
Intelligent electric meter is outside the function of measuring based on traditional electric energy meter basic electricity, in order to adapt to intelligent grid and new energy The use in source further has two-way a variety of rate function of measuring, user terminal control function, the data of plurality of data transmission modes The intelligentized function such as communication function, anti-stealing electricity function.
For the data communication function of intelligent electric meter, existing intelligent electric meter is mostly with the electric 645 standards (DL/T 645-of state 1997 People's Republic of China's power industry standards) it is that standard is communicated with power grid host.
In general, intelligent electric meter is only that preselected time section is used the power informations such as electrical gradient and electricity consumption uniaxially It is transmitted to power grid host;After power grid host receives above-mentioned electricity consumption data, calculated by intrinsic calculation formula;It is calculating After obtaining corresponding expense, user is notified by short message or other modes by network operation personnel.
However, user learns that the mode of its electricity cost is mostly short message or paper document, more occlude;And national grid machine The emergency notice that structure issues, such as power off notifying, waiting also can not fast and accurately be transferred to user.
Invention content
The purpose of the present invention is overcoming or slowing down at least the above disadvantage, provide hereby a kind of wide into row information to intelligent electric meter The method broadcast, includes the following steps:
(1) with station address and data information to be broadcast, establish information frame, information frame include address character, command character and Data symbols;
(2) power grid host sends information frame in a broadcast mode;
(3) intelligent electric meter receives the address character in information frame and comparison information frame;
(4) after the address character for determining information frame is consistent with the preset address character of intelligent electric meter, the control of information frame is read Symbol;
(5) after the digital display instruction of intelligent electric meter identification command character, the data in data symbols are read according to preset mapping table Information and digital display data information.
Preferably,
In (1), the information frame of foundation further includes preposition starting character;
In (2), the address character of intelligent electric meter comparison information frame after identifying preposition starting character.
Further, in (1), the information frame of foundation further includes postposition starting character;
In (4), after the address character for determining information frame is consistent with the preset address character of intelligent electric meter, first identification information frame Postposition starting character, then read command character.
Further,
In (5) after normal digital display data information, intelligence instrument establishes normal response frame, and is back to power grid host;
The abnormal digital display data information in (5), intelligence instrument establishes exception response frame, and is back to power grid host.
Further, information frame is established based on DL-T645-2007 communication protocols, described information frame includes successively:
Preposition start-of-frame, definite value 68H,
Address field, 0~A5 of variables A,
Postposition start-of-frame, definite value 68H,
Control code, variable C,
Data length field, variables L,
Data field, variable N1~Nm,
Check code, CS,
End mark, definite value 16H;
Power grid host passes through RS-485 bus sending informations frame to each intelligent electric meter;
The arbitrary intelligent electric meter receives described information frame, and after the preposition start-of-frame that identification definite value is 68H, than Compared with A0~A5 of address field, whether the 6 bit address codes prepared in advance with intelligent electric meter are consistent;
After the A0~A5 for determining intelligent electric meter 6 bit address codes prepared in advance and address field is consistent respectively, definite value is identified For the postposition start-of-frame of 68H;
After the postposition start-of-frame that identification definite value is 68H, control code is inquired in control code menu prepared in advance The function command that indicates of variable C;
After the variable C for determining control code indicates digital display instruction, the variables L of data length field is read, to determine that data are long Degree;
The data information and digital display that variable N1~Nm that data field is read according to mapping table prepared in advance is included.
Further,
A. it in (7), after the normal digital display data information of intelligent electric meter, establishes ammeter box normal response frame and is back to power grid Host;
B. it in (7), after the abnormal digital display data information of intelligent electric meter, establishes ammeter box exception response frame and is back to electricity Host's machine;
Power grid host identifies digital display after normal response frame or exception response frame.
Further, when the variable C of the control code indicates digital display instruction, it is set as definite value 04H.
The present invention intends on the hardware foundation based on intelligent electric meter and power grid host communication, establish power grid host to intelligence The method that ammeter carries out intelligent communication;Method through the invention, power grid host by the above method can to intelligent electric meter into Row broadcast, and the data information that digital display is broadcasted on the liquid crystal display of intelligent surface, are checked convenient for user.
Description of the drawings
It is described more fully these and other aspects of the invention now with reference to appended attached drawing which shows the present invention Currently preferred embodiment.Wherein:
Fig. 1 is the flow chart for the method that the present embodiment broadcasts intelligent electric meter;
Fig. 2 is the framework map of information frame in the present embodiment;
Fig. 3 is the flat expanded view of byte of each section in Fig. 2;
Fig. 4 is the framework map of control code in Fig. 3.
Specific implementation mode
In the following with reference to the drawings and specific embodiments, the present invention is furture elucidated, it should be understood that these embodiments are merely to illustrate It the present invention rather than limits the scope of the invention, after having read the present invention, those skilled in the art are to of the invention each The modification of kind equivalent form falls within the application range as defined in the appended claims.
The present embodiment is intended to the hardware architecture using existing intelligent electric meter and power grid host communication, establishes a kind of to intelligence The method that energy ammeter is broadcasted.
The intelligence instrument of China's most area is using DL-T645-2007 communication protocols and its supplementary agreement as standard Implement;So, the present embodiment is to meet the intelligent electric meter and power grid host of DL-T645-2007 communication protocols and its supplementary agreement As exemplary hardware architecture.
Specifically, the method broadcasted intelligent electric meter of the present embodiment is as shown in Figure 1:
Step 1:As shown in Fig. 2, the format foundation letter for the host claim frame established based on DL-T645-2007 communication protocols Cease frame, information frame by it is left-to-right be preposition start-of-frame D0, address field D1, postposition start-of-frame D2, control code D3, data successively Length field D4, data field D5, check code D6 and end mark D7 are made of per part one or more bytes.
In conjunction with Fig. 3 and following the description, representation manners frame each section:
Preposition start-of-frame D0, the beginning of identification information frame, value 68H=01101000B;
It is A0~A5 respectively that address field D1, address field D1 are made of 6 bytes, is 2 binary-coded decimals, 12 bit lengths per byte Address field D1 indicating the identity identification informations such as the ammeter box number of user, user number, device number;
Postposition start-of-frame D2 indicates that intelligent electric meter and power grid host are shaken hands success, and the instruction for identifying control code is started, Value is also 68H=01101000B;
Control code D3, variable C, and variable C include 8 character, that is, D0~D7 (as shown in figure 4, this frame of D7 is information frame Or acknowledgement frame, what D6 indicated intelligence vindication return is normal response frame or exception response frame, and D5 is indicated whether there is or not subsequent data frame, D4~D0:Digital display and answering code);
Data length field D4, variable are that L indicates data length;
Data field D5, including variable N1~Nm encode data information by GB2312;
Check code D6, variable CS;
End mark D7, the end of identification information frame, value 16H=00010110B,
Step 2:Power grid host passes through RS-485 bus sending informations frame to each intelligent electric meter.
Step 3:Arbitrary intelligent electric meter receives information frame, and after the preposition start-of-frame D0 that identification definite value is 68H, Compare address field D1 A0~A5 it is prepared in advance with intelligent electric meter 6 bit address codes it is whether consistent.
Step 4:After the A0~A5 for determining intelligent electric meter 6 bit address codes prepared in advance and address field D1 is consistent respectively, Identify that definite value is the postposition start-of-frame D2 of 68H.
Step 5:After the postposition start-of-frame D2 that identification definite value is 68H, whether the variable C of inquiry control code D3 is 04H (the present embodiment sets 04H and is instructed as the digital display of information frame).
Step 6:After the variable C for determining control code D3 indicates digital display instruction, the variables L of data length field D4 is read, with Determine data length.
Step 7:The processing chip of intelligent electric meter reads variable N1~Nm of data field D5 according to the mapping table of advance typing Including data information and digital display.
It is noted that since intelligent electric meter is needed through variable N1~Nm in the D5 of decoding data domain, digital display Chinese Subtitle, then power grid host is when establishing information frame, the coding mode of variable N1~Nm of data field D5 preferably by GB2312.
Step 8:
A. it in step 7, after the normal digital display data information of intelligent electric meter, establishes ammeter box normal response frame and is back to Power grid host.Difference lies in the variable C of control code D3 is 84H to the normal response frame and information frame of the present embodiment, and data are long Degree is 00H..
B. it in step 7, after the abnormal digital display data information of intelligent electric meter, establishes ammeter box exception response frame and returns To power grid host.Difference lies in the variable C of control code D3 is C4H, data to the exception response frame and information frame of the present embodiment Length is 01H..
Step 9:Power grid host is normal response frame or exception response frame in the data frame returned by control code D3 identifications Feedback is as a result, preferably its result of digital display afterwards.
In addition, the present embodiment is when the variables L of data length is more than 50, power grid host is by sending multiple information frames, intelligence Energy ammeter is by splicing the data information segment entrained by multiple information frames, with the complete data information of digital display.
Specifically character is added in the ends data field D5 for needing non-end of transmission, hexadecimal B4 FD D0 F8, In the ends data field D5 of end of transmission, addition indicates data information complete character, hexadecimal CD EA B1 CF.
In addition, when information frame is sent by power grid host in the starting in the addition of the front end of preposition start frame convenient for identification Position 0 is added even parity bit P and stop position 1 in the ends end mark D7, is identified convenient for intelligent electric meter.

Claims (4)

1. a kind of method broadcasted into row information intelligent electric meter, it is characterised in that include the following steps:
(1) with station address and data information to be broadcast, information frame is established, information frame includes address character, command character and data Symbol;
(2) power grid host sends information frame in a broadcast mode;
(3) intelligent electric meter receives the address character in information frame and comparison information frame;
(4) after the address character for determining information frame is consistent with the preset address character of intelligent electric meter, the command character of information frame is read;
(5) after the digital display instruction of intelligent electric meter identification command character, the data information in data symbols is read according to preset mapping table And digital display data information;
Also, in (1), the information frame of foundation further includes preposition starting character;
In (2), the address character of intelligent electric meter comparison information frame after identifying preposition starting character;
In (1), the information frame of foundation further includes postposition starting character;
In (4), after the address character for determining information frame is consistent with the preset address character of intelligent electric meter, after first identification information frame Starting character is set, then reads command character;
In (5) after normal digital display data information, intelligence instrument establishes normal response frame, and is back to power grid host;In (5) Abnormal digital display data information, intelligence instrument establishes exception response frame, and is back to power grid host.
2. the method according to claim 1 broadcasted into row information intelligent electric meter, it is characterised in that:
(1) information frame is established based on DL-T645-2007 communication protocols, described information frame includes successively:
Preposition start-of-frame, definite value 68H,
Address field, 0~A5 of variables A,
Postposition start-of-frame, definite value 68H,
Control code, variable C,
Data length field, variables L,
Data field, variable N1~Nm,
Check code, CS,
End mark, definite value 16H;
(2) power grid host passes through RS-485 bus sending informations frame to each intelligent electric meter;
(3) the arbitrary intelligent electric meter receives described information frame, and after the preposition start-of-frame that identification definite value is 68H, than Compared with A0~A5 of address field, whether the 6 bit address codes prepared in advance with intelligent electric meter are consistent;
(4) after the A0~A5 for determining intelligent electric meter 6 bit address codes prepared in advance and address field is consistent respectively, identification definite value is The postposition start-of-frame of 68H;
(5) after the postposition start-of-frame that identification definite value is 68H, control code is inquired in control code menu prepared in advance The function command that variable C is indicated;
(6) after the variable C for determining control code indicates digital display instruction, the variables L of data length field is read, to determine that data are long Degree;
(7) data information and the digital display that variable N1~Nm of data field is included are read according to mapping table prepared in advance.
3. the method according to claim 2 broadcasted into row information intelligent electric meter, it is characterised in that:
A. it in (7), after the normal digital display data information of intelligent electric meter, establishes ammeter box normal response frame and is back to power grid master Machine;
B. it in (7), after the abnormal digital display data information of intelligent electric meter, establishes ammeter box exception response frame and is back to power grid master Machine;
(8) power grid host identifies digital display after normal response frame or exception response frame.
4. the method according to claim 3 broadcasted into row information intelligent electric meter, it is characterised in that:
When the variable C of the control code indicates digital display instruction, it is set as definite value 04H.
CN201510521101.8A 2015-08-21 2015-08-21 The method that intelligent electric meter is broadcasted into row information Active CN105207351B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510521101.8A CN105207351B (en) 2015-08-21 2015-08-21 The method that intelligent electric meter is broadcasted into row information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510521101.8A CN105207351B (en) 2015-08-21 2015-08-21 The method that intelligent electric meter is broadcasted into row information

Publications (2)

Publication Number Publication Date
CN105207351A CN105207351A (en) 2015-12-30
CN105207351B true CN105207351B (en) 2018-07-17

Family

ID=54954856

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510521101.8A Active CN105207351B (en) 2015-08-21 2015-08-21 The method that intelligent electric meter is broadcasted into row information

Country Status (1)

Country Link
CN (1) CN105207351B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113437998B (en) * 2021-06-24 2022-11-04 国网北京市电力公司 Operation and maintenance debugging method and system, nonvolatile storage medium and processor
CN114165895A (en) * 2021-11-18 2022-03-11 青岛海信日立空调系统有限公司 Central air conditioner and energy consumption obtaining method thereof

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204389672U (en) * 2014-11-24 2015-06-10 国网辽宁省电力有限公司营口供电公司 Intelligent electric meter serial ports DL/T645 communication protocol on-line quick detection device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140161114A1 (en) * 2012-12-06 2014-06-12 Elster Solutions, Llc Phase detection in mesh network smart grid system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204389672U (en) * 2014-11-24 2015-06-10 国网辽宁省电力有限公司营口供电公司 Intelligent electric meter serial ports DL/T645 communication protocol on-line quick detection device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ATT7022B的多功能电子式电能表的研究与设计;扶小飞;《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》;20100115;第35-40页 *
基于DL/T645-2007通信规约报文的分析;唐衡;《科技纵横》;20130131;第20卷(第1期);第163-165页 *

Also Published As

Publication number Publication date
CN105207351A (en) 2015-12-30

Similar Documents

Publication Publication Date Title
CN102663094A (en) IEC61970CIM model checking method
CN106652415A (en) Processing method and device of protocol for concentrated reading of multiple meters
CN106100703B (en) The electric-power metering on-site test bluetooth data means of communication
CN107203458A (en) A kind of server state information display device and method
CN107070589A (en) A kind of electric energy meter adaptive approach, device and electric energy meter based on object-oriented agreement and legacy protocol
CN105207351B (en) The method that intelligent electric meter is broadcasted into row information
CN208707674U (en) A kind of converter and test macro based on LIN agreement
CN109257367A (en) A kind of data communication protocol and implementation method for industrial internet-of-things terminal
CN106933616A (en) Remote upgrade method based on bandwidth carrier
CN111866021A (en) Multi-protocol management method for intelligent electric meter
CN103546354A (en) Communicating method being based on Internet of Things electric temperature measurement equipment and enabling RS485 bus and CAN bus to be compatible
CN101626367B (en) 1-wire bus device ID-based communication protocol
CN106126446B (en) A kind of USB device and its method for identifying MacOS system
CN109217986A (en) A kind of data transmission method and system based on Internet of Things
CN205281479U (en) Intelligent substation's SCD file inspection device
CN104360988A (en) Method and device for identifying coding mode of Chinese characters
CN103746827A (en) Method and system for automatic parameter identification in IEC101/104 protocol analysis
CN101159641B (en) Can bus extension method
CN104283890B (en) A kind of improved method for the mapping of IEC61850 report services data communications
CN104828659A (en) Elevator network group control intelligent management system
CN107231279A (en) A kind of message parsing method based on CAN communication
CN207053534U (en) A kind of single-chip microcomputer input/output interface control device based on communication protocol
CN205983443U (en) Device of network chip adaptive communications
CN105354120A (en) SCD file document check device for intelligent substation
CN110061990A (en) A kind of DTU protocol extension method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant